Package | Description |
---|---|
org.jboss.netty.handler.codec.http |
Encoder, decoder and their related message types for HTTP.
|
org.jboss.netty.handler.codec.rtsp |
An RTSP
extension based on the HTTP codec.
|
org.jboss.netty.handler.codec.spdy |
Encoder, decoder, session handler and their related message types for the SPDY protocol.
|
Modifier and Type | Field and Description |
---|---|
static HttpVersion |
HttpVersion.HTTP_1_0
HTTP/1.0
|
static HttpVersion |
HttpVersion.HTTP_1_1
HTTP/1.1
|
Modifier and Type | Method and Description |
---|---|
HttpVersion |
HttpMessage.getProtocolVersion()
Returns the protocol version of this message.
|
HttpVersion |
DefaultHttpMessage.getProtocolVersion() |
static HttpVersion |
HttpVersion.valueOf(String text)
Returns an existing or new
HttpVersion instance which matches to
the specified protocol version string. |
Modifier and Type | Method and Description |
---|---|
int |
HttpVersion.compareTo(HttpVersion o) |
void |
HttpMessage.setProtocolVersion(HttpVersion version)
Sets the protocol version of this message.
|
void |
DefaultHttpMessage.setProtocolVersion(HttpVersion version) |
Constructor and Description |
---|
DefaultHttpMessage(HttpVersion version)
Creates a new instance.
|
DefaultHttpRequest(HttpVersion httpVersion,
HttpMethod method,
String uri)
Creates a new instance.
|
DefaultHttpResponse(HttpVersion version,
HttpResponseStatus status)
Creates a new instance.
|
Modifier and Type | Field and Description |
---|---|
static HttpVersion |
RtspVersions.RTSP_1_0
RTSP/1.0
|
Modifier and Type | Method and Description |
---|---|
static HttpVersion |
RtspVersions.valueOf(String text)
Returns an existing or new
HttpVersion instance which matches to
the specified RTSP version string. |
Modifier and Type | Method and Description |
---|---|
static HttpVersion |
SpdyHeaders.getVersion(int spdyVersion,
SpdyHeaderBlock block)
Returns the
HttpVersion represented by the HTTP version header. |
static HttpVersion |
SpdyHeaders.getVersion(SpdyHeaderBlock block)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
SpdyHeaders.setVersion(int spdyVersion,
SpdyHeaderBlock block,
HttpVersion httpVersion)
Sets the HTTP version header.
|
static void |
SpdyHeaders.setVersion(SpdyHeaderBlock block,
HttpVersion httpVersion)
Deprecated.
|
Copyright © 2008-2014 The Netty Project. All Rights Reserved.