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 | |
org.glassfish.tyrus.core |
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.OnCloseListener onCloseListener,
ClusterContext clusterContext)
|
Constructor and Description |
---|
TyrusEndpointWrapper(Class<? extends Endpoint> endpointClass,
EndpointConfig configuration,
ComponentProviderService componentProvider,
WebSocketContainer container,
String contextPath,
ServerEndpointConfig.Configurator configurator)
Create
TyrusEndpointWrapper for class that extends Endpoint . |
Copyright © 2012-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.