| Package | Description |
|---|---|
| org.eclipse.jetty.reactive.client | |
| org.eclipse.jetty.reactive.client.internal |
| 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() |
| Modifier and Type | Method and Description |
|---|---|
static ReactiveRequest.Content |
ReactiveRequest.Content.fromPublisher(org.reactivestreams.Publisher<ContentChunk> publisher,
String contentType) |
static ReactiveRequest.Content |
ReactiveRequest.Content.fromPublisher(org.reactivestreams.Publisher<ContentChunk> publisher,
String mediaType,
Charset charset) |
<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 and Description |
|---|---|
void |
DiscardingProcessor.onNext(ContentChunk chunk) |
void |
PublisherContent.onNext(ContentChunk chunk) |
void |
BufferingProcessor.onNext(ContentChunk chunk) |
void |
PublisherContentProvider.onNext(ContentChunk chunk) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
StringContent.onRequest(org.reactivestreams.Subscriber<? super ContentChunk> subscriber,
long n) |
| Constructor and Description |
|---|
PublisherContent(org.reactivestreams.Publisher<ContentChunk> publisher,
String contentType) |
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.