Package | Description |
---|---|
io.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 |
---|---|
SpdyHeadersFrame |
SpdyHeadersFrame.setInvalid()
Marks this header block as invalid.
|
SpdyHeadersFrame |
DefaultSpdyHeadersFrame.setInvalid() |
SpdyHeadersFrame |
SpdyHeadersFrame.setLast(boolean last) |
SpdyHeadersFrame |
DefaultSpdyHeadersFrame.setLast(boolean last) |
SpdyHeadersFrame |
SpdyHeadersFrame.setStreamId(int streamID) |
SpdyHeadersFrame |
DefaultSpdyHeadersFrame.setStreamId(int streamId) |
SpdyHeadersFrame |
SpdyHeadersFrame.setTruncated()
Mark this header block as truncated.
|
SpdyHeadersFrame |
DefaultSpdyHeadersFrame.setTruncated() |
Modifier and Type | Method and Description |
---|---|
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(ByteBuf headerBlock,
SpdyHeadersFrame frame) |
ByteBuf |
SpdyHeaderBlockRawEncoder.encode(ByteBufAllocator alloc,
SpdyHeadersFrame frame) |
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.
|
Copyright © 2008–2018 The Netty Project. All rights reserved.