Class MessageHandlerWrapper

    • Method Detail

      • getHandler

        public javax.websocket.MessageHandler getHandler()
      • isMessageType

        public boolean isMessageType​(java.lang.Class<?> msgType)
      • wantsPartialMessages

        public boolean wantsPartialMessages()
        Flag for a onMessage() that wants partial messages.

        This indicates the use of MessageHandler.MessageHandler.Partial.

        Returns:
        true for use of MessageHandler.MessageHandler.Partial, false for use of MessageHandler.MessageHandler.Whole
      • wantsStreams

        public boolean wantsStreams()
        Flag for a onMessage() method that wants MessageHandler.MessageHandler.Whole with a Decoder that is based on Decoder.TextStream or Decoder.BinaryStream
        Returns:
        true for Streaming based Decoder, false for normal decoder for whole messages.