Uses of Interface
java.util.concurrent.Flow.Publisher
-
Packages that use Flow.Publisher Package Description java.net.http HTTP Client and WebSocket APIsjava.util.concurrent Utility classes commonly useful in concurrent programming. -
-
Uses of Flow.Publisher in java.net.http
Subinterfaces of Flow.Publisher in java.net.http Modifier and Type Interface Description static interface
HttpRequest.BodyPublisher
ABodyPublisher
converts high-level Java objects into a flow of byte buffers suitable for sending as a request body.Methods in java.net.http that return types with arguments of type Flow.Publisher Modifier and Type Method Description static HttpResponse.BodyHandler<Flow.Publisher<List<ByteBuffer>>>
HttpResponse.BodyHandlers. ofPublisher()
Returns aBodyHandler<Publisher<List<ByteBuffer>>>
that creates aBodySubscriber
<Publisher<List<ByteBuffer>>>
obtained fromBodySubscribers.ofPublisher()
.static HttpResponse.BodySubscriber<Flow.Publisher<List<ByteBuffer>>>
HttpResponse.BodySubscribers. ofPublisher()
Returns a response subscriber which publishes the response body through aPublisher
.- >
Methods in java.net.http with parameters of type Flow.Publisher Modifier and Type Method Description static HttpRequest.BodyPublisher
HttpRequest.BodyPublishers. fromPublisher(Flow.Publisher<? extends ByteBuffer> publisher)
Returns a request body publisher whose body is retrieved from the givenFlow.Publisher
.static HttpRequest.BodyPublisher
HttpRequest.BodyPublishers. fromPublisher(Flow.Publisher<? extends ByteBuffer> publisher, long contentLength)
Returns a request body publisher whose body is retrieved from the givenFlow.Publisher
. -
Uses of Flow.Publisher in java.util.concurrent
Subinterfaces of Flow.Publisher in java.util.concurrent Modifier and Type Interface Description static interface
Flow.Processor<T,R>
A component that acts as both a Subscriber and Publisher.Classes in java.util.concurrent that implement Flow.Publisher Modifier and Type Class Description class
SubmissionPublisher<T>
AFlow.Publisher
that asynchronously issues submitted (non-null) items to current subscribers until it is closed.
-