Package org.elasticsearch.action.main
Class MainAction
- java.lang.Object
-
- org.elasticsearch.action.ActionType<Response>
-
- org.elasticsearch.action.StreamableResponseActionType<MainResponse>
-
- org.elasticsearch.action.main.MainAction
-
public class MainAction extends StreamableResponseActionType<MainResponse>
-
-
Field Summary
Fields Modifier and Type Field Description static MainAction
INSTANCE
static java.lang.String
NAME
-
Constructor Summary
Constructors Constructor Description MainAction()
-
Method Summary
Modifier and Type Method Description MainResponse
newResponse()
Creates a new response instance.-
Methods inherited from class org.elasticsearch.action.StreamableResponseActionType
getResponseReader
-
Methods inherited from class org.elasticsearch.action.ActionType
equals, hashCode, name, transportOptions
-
-
-
-
Field Detail
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
INSTANCE
public static final MainAction INSTANCE
-
-
Method Detail
-
newResponse
public MainResponse newResponse()
Description copied from class:StreamableResponseActionType
Creates a new response instance.- Specified by:
newResponse
in classStreamableResponseActionType<MainResponse>
-
-