Package jakarta.websocket.server
Interface ServerContainer
-
- All Superinterfaces:
WebSocketContainer
public interface ServerContainer extends WebSocketContainer
Provides the ability to deploy endpoints programmatically.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addEndpoint(ServerEndpointConfig sec)
void
addEndpoint(java.lang.Class<?> clazz)
-
Methods inherited from interface jakarta.websocket.WebSocketContainer
connectToServer, connectToServer, connectToServer, connectToServer, getDefaultAsyncSendTimeout, getDefaultMaxBinaryMessageBufferSize, getDefaultMaxSessionIdleTimeout, getDefaultMaxTextMessageBufferSize, getInstalledExtensions, setAsyncSendTimeout, setDefaultMaxBinaryMessageBufferSize, setDefaultMaxSessionIdleTimeout, setDefaultMaxTextMessageBufferSize
-
-
-
-
Method Detail
-
addEndpoint
void addEndpoint(java.lang.Class<?> clazz) throws DeploymentException
- Throws:
DeploymentException
-
addEndpoint
void addEndpoint(ServerEndpointConfig sec) throws DeploymentException
- Throws:
DeploymentException
-
-