| Package | Description |
|---|---|
| io.netty.handler.codec.http |
Encoder, decoder and their related message types for HTTP.
|
| io.netty.handler.codec.http.websocketx |
Encoder, decoder, handshakers and their related message types for
Web Socket data frames.
|
| 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. |
| 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 |
|---|---|
protected abstract HttpContentEncoder.Result |
HttpContentEncoder.beginEncode(HttpResponse headers,
java.lang.String acceptEncoding)
Prepare to encode the HTTP message content.
|
protected HttpContentEncoder.Result |
HttpContentCompressor.beginEncode(HttpResponse headers,
java.lang.String acceptEncoding) |
protected void |
HttpResponseEncoder.encodeInitialLine(ByteBuf buf,
HttpResponse response) |
protected boolean |
HttpResponseEncoder.isContentAlwaysEmpty(HttpResponse msg) |
protected boolean |
HttpObjectDecoder.isSwitchingToNonHttp1Protocol(HttpResponse msg)
Returns true if the server switched to a different protocol than HTTP/1.0 or HTTP/1.1, e.g.
|
protected void |
HttpResponseEncoder.sanitizeHeadersBeforeEncode(HttpResponse msg,
boolean isAlwaysEmpty) |
| 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)}. |
Copyright © 2008–2018 The Netty Project. All rights reserved.