Uses of Interface
java.util.concurrent.Flow.Publisher
-
Packages that use Flow.Publisher 软件包 描述 java.net.http HTTP客户端和WebSocket APIjava.util.concurrent 实用类通常在并发编程中有用。 -
-
Uses of Flow.Publisher in java.net.http
Subinterfaces of Flow.Publisher in java.net.http 变量和类型 接口 描述 static interface
HttpRequest.BodyPublisher
BodyPublisher
将高级Java对象转换为适合作为请求主体发送的字节缓冲区流。Methods in java.net.http that return types with arguments of type Flow.Publisher 变量和类型 方法 描述 static HttpResponse.BodyHandler<Flow.Publisher<List<ByteBuffer>>>
HttpResponse.BodyHandlers. ofPublisher()
返回BodyHandler<Publisher<List<ByteBuffer>>>
,创建一个BodySubscriber
<Publisher<List<ByteBuffer>>>
从获得BodySubscribers.ofPublisher()
。static HttpResponse.BodySubscriber<Flow.Publisher<List<ByteBuffer>>>
HttpResponse.BodySubscribers. ofPublisher()
返回响应订阅者,该订阅者通过Publisher<List<ByteBuffer>>
发布响应正文。Methods in java.net.http with parameters of type Flow.Publisher 变量和类型 方法 描述 static HttpRequest.BodyPublisher
HttpRequest.BodyPublishers. fromPublisher(Flow.Publisher<? extends ByteBuffer> publisher)
返回从给定的Flow.Publisher
检索其正文的请求正文发布Flow.Publisher
。static HttpRequest.BodyPublisher
HttpRequest.BodyPublishers. fromPublisher(Flow.Publisher<? extends ByteBuffer> publisher, long contentLength)
返回从给定的Flow.Publisher
检索其正文的请求正文发布Flow.Publisher
。 -
Uses of Flow.Publisher in java.util.concurrent
Subinterfaces of Flow.Publisher in java.util.concurrent 变量和类型 接口 描述 static interface
Flow.Processor<T,R>
充当订阅服务器和发布服务器的组件。Classes in java.util.concurrent that implement Flow.Publisher 变量和类型 类 描述 class
SubmissionPublisher<T>
一个Flow.Publisher
,它将提交的(非空)项目异步发送给当前订阅者,直到它被关闭。
-