| Package | Description |
|---|---|
| org.eclipse.jetty.reactive.client | |
| org.eclipse.jetty.reactive.client.internal |
| Modifier and Type | Method | Description |
|---|---|---|
ReactiveResponse |
ReactiveRequest.getReactiveResponse() |
|
ReactiveResponse |
ReactiveResponse.Event.getResponse() |
| Modifier and Type | Method | 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 | 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 | Description |
|---|---|
Event(ReactiveResponse.Event.Type type,
ReactiveResponse response) |
|
Event(ReactiveResponse.Event.Type type,
ReactiveResponse response,
Throwable failure) |
|
Event(ReactiveResponse.Event.Type type,
ReactiveResponse response,
ByteBuffer content) |
| Constructor | Description |
|---|---|
BufferingProcessor(ReactiveResponse response) |
|
DiscardingProcessor(ReactiveResponse response) |
| Constructor | Description |
|---|---|
ResponseListenerPublisher(ReactiveRequest request,
BiFunction<ReactiveResponse,org.reactivestreams.Publisher<ContentChunk>,org.reactivestreams.Publisher<T>> contentFn) |
Copyright © 2017 The Jetty Project. All rights reserved.