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.booleanReturnstrueif this header block is invalid.booleanReturnstrueif 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 SpdyStreamFrame
isLast, streamId
-
Method Details
-
isInvalid
boolean isInvalid()Returnstrueif 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()Returnstrueif 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:SpdyStreamFrameSets the Stream-ID of this frame. The Stream-ID must be positive.- Specified by:
setStreamIdin interfaceSpdyStreamFrame
-
setLast
Description copied from interface:SpdyStreamFrameSets if this frame is the last frame to be transmitted on the stream.- Specified by:
setLastin interfaceSpdyStreamFrame
-