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 ofStreamingHttpConnection
for the exclusive use of the caller ofStreamingHttpClient.reserveConnection(HttpExecutionStrategy, HttpRequestMetaData)
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Completable
releaseAsync()
Releases this reservedFilterableStreamingHttpConnection
to 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 reservedFilterableStreamingHttpConnection
to be used for subsequent requests. This method must be idempotent, i.e. calling multiple times must not have side-effects.- Returns:
- the
Completable
that is notified on releaseAsync.
-
-