| Package | Description |
|---|---|
| org.eclipse.jetty.reactive.client | |
| org.eclipse.jetty.reactive.client.internal |
| Modifier and Type | Method and Description |
|---|---|
ReactiveResponse |
ReactiveRequest.getReactiveResponse() |
ReactiveResponse |
ReactiveResponse.Event.getResponse() |
| Modifier and Type | Method and Description |
|---|---|
static BiFunction<ReactiveResponse,org.reactivestreams.Publisher<ContentChunk>,org.reactivestreams.Publisher<String>> |
ReactiveResponse.Content.asString() |
static BiFunction<ReactiveResponse,org.reactivestreams.Publisher<ContentChunk>,org.reactivestreams.Publisher<ReactiveResponse>> |
ReactiveResponse.Content.discard() |
static BiFunction<ReactiveResponse,org.reactivestreams.Publisher<ContentChunk>,org.reactivestreams.Publisher<ReactiveResponse>> |
ReactiveResponse.Content.discard() |
org.reactivestreams.Publisher<ReactiveResponse> |
ReactiveRequest.response()
Creates a Publisher that sends the request when a Subscriber requests the response
via
Subscription.request(long), discarding the response content. |
| Modifier and Type | Method and Description |
|---|---|
<T> org.reactivestreams.Publisher<T> |
ReactiveRequest.response(BiFunction<ReactiveResponse,org.reactivestreams.Publisher<ContentChunk>,org.reactivestreams.Publisher<T>> contentFn)
Creates a Publisher that sends the request when a Subscriber requests the response
via
Subscription.request(long), processing the response content with the given
function. |
| Constructor and Description |
|---|
Event(ReactiveResponse.Event.Type type,
ReactiveResponse response) |
Event(ReactiveResponse.Event.Type type,
ReactiveResponse response,
ByteBuffer content) |
Event(ReactiveResponse.Event.Type type,
ReactiveResponse response,
Throwable failure) |
| Constructor and Description |
|---|
BufferingProcessor(ReactiveResponse response) |
DiscardingProcessor(ReactiveResponse response) |
| Constructor and Description |
|---|
ResponseListenerProcessor(ReactiveRequest request,
BiFunction<ReactiveResponse,org.reactivestreams.Publisher<ContentChunk>,org.reactivestreams.Publisher<T>> contentFn,
boolean abortOnCancel) |
Copyright © 2017–2024 The Jetty Project. All rights reserved.