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