Package | Description |
---|---|
io.netty.handler.codec.http |
Encoder, decoder and their related message types for HTTP.
|
io.netty.handler.codec.http.cors |
This package contains Cross Origin Resource Sharing (CORS) related classes.
|
io.netty.handler.codec.http.websocketx |
Encoder, decoder, handshakers and their related message types for
Web Socket data frames.
|
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 |
FullHttpResponse
Combination of a
HttpResponse and FullHttpMessage . |
Modifier and Type | Class and Description |
---|---|
class |
DefaultFullHttpResponse
Default implementation of a
FullHttpResponse . |
class |
DefaultHttpResponse
The default
HttpResponse implementation. |
private static class |
HttpObjectAggregator.AggregatedFullHttpResponse |
Modifier and Type | Method and Description |
---|---|
HttpResponse |
HttpResponse.setProtocolVersion(HttpVersion version) |
HttpResponse |
DefaultHttpResponse.setProtocolVersion(HttpVersion version) |
HttpResponse |
HttpResponse.setStatus(HttpResponseStatus status)
Set the status of this
HttpResponse . |
HttpResponse |
DefaultHttpResponse.setStatus(HttpResponseStatus status) |
Modifier and Type | Method and Description |
---|---|
private static void |
HttpMessageUtil.appendInitialLine(java.lang.StringBuilder buf,
HttpResponse res) |
(package private) static java.lang.StringBuilder |
HttpMessageUtil.appendResponse(java.lang.StringBuilder buf,
HttpResponse res) |
protected HttpContentEncoder.Result |
HttpContentCompressor.beginEncode(HttpResponse headers,
java.lang.String acceptEncoding) |
protected abstract HttpContentEncoder.Result |
HttpContentEncoder.beginEncode(HttpResponse headers,
java.lang.String acceptEncoding)
Prepare to encode the HTTP message content.
|
protected void |
HttpResponseEncoder.encodeInitialLine(ByteBuf buf,
HttpResponse response) |
private static boolean |
HttpServerKeepAliveHandler.isInformational(HttpResponse response) |
private static boolean |
HttpServerKeepAliveHandler.isMultipart(HttpResponse response) |
private static boolean |
HttpServerKeepAliveHandler.isSelfDefinedMessageLength(HttpResponse response)
Keep-alive only works if the client can detect when the message has ended without relying on the connection being
closed.
|
private void |
HttpServerKeepAliveHandler.trackResponse(HttpResponse response) |
Constructor and Description |
---|
AggregatedFullHttpResponse(HttpResponse message,
ByteBuf content,
HttpHeaders trailingHeaders) |
Modifier and Type | Method and Description |
---|---|
private void |
CorsHandler.echoRequestOrigin(HttpResponse response) |
private static void |
CorsHandler.respond(ChannelHandlerContext ctx,
HttpRequest request,
HttpResponse response) |
private void |
CorsHandler.setAllowCredentials(HttpResponse response) |
private void |
CorsHandler.setAllowHeaders(HttpResponse response) |
private void |
CorsHandler.setAllowMethods(HttpResponse response) |
private static void |
CorsHandler.setAnyOrigin(HttpResponse response) |
private void |
CorsHandler.setExposeHeaders(HttpResponse response) |
private void |
CorsHandler.setMaxAge(HttpResponse response) |
private boolean |
CorsHandler.setOrigin(HttpResponse response) |
private static void |
CorsHandler.setOrigin(HttpResponse response,
java.lang.String origin) |
private void |
CorsHandler.setPreflightHeaders(HttpResponse response)
This is a non CORS specification feature which enables the setting of preflight
response headers that might be required by intermediaries.
|
private static void |
CorsHandler.setVaryHeader(HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
ChannelFuture |
WebSocketClientHandshaker.processHandshake(Channel channel,
HttpResponse response)
Process the opening handshake initiated by
WebSocketClientHandshaker.handshake(io.netty.channel.Channel) }. |
ChannelFuture |
WebSocketClientHandshaker.processHandshake(Channel channel,
HttpResponse response,
ChannelPromise promise)
Process the opening handshake initiated by
WebSocketClientHandshaker.handshake(io.netty.channel.Channel) }. |
private static void |
WebSocketServerProtocolHandshakeHandler.sendHttpResponse(ChannelHandlerContext ctx,
HttpRequest req,
HttpResponse res) |
Modifier and Type | Method and Description |
---|---|
private SpdyHeadersFrame |
SpdyHttpEncoder.createHeadersFrame(HttpResponse httpResponse) |