インタフェースjava.net.http.WebSocket.Listenerの
使用
-
WebSocket.Listenerを使用するパッケージ パッケージ 説明 java.net.http HTTPクライアントおよびWebSocket API -
-
java.net.httpでのWebSocket.Listenerの使用
型WebSocket.Listenerのパラメータを持つjava.net.httpのメソッド 修飾子と型 メソッド 説明 CompletableFuture<WebSocket>
WebSocket.Builder. buildAsync(URI uri, WebSocket.Listener listener)
指定されたURI
に接続され、指定されたListener
に関連付けられたWebSocket
を構築します。
-