Top Description Fields Constructors Methods
io.netty.handler.codec.spdy

public Class DefaultSpdyWindowUpdateFrame

extends Object
implements SpdyWindowUpdateFrame
Class Inheritance
All Implemented Interfaces
io.netty.handler.codec.spdy.SpdyWindowUpdateFrame, io.netty.handler.codec.spdy.SpdyFrame
Static Imports
io.netty.util.internal.ObjectUtil.checkPositive, .ObjectUtil.checkPositiveOrZero

The default SpdyWindowUpdateFrame implementation.

Field Summary

Modifier and TypeField and Description
private int
private int

Constructor Summary

AccessConstructor and Description
public
DefaultSpdyWindowUpdateFrame(int
the Stream-ID of this frame
streamId
,
int
the Delta-Window-Size of this frame
deltaWindowSize
)

Creates a new instance.

Method Summary

Modifier and TypeMethod and Description
public int
deltaWindowSize()

Implements io.netty.handler.codec.spdy.SpdyWindowUpdateFrame.deltaWindowSize.

Returns the Delta-Window-Size of this frame.
public SpdyWindowUpdateFrame
setDeltaWindowSize(int deltaWindowSize)

Implements io.netty.handler.codec.spdy.SpdyWindowUpdateFrame.setDeltaWindowSize.

Sets the Delta-Window-Size of this frame.
public SpdyWindowUpdateFrame
setStreamId(int streamId)

Implements io.netty.handler.codec.spdy.SpdyWindowUpdateFrame.setStreamId.

Sets the Stream-ID of this frame.
public int
streamId()

Implements io.netty.handler.codec.spdy.SpdyWindowUpdateFrame.streamId.

Returns the Stream-ID of this frame.
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

deltaWindowSizeback to summary
private int deltaWindowSize
streamIdback to summary
private int streamId

Constructor Detail

DefaultSpdyWindowUpdateFrameback to summary
public DefaultSpdyWindowUpdateFrame(int streamId, int deltaWindowSize)

Creates a new instance.

Parameters
streamId:int

the Stream-ID of this frame

deltaWindowSize:int

the Delta-Window-Size of this frame

Method Detail

deltaWindowSizeback to summary
public int deltaWindowSize()

Implements io.netty.handler.codec.spdy.SpdyWindowUpdateFrame.deltaWindowSize.

Doc from io.netty.handler.codec.spdy.SpdyWindowUpdateFrame.deltaWindowSize.

Returns the Delta-Window-Size of this frame.

Annotations
@Override
setDeltaWindowSizeback to summary
public SpdyWindowUpdateFrame setDeltaWindowSize(int deltaWindowSize)

Implements io.netty.handler.codec.spdy.SpdyWindowUpdateFrame.setDeltaWindowSize.

Doc from io.netty.handler.codec.spdy.SpdyWindowUpdateFrame.setDeltaWindowSize.

Sets the Delta-Window-Size of this frame. The Delta-Window-Size must be positive.

Annotations
@Override
setStreamIdback to summary
public SpdyWindowUpdateFrame setStreamId(int streamId)

Implements io.netty.handler.codec.spdy.SpdyWindowUpdateFrame.setStreamId.

Doc from io.netty.handler.codec.spdy.SpdyWindowUpdateFrame.setStreamId.

Sets the Stream-ID of this frame. The Stream-ID cannot be negative.

Annotations
@Override
streamIdback to summary
public int streamId()

Implements io.netty.handler.codec.spdy.SpdyWindowUpdateFrame.streamId.

Doc from io.netty.handler.codec.spdy.SpdyWindowUpdateFrame.streamId.

Returns the Stream-ID of this frame.

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override