Class DefaultSpdyStreamFrame

    • Constructor Detail

      • DefaultSpdyStreamFrame

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

      • setStreamId

        public void 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 SpdyStreamFrame
      • isLast

        public boolean isLast()
        Description copied from interface: SpdyStreamFrame
        Returns true if this frame is the last frame to be transmitted on the stream.
        Specified by:
        isLast in interface SpdyStreamFrame
      • setLast

        public void 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 SpdyStreamFrame