Interface SpdySynStreamFrame
- All Superinterfaces:
SpdyFrame, SpdyHeadersFrame, SpdyStreamFrame
- All Known Implementing Classes:
DefaultSpdySynStreamFrame
A SPDY Protocol SYN_STREAM Frame
-
Method Summary
Modifier and TypeMethodDescriptionintReturns the Associated-To-Stream-ID of this frame.booleanReturnstrueif the stream created with this frame is to be considered half-closed to the receiver.bytepriority()Returns the priority of the stream.setAssociatedStreamId(int associatedStreamId) Sets the Associated-To-Stream-ID of this frame.Marks this header block as invalid.setLast(boolean last) Sets if this frame is the last frame to be transmitted on the stream.setPriority(byte priority) Sets the priority of the stream.setStreamId(int streamID) Sets the Stream-ID of this frame.setUnidirectional(boolean unidirectional) Sets if the stream created with this frame is to be considered half-closed to the receiver.Methods inherited from interface SpdyHeadersFrame
headers, isInvalid, isTruncated, setTruncatedMethods inherited from interface SpdyStreamFrame
isLast, streamId
-
Method Details
-
associatedStreamId
int associatedStreamId()Returns the Associated-To-Stream-ID of this frame. -
setAssociatedStreamId
Sets the Associated-To-Stream-ID of this frame. The Associated-To-Stream-ID cannot be negative. -
priority
byte priority()Returns the priority of the stream. -
setPriority
Sets the priority of the stream. The priority must be between 0 and 7 inclusive. -
isUnidirectional
boolean isUnidirectional()Returnstrueif the stream created with this frame is to be considered half-closed to the receiver. -
setUnidirectional
Sets if the stream created with this frame is to be considered half-closed to the receiver. -
setStreamId
Description copied from interface:SpdyStreamFrameSets the Stream-ID of this frame. The Stream-ID must be positive.- Specified by:
setStreamIdin interfaceSpdyHeadersFrame- Specified by:
setStreamIdin interfaceSpdyStreamFrame
-
setLast
Description copied from interface:SpdyStreamFrameSets if this frame is the last frame to be transmitted on the stream.- Specified by:
setLastin interfaceSpdyHeadersFrame- Specified by:
setLastin interfaceSpdyStreamFrame
-
setInvalid
SpdySynStreamFrame setInvalid()Description copied from interface:SpdyHeadersFrameMarks this header block as invalid.- Specified by:
setInvalidin interfaceSpdyHeadersFrame
-