Package | Description |
---|---|
javax.websocket |
This package contains all the Jakartq WebSocket APIs common to both the client and server side.
|
javax.websocket.server |
This package contains all the Jakarta WebSocket APIs used only by server side applications.
|
Modifier and Type | Method and Description |
---|---|
Session |
WebSocketContainer.connectToServer(Class<?> annotatedEndpointClass,
URI path)
Connect the supplied annotated endpoint to its server.
|
Session |
WebSocketContainer.connectToServer(Class<? extends Endpoint> endpointClass,
ClientEndpointConfig cec,
URI path)
Connect the supplied programmatic endpoint to its server with the given configuration.
|
Session |
WebSocketContainer.connectToServer(Endpoint endpointInstance,
ClientEndpointConfig cec,
URI path)
Connect the supplied programmatic client endpoint instance to its server with the given configuration.
|
Session |
WebSocketContainer.connectToServer(Object annotatedEndpointInstance,
URI path)
Connect the supplied annotated endpoint instance to its server.
|
Modifier and Type | Method and Description |
---|---|
void |
ServerContainer.addEndpoint(Class<?> endpointClass)
Deploys the given annotated endpoint into this ServerContainer during the initialization phase of deploying the
application.
|
void |
ServerContainer.addEndpoint(ServerEndpointConfig serverConfig) |
Copyright © 2019 Eclipse Foundation.
Use is subject to license terms.