Package org.apache.tomcat.websocket.pojo
Class PojoMessageHandlerWholeBinary
java.lang.Object
org.apache.tomcat.websocket.pojo.PojoMessageHandlerBase<ByteBuffer>
org.apache.tomcat.websocket.pojo.PojoMessageHandlerWholeBase<ByteBuffer>
org.apache.tomcat.websocket.pojo.PojoMessageHandlerWholeBinary
- All Implemented Interfaces:
MessageHandler
,MessageHandler.Whole<ByteBuffer>
,WrappedMessageHandler
ByteBuffer 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
ConstructorDescriptionPojoMessageHandlerWholeBinary
(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) -
Method Summary
Modifier and TypeMethodDescriptionprotected Object
convert
(ByteBuffer message) protected Object
decode
(ByteBuffer message) 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
-
PojoMessageHandlerWholeBinary
-
-
Method Details
-
decode
- Specified by:
decode
in classPojoMessageHandlerWholeBase<ByteBuffer>
- Throws:
DecodeException
-
convert
- Overrides:
convert
in classPojoMessageHandlerWholeBase<ByteBuffer>
-