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.container.grizzly.client |
Grizzly Client container.
|
org.glassfish.tyrus.core |
Core classes.
|
org.glassfish.tyrus.core.cluster |
Cluster relates classes and interfaces.
|
org.glassfish.tyrus.server |
Server implementation.
|
Modifier and Type | Method and Description |
---|---|
WebSocketContainer |
Session.getContainer()
Return the container that this session is part of.
|
protected abstract WebSocketContainer |
ContainerProvider.getContainer()
Create a new instance of the the WebSocket container implementation.
|
static WebSocketContainer |
ContainerProvider.getWebSocketContainer()
Obtain a new instance of a WebSocketContainer.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ServerContainer
The ServerContainer is the specialized view of the WebSocketContainer available in server-side deployments.
|
Modifier and Type | Class and Description |
---|---|
class |
ClientManager
ClientManager implementation.
|
Modifier and Type | Method and Description |
---|---|
static ClientManager |
ClientManager.createClient(String containerProviderClassName,
WebSocketContainer webSocketContainer)
Create new ClientManager instance on top of provided
WebSocketContainer instance. |
static ClientManager |
ClientManager.createClient(WebSocketContainer webSocketContainer)
Create new ClientManager instance on top of provided
WebSocketContainer instance. |
Modifier and Type | Method and Description |
---|---|
protected WebSocketContainer |
GrizzlyContainerProvider.getContainer() |
Modifier and Type | Class and Description |
---|---|
class |
BaseContainer
Base WebSocket container.
|
Modifier and Type | Method and Description |
---|---|
WebSocketContainer |
TyrusSession.getContainer() |
Modifier and Type | Method and Description |
---|---|
static TyrusWebSocketEngine.TyrusWebSocketEngineBuilder |
TyrusWebSocketEngine.builder(WebSocketContainer webSocketContainer)
Create
TyrusWebSocketEngine.TyrusWebSocketEngineBuilder
instance based on passed WebSocketContainer . |
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 . |
TyrusEndpointWrapper(Endpoint endpoint,
EndpointConfig configuration,
ComponentProviderService componentProvider,
WebSocketContainer container,
String contextPath,
ServerEndpointConfig.Configurator configurator,
TyrusEndpointWrapper.SessionListener sessionListener,
ClusterContext clusterContext,
EndpointEventListener endpointEventListener,
Boolean parallelBroadcastEnabled)
|
Modifier and Type | Method and Description |
---|---|
WebSocketContainer |
RemoteSession.getContainer()
This method is not supported on
RemoteSession . |
Modifier and Type | Class and Description |
---|---|
class |
TyrusServerContainer
Server Container Implementation.
|
Copyright © 2012–2019 Oracle Corporation. All rights reserved.