public class DefaultSpdySynReplyFrame extends DefaultSpdyHeadersFrame implements SpdySynReplyFrame
SpdySynReplyFrame
implementation.Constructor and Description |
---|
DefaultSpdySynReplyFrame(int streamId)
Creates a new instance.
|
DefaultSpdySynReplyFrame(int streamId,
boolean validateHeaders)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
SpdySynReplyFrame |
setInvalid()
Marks this header block as invalid.
|
SpdySynReplyFrame |
setLast(boolean last)
Sets if this frame is the last frame to be transmitted on the stream.
|
SpdySynReplyFrame |
setStreamId(int streamId)
Sets the Stream-ID of this frame.
|
String |
toString() |
appendHeaders, headers, isInvalid, isTruncated, setTruncated
isLast, streamId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
headers, isInvalid, isTruncated, setTruncated
isLast, streamId
public DefaultSpdySynReplyFrame(int streamId)
streamId
- the Stream-ID of this framepublic DefaultSpdySynReplyFrame(int streamId, boolean validateHeaders)
streamId
- the Stream-ID of this framevalidateHeaders
- validate the header names and values when adding them to the SpdyHeaders
public SpdySynReplyFrame setStreamId(int streamId)
SpdyStreamFrame
setStreamId
in interface SpdyHeadersFrame
setStreamId
in interface SpdyStreamFrame
setStreamId
in interface SpdySynReplyFrame
setStreamId
in class DefaultSpdyHeadersFrame
public SpdySynReplyFrame setLast(boolean last)
SpdyStreamFrame
setLast
in interface SpdyHeadersFrame
setLast
in interface SpdyStreamFrame
setLast
in interface SpdySynReplyFrame
setLast
in class DefaultSpdyHeadersFrame
public SpdySynReplyFrame setInvalid()
SpdyHeadersFrame
setInvalid
in interface SpdyHeadersFrame
setInvalid
in interface SpdySynReplyFrame
setInvalid
in class DefaultSpdyHeadersFrame
public String toString()
toString
in class DefaultSpdyHeadersFrame
Copyright © 2008–2017 The Netty Project. All rights reserved.