| Package | Description |
|---|---|
| org.eclipse.jetty.reactive.client | |
| org.eclipse.jetty.reactive.client.internal |
| 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() |
| 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. |
| Modifier and Type | Method | Description |
|---|---|---|
void |
BufferingProcessor.onNext(ContentChunk chunk) |
|
void |
DiscardingProcessor.onNext(ContentChunk chunk) |
|
void |
PublisherContentProvider.onNext(ContentChunk chunk) |
| Constructor | Description |
|---|---|
ResponseListenerPublisher(ReactiveRequest request,
BiFunction<ReactiveResponse,org.reactivestreams.Publisher<ContentChunk>,org.reactivestreams.Publisher<T>> contentFn) |
Copyright © 2017 The Jetty Project. All rights reserved.