Class DefaultSpdyStreamFrame

java.lang.Object
io.netty.handler.codec.spdy.DefaultSpdyStreamFrame
All Implemented Interfaces:
SpdyFrame, SpdyStreamFrame
Direct Known Subclasses:
DefaultSpdyDataFrame, DefaultSpdyHeadersFrame, DefaultSpdyRstStreamFrame

public abstract class DefaultSpdyStreamFrame extends java.lang.Object implements SpdyStreamFrame
The default SpdyStreamFrame implementation.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private boolean
     
    private int
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    DefaultSpdyStreamFrame(int streamId)
    Creates a new instance.
  • Method Summary

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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • streamId

      private int streamId
    • last

      private boolean last
  • Constructor Details

    • DefaultSpdyStreamFrame

      protected DefaultSpdyStreamFrame(int streamId)
      Creates a new instance.
      Parameters:
      streamId - the Stream-ID of this frame
  • Method Details