Package | Description |
---|---|
javax.websocket | |
org.apache.tomcat.websocket | |
org.apache.tomcat.websocket.pojo |
This package provides the necessary plumbing to convert an annotated POJO
into a WebSocket
Endpoint . |
Modifier and Type | Interface and Description |
---|---|
static interface |
MessageHandler.Partial<T> |
static interface |
MessageHandler.Whole<T> |
Modifier and Type | Method and Description |
---|---|
Set<MessageHandler> |
Session.getMessageHandlers() |
Modifier and Type | Method and Description |
---|---|
void |
Session.addMessageHandler(MessageHandler listener) |
void |
Session.removeMessageHandler(MessageHandler listener) |
Modifier and Type | Method and Description |
---|---|
protected MessageHandler |
WsSession.getBinaryMessageHandler() |
MessageHandler |
MessageHandlerResult.getHandler() |
protected MessageHandler |
WsSession.getTextMessageHandler() |
MessageHandler |
WrappedMessageHandler.getWrappedHandler() |
Modifier and Type | Method and Description |
---|---|
Set<MessageHandler> |
WsSession.getMessageHandlers() |
Modifier and Type | Method and Description |
---|---|
void |
WsSession.addMessageHandler(MessageHandler listener) |
void |
WsSession.removeMessageHandler(MessageHandler listener) |
Constructor and Description |
---|
MessageHandlerResult(MessageHandler handler,
MessageHandlerResultType type) |
Modifier and Type | Class and Description |
---|---|
class |
PojoMessageHandlerPartialBase<T>
Common implementation code for the POJO partial message handlers.
|
class |
PojoMessageHandlerPartialBinary
ByteBuffer specific concrete implementation for handling partial messages.
|
class |
PojoMessageHandlerPartialText
Text specific concrete implementation for handling partial messages.
|
class |
PojoMessageHandlerWholeBase<T>
Common implementation code for the POJO whole message handlers.
|
class |
PojoMessageHandlerWholeBinary
ByteBuffer specific concrete implementation for handling whole messages.
|
class |
PojoMessageHandlerWholePong
PongMessage specific concrete implementation for handling whole messages.
|
class |
PojoMessageHandlerWholeText
Text specific concrete implementation for handling whole messages.
|
Modifier and Type | Method and Description |
---|---|
MessageHandler |
PojoMessageHandlerBase.getWrappedHandler()
Expose the POJO if it is a message handler so the Session is able to
match requests to remove handlers if the original handler has been
wrapped.
|
Modifier and Type | Method and Description |
---|---|
Set<MessageHandler> |
PojoMethodMapping.getMessageHandlers(Object pojo,
Map<String,String> pathParameters,
Session session,
EndpointConfig config) |
Copyright © 2016 JBoss by Red Hat. All rights reserved.