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
Modifier and TypeInterfaceDescriptionstatic class
Implementations ofTransportResponseHandler
that handles the empty responseTransportResponse.Empty
. -
Method Summary
Modifier and TypeMethodDescriptiondefault String
executor()
void
void
handleResponse
(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)
-