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

public Class PojoMessageHandlerWholeText

extends PojoMessageHandlerWholeBase<String>
Class Inheritance
Imports
java.io.IOException, .StringReader, java.lang.reflect.Method, java.util.List, javax.naming.NamingException, jakarta.websocket.DecodeException, .Decoder, .Decoder.Text, .Decoder.TextStream, .EndpointConfig, .Session, org.apache.tomcat.util.res.StringManager, org.apache.tomcat.websocket.Util

Text specific concrete implementation for handling whole messages.

Field Summary

Modifier and TypeField and Description
private final Class<?>
private static final StringManager
Inherited from org.apache.tomcat.websocket.pojo.PojoMessageHandlerWholeBase:
decoders

Constructor Summary

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

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

Field Detail

primitiveTypeback to summary
private final Class<?> primitiveType
smback to summary
private static final StringManager sm

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

Constructor Detail

PojoMessageHandlerWholeTextback to summary
public PojoMessageHandlerWholeText(Object pojo, Method method, Session session, EndpointConfig config, List<Class<? extends Decoder>> decoderClazzes, Object[] params, int indexPayload, boolean convert, int indexSession, long maxMessageSize)

Method Detail

convertback to summary
protected Object convert(String message)

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

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

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

Annotations
@Override