Package org.elasticsearch.transport
Interface TransportInterceptor.AsyncSender
- Enclosing interface:
- TransportInterceptor
public static interface TransportInterceptor.AsyncSender
A simple interface to decorate
sendRequest(Transport.Connection, String, TransportRequest, TransportRequestOptions, TransportResponseHandler)
-
Method Summary
Modifier and TypeMethodDescription<T extends TransportResponse>
voidsendRequest
(Transport.Connection connection, String action, TransportRequest request, TransportRequestOptions options, TransportResponseHandler<T> handler)
-
Method Details
-
sendRequest
<T extends TransportResponse> void sendRequest(Transport.Connection connection, String action, TransportRequest request, TransportRequestOptions options, TransportResponseHandler<T> handler)
-