Uses of Interface
java.util.concurrent.Flow.Publisher
Packages that use Flow.Publisher
Package
Description
HTTP Client and WebSocket APIs
Utility classes commonly useful in concurrent programming.
-
Uses of Flow.Publisher in java.net.http
Subinterfaces of Flow.Publisher in java.net.httpModifier and TypeInterfaceDescriptionstatic interfaceABodyPublisherconverts 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.PublisherModifier and TypeMethodDescriptionstatic HttpResponse.BodyHandler<Flow.Publisher<List<ByteBuffer>>>HttpResponse.BodyHandlers.ofPublisher()Returns aBodyHandler<Publisher<List<ByteBuffer>>>that creates aBodySubscriber<Publisher<List<ByteBuffer>>>obtained fromBodySubscribers.ofPublisher().HttpResponse.BodySubscribers.ofPublisher()Returns a response subscriber which publishes the response body through aPublisher<List<ByteBuffer>>.Methods in java.net.http with parameters of type Flow.PublisherModifier and TypeMethodDescriptionstatic HttpRequest.BodyPublisherHttpRequest.BodyPublishers.fromPublisher(Flow.Publisher<? extends ByteBuffer> publisher) Returns a request body publisher whose body is retrieved from the givenFlow.Publisher.static HttpRequest.BodyPublisherHttpRequest.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.concurrentModifier and TypeInterfaceDescriptionstatic interfaceFlow.Processor<T,R> A component that acts as both a Subscriber and Publisher.Classes in java.util.concurrent that implement Flow.PublisherModifier and TypeClassDescriptionclassAFlow.Publisherthat asynchronously issues submitted (non-null) items to current subscribers until it is closed.