Uses of Class
org.eclipse.jetty.reactive.client.ReactiveResponse
-
Uses of ReactiveResponse in org.eclipse.jetty.reactive.client
Methods in org.eclipse.jetty.reactive.client that return ReactiveResponseModifier and TypeMethodDescriptionReactiveRequest.getReactiveResponse()ReactiveResponse.Event.getResponse()ReactiveResponse.Result.response()Returns the value of theresponserecord component.Methods in org.eclipse.jetty.reactive.client that return types with arguments of type ReactiveResponseModifier and TypeMethodDescriptionstatic BiFunction<ReactiveResponse, org.reactivestreams.Publisher<org.eclipse.jetty.io.Content.Chunk>, org.reactivestreams.Publisher<byte[]>> ReactiveResponse.Content.asByteArray()static BiFunction<ReactiveResponse, org.reactivestreams.Publisher<org.eclipse.jetty.io.Content.Chunk>, org.reactivestreams.Publisher<byte[]>> ReactiveResponse.Content.asByteArray(int maxCapacity) static BiFunction<ReactiveResponse, org.reactivestreams.Publisher<org.eclipse.jetty.io.Content.Chunk>, org.reactivestreams.Publisher<ReactiveResponse.Result<byte[]>>> ReactiveResponse.Content.asByteArrayResult()static BiFunction<ReactiveResponse, org.reactivestreams.Publisher<org.eclipse.jetty.io.Content.Chunk>, org.reactivestreams.Publisher<ReactiveResponse.Result<byte[]>>> ReactiveResponse.Content.asByteArrayResult(int maxCapacity) static BiFunction<ReactiveResponse, org.reactivestreams.Publisher<org.eclipse.jetty.io.Content.Chunk>, org.reactivestreams.Publisher<ByteBuffer>> ReactiveResponse.Content.asByteBuffer()static BiFunction<ReactiveResponse, org.reactivestreams.Publisher<org.eclipse.jetty.io.Content.Chunk>, org.reactivestreams.Publisher<ByteBuffer>> ReactiveResponse.Content.asByteBuffer(int maxCapacity) static BiFunction<ReactiveResponse, org.reactivestreams.Publisher<org.eclipse.jetty.io.Content.Chunk>, org.reactivestreams.Publisher<ReactiveResponse.Result<ByteBuffer>>> ReactiveResponse.Content.asByteBufferResult()static BiFunction<ReactiveResponse, org.reactivestreams.Publisher<org.eclipse.jetty.io.Content.Chunk>, org.reactivestreams.Publisher<ReactiveResponse.Result<ByteBuffer>>> ReactiveResponse.Content.asByteBufferResult(int maxCapacity) static <T> BiFunction<ReactiveResponse, org.reactivestreams.Publisher<org.eclipse.jetty.io.Content.Chunk>, org.reactivestreams.Publisher<ReactiveResponse.Result<T>>> ReactiveResponse.Content.asDiscardResult()static BiFunction<ReactiveResponse, org.reactivestreams.Publisher<org.eclipse.jetty.io.Content.Chunk>, org.reactivestreams.Publisher<String>> ReactiveResponse.Content.asString()static BiFunction<ReactiveResponse, org.reactivestreams.Publisher<org.eclipse.jetty.io.Content.Chunk>, org.reactivestreams.Publisher<String>> ReactiveResponse.Content.asString(int maxCapacity) static BiFunction<ReactiveResponse, org.reactivestreams.Publisher<org.eclipse.jetty.io.Content.Chunk>, org.reactivestreams.Publisher<ReactiveResponse.Result<String>>> ReactiveResponse.Content.asStringResult()static BiFunction<ReactiveResponse, org.reactivestreams.Publisher<org.eclipse.jetty.io.Content.Chunk>, org.reactivestreams.Publisher<ReactiveResponse.Result<String>>> ReactiveResponse.Content.asStringResult(int maxCapacity) static BiFunction<ReactiveResponse, org.reactivestreams.Publisher<org.eclipse.jetty.io.Content.Chunk>, org.reactivestreams.Publisher<ReactiveResponse>> ReactiveResponse.Content.discard()static BiFunction<ReactiveResponse, org.reactivestreams.Publisher<org.eclipse.jetty.io.Content.Chunk>, 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 viaSubscription.request(long), discarding the response content.Method parameters in org.eclipse.jetty.reactive.client with type arguments of type ReactiveResponseModifier and TypeMethodDescription<T> org.reactivestreams.Publisher<T> ReactiveRequest.response(BiFunction<ReactiveResponse, org.reactivestreams.Publisher<org.eclipse.jetty.io.Content.Chunk>, org.reactivestreams.Publisher<T>> contentFn) Creates a Publisher that sends the request when a Subscriber requests the response viaSubscription.request(long), processing the response content with the givenBiFunction.Constructors in org.eclipse.jetty.reactive.client with parameters of type ReactiveResponseModifierConstructorDescriptionEvent(ReactiveResponse.Event.Type type, ReactiveResponse response) Event(ReactiveResponse.Event.Type type, ReactiveResponse response, Throwable failure) Event(ReactiveResponse.Event.Type type, ReactiveResponse response, ByteBuffer content) Result(ReactiveResponse response, T content) Creates an instance of aResultrecord class.