public interface SpdyHeadersFrame extends SpdyStreamFrame
限定符和类型 | 方法和说明 |
---|---|
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. |
void |
setInvalid()
Marks this header block as invalid.
|
void |
setTruncated()
Mark this header block as truncated.
|
getStreamId, isLast, setLast, setStreamId
boolean isInvalid()
true
if this header block is invalid.
A RST_STREAM frame with code PROTOCOL_ERROR should be sent.void setInvalid()
boolean isTruncated()
true
if this header block has been truncated due to
length restrictions.void setTruncated()
SpdyHeaders headers()
SpdyHeaders
.