Package org.elasticsearch.transport
Class Transport.ResponseContext<T extends TransportResponse>
- java.lang.Object
-
- org.elasticsearch.transport.Transport.ResponseContext<T>
-
- Enclosing interface:
- Transport
public static final class Transport.ResponseContext<T extends TransportResponse> extends java.lang.Object
This class represents a response context that encapsulates the actual response handler, the action and the connection it was executed on.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
action()
Transport.Connection
connection()
TransportResponseHandler<T>
handler()
-
-
-
Method Detail
-
handler
public TransportResponseHandler<T> handler()
-
connection
public Transport.Connection connection()
-
action
public java.lang.String action()
-
-