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 |
---|---|
protected HttpResponse |
HttpServerExpectContinueHandler.acceptMessage(HttpRequest request)
Produces a
HttpResponse for HttpRequest s which define an expectation. |
protected HttpResponse |
HttpServerExpectContinueHandler.rejectResponse(HttpRequest request)
Returns the appropriate 4XX
HttpResponse for the given HttpRequest . |
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,
String acceptEncoding)
Prepare to encode the HTTP message content.
|
protected HttpContentEncoder.Result |
HttpContentCompressor.beginEncode(HttpResponse headers,
String acceptEncoding) |
protected void |
HttpResponseEncoder.encodeInitialLine(ByteBuf buf,
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) }. |
Copyright © 2008–2017 The Netty Project. All rights reserved.