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(GenericAction<Request,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)
GenericAction<Request,Response>
getAction()
java.lang.Class<?>[]
getSupportTransportActions()
java.lang.Class<? extends TransportAction<Request,Response>>
getTransportAction()
int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
ActionHandler
public ActionHandler(GenericAction<Request,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 Detail
-
getAction
public GenericAction<Request,Response> getAction()
-
getTransportAction
public java.lang.Class<? extends TransportAction<Request,Response>> 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
-
-