Class DataFrame

  • All Implemented Interfaces:
    Frame
    Direct Known Subclasses:
    BinaryFrame, ContinuationFrame, TextFrame

    @Deprecated(since="2021-05-27")
    public class DataFrame
    extends WebSocketFrame
    Deprecated.
    The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
    A Data Frame
    • Constructor Detail

      • DataFrame

        public DataFrame​(Frame basedOn)
        Deprecated.
        Construct new DataFrame based on headers of provided frame.

        Useful for when working in extensions and a new frame needs to be created.

        Parameters:
        basedOn - the frame this one is based on
      • DataFrame

        public DataFrame​(Frame basedOn,
                         boolean continuation)
        Deprecated.
        Construct new DataFrame based on headers of provided frame, overriding for continuations if needed.

        Useful for when working in extensions and a new frame needs to be created.

        Parameters:
        basedOn - the frame this one is based on
        continuation - true if this is a continuation frame
    • Method Detail

      • setIsContinuation

        public void setIsContinuation()
        Deprecated.
        Set the data frame to continuation mode