程序包 | 说明 |
---|---|
org.jboss.netty.handler.codec.spdy |
Encoder, decoder, session handler and their related message types for the SPDY protocol.
|
限定符和类型 | 接口和说明 |
---|---|
interface |
SpdySynReplyFrame
A SPDY Protocol SYN_REPLY Frame
|
interface |
SpdySynStreamFrame
A SPDY Protocol SYN_STREAM Frame
|
限定符和类型 | 类和说明 |
---|---|
class |
DefaultSpdyHeadersFrame
The default
SpdyHeadersFrame implementation. |
class |
DefaultSpdySynReplyFrame
The default
SpdySynReplyFrame implementation. |
class |
DefaultSpdySynStreamFrame
The default
SpdySynStreamFrame implementation. |
限定符和类型 | 方法和说明 |
---|---|
static void |
SpdyHeaders.addHeader(SpdyHeadersFrame frame,
java.lang.String name,
java.lang.Object value)
Adds a new header with the specified name and value.
|
protected void |
SpdyHeaderBlockRawDecoder.decodeHeaderBlock(ChannelBuffer headerBlock,
SpdyHeadersFrame frame) |
ChannelBuffer |
SpdyHeaderBlockRawEncoder.encode(SpdyHeadersFrame headerFrame) |
static java.lang.String |
SpdyHeaders.getHeader(SpdyHeadersFrame frame,
java.lang.String name)
Returns the header value with the specified header name.
|
static java.lang.String |
SpdyHeaders.getHeader(SpdyHeadersFrame frame,
java.lang.String name,
java.lang.String defaultValue)
Returns the header value with the specified header name.
|
static java.lang.String |
SpdyHeaders.getHost(SpdyHeadersFrame frame)
Returns the SPDY host header.
|
static HttpMethod |
SpdyHeaders.getMethod(int spdyVersion,
SpdyHeadersFrame frame)
Returns the
HttpMethod represented by the HTTP method header. |
static java.lang.String |
SpdyHeaders.getScheme(int spdyVersion,
SpdyHeadersFrame frame)
Returns the value of the URL scheme header.
|
static HttpResponseStatus |
SpdyHeaders.getStatus(int spdyVersion,
SpdyHeadersFrame frame)
Returns the
HttpResponseStatus represented by the HTTP response status header. |
static java.lang.String |
SpdyHeaders.getUrl(int spdyVersion,
SpdyHeadersFrame frame)
Returns the value of the URL path header.
|
static HttpVersion |
SpdyHeaders.getVersion(int spdyVersion,
SpdyHeadersFrame frame)
Returns the
HttpVersion represented by the HTTP version header. |
static void |
SpdyHeaders.removeHost(SpdyHeadersFrame frame)
Removes the SPDY host header.
|
static void |
SpdyHeaders.removeMethod(int spdyVersion,
SpdyHeadersFrame frame)
Removes the HTTP method header.
|
static void |
SpdyHeaders.removeScheme(int spdyVersion,
SpdyHeadersFrame frame)
Removes the URL scheme header.
|
static void |
SpdyHeaders.removeStatus(int spdyVersion,
SpdyHeadersFrame frame)
Removes the HTTP response status header.
|
static void |
SpdyHeaders.removeUrl(int spdyVersion,
SpdyHeadersFrame frame)
Removes the URL path header.
|
static void |
SpdyHeaders.removeVersion(int spdyVersion,
SpdyHeadersFrame frame)
Removes the HTTP version header.
|
static void |
SpdyHeaders.setHeader(SpdyHeadersFrame frame,
java.lang.String name,
java.lang.Iterable<?> values)
Sets a new header with the specified name and values.
|
static void |
SpdyHeaders.setHeader(SpdyHeadersFrame frame,
java.lang.String name,
java.lang.Object value)
Sets a new header with the specified name and value.
|
static void |
SpdyHeaders.setHost(SpdyHeadersFrame frame,
java.lang.String host)
Set the SPDY host header.
|
static void |
SpdyHeaders.setMethod(int spdyVersion,
SpdyHeadersFrame frame,
HttpMethod method)
Sets the HTTP method header.
|
static void |
SpdyHeaders.setScheme(int spdyVersion,
SpdyHeadersFrame frame,
java.lang.String scheme)
Sets the URL scheme header.
|
static void |
SpdyHeaders.setStatus(int spdyVersion,
SpdyHeadersFrame frame,
HttpResponseStatus status)
Sets the HTTP response status header.
|
static void |
SpdyHeaders.setUrl(int spdyVersion,
SpdyHeadersFrame frame,
java.lang.String path)
Sets the URL path header.
|
static void |
SpdyHeaders.setVersion(int spdyVersion,
SpdyHeadersFrame frame,
HttpVersion httpVersion)
Sets the HTTP version header.
|