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 intgetAssociatedToStreamId()Returns the Associated-To-Stream-ID of this frame.bytegetPriority()Returns the priority of the stream.booleanisUnidirectional()Returnstrueif the stream created with this frame is to be considered half-closed to the receiver.voidsetAssociatedToStreamId(int associatedToStreamId)Sets the Associated-To-Stream-ID of this frame.voidsetPriority(byte priority)Sets the priority of the stream.voidsetUnidirectional(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()
Returnstrueif 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.
-
-