Class ReactiveResponse.Content

java.lang.Object
org.eclipse.jetty.reactive.client.ReactiveResponse.Content
Enclosing class:
ReactiveResponse

public static class ReactiveResponse.Content extends Object
Collects utility methods to process response content.
  • Constructor Details

    • Content

      public Content()
  • Method Details

    • discard

      public static BiFunction<ReactiveResponse,org.reactivestreams.Publisher<org.eclipse.jetty.io.Content.Chunk>,org.reactivestreams.Publisher<ReactiveResponse>> discard()
      Returns:
      a response content processing function that discards the content
    • asString

      public static BiFunction<ReactiveResponse,org.reactivestreams.Publisher<org.eclipse.jetty.io.Content.Chunk>,org.reactivestreams.Publisher<String>> asString()
      Returns:
      a response content processing function that converts the content to a string