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 int
associatedStreamId()
Returns the Associated-To-Stream-ID of this frame.boolean
isUnidirectional()
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.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.-
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()
Returnstrue
if 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: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
SpdySynStreamFrame setLast(boolean last)
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
-
-