Class ReactiveResponse.Content
java.lang.Object
org.eclipse.jetty.reactive.client.ReactiveResponse.Content
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BiFunction
<ReactiveResponse, org.reactivestreams.Publisher<ContentChunk>, org.reactivestreams.Publisher<String>> asString()
static BiFunction
<ReactiveResponse, org.reactivestreams.Publisher<ContentChunk>, org.reactivestreams.Publisher<ReactiveResponse>> discard()
-
Constructor Details
-
Content
public Content()
-
-
Method Details
-
discard
public static BiFunction<ReactiveResponse,org.reactivestreams.Publisher<ContentChunk>, discard()org.reactivestreams.Publisher<ReactiveResponse>> - Returns:
- a response content processing function that discards the content
-
asString
public static BiFunction<ReactiveResponse,org.reactivestreams.Publisher<ContentChunk>, asString()org.reactivestreams.Publisher<String>> - Returns:
- a response content processing function that converts the content to a string
-