Package | Description |
---|---|
javax.websocket |
This package contains all the WebSocket APIs common to both the client and server side.
|
javax.websocket.server |
This package contains all the 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,
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(Class<? extends Endpoint> endpointClass,
ClientEndpointConfig cec,
URI path)
Connect the supplied programmatic endpoint to its server with the given configuration.
|
Modifier and Type | Method and Description |
---|---|
Set<ServerEndpointConfig> |
ServerApplicationConfig.getEndpointConfigs(Set<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 |
---|---|
Future<Session> |
ClientManager.asyncConnectToServer(Endpoint endpointInstance,
ClientEndpointConfig cec,
URI path)
|
Session |
ClientManager.connectToServer(Endpoint endpointInstance,
ClientEndpointConfig cec,
URI path) |
Modifier and Type | Method and Description |
---|---|
Future<Session> |
ClientManager.asyncConnectToServer(Class<? extends Endpoint> endpointClass,
ClientEndpointConfig cec,
URI path)
Non-blocking version of
WebSocketContainer.connectToServer(Class, javax.websocket.ClientEndpointConfig,
java.net.URI) . |
Session |
ClientManager.connectToServer(Class<? extends Endpoint> endpointClass,
ClientEndpointConfig cec,
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,
String contextPath,
ServerEndpointConfig.Configurator configurator,
TyrusEndpointWrapper.SessionListener sessionListener,
ClusterContext clusterContext,
EndpointEventListener endpointEventListener,
Boolean parallelBroadcastEnabled)
|
Constructor and Description |
---|
TyrusEndpointWrapper(Class<? extends Endpoint> endpointClass,
EndpointConfig configuration,
ComponentProviderService componentProvider,
WebSocketContainer container,
String contextPath,
ServerEndpointConfig.Configurator configurator,
TyrusEndpointWrapper.SessionListener sessionListener,
ClusterContext clusterContext,
EndpointEventListener endpointEventListener,
Boolean parallelBroadcastEnabled)
Create
TyrusEndpointWrapper for class that extends Endpoint . |
Modifier and Type | Method and Description |
---|---|
Future<Session> |
TyrusServerContainer.asyncConnectToServer(Endpoint endpointInstance,
ClientEndpointConfig cec,
URI path)
|
Session |
TyrusServerContainer.connectToServer(Endpoint endpointInstance,
ClientEndpointConfig cec,
URI path) |
Modifier and Type | Method and Description |
---|---|
Future<Session> |
TyrusServerContainer.asyncConnectToServer(Class<? extends Endpoint> endpointClass,
ClientEndpointConfig cec,
URI path)
Non-blocking version of
WebSocketContainer.connectToServer(Class,
javax.websocket.ClientEndpointConfig, java.net.URI) . |
Session |
TyrusServerContainer.connectToServer(Class<? extends Endpoint> endpointClass,
ClientEndpointConfig cec,
URI path) |
Set<ServerEndpointConfig> |
TyrusServerConfiguration.getEndpointConfigs(Set<Class<? extends Endpoint>> scanned)
Gets all the
ServerEndpointConfig classes which should be deployed. |
Copyright © 2012–2019 Oracle Corporation. All rights reserved.