| Package | Description | 
|---|---|
| javax.websocket.server | This package contains all the WebSocket APIs used only by server side applications. | 
| org.glassfish.tyrus.core | Core classes. | 
| org.glassfish.tyrus.server | Server implementation. | 
| org.glassfish.tyrus.spi | Tyrus SPI. | 
| Modifier and Type | Method and Description | 
|---|---|
| ServerEndpointConfig | ServerEndpointConfig.Builder. build()Builds the configuration object using the current attributes that have been set on this builder object. | 
| 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 | 
|---|---|
| void | ServerContainer. addEndpoint(ServerEndpointConfig serverConfig) | 
| void | ServerEndpointConfig.Configurator. modifyHandshake(ServerEndpointConfig sec,
               HandshakeRequest request,
               HandshakeResponse response)Called by the container after it has formulated a handshake response resulting from a well-formed handshake
 request. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | TyrusServerEndpointConfigConfiguration  ServerEndpointConfigenhanced
 to offer tyrus specific attributes like maxSessions. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | TyrusServerEndpointConfigurator. modifyHandshake(ServerEndpointConfig sec,
               HandshakeRequest request,
               HandshakeResponse response) | 
| void | TyrusWebSocketEngine. register(ServerEndpointConfig serverConfig,
        String contextPath) | 
| Modifier and Type | Method and Description | 
|---|---|
| Set<ServerEndpointConfig> | TyrusServerConfiguration. getEndpointConfigs(Set<Class<? extends Endpoint>> scanned)Gets all the  ServerEndpointConfigclasses which should be deployed. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | TyrusServerContainer. addEndpoint(ServerEndpointConfig serverEndpointConfig) | 
| abstract void | TyrusServerContainer. register(ServerEndpointConfig serverEndpointConfig) | 
| Constructor and Description | 
|---|
| TyrusServerConfiguration(Set<Class<?>> classes,
                        Set<Class<?>> dynamicallyAddedClasses,
                        Set<ServerEndpointConfig> serverEndpointConfigs,
                        ErrorCollector errorCollector)Create new  TyrusServerConfiguration. | 
| TyrusServerConfiguration(Set<Class<?>> classes,
                        Set<ServerEndpointConfig> serverEndpointConfigs)Create new  TyrusServerConfiguration. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | WebSocketEngine. register(ServerEndpointConfig serverConfig,
        String contextPath)Register  ServerEndpointConfig. | 
Copyright © 2012–2019 Oracle Corporation. All rights reserved.