Class OnMessageTextStreamCallable


  • public class OnMessageTextStreamCallable
    extends OnMessageCallable
    Callable for OnMessage annotated methods for Reader based text message objects
    See Also:
    Decoder.TextStream
    • Constructor Detail

      • OnMessageTextStreamCallable

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

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

      • call

        public java.lang.Object call​(java.lang.Object endpoint,
                                     java.io.Reader reader)
                              throws javax.websocket.DecodeException,
                                     java.io.IOException
        Throws:
        javax.websocket.DecodeException
        java.io.IOException