public abstract class DefaultSpdyStreamFrame extends java.lang.Object implements SpdyStreamFrame
SpdyStreamFrame
implementation.限定符 | 构造器和说明 |
---|---|
protected |
DefaultSpdyStreamFrame(int streamId)
Creates a new instance.
|
限定符和类型 | 方法和说明 |
---|---|
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
在接口中 SpdyStreamFrame
public SpdyStreamFrame setStreamId(int streamId)
SpdyStreamFrame
setStreamId
在接口中 SpdyStreamFrame
public boolean isLast()
SpdyStreamFrame
true
if this frame is the last frame to be transmitted
on the stream.isLast
在接口中 SpdyStreamFrame
public SpdyStreamFrame setLast(boolean last)
SpdyStreamFrame
setLast
在接口中 SpdyStreamFrame