public interface SpdySynStreamFrame extends SpdyHeadersFrame
限定符和类型 | 方法和说明 |
---|---|
int |
associatedStreamId()
Returns the Associated-To-Stream-ID of this frame.
|
boolean |
isUnidirectional()
Returns
true if the stream created with this frame is to be
considered half-closed to the receiver. |
byte |
priority()
Returns the priority of the stream.
|
SpdySynStreamFrame |
setAssociatedStreamId(int associatedStreamId)
Sets the Associated-To-Stream-ID of this frame.
|
SpdySynStreamFrame |
setInvalid()
Marks this header block as invalid.
|
SpdySynStreamFrame |
setLast(boolean last)
Sets if this frame is the last frame to be transmitted on the stream.
|
SpdySynStreamFrame |
setPriority(byte priority)
Sets the priority of the stream.
|
SpdySynStreamFrame |
setStreamId(int streamID)
Sets the Stream-ID of this frame.
|
SpdySynStreamFrame |
setUnidirectional(boolean unidirectional)
Sets if the stream created with this frame is to be considered
half-closed to the receiver.
|
headers, isInvalid, isTruncated, setTruncated
isLast, streamId
int associatedStreamId()
SpdySynStreamFrame setAssociatedStreamId(int associatedStreamId)
byte priority()
SpdySynStreamFrame setPriority(byte priority)
boolean isUnidirectional()
true
if the stream created with this frame is to be
considered half-closed to the receiver.SpdySynStreamFrame setUnidirectional(boolean unidirectional)
SpdySynStreamFrame setStreamId(int streamID)
SpdyStreamFrame
setStreamId
在接口中 SpdyHeadersFrame
setStreamId
在接口中 SpdyStreamFrame
SpdySynStreamFrame setLast(boolean last)
SpdyStreamFrame
setLast
在接口中 SpdyHeadersFrame
setLast
在接口中 SpdyStreamFrame
SpdySynStreamFrame setInvalid()
SpdyHeadersFrame
setInvalid
在接口中 SpdyHeadersFrame