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
getAssociatedToStreamId()
Returns the Associated-To-Stream-ID of this frame.byte
getPriority()
Returns the priority of the stream.boolean
isUnidirectional()
Returnstrue
if the stream created with this frame is to be considered half-closed to the receiver.void
setAssociatedToStreamId(int associatedToStreamId)
Sets the Associated-To-Stream-ID of this frame.void
setPriority(byte priority)
Sets the priority of the stream.void
setUnidirectional(boolean unidirectional)
Sets if the stream created with this frame is to be considered half-closed to the receiver.-
Methods inherited from interface org.jboss.netty.handler.codec.spdy.SpdyHeadersFrame
headers, isInvalid, isTruncated, setInvalid, setTruncated
-
Methods inherited from interface org.jboss.netty.handler.codec.spdy.SpdyStreamFrame
getStreamId, isLast, setLast, setStreamId
-
-
-
-
Method Detail
-
getAssociatedToStreamId
int getAssociatedToStreamId()
Returns the Associated-To-Stream-ID of this frame.
-
setAssociatedToStreamId
void setAssociatedToStreamId(int associatedToStreamId)
Sets the Associated-To-Stream-ID of this frame. The Associated-To-Stream-ID cannot be negative.
-
getPriority
byte getPriority()
Returns the priority of the stream.
-
setPriority
void 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
void setUnidirectional(boolean unidirectional)
Sets if the stream created with this frame is to be considered half-closed to the receiver.
-
-