Class DefaultSpdyWindowUpdateFrame
java.lang.Object
io.netty.handler.codec.spdy.DefaultSpdyWindowUpdateFrame
- All Implemented Interfaces:
SpdyFrame, SpdyWindowUpdateFrame
The default
SpdyWindowUpdateFrame implementation.-
Constructor Summary
ConstructorsConstructorDescriptionDefaultSpdyWindowUpdateFrame(int streamId, int deltaWindowSize) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the Delta-Window-Size of this frame.setDeltaWindowSize(int deltaWindowSize) Sets the Delta-Window-Size of this frame.setStreamId(int streamId) Sets the Stream-ID of this frame.intstreamId()Returns the Stream-ID of this frame.toString()
-
Constructor Details
-
DefaultSpdyWindowUpdateFrame
public DefaultSpdyWindowUpdateFrame(int streamId, int deltaWindowSize) Creates a new instance.- Parameters:
streamId- the Stream-ID of this framedeltaWindowSize- the Delta-Window-Size of this frame
-
-
Method Details
-
streamId
public int streamId()Description copied from interface:SpdyWindowUpdateFrameReturns the Stream-ID of this frame.- Specified by:
streamIdin interfaceSpdyWindowUpdateFrame
-
setStreamId
Description copied from interface:SpdyWindowUpdateFrameSets the Stream-ID of this frame. The Stream-ID cannot be negative.- Specified by:
setStreamIdin interfaceSpdyWindowUpdateFrame
-
deltaWindowSize
public int deltaWindowSize()Description copied from interface:SpdyWindowUpdateFrameReturns the Delta-Window-Size of this frame.- Specified by:
deltaWindowSizein interfaceSpdyWindowUpdateFrame
-
setDeltaWindowSize
Description copied from interface:SpdyWindowUpdateFrameSets the Delta-Window-Size of this frame. The Delta-Window-Size must be positive.- Specified by:
setDeltaWindowSizein interfaceSpdyWindowUpdateFrame
-
toString
-