Package io.servicetalk.http.api
Interface FilterableReservedStreamingHttpConnection
-
- All Superinterfaces:
AsyncCloseable,FilterableStreamingHttpConnection,ListenableAsyncCloseable,StreamingHttpRequester,StreamingHttpRequestFactory
- All Known Subinterfaces:
ReservedStreamingHttpConnection
- All Known Implementing Classes:
ReservedStreamingHttpConnectionFilter
public interface FilterableReservedStreamingHttpConnection extends FilterableStreamingHttpConnection
A special type ofStreamingHttpConnectionfor the exclusive use of the caller ofStreamingHttpClient.reserveConnection(HttpExecutionStrategy, HttpRequestMetaData).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompletablereleaseAsync()Releases this reservedFilterableStreamingHttpConnectionto be used for subsequent requests.-
Methods inherited from interface io.servicetalk.concurrent.api.AsyncCloseable
closeAsync, closeAsyncGracefully
-
Methods inherited from interface io.servicetalk.http.api.FilterableStreamingHttpConnection
connectionContext, transportEventStream
-
Methods inherited from interface io.servicetalk.concurrent.api.ListenableAsyncCloseable
onClose
-
Methods inherited from interface io.servicetalk.http.api.StreamingHttpRequester
executionContext, httpResponseFactory, request
-
-
-
-
Method Detail
-
releaseAsync
Completable releaseAsync()
Releases this reservedFilterableStreamingHttpConnectionto be used for subsequent requests. This method must be idempotent, i.e. calling multiple times must not have side-effects.- Returns:
- the
Completablethat is notified on releaseAsync.
-
-