Uses of Interface
com.soklet.StreamingResponseBody
Packages that use StreamingResponseBody
-
Uses of StreamingResponseBody in com.soklet
Classes in com.soklet that implement StreamingResponseBodyModifier and TypeClassDescriptionstatic final classA streaming body backed by anInputStreamsupplier.static final classA streaming body backed by aFlow.Publisher.static final classA streaming body backed by aReadersupplier.static final classA streaming body backed by a writer callback.Methods in com.soklet that return StreamingResponseBodyModifier and TypeMethodDescriptionStreamingResponseBody.InputStreamBuilder.build()Builds an input-stream-backed response body.StreamingResponseBody.ReaderBuilder.build()Builds a reader-backed response body.static @NonNull StreamingResponseBodyStreamingResponseBody.fromInputStream(@NonNull Supplier<? extends InputStream> inputStreamSupplier) Creates a streaming response body backed by an input stream supplier.static @NonNull StreamingResponseBodyStreamingResponseBody.fromPublisher(@NonNull Flow.Publisher<@NonNull ByteBuffer> publisher) Creates a streaming response body backed by aFlow.Publisherof byte buffers.static @NonNull StreamingResponseBodyStreamingResponseBody.fromReader(@NonNull Supplier<? extends Reader> readerSupplier, @NonNull Charset charset) Creates a streaming response body backed by a reader supplier.static @NonNull StreamingResponseBodyStreamingResponseBody.fromWriter(@NonNull StreamingResponseWriter writer) Creates a streaming response body backed by a writer callback.Methods in com.soklet that return types with arguments of type StreamingResponseBodyModifier and TypeMethodDescriptionMarshaledResponse.getStream()The finalized streaming HTTP response body to write, if available.Methods in com.soklet with parameters of type StreamingResponseBodyModifier and TypeMethodDescriptionMarshaledResponse.Builder.stream(@Nullable StreamingResponseBody stream) Sets a streaming response body, or removes any current stream ifstreamisnull.MarshaledResponse.Copier.stream(@Nullable StreamingResponseBody stream)