public abstract class DefaultSpdyStreamFrame extends java.lang.Object implements SpdyStreamFrame
SpdyStreamFrame
implementation.Modifier | Constructor and Description |
---|---|
protected |
DefaultSpdyStreamFrame(int streamId)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isLast()
Returns
true if this frame is the last frame to be transmitted
on the stream. |
SpdyStreamFrame |
setLast(boolean last)
Sets if this frame is the last frame to be transmitted on the stream.
|
SpdyStreamFrame |
setStreamId(int streamId)
Sets the Stream-ID of this frame.
|
int |
streamId()
Returns the Stream-ID of this frame.
|
protected DefaultSpdyStreamFrame(int streamId)
streamId
- the Stream-ID of this framepublic int streamId()
SpdyStreamFrame
streamId
in interface SpdyStreamFrame
public SpdyStreamFrame 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 SpdyStreamFrame setLast(boolean last)
SpdyStreamFrame
setLast
in interface SpdyStreamFrame
Copyright © 2008–2018 The Netty Project. All rights reserved.