Package org.elasticsearch.transport
Interface TransportResponseHandler<T extends TransportResponse>
- All Superinterfaces:
Writeable.Reader<T>
- All Known Implementing Classes:
ActionListenerResponseHandler,EmptyTransportResponseHandler,FutureTransportResponseHandler,PlainTransportFuture,TransportResponseHandler.Empty,TransportService.ContextRestoreResponseHandler
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classImplementations ofTransportResponseHandlerthat handles the empty responseTransportResponse.Empty. -
Method Summary
Modifier and TypeMethodDescriptiondefault Stringexecutor()voidvoidhandleResponse(T response)default <Q extends TransportResponse>
TransportResponseHandler<Q>wrap(Function<Q,T> converter, Writeable.Reader<Q> reader)Methods inherited from interface org.elasticsearch.common.io.stream.Writeable.Reader
read
-
Method Details
-
handleResponse
-
handleException
-
executor
-
wrap
default <Q extends TransportResponse> TransportResponseHandler<Q> wrap(Function<Q,T> converter, Writeable.Reader<Q> reader)
-