| 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  | ServerContainerThe ServerContainer is the specialized view of the WebSocketContainer available in server-side deployments. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ClientManagerClientManager implementation. | 
| Modifier and Type | Method and Description | 
|---|---|
| static ClientManager | ClientManager. createClient(String containerProviderClassName,
            WebSocketContainer webSocketContainer)Create new ClientManager instance on top of provided  WebSocketContainerinstance. | 
| static ClientManager | ClientManager. createClient(WebSocketContainer webSocketContainer)Create new ClientManager instance on top of provided  WebSocketContainerinstance. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected WebSocketContainer | GrizzlyContainerProvider. getContainer() | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | BaseContainerBase 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.TyrusWebSocketEngineBuilderinstance based on passedWebSocketContainer. | 
| 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  TyrusEndpointWrapperfor class that extendsEndpoint. | 
| 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  | TyrusServerContainerServer Container Implementation. | 
Copyright © 2012–2019 Oracle Corporation. All rights reserved.