public class DefaultSpdyWindowUpdateFrame extends java.lang.Object implements SpdyWindowUpdateFrame
SpdyWindowUpdateFrame implementation.| Modifier and Type | Field and Description |
|---|---|
private int |
deltaWindowSize |
private int |
streamId |
| Constructor and Description |
|---|
DefaultSpdyWindowUpdateFrame(int streamId,
int deltaWindowSize)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDeltaWindowSize()
Returns the Delta-Window-Size of this frame.
|
int |
getStreamId()
Returns the Stream-ID of this frame.
|
void |
setDeltaWindowSize(int deltaWindowSize)
Sets the Delta-Window-Size of this frame.
|
void |
setStreamId(int streamId)
Sets the Stream-ID of this frame.
|
java.lang.String |
toString() |
public DefaultSpdyWindowUpdateFrame(int streamId,
int deltaWindowSize)
streamId - the Stream-ID of this framedeltaWindowSize - the Delta-Window-Size of this framepublic int getStreamId()
SpdyWindowUpdateFramegetStreamId in interface SpdyWindowUpdateFramepublic void setStreamId(int streamId)
SpdyWindowUpdateFramesetStreamId in interface SpdyWindowUpdateFramepublic int getDeltaWindowSize()
SpdyWindowUpdateFramegetDeltaWindowSize in interface SpdyWindowUpdateFramepublic void setDeltaWindowSize(int deltaWindowSize)
SpdyWindowUpdateFramesetDeltaWindowSize in interface SpdyWindowUpdateFramepublic java.lang.String toString()
toString in class java.lang.Object