Class OnMessageTextCallable


  • public class OnMessageTextCallable
    extends OnMessageCallable
    Callable for OnMessage annotated methods with a whole or partial text messages.

    Not for use with Reader based OnMessage method objects.

    See Also:
    Decoder.Text
    • Constructor Detail

      • OnMessageTextCallable

        public OnMessageTextCallable​(java.lang.Class<?> pojo,
                                     java.lang.reflect.Method method)
      • OnMessageTextCallable

        public OnMessageTextCallable​(OnMessageCallable copy)
        Copy Constructor
        Parameters:
        copy - the callable to copy from
    • Method Detail

      • call

        public java.lang.Object call​(java.lang.Object endpoint,
                                     java.lang.String str,
                                     boolean partialFlag)
                              throws javax.websocket.DecodeException
        Throws:
        javax.websocket.DecodeException