Class ContainerProvider
java.lang.Object
jakarta.websocket.ContainerProvider
Use the
ServiceLoader
mechanism to provide instances of the WebSocket client container.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract WebSocketContainer
static WebSocketContainer
Create a new container used to create outgoing WebSocket connections.
-
Constructor Details
-
ContainerProvider
public ContainerProvider()
-
-
Method Details
-
getWebSocketContainer
Create a new container used to create outgoing WebSocket connections.- Returns:
- A newly created container.
-
getContainer
-