public interface SpdyHeadersFrame extends SpdyStreamFrame
Modifier and Type | Method and Description |
---|---|
void |
addHeader(String name,
Object value)
Deprecated.
Use
SpdyHeaders#headers() instead. |
void |
clearHeaders()
Deprecated.
Use
SpdyHeaders#headers() instead. |
boolean |
containsHeader(String name)
Deprecated.
Use
SpdyHeaders#headers() instead. |
String |
getHeader(String name)
Deprecated.
Use
SpdyHeaders#headers() instead. |
Set<String> |
getHeaderNames()
Deprecated.
Use
SpdyHeaders#headers() instead. |
List<Map.Entry<String,String>> |
getHeaders()
Deprecated.
Use
SpdyHeaders#headers() instead. |
List<String> |
getHeaders(String name)
Deprecated.
Use
SpdyHeaders#headers() instead. |
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 |
removeHeader(String name)
Deprecated.
Use
SpdyHeaders#headers() instead. |
void |
setHeader(String name,
Iterable<?> values)
Deprecated.
Use
SpdyHeaders#headers() instead. |
void |
setHeader(String name,
Object value)
Deprecated.
Use
SpdyHeaders#headers() instead. |
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
.@Deprecated String getHeader(String name)
SpdyHeaders#headers()
instead.@Deprecated List<String> getHeaders(String name)
SpdyHeaders#headers()
instead.@Deprecated List<Map.Entry<String,String>> getHeaders()
SpdyHeaders#headers()
instead.@Deprecated boolean containsHeader(String name)
SpdyHeaders#headers()
instead.@Deprecated Set<String> getHeaderNames()
SpdyHeaders#headers()
instead.@Deprecated void addHeader(String name, Object value)
SpdyHeaders#headers()
instead.@Deprecated void setHeader(String name, Object value)
SpdyHeaders#headers()
instead.@Deprecated void setHeader(String name, Iterable<?> values)
SpdyHeaders#headers()
instead.@Deprecated void removeHeader(String name)
SpdyHeaders#headers()
instead.@Deprecated void clearHeaders()
SpdyHeaders#headers()
instead.Copyright © 2008-2015 The Netty Project. All Rights Reserved.