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