public interface SpdyHeadersFrame extends SpdyStreamFrame
Modifier and Type | Method and Description |
---|---|
SpdyHeaders |
headers()
Returns the
SpdyHeaders . |
boolean |
isInvalid()
Returns
true if this header block is invalid. |
boolean |
isTruncated()
Returns
true if this header block has been truncated due to
length restrictions. |
SpdyHeadersFrame |
setInvalid()
Marks this header block as invalid.
|
SpdyHeadersFrame |
setLast(boolean last)
Sets if this frame is the last frame to be transmitted on the stream.
|
SpdyHeadersFrame |
setStreamId(int streamID)
Sets the Stream-ID of this frame.
|
SpdyHeadersFrame |
setTruncated()
Mark this header block as truncated.
|
isLast, streamId
boolean isInvalid()
true
if this header block is invalid.
A RST_STREAM frame with code PROTOCOL_ERROR should be sent.SpdyHeadersFrame setInvalid()
boolean isTruncated()
true
if this header block has been truncated due to
length restrictions.SpdyHeadersFrame setTruncated()
SpdyHeaders headers()
SpdyHeaders
.SpdyHeadersFrame setStreamId(int streamID)
SpdyStreamFrame
setStreamId
in interface SpdyStreamFrame
SpdyHeadersFrame setLast(boolean last)
SpdyStreamFrame
setLast
in interface SpdyStreamFrame
Copyright © 2008–2018 The Netty Project. All rights reserved.