Interface SpdyStreamFrame

All Superinterfaces:
SpdyFrame
All Known Subinterfaces:
SpdyDataFrame, SpdyHeadersFrame, SpdyRstStreamFrame, SpdySynReplyFrame, SpdySynStreamFrame
All Known Implementing Classes:
DefaultSpdyDataFrame, DefaultSpdyHeadersFrame, DefaultSpdyRstStreamFrame, DefaultSpdyStreamFrame, DefaultSpdySynReplyFrame, DefaultSpdySynStreamFrame

public interface SpdyStreamFrame extends SpdyFrame
A SPDY Protocol Frame that is associated with an individual SPDY Stream
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the Stream-ID of this frame.
    boolean
    Returns true if this frame is the last frame to be transmitted on the stream.
    void
    setLast(boolean last)
    Sets if this frame is the last frame to be transmitted on the stream.
    void
    setStreamId(int streamId)
    Sets the Stream-ID of this frame.
  • Method Details

    • getStreamId

      int getStreamId()
      Returns the Stream-ID of this frame.
    • setStreamId

      void setStreamId(int streamId)
      Sets the Stream-ID of this frame. The Stream-ID must be positive.
    • isLast

      boolean isLast()
      Returns true if this frame is the last frame to be transmitted on the stream.
    • setLast

      void setLast(boolean last)
      Sets if this frame is the last frame to be transmitted on the stream.