public class DefaultSpdyHeadersFrame extends DefaultSpdyHeaderBlock implements SpdyHeadersFrame
SpdyHeadersFrame
implementation.Constructor and Description |
---|
DefaultSpdyHeadersFrame(int streamId)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
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. |
void |
setLast(boolean last)
Sets if this frame is the last frame to be transmitted on the stream.
|
void |
setStreamId(int streamId)
Sets the Stream-ID of this frame.
|
void |
setStreamID(int streamId)
Deprecated.
|
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 DefaultSpdyHeadersFrame(int streamId)
streamId
- the Stream-ID of this frame@Deprecated public int getStreamID()
getStreamID
in interface SpdyHeadersFrame
public int getStreamId()
SpdyHeadersFrame
getStreamId
in interface SpdyHeadersFrame
@Deprecated public void setStreamID(int streamId)
setStreamID
in interface SpdyHeadersFrame
public void setStreamId(int streamId)
SpdyHeadersFrame
setStreamId
in interface SpdyHeadersFrame
public boolean isLast()
SpdyHeadersFrame
true
if this frame is the last frame to be transmitted
on the stream.isLast
in interface SpdyHeadersFrame
public void setLast(boolean last)
SpdyHeadersFrame
setLast
in interface SpdyHeadersFrame
Copyright © 2008-2014 The Netty Project. All Rights Reserved.