public interface FilterableStreamingHttpClient extends StreamingHttpRequester
StreamingHttpClient
that supports filtering.Modifier and Type | Method and Description |
---|---|
Single<? extends FilterableReservedStreamingHttpConnection> |
reserveConnection(HttpExecutionStrategy strategy,
HttpRequestMetaData metaData)
Reserve a
StreamingHttpConnection based on provided HttpRequestMetaData . |
executionContext, httpResponseFactory, request
connect, delete, get, head, newRequest, options, patch, post, trace
onClose
closeAsync, closeAsyncGracefully
Single<? extends FilterableReservedStreamingHttpConnection> reserveConnection(HttpExecutionStrategy strategy, HttpRequestMetaData metaData)
StreamingHttpConnection
based on provided HttpRequestMetaData
.strategy
- HttpExecutionStrategy
to use.metaData
- Allows the underlying layers to know what StreamingHttpConnection
s are valid to
reserve for future requests
with the same HttpRequestMetaData
.
For example this may provide some insight into shard or other info.Single
that provides the ReservedStreamingHttpConnection
upon completion.