org.elasticsearch.transport
Interface TransportResponseHandler<T extends Streamable>
- All Known Implementing Classes:
- BaseTransportResponseHandler, FutureTransportResponseHandler, PlainTransportFuture, VoidTransportResponseHandler
public interface TransportResponseHandler<T extends Streamable>
newInstance
T newInstance()
- creates a new instance of the return type from the remote call.
called by the infra before de-serializing the response.
- Returns:
- a new response copy.
handleResponse
void handleResponse(T response)
handleException
void handleException(TransportException exp)
executor
java.lang.String executor()