Interface SpdySynStreamFrame
- All Superinterfaces:
SpdyFrame, SpdyHeadersFrame, SpdyStreamFrame
- All Known Implementing Classes:
DefaultSpdySynStreamFrame
A SPDY Protocol SYN_STREAM Frame
-
Method Summary
Modifier and TypeMethodDescriptionintReturns the Associated-To-Stream-ID of this frame.byteReturns the priority of the stream.booleanReturnstrueif 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 SpdyHeadersFrame
headers, isInvalid, isTruncated, setInvalid, setTruncatedMethods inherited from interface SpdyStreamFrame
getStreamId, isLast, setLast, setStreamId
-
Method Details
-
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.
-