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(Class<?> annotatedEndpointClass,
URI path) |
Session |
WebSocketContainer.connectToServer(Class<? extends Endpoint> endpoint,
ClientEndpointConfig clientEndpointConfiguration,
URI path)
Creates a new connection to the WebSocket.
|
Session |
WebSocketContainer.connectToServer(Endpoint endpoint,
ClientEndpointConfig clientEndpointConfiguration,
URI path)
Creates a new connection to the WebSocket.
|
Session |
WebSocketContainer.connectToServer(Object endpoint,
URI path) |
Modifier and Type | Method and Description |
---|---|
void |
ServerContainer.addEndpoint(Class<?> clazz) |
void |
ServerContainer.addEndpoint(ServerEndpointConfig sec) |
Modifier and Type | Method and Description |
---|---|
Session |
WsWebSocketContainer.connectToServer(Class<?> annotatedEndpointClass,
URI path) |
Session |
WsWebSocketContainer.connectToServer(Class<? extends Endpoint> clazz,
ClientEndpointConfig clientEndpointConfiguration,
URI path) |
Session |
WsWebSocketContainer.connectToServer(Endpoint endpoint,
ClientEndpointConfig clientEndpointConfiguration,
URI path) |
Session |
WsWebSocketContainer.connectToServer(Object pojo,
URI path) |
static List<DecoderEntry> |
Util.getDecoders(Class<? extends Decoder>[] decoderClazzes) |
protected void |
WsRemoteEndpointImplBase.setEncoders(EndpointConfig endpointConfig) |
Constructor and Description |
---|
WsSession(Endpoint localEndpoint,
WsRemoteEndpointImplBase wsRemoteEndpoint,
WsWebSocketContainer wsWebSocketContainer,
URI requestUri,
Map<String,List<String>> requestParameterMap,
String queryString,
Principal userPrincipal,
String httpSessionId,
List<Extension> negotiatedExtensions,
String subProtocol,
Map<String,String> pathParameters,
boolean secure,
EndpointConfig endpointConfig)
Creates a new WebSocket session for communication between the two
provided end points.
|
Constructor and Description |
---|
PojoEndpointClient(Object pojo,
Class<? extends Decoder>[] decoders) |
PojoMethodMapping(Class<?> clazzPojo,
Class<? extends Decoder>[] decoderClazzes,
String wsPath) |
Modifier and Type | Method and Description |
---|---|
void |
WsServerContainer.addEndpoint(Class<?> pojo)
Provides the equivalent of
WsServerContainer.addEndpoint(ServerEndpointConfig)
for publishing plain old java objects (POJOs) that have been annotated as
WebSocket endpoints. |
void |
WsServerContainer.addEndpoint(ServerEndpointConfig sec)
Published the provided endpoint implementation at the specified path with
the specified configuration.
|
Constructor and Description |
---|
UriTemplate(String path) |
Copyright © 2015 JBoss by Red Hat. All rights reserved.