public interface FilterableStreamingHttpClient extends StreamingHttpRequester
StreamingHttpClient that supports filtering.| Modifier and Type | Method and Description |
|---|---|
default Single<? extends FilterableReservedStreamingHttpConnection> |
reserveConnection(HttpExecutionStrategy strategy,
HttpRequestMetaData metaData)
Deprecated.
Use
reserveConnection(HttpRequestMetaData). If an HttpExecutionStrategy needs to be
altered, provide a value for HttpContextKeys.HTTP_EXECUTION_STRATEGY_KEY in the
request context. |
default Single<? extends FilterableReservedStreamingHttpConnection> |
reserveConnection(HttpRequestMetaData metaData)
Reserve a
StreamingHttpConnection based on provided HttpRequestMetaData. |
executionContext, httpResponseFactory, request, requestdefault Single<? extends FilterableReservedStreamingHttpConnection> reserveConnection(HttpRequestMetaData metaData)
StreamingHttpConnection based on provided HttpRequestMetaData.metaData - Allows the underlying layers to know what StreamingHttpConnections 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.@Deprecated default Single<? extends FilterableReservedStreamingHttpConnection> reserveConnection(HttpExecutionStrategy strategy, HttpRequestMetaData metaData)
reserveConnection(HttpRequestMetaData). If an HttpExecutionStrategy needs to be
altered, provide a value for HttpContextKeys.HTTP_EXECUTION_STRATEGY_KEY in the
request context.StreamingHttpConnection based on provided HttpRequestMetaData.strategy - HttpExecutionStrategy to use.metaData - Allows the underlying layers to know what StreamingHttpConnections 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.