Class ContinuationFrame

  • All Implemented Interfaces:
    org.eclipse.jetty.websocket.api.extensions.Frame

    public class ContinuationFrame
    extends DataFrame
    • Constructor Detail

      • ContinuationFrame

        public ContinuationFrame()
    • Method Detail

      • setPayload

        public ContinuationFrame setPayload​(ByteBuffer buf)
        Description copied from class: WebSocketFrame
        Set the data payload.

        The provided buffer will be used as is, no copying of bytes performed.

        The provided buffer should be flipped and ready to READ from.

        Overrides:
        setPayload in class WebSocketFrame
        Parameters:
        buf - the bytebuffer to set
        Returns:
        the frame itself
      • getType

        public org.eclipse.jetty.websocket.api.extensions.Frame.Type getType()
        Specified by:
        getType in interface org.eclipse.jetty.websocket.api.extensions.Frame
        Overrides:
        getType in class WebSocketFrame