Package org.apache.tomcat.websocket
Interface WrappedMessageHandler
-
- All Known Implementing Classes:
PojoMessageHandlerBase,PojoMessageHandlerPartialBase,PojoMessageHandlerPartialBinary,PojoMessageHandlerPartialText,PojoMessageHandlerWholeBase,PojoMessageHandlerWholeBinary,PojoMessageHandlerWholePong,PojoMessageHandlerWholeText
public interface WrappedMessageHandlerInterface for message handlers that wrap another message handler.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetMaxMessageSize()Returns the maximum message size supported by this handler.MessageHandlergetWrappedHandler()Returns the wrapped message handler, ornullif the underlying POJO is not a message handler.
-
-
-
Method Detail
-
getMaxMessageSize
long getMaxMessageSize()
Returns the maximum message size supported by this handler.- Returns:
- the maximum message size
-
getWrappedHandler
MessageHandler getWrappedHandler()
Returns the wrapped message handler, ornullif the underlying POJO is not a message handler.- Returns:
- the wrapped message handler
-
-