Package io.netty.handler.codec.spdy
Interface SpdyHeadersFrame
- All Superinterfaces:
SpdyFrame
,SpdyStreamFrame
- All Known Subinterfaces:
SpdySynReplyFrame
,SpdySynStreamFrame
- All Known Implementing Classes:
DefaultSpdyHeadersFrame
,DefaultSpdySynReplyFrame
,DefaultSpdySynStreamFrame
A SPDY Protocol HEADERS Frame
-
Method Summary
Modifier and TypeMethodDescriptionheaders()
Returns theSpdyHeaders
.boolean
Returnstrue
if this header block is invalid.boolean
Returnstrue
if this header block has been truncated due to length restrictions.Marks this header block as invalid.setLast
(boolean last) Sets if this frame is the last frame to be transmitted on the stream.setStreamId
(int streamID) Sets the Stream-ID of this frame.Mark this header block as truncated.Methods inherited from interface io.netty.handler.codec.spdy.SpdyStreamFrame
isLast, streamId
-
Method Details
-
isInvalid
boolean isInvalid()Returnstrue
if this header block is invalid. A RST_STREAM frame with code PROTOCOL_ERROR should be sent. -
setInvalid
SpdyHeadersFrame setInvalid()Marks this header block as invalid. -
isTruncated
boolean isTruncated()Returnstrue
if this header block has been truncated due to length restrictions. -
setTruncated
SpdyHeadersFrame setTruncated()Mark this header block as truncated. -
headers
SpdyHeaders headers()Returns theSpdyHeaders
. -
setStreamId
Description copied from interface:SpdyStreamFrame
Sets the Stream-ID of this frame. The Stream-ID must be positive.- Specified by:
setStreamId
in interfaceSpdyStreamFrame
-
setLast
Description copied from interface:SpdyStreamFrame
Sets if this frame is the last frame to be transmitted on the stream.- Specified by:
setLast
in interfaceSpdyStreamFrame
-