Package | Description |
---|---|
jakarta.websocket |
This package contains all the Jakartq WebSocket APIs common to both the client and server side.
|
jakarta.websocket.server |
This package contains all the Jakarta WebSocket APIs used only by server side applications.
|
org.glassfish.tyrus.client |
Common Client.
|
org.glassfish.tyrus.core |
Core classes.
|
org.glassfish.tyrus.server |
Server implementation.
|
Modifier and Type | Method and Description |
---|---|
Session |
WebSocketContainer.connectToServer(Endpoint endpointInstance,
ClientEndpointConfig cec,
java.net.URI path)
Connect the supplied programmatic client endpoint instance to its server with the given configuration.
|
Modifier and Type | Method and Description |
---|---|
Session |
WebSocketContainer.connectToServer(java.lang.Class<? extends Endpoint> endpointClass,
ClientEndpointConfig cec,
java.net.URI path)
Connect the supplied programmatic endpoint to its server with the given configuration.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<ServerEndpointConfig> |
ServerApplicationConfig.getEndpointConfigs(java.util.Set<java.lang.Class<? extends Endpoint>> endpointClasses)
Return a set of ServerEndpointConfig instances that the server container will use to deploy the programmatic
endpoints.
|
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.Future<Session> |
ClientManager.asyncConnectToServer(Endpoint endpointInstance,
ClientEndpointConfig cec,
java.net.URI path)
|
Session |
ClientManager.connectToServer(Endpoint endpointInstance,
ClientEndpointConfig cec,
java.net.URI path) |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.Future<Session> |
ClientManager.asyncConnectToServer(java.lang.Class<? extends Endpoint> endpointClass,
ClientEndpointConfig cec,
java.net.URI path)
Non-blocking version of
WebSocketContainer.connectToServer(Class, jakarta.websocket.ClientEndpointConfig,
java.net.URI) . |
Session |
ClientManager.connectToServer(java.lang.Class<? extends Endpoint> endpointClass,
ClientEndpointConfig cec,
java.net.URI path) |
Modifier and Type | Class and Description |
---|---|
class |
AnnotatedEndpoint
Endpoint descendant which represents deployed annotated endpoint. |
Constructor and Description |
---|
TyrusEndpointWrapper(Endpoint endpoint,
EndpointConfig configuration,
ComponentProviderService componentProvider,
WebSocketContainer container,
java.lang.String contextPath,
ServerEndpointConfig.Configurator configurator,
TyrusEndpointWrapper.SessionListener sessionListener,
ClusterContext clusterContext,
EndpointEventListener endpointEventListener,
java.lang.Boolean parallelBroadcastEnabled)
|
Constructor and Description |
---|
TyrusEndpointWrapper(java.lang.Class<? extends Endpoint> endpointClass,
EndpointConfig configuration,
ComponentProviderService componentProvider,
WebSocketContainer container,
java.lang.String contextPath,
ServerEndpointConfig.Configurator configurator,
TyrusEndpointWrapper.SessionListener sessionListener,
ClusterContext clusterContext,
EndpointEventListener endpointEventListener,
java.lang.Boolean parallelBroadcastEnabled)
Create
TyrusEndpointWrapper for class that extends Endpoint . |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.Future<Session> |
TyrusServerContainer.asyncConnectToServer(Endpoint endpointInstance,
ClientEndpointConfig cec,
java.net.URI path)
|
Session |
TyrusServerContainer.connectToServer(Endpoint endpointInstance,
ClientEndpointConfig cec,
java.net.URI path) |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.Future<Session> |
TyrusServerContainer.asyncConnectToServer(java.lang.Class<? extends Endpoint> endpointClass,
ClientEndpointConfig cec,
java.net.URI path)
Non-blocking version of
WebSocketContainer.connectToServer(Class,
jakarta.websocket.ClientEndpointConfig, java.net.URI) . |
Session |
TyrusServerContainer.connectToServer(java.lang.Class<? extends Endpoint> endpointClass,
ClientEndpointConfig cec,
java.net.URI path) |
java.util.Set<ServerEndpointConfig> |
TyrusServerConfiguration.getEndpointConfigs(java.util.Set<java.lang.Class<? extends Endpoint>> scanned)
Gets all the
ServerEndpointConfig classes which should be deployed. |
Copyright © 2012–2020 Oracle Corporation. All rights reserved.