public interface ReservedStreamingHttpConnection extends StreamingHttpConnection, FilterableReservedStreamingHttpConnection
StreamingHttpConnection for the exclusive use of the caller of
StreamingHttpClient.reserveConnection(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, closeGracefullyreleaseAsyncconnectionContext, transportEventStreamexecutionContext, httpResponseFactory, requestReservedHttpConnection 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 StreamingHttpConnectionHttpConnection representation of this StreamingHttpConnection.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 StreamingHttpConnectionBlockingStreamingHttpConnection representation of this StreamingHttpConnection.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 StreamingHttpConnectionBlockingHttpConnection representation of this StreamingHttpConnection.