public abstract class DefaultSpdyStreamFrame extends Object implements SpdyStreamFrame
SpdyStreamFrame
implementation.Modifier | Constructor and Description |
---|---|
protected |
DefaultSpdyStreamFrame(int streamId)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
int |
getStreamId()
Returns the Stream-ID of this frame.
|
boolean |
isLast()
Returns
true if this frame is the last frame to be transmitted
on the stream. |
void |
setLast(boolean last)
Sets if this frame is the last frame to be transmitted on the stream.
|
void |
setStreamId(int streamId)
Sets the Stream-ID of this frame.
|
protected DefaultSpdyStreamFrame(int streamId)
streamId
- the Stream-ID of this framepublic int getStreamId()
SpdyStreamFrame
getStreamId
in interface SpdyStreamFrame
public void setStreamId(int streamId)
SpdyStreamFrame
setStreamId
in interface SpdyStreamFrame
public boolean isLast()
SpdyStreamFrame
true
if this frame is the last frame to be transmitted
on the stream.isLast
in interface SpdyStreamFrame
public void setLast(boolean last)
SpdyStreamFrame
setLast
in interface SpdyStreamFrame
Copyright © 2008-2016 The Netty Project. All Rights Reserved.