Class PartialByteArrayMessageSink

java.lang.Object
org.eclipse.jetty.websocket.core.internal.messages.AbstractMessageSink
org.eclipse.jetty.websocket.core.internal.messages.PartialByteArrayMessageSink
All Implemented Interfaces:
MessageSink

public class PartialByteArrayMessageSink extends AbstractMessageSink
  • Constructor Details

    • PartialByteArrayMessageSink

      public PartialByteArrayMessageSink(CoreSession session, MethodHandle methodHandle)
  • Method Details

    • accept

      public void accept(Frame frame, Callback callback)
      Description copied from interface: MessageSink
      Consume the frame payload to the message.
      Parameters:
      frame - the frame, its payload (and fin state) to append
      callback - the callback for how the frame was consumed