Class OnMessageBinaryStreamCallable


  • public class OnMessageBinaryStreamCallable
    extends OnMessageCallable
    Callable for OnMessage annotated methods for InputStream based binary message objects
    See Also:
    Decoder.BinaryStream
    • Constructor Detail

      • OnMessageBinaryStreamCallable

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

        public OnMessageBinaryStreamCallable​(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.InputStream stream)
                              throws javax.websocket.DecodeException,
                                     java.io.IOException
        Throws:
        javax.websocket.DecodeException
        java.io.IOException