インタフェース java.util.concurrent.Flow.Publisherの
使用
-
Flow.Publisherを使用するパッケージ パッケージ 説明 java.util.concurrent 並行プログラミングでよく使用されるユーティリティ・クラスです。jdk.incubator.http 高レベルのHTTPとWebSocket API -
-
java.util.concurrentでのFlow.Publisherの使用
java.util.concurrentのFlow.Publisherのサブインタフェース 修飾子と型 インタフェース 説明 static interface
Flow.Processor<T,R>
サブスクライバとパブリッシャの両方として機能するコンポーネント。Flow.Publisherを実装しているjava.util.concurrentのクラス 修飾子と型 クラス 説明 class
SubmissionPublisher<T>
(non-null)アイテムを非同期で発行するFlow.Publisher
は、現在のサブスクライバが閉じられるまでそれを発行します。 -
jdk.incubator.httpでのFlow.Publisherの使用
jdk.incubator.httpのFlow.Publisherのサブインタフェース 修飾子と型 インタフェース 説明 static interface
HttpRequest.BodyPublisher
高水準のJavaオブジェクトをリクエスト本体として送信するのに適したバイト・バッファのフローに変換するパブリッシャ。型Flow.Publisherのパラメータを持つjdk.incubator.httpのメソッド 修飾子と型 メソッド 説明 static HttpRequest.BodyPublisher
HttpRequest.BodyPublisher. fromPublisher(Flow.Publisher<? extends ByteBuffer> publisher)
指定されたFlow.Publisher
から本文が取得されたリクエスト・ボディ・パブリッシャを返します。static HttpRequest.BodyPublisher
HttpRequest.BodyPublisher. fromPublisher(Flow.Publisher<? extends ByteBuffer> publisher, long contentLength)
指定されたFlow.Publisher
から本文が取得されたリクエスト・ボディ・パブリッシャを返します。
-