Package | Description |
---|---|
org.jboss.netty.handler.codec.spdy |
Encoder, decoder, session handler and their related message types for the SPDY protocol.
|
Modifier and Type | Interface and Description |
---|---|
interface |
SpdySynReplyFrame
A SPDY Protocol SYN_REPLY Frame
|
interface |
SpdySynStreamFrame
A SPDY Protocol SYN_STREAM Frame
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultSpdyHeadersFrame
The default
SpdyHeadersFrame implementation. |
class |
DefaultSpdySynReplyFrame
The default
SpdySynReplyFrame implementation. |
class |
DefaultSpdySynStreamFrame
The default
SpdySynStreamFrame implementation. |
Modifier and Type | Method and Description |
---|---|
static void |
SpdyHeaders.addHeader(SpdyHeadersFrame frame,
String name,
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 String |
SpdyHeaders.getHeader(SpdyHeadersFrame frame,
String name)
Returns the header value with the specified header name.
|
static String |
SpdyHeaders.getHeader(SpdyHeadersFrame frame,
String name,
String defaultValue)
Returns the header value with the specified header name.
|
static 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 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 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,
String name,
Iterable<?> values)
Sets a new header with the specified name and values.
|
static void |
SpdyHeaders.setHeader(SpdyHeadersFrame frame,
String name,
Object value)
Sets a new header with the specified name and value.
|
static void |
SpdyHeaders.setHost(SpdyHeadersFrame frame,
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,
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,
String path)
Sets the URL path header.
|
static void |
SpdyHeaders.setVersion(int spdyVersion,
SpdyHeadersFrame frame,
HttpVersion httpVersion)
Sets the HTTP version header.
|
Copyright © 2008-2015 The Netty Project. All Rights Reserved.