Class MessageInputStream

  • All Implemented Interfaces:
    Closeable, AutoCloseable, MessageAppender

    public class MessageInputStream
    extends InputStream
    implements MessageAppender
    The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
    Support class for reading a (single) WebSocket BINARY message via a InputStream.

    An InputStream that can access a queue of ByteBuffer payloads, along with expected InputStream blocking behavior.

    • Constructor Detail

      • MessageInputStream

        public MessageInputStream​(Session session)
      • MessageInputStream

        public MessageInputStream​(Session session,
                                  int timeoutMs)