Interface SpdySynStreamFrame

All Superinterfaces:
SpdyFrame, SpdyHeadersFrame, SpdyStreamFrame
All Known Implementing Classes:
DefaultSpdySynStreamFrame

public interface SpdySynStreamFrame extends SpdyHeadersFrame
A SPDY Protocol SYN_STREAM Frame
  • Method Details

    • associatedStreamId

      int associatedStreamId()
      Returns the Associated-To-Stream-ID of this frame.
    • setAssociatedStreamId

      SpdySynStreamFrame setAssociatedStreamId(int associatedStreamId)
      Sets the Associated-To-Stream-ID of this frame. The Associated-To-Stream-ID cannot be negative.
    • priority

      byte priority()
      Returns the priority of the stream.
    • setPriority

      SpdySynStreamFrame setPriority(byte priority)
      Sets the priority of the stream. The priority must be between 0 and 7 inclusive.
    • isUnidirectional

      boolean isUnidirectional()
      Returns true if the stream created with this frame is to be considered half-closed to the receiver.
    • setUnidirectional

      SpdySynStreamFrame setUnidirectional(boolean unidirectional)
      Sets if the stream created with this frame is to be considered half-closed to the receiver.
    • setStreamId

      SpdySynStreamFrame setStreamId(int streamID)
      Description copied from interface: SpdyStreamFrame
      Sets the Stream-ID of this frame. The Stream-ID must be positive.
      Specified by:
      setStreamId in interface SpdyHeadersFrame
      Specified by:
      setStreamId in interface SpdyStreamFrame
    • setLast

      SpdySynStreamFrame setLast(boolean last)
      Description copied from interface: SpdyStreamFrame
      Sets if this frame is the last frame to be transmitted on the stream.
      Specified by:
      setLast in interface SpdyHeadersFrame
      Specified by:
      setLast in interface SpdyStreamFrame
    • setInvalid

      SpdySynStreamFrame setInvalid()
      Description copied from interface: SpdyHeadersFrame
      Marks this header block as invalid.
      Specified by:
      setInvalid in interface SpdyHeadersFrame