Package io.netty.handler.codec.spdy
Interface SpdySynStreamFrame
- All Superinterfaces:
SpdyFrame
,SpdyHeadersFrame
,SpdyStreamFrame
- All Known Implementing Classes:
DefaultSpdySynStreamFrame
A SPDY Protocol SYN_STREAM Frame
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the Associated-To-Stream-ID of this frame.boolean
Returnstrue
if the stream created with this frame is to be considered half-closed to the receiver.byte
priority()
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 io.netty.handler.codec.spdy.SpdyHeadersFrame
headers, isInvalid, isTruncated, setTruncated
Methods inherited from interface io.netty.handler.codec.spdy.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()Returnstrue
if 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:SpdyStreamFrame
Sets the Stream-ID of this frame. The Stream-ID must be positive.- Specified by:
setStreamId
in interfaceSpdyHeadersFrame
- Specified by:
setStreamId
in interfaceSpdyStreamFrame
-
setLast
Description copied from interface:SpdyStreamFrame
Sets if this frame is the last frame to be transmitted on the stream.- Specified by:
setLast
in interfaceSpdyHeadersFrame
- Specified by:
setLast
in interfaceSpdyStreamFrame
-
setInvalid
SpdySynStreamFrame setInvalid()Description copied from interface:SpdyHeadersFrame
Marks this header block as invalid.- Specified by:
setInvalid
in interfaceSpdyHeadersFrame
-