Top Description Fields Constructors Methods
org.apache.tomcat.websocket.pojo

public Class PojoMessageHandlerWholeBinary

extends PojoMessageHandlerWholeBase<ByteBuffer>
Class Inheritance
Imports
java.io.ByteArrayInputStream, .IOException, java.lang.reflect.Method, java.nio.ByteBuffer, java.util.List, javax.naming.NamingException, jakarta.websocket.DecodeException, .Decoder, .Decoder.Binary, .Decoder.BinaryStream, .EndpointConfig, .Session, org.apache.tomcat.util.res.StringManager

ByteBuffer specific concrete implementation for handling whole messages.

Field Summary

Modifier and TypeField and Description
private final boolean
private static final StringManager
Inherited from org.apache.tomcat.websocket.pojo.PojoMessageHandlerWholeBase:
decoders

Constructor Summary

AccessConstructor and Description
public
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)

Method Summary

Modifier and TypeMethod and Description
protected Object
protected Object
Inherited from org.apache.tomcat.websocket.pojo.PojoMessageHandlerWholeBase:
createDecoderInstanceonCloseonMessage

Field Detail

isForInputStreamback to summary
private final boolean isForInputStream
smback to summary
private static final StringManager sm

Hides org.apache.tomcat.websocket.pojo.PojoMessageHandlerWholeBase.sm.

Constructor Detail

PojoMessageHandlerWholeBinaryback to summary
public 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)

Method Detail

convertback to summary
protected Object convert(ByteBuffer message)

Overrides org.apache.tomcat.websocket.pojo.PojoMessageHandlerWholeBase.convert.

Annotations
@Override
decodeback to summary
protected Object decode(ByteBuffer message) throws DecodeException

Implements abstract org.apache.tomcat.websocket.pojo.PojoMessageHandlerWholeBase.decode.

Annotations
@Override