Package org.elasticsearch.plugins
Class ActionPlugin.ActionHandler<Request extends ActionRequest,Response extends ActionResponse>
- java.lang.Object
-
- org.elasticsearch.plugins.ActionPlugin.ActionHandler<Request,Response>
-
- Enclosing interface:
- ActionPlugin
public static final class ActionPlugin.ActionHandler<Request extends ActionRequest,Response extends ActionResponse> extends Object
-
-
Constructor Summary
Constructors Constructor Description ActionHandler(ActionType<Response> action, Class<? extends TransportAction<Request,Response>> transportAction, Class<?>... supportTransportActions)Create a record of an action, the TransportAction that handles it, and any supporting TransportActions that are needed by that TransportAction.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)ActionType<Response>getAction()Class<?>[]getSupportTransportActions()Class<? extends TransportAction<Request,Response>>getTransportAction()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
ActionHandler
public ActionHandler(ActionType<Response> action, Class<? extends TransportAction<Request,Response>> transportAction, Class<?>... supportTransportActions)
Create a record of an action, the TransportAction that handles it, and any supporting TransportActions that are needed by that TransportAction.
-
-
Method Detail
-
getAction
public ActionType<Response> getAction()
-
getTransportAction
public Class<? extends TransportAction<Request,Response>> getTransportAction()
-
getSupportTransportActions
public Class<?>[] getSupportTransportActions()
-
-