public interface FilterableStreamingHttpConnection extends StreamingHttpRequester
StreamingHttpConnection
that supported filtering.Modifier and Type | Method and Description |
---|---|
HttpConnectionContext |
connectionContext()
Get the
HttpConnectionContext . |
<T> Publisher<? extends T> |
transportEventStream(HttpEventKey<T> eventKey)
Returns a
Publisher that gives the current value of a transport event as well as subsequent changes to
the event value as long as the PublisherSource.Subscriber has expressed enough demand. |
executionContext, httpResponseFactory, request
connect, delete, get, head, newRequest, options, patch, post, trace
onClose
closeAsync, closeAsyncGracefully
HttpConnectionContext connectionContext()
HttpConnectionContext
.HttpConnectionContext
.<T> Publisher<? extends T> transportEventStream(HttpEventKey<T> eventKey)
Publisher
that gives the current value of a transport event as well as subsequent changes to
the event value as long as the PublisherSource.Subscriber
has expressed enough demand.
This is designed for events produced by the transport, and consumed by filters interested in transport behavior which is not directly involved in the data path.
T
- Type of the event value.eventKey
- Name of the event to fetch.Publisher
for the event values.