Uses of Interface java.net.http.WebSocket.Listener (Java SE 21 & JDK 21)
Description: use: module: java.net.http, package: java.net.http, interface: WebSocket, interface: Listener

# Uses of Interface
java.net.http.WebSocket.Listener

Packages that use WebSocket.Listener
Package
Description
java.net.http
HTTP Client and WebSocket APIs

- ## Uses of WebSocket.Listener in java.net.http

  Methods in java.net.http with parameters of type WebSocket.Listener
  Modifier and Type
  Method
  Description
  `CompletableFuture<WebSocket>`
  WebSocket.Builder.`buildAsync(URI uri, WebSocket.Listener listener)`
  Builds a `WebSocket` connected to the given `URI` and associated with the given `Listener`.