Package io.netty.handler.codec.spdy
Interface SpdySynStreamFrame
-
- All Superinterfaces:
SpdyFrame,SpdyHeadersFrame,SpdyStreamFrame
- All Known Implementing Classes:
DefaultSpdySynStreamFrame
public interface SpdySynStreamFrame extends SpdyHeadersFrame
A SPDY Protocol SYN_STREAM Frame
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intassociatedStreamId()Returns the Associated-To-Stream-ID of this frame.booleanisUnidirectional()Returnstrueif the stream created with this frame is to be considered half-closed to the receiver.bytepriority()Returns the priority of the stream.SpdySynStreamFramesetAssociatedStreamId(int associatedStreamId)Sets the Associated-To-Stream-ID of this frame.SpdySynStreamFramesetInvalid()Marks this header block as invalid.SpdySynStreamFramesetLast(boolean last)Sets if this frame is the last frame to be transmitted on the stream.SpdySynStreamFramesetPriority(byte priority)Sets the priority of the stream.SpdySynStreamFramesetStreamId(int streamID)Sets the Stream-ID of this frame.SpdySynStreamFramesetUnidirectional(boolean unidirectional)Sets if the stream created with this frame is to be considered half-closed to the receiver.-
Methods inherited from interface io.netty.handler.codec.spdy.SpdyHeadersFrame
headers, isInvalid, isTruncated, setTruncated
-
Methods inherited from interface io.netty.handler.codec.spdy.SpdyStreamFrame
isLast, streamId
-
-
-
-
Method Detail
-
associatedStreamId
int associatedStreamId()
Returns the Associated-To-Stream-ID of this frame.
-
setAssociatedStreamId
SpdySynStreamFrame setAssociatedStreamId(int associatedStreamId)
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
SpdySynStreamFrame setPriority(byte priority)
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
SpdySynStreamFrame setUnidirectional(boolean unidirectional)
Sets if the stream created with this frame is to be considered half-closed to the receiver.
-
setStreamId
SpdySynStreamFrame setStreamId(int streamID)
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
SpdySynStreamFrame setLast(boolean last)
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
-
-