Package org.apache.tomcat.websocket.pojo
Class PojoMessageHandlerWholeText
java.lang.Object
org.apache.tomcat.websocket.pojo.PojoMessageHandlerBase<String>
org.apache.tomcat.websocket.pojo.PojoMessageHandlerWholeBase<String>
org.apache.tomcat.websocket.pojo.PojoMessageHandlerWholeText
- All Implemented Interfaces:
MessageHandler
,MessageHandler.Whole<String>
,WrappedMessageHandler
Text specific concrete implementation for handling whole messages.
-
Nested Class Summary
Nested classes/interfaces inherited from interface jakarta.websocket.MessageHandler
MessageHandler.Partial<T>, MessageHandler.Whole<T>
-
Field Summary
Fields inherited from class org.apache.tomcat.websocket.pojo.PojoMessageHandlerWholeBase
decoders
Fields inherited from class org.apache.tomcat.websocket.pojo.PojoMessageHandlerBase
convert, indexPayload, indexSession, maxMessageSize, method, params, pojo, session
-
Constructor Summary
ConstructorDescriptionPojoMessageHandlerWholeText
(Object pojo, Method method, Session session, EndpointConfig config, List<Class<? extends Decoder>> decoderClazzes, Object[] params, int indexPayload, boolean convert, int indexSession, long maxMessageSize) -
Method Summary
Methods inherited from class org.apache.tomcat.websocket.pojo.PojoMessageHandlerWholeBase
createDecoderInstance, onClose, onMessage
Methods inherited from class org.apache.tomcat.websocket.pojo.PojoMessageHandlerBase
getMaxMessageSize, getWrappedHandler, handlePojoMethodInvocationTargetException, processResult
-
Constructor Details
-
PojoMessageHandlerWholeText
-
-
Method Details
-
decode
- Specified by:
decode
in classPojoMessageHandlerWholeBase<String>
- Throws:
DecodeException
-
convert
- Overrides:
convert
in classPojoMessageHandlerWholeBase<String>
-