public interface FilterableStreamingHttpLoadBalancedConnection extends FilterableStreamingHttpConnection, LoadBalancedConnection, ReservedStreamingHttpConnection
FilterableStreamingHttpConnection that supported filtering and implements the LoadBalancedConnection contract.| Modifier and Type | Method and Description |
|---|---|
default ReservedBlockingHttpConnection |
asBlockingConnection()
Convert this
StreamingHttpConnection to the BlockingHttpConnection API. |
default ReservedBlockingStreamingHttpConnection |
asBlockingStreamingConnection()
Convert this
StreamingHttpConnection to the BlockingStreamingHttpConnection API. |
default ReservedHttpConnection |
asConnection()
Convert this
StreamingHttpConnection to the HttpConnection API. |
default Completable |
releaseAsync()
Releases this reserved
FilterableStreamingHttpConnection to be used for subsequent requests. |
connectionContext, transportEventStreamclose, closeGracefully, executionContext, httpResponseFactory, requestdefault ReservedHttpConnection asConnection()
StreamingHttpConnectionStreamingHttpConnection to the HttpConnection API.
This API is provided for convenience. It is recommended that
filters are implemented using the StreamingHttpConnection asynchronous API for maximum portability.
asConnection in interface ReservedStreamingHttpConnectionasConnection in interface StreamingHttpConnectionHttpConnection representation of this StreamingHttpConnection.default ReservedBlockingStreamingHttpConnection asBlockingStreamingConnection()
StreamingHttpConnectionStreamingHttpConnection to the BlockingStreamingHttpConnection API.
This API is provided for convenience for a more familiar sequential programming model. It is recommended that
filters are implemented using the StreamingHttpConnection asynchronous API for maximum portability.
asBlockingStreamingConnection in interface ReservedStreamingHttpConnectionasBlockingStreamingConnection in interface StreamingHttpConnectionBlockingStreamingHttpConnection representation of this StreamingHttpConnection.default ReservedBlockingHttpConnection asBlockingConnection()
StreamingHttpConnectionStreamingHttpConnection to the BlockingHttpConnection API.
This API is provided for convenience for a more familiar sequential programming model. It is recommended that
filters are implemented using the StreamingHttpConnection asynchronous API for maximum portability.
asBlockingConnection in interface ReservedStreamingHttpConnectionasBlockingConnection in interface StreamingHttpConnectionBlockingHttpConnection representation of this StreamingHttpConnection.default Completable releaseAsync()
FilterableReservedStreamingHttpConnectionFilterableStreamingHttpConnection to be used for subsequent requests.
This method must be idempotent, i.e. calling multiple times must not have side-effects.releaseAsync in interface FilterableReservedStreamingHttpConnectionreleaseAsync in interface LoadBalancedConnectionreleaseAsync in interface ReservableRequestConcurrencyControllerCompletable that is notified on releaseAsync.