Package | Description |
---|---|
javax.websocket | |
javax.websocket.server | |
org.apache.tomcat.websocket | |
org.apache.tomcat.websocket.pojo |
This package provides the necessary plumbing to convert an annotated POJO
into a WebSocket
Endpoint . |
org.apache.tomcat.websocket.server |
Server-side specific implementation classes.
|
Modifier and Type | Method and Description |
---|---|
Session |
WebSocketContainer.connectToServer(Endpoint endpoint,
ClientEndpointConfig clientEndpointConfiguration,
URI path)
Creates a new connection to the WebSocket.
|
Modifier and Type | Method and Description |
---|---|
Session |
WebSocketContainer.connectToServer(Class<? extends Endpoint> endpoint,
ClientEndpointConfig clientEndpointConfiguration,
URI path)
Creates a new connection to the WebSocket.
|
Modifier and Type | Method and Description |
---|---|
Set<ServerEndpointConfig> |
ServerApplicationConfig.getEndpointConfigs(Set<Class<? extends Endpoint>> scanned)
Enables applications to filter the discovered implementations of
ServerEndpointConfig . |
Modifier and Type | Method and Description |
---|---|
Endpoint |
WsSession.getLocal() |
Modifier and Type | Method and Description |
---|---|
Session |
WsWebSocketContainer.connectToServer(Endpoint endpoint,
ClientEndpointConfig clientEndpointConfiguration,
URI path) |
protected void |
WsWebSocketContainer.registerSession(Endpoint endpoint,
WsSession wsSession) |
protected void |
WsWebSocketContainer.unregisterSession(Endpoint endpoint,
WsSession wsSession) |
Modifier and Type | Method and Description |
---|---|
Session |
WsWebSocketContainer.connectToServer(Class<? extends Endpoint> clazz,
ClientEndpointConfig clientEndpointConfiguration,
URI path) |
Constructor and Description |
---|
WsSession(Endpoint localEndpoint,
WsRemoteEndpointImplBase wsRemoteEndpoint,
WsWebSocketContainer wsWebSocketContainer,
URI requestUri,
Map<String,List<String>> requestParameterMap,
String queryString,
Principal userPrincipal,
String httpSessionId,
String subProtocol,
Map<String,String> pathParameters,
boolean secure,
EndpointConfig endpointConfig)
Creates a new WebSocket session for communication between the two
provided end points.
|
Modifier and Type | Class and Description |
---|---|
class |
PojoEndpointBase
Base implementation (client and server have different concrete
implementations) of the wrapper that converts a POJO instance into a
WebSocket endpoint instance.
|
class |
PojoEndpointClient
Wrapper class for instances of POJOs annotated with
ClientEndpoint so they appear as standard
Endpoint instances. |
class |
PojoEndpointServer
Wrapper class for instances of POJOs annotated with
ServerEndpoint so they appear as standard
Endpoint instances. |
Modifier and Type | Method and Description |
---|---|
void |
WsHttpUpgradeHandler.preInit(Endpoint ep,
EndpointConfig endpointConfig,
WsServerContainer wsc,
WsHandshakeRequest handshakeRequest,
String subProtocol,
Map<String,String> pathParameters,
boolean secure) |
protected void |
WsServerContainer.registerSession(Endpoint endpoint,
WsSession wsSession)
Overridden to make it visible to other classes in this package.
|
protected void |
WsServerContainer.unregisterSession(Endpoint endpoint,
WsSession wsSession)
Overridden to make it visible to other classes in this package.
|
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.