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 | Interface and Description |
---|---|
interface |
ClientEndpointConfig |
Modifier and Type | Method and Description |
---|---|
void |
Decoder.init(EndpointConfig endpointConfig) |
void |
Encoder.init(EndpointConfig endpointConfig) |
abstract void |
Endpoint.onOpen(Session session,
EndpointConfig config)
Event that is triggered when a new session starts.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ServerEndpointConfig
Provides configuration information for WebSocket endpoints published to a
server.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
protected void |
PojoEndpointBase.doOnOpen(Session session,
EndpointConfig config) |
Set<MessageHandler> |
PojoMethodMapping.getMessageHandlers(Object pojo,
Map<String,String> pathParameters,
Session session,
EndpointConfig config) |
Object[] |
PojoMethodMapping.getOnOpenArgs(Map<String,String> pathParameters,
Session session,
EndpointConfig config) |
void |
PojoEndpointClient.onOpen(Session session,
EndpointConfig config) |
void |
PojoEndpointServer.onOpen(Session session,
EndpointConfig endpointConfig) |
Constructor and Description |
---|
PojoMessageHandlerWholeBinary(Object pojo,
Method method,
Session session,
EndpointConfig config,
List<Class<? extends Decoder>> decoderClazzes,
Object[] params,
int indexPayload,
boolean convert,
int indexSession,
boolean isForInputStream,
long maxMessageSize) |
PojoMessageHandlerWholeText(Object pojo,
Method method,
Session session,
EndpointConfig config,
List<Class<? extends Decoder>> decoderClazzes,
Object[] params,
int indexPayload,
boolean convert,
int indexSession,
long maxMessageSize) |
Modifier and Type | Method and Description |
---|---|
void |
WsHttpUpgradeHandler.preInit(Endpoint ep,
EndpointConfig endpointConfig,
WsServerContainer wsc,
WsHandshakeRequest handshakeRequest,
List<Extension> negotiatedExtensionsPhase2,
String subProtocol,
Transformation transformation,
Map<String,String> pathParameters,
boolean secure) |
Copyright © 2015 JBoss by Red Hat. All rights reserved.