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 defaultSpdyWindowUpdateFrame
implementation.
-
-
Field Summary
Fields Modifier and Type Field Description private int
deltaWindowSize
private int
streamId
-
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 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()
-
-
-
Method Detail
-
getStreamId
public int getStreamId()
Description copied from interface:SpdyWindowUpdateFrame
Returns the Stream-ID of this frame.- Specified by:
getStreamId
in interfaceSpdyWindowUpdateFrame
-
setStreamId
public void setStreamId(int streamId)
Description copied from interface:SpdyWindowUpdateFrame
Sets the Stream-ID of this frame. The Stream-ID cannot be negative.- Specified by:
setStreamId
in interfaceSpdyWindowUpdateFrame
-
getDeltaWindowSize
public int getDeltaWindowSize()
Description copied from interface:SpdyWindowUpdateFrame
Returns the Delta-Window-Size of this frame.- Specified by:
getDeltaWindowSize
in interfaceSpdyWindowUpdateFrame
-
setDeltaWindowSize
public void setDeltaWindowSize(int deltaWindowSize)
Description copied from interface:SpdyWindowUpdateFrame
Sets the Delta-Window-Size of this frame. The Delta-Window-Size must be positive.- Specified by:
setDeltaWindowSize
in interfaceSpdyWindowUpdateFrame
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-