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 java.lang.Object
-
Constructor Summary
Constructors Constructor Description ActionHandler(ActionType<Response> action, java.lang.Class<? extends TransportAction<Request,Response>> transportAction, java.lang.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
Modifier and Type Method Description boolean
equals(java.lang.Object obj)
ActionType<Response>
getAction()
java.lang.Class<?>[]
getSupportTransportActions()
java.lang.Class<? extends TransportAction<Request,Response>>
getTransportAction()
int
hashCode()
java.lang.String
toString()
-
Constructor Details
-
ActionHandler
public ActionHandler(ActionType<Response> action, java.lang.Class<? extends TransportAction<Request,Response>> transportAction, java.lang.Class<?>... supportTransportActions)Create a record of an action, the TransportAction that handles it, and any supporting TransportActions that are needed by that TransportAction.
-
-
Method Details
-
getAction
-
getTransportAction
-
getSupportTransportActions
public java.lang.Class<?>[] getSupportTransportActions() -
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-