public interface ReservedStreamingHttpConnection extends StreamingHttpConnection, FilterableReservedStreamingHttpConnection
StreamingHttpConnection
for the exclusive use of the caller of
StreamingHttpClient.reserveConnection(HttpRequestMetaData)
and
StreamingHttpClient.reserveConnection(HttpExecutionStrategy, HttpRequestMetaData)
.Modifier and Type | Method and Description |
---|---|
ReservedBlockingHttpConnection |
asBlockingConnection()
Convert this
StreamingHttpConnection to the BlockingHttpConnection API. |
ReservedBlockingStreamingHttpConnection |
asBlockingStreamingConnection()
Convert this
StreamingHttpConnection to the BlockingStreamingHttpConnection API. |
ReservedHttpConnection |
asConnection()
Convert this
StreamingHttpConnection to the HttpConnection API. |
close, closeGracefully, request
releaseAsync
connectionContext, transportEventStream
executionContext, httpResponseFactory, request
connect, delete, get, head, newRequest, options, patch, post, trace
onClose
closeAsync, closeAsyncGracefully
ReservedHttpConnection asConnection()
StreamingHttpConnection
StreamingHttpConnection
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 StreamingHttpConnection
HttpConnection
representation of this StreamingHttpConnection
.ReservedBlockingStreamingHttpConnection asBlockingStreamingConnection()
StreamingHttpConnection
StreamingHttpConnection
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 StreamingHttpConnection
BlockingStreamingHttpConnection
representation of this StreamingHttpConnection
.ReservedBlockingHttpConnection asBlockingConnection()
StreamingHttpConnection
StreamingHttpConnection
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 StreamingHttpConnection
BlockingHttpConnection
representation of this StreamingHttpConnection
.