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()
SpdyStreamFrame
getStreamId
在接口中 SpdyStreamFrame
public void 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 void setLast(boolean last)
SpdyStreamFrame
setLast
在接口中 SpdyStreamFrame