Class DefaultSpdyWindowUpdateFrame
- java.lang.Object
-
- org.jboss.netty.handler.codec.spdy.DefaultSpdyWindowUpdateFrame
-
- All Implemented Interfaces:
SpdyFrame,SpdyWindowUpdateFrame
public class DefaultSpdyWindowUpdateFrame extends java.lang.Object implements SpdyWindowUpdateFrame
The defaultSpdyWindowUpdateFrameimplementation.
-
-
Field Summary
Fields Modifier and Type Field Description private intdeltaWindowSizeprivate intstreamId
-
Constructor Summary
Constructors Constructor Description DefaultSpdyWindowUpdateFrame(int streamId, int deltaWindowSize)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetDeltaWindowSize()Returns the Delta-Window-Size of this frame.intgetStreamId()Returns the Stream-ID of this frame.voidsetDeltaWindowSize(int deltaWindowSize)Sets the Delta-Window-Size of this frame.voidsetStreamId(int streamId)Sets the Stream-ID of this frame.java.lang.StringtoString()
-
-
-
Method Detail
-
getStreamId
public int getStreamId()
Description copied from interface:SpdyWindowUpdateFrameReturns the Stream-ID of this frame.- Specified by:
getStreamIdin interfaceSpdyWindowUpdateFrame
-
setStreamId
public void setStreamId(int streamId)
Description copied from interface:SpdyWindowUpdateFrameSets the Stream-ID of this frame. The Stream-ID cannot be negative.- Specified by:
setStreamIdin interfaceSpdyWindowUpdateFrame
-
getDeltaWindowSize
public int getDeltaWindowSize()
Description copied from interface:SpdyWindowUpdateFrameReturns the Delta-Window-Size of this frame.- Specified by:
getDeltaWindowSizein interfaceSpdyWindowUpdateFrame
-
setDeltaWindowSize
public void setDeltaWindowSize(int deltaWindowSize)
Description copied from interface:SpdyWindowUpdateFrameSets the Delta-Window-Size of this frame. The Delta-Window-Size must be positive.- Specified by:
setDeltaWindowSizein interfaceSpdyWindowUpdateFrame
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-