public class DefaultSpdySynStreamFrame extends DefaultSpdyHeaderBlock implements SpdySynStreamFrame
SpdySynStreamFrame
implementation.Constructor and Description |
---|
DefaultSpdySynStreamFrame(int streamID,
int associatedToStreamId,
byte priority)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
int |
getAssociatedToStreamId()
Returns the Associated-To-Stream-ID of this frame.
|
int |
getAssociatedToStreamID()
Deprecated.
|
byte |
getPriority()
Returns the priority of the stream.
|
int |
getStreamId()
Returns the Stream-ID of this frame.
|
int |
getStreamID()
Deprecated.
|
boolean |
isLast()
Returns
true if this frame is the last frame to be transmitted
on the stream. |
boolean |
isUnidirectional()
Returns
true 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 |
setAssociatedToStreamID(int associatedToStreamId)
Deprecated.
|
void |
setLast(boolean last)
Sets if this frame is the last frame to be transmitted on the stream.
|
void |
setPriority(byte priority)
Sets the priority of the stream.
|
void |
setStreamId(int streamId)
Sets the Stream-ID of this frame.
|
void |
setStreamID(int streamId)
Deprecated.
|
void |
setUnidirectional(boolean unidirectional)
Sets if the stream created with this frame is to be considered
half-closed to the receiver.
|
String |
toString() |
addHeader, appendHeaders, clearHeaders, containsHeader, getHeader, getHeaderNames, getHeaders, getHeaders, isInvalid, removeHeader, setHeader, setHeader, setInvalid
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addHeader, clearHeaders, containsHeader, getHeader, getHeaderNames, getHeaders, getHeaders, isInvalid, removeHeader, setHeader, setHeader, setInvalid
public DefaultSpdySynStreamFrame(int streamID, int associatedToStreamId, byte priority)
streamID
- the Stream-ID of this frameassociatedToStreamId
- the Associated-To-Stream-ID of this framepriority
- the priority of the stream@Deprecated public int getStreamID()
getStreamID
in interface SpdySynStreamFrame
public int getStreamId()
SpdySynStreamFrame
getStreamId
in interface SpdySynStreamFrame
@Deprecated public void setStreamID(int streamId)
setStreamID
in interface SpdySynStreamFrame
public void setStreamId(int streamId)
SpdySynStreamFrame
setStreamId
in interface SpdySynStreamFrame
@Deprecated public int getAssociatedToStreamID()
getAssociatedToStreamID
in interface SpdySynStreamFrame
public int getAssociatedToStreamId()
SpdySynStreamFrame
getAssociatedToStreamId
in interface SpdySynStreamFrame
@Deprecated public void setAssociatedToStreamID(int associatedToStreamId)
setAssociatedToStreamID
in interface SpdySynStreamFrame
public void setAssociatedToStreamId(int associatedToStreamId)
SpdySynStreamFrame
setAssociatedToStreamId
in interface SpdySynStreamFrame
public byte getPriority()
SpdySynStreamFrame
getPriority
in interface SpdySynStreamFrame
public void setPriority(byte priority)
SpdySynStreamFrame
setPriority
in interface SpdySynStreamFrame
public boolean isLast()
SpdySynStreamFrame
true
if this frame is the last frame to be transmitted
on the stream.isLast
in interface SpdySynStreamFrame
public void setLast(boolean last)
SpdySynStreamFrame
setLast
in interface SpdySynStreamFrame
public boolean isUnidirectional()
SpdySynStreamFrame
true
if the stream created with this frame is to be
considered half-closed to the receiver.isUnidirectional
in interface SpdySynStreamFrame
public void setUnidirectional(boolean unidirectional)
SpdySynStreamFrame
setUnidirectional
in interface SpdySynStreamFrame
Copyright © 2008-2014 The Netty Project. All Rights Reserved.