Package | Description |
---|---|
io.netty.handler.codec.http |
Encoder, decoder and their related message types for HTTP.
|
io.netty.handler.codec.http.multipart |
HTTP multipart support.
|
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 |
FullHttpRequest
Combine the
HttpRequest and FullHttpMessage , so the request is a complete HTTP
request. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultFullHttpRequest
Default implementation of
FullHttpRequest . |
class |
DefaultHttpRequest
The default
HttpRequest implementation. |
Modifier and Type | Method and Description |
---|---|
HttpRequest |
HttpRequest.setMethod(HttpMethod method)
Set the
HttpMethod of this HttpRequest . |
HttpRequest |
DefaultHttpRequest.setMethod(HttpMethod method) |
HttpRequest |
HttpRequest.setProtocolVersion(HttpVersion version) |
HttpRequest |
DefaultHttpRequest.setProtocolVersion(HttpVersion version) |
HttpRequest |
HttpRequest.setUri(java.lang.String uri)
Set the requested URI (or alternatively, path)
|
HttpRequest |
DefaultHttpRequest.setUri(java.lang.String uri) |
Modifier and Type | Method and Description |
---|---|
protected void |
HttpContentEncoder.decode(ChannelHandlerContext ctx,
HttpRequest msg,
java.util.List<java.lang.Object> out) |
protected void |
HttpRequestEncoder.encodeInitialLine(ByteBuf buf,
HttpRequest request) |
Modifier and Type | Method and Description |
---|---|
HttpRequest |
HttpPostRequestEncoder.finalizeRequest()
Finalize the request by preparing the Header in the request and returns the request ready to be sent.
|
Modifier and Type | Method and Description |
---|---|
void |
HttpDataFactory.cleanRequestHttpDatas(HttpRequest request)
Remove all InterfaceHttpData from virtual File storage from clean list for the request
|
void |
DefaultHttpDataFactory.cleanRequestHttpDatas(HttpRequest request) |
Attribute |
HttpDataFactory.createAttribute(HttpRequest request,
java.lang.String name) |
Attribute |
DefaultHttpDataFactory.createAttribute(HttpRequest request,
java.lang.String name) |
Attribute |
HttpDataFactory.createAttribute(HttpRequest request,
java.lang.String name,
java.lang.String value) |
Attribute |
DefaultHttpDataFactory.createAttribute(HttpRequest request,
java.lang.String name,
java.lang.String value) |
FileUpload |
HttpDataFactory.createFileUpload(HttpRequest request,
java.lang.String name,
java.lang.String filename,
java.lang.String contentType,
java.lang.String contentTransferEncoding,
java.nio.charset.Charset charset,
long size) |
FileUpload |
DefaultHttpDataFactory.createFileUpload(HttpRequest request,
java.lang.String name,
java.lang.String filename,
java.lang.String contentType,
java.lang.String contentTransferEncoding,
java.nio.charset.Charset charset,
long size) |
static boolean |
HttpPostRequestDecoder.isMultipart(HttpRequest request)
Check if the given request is a multipart request
|
void |
HttpDataFactory.removeHttpDataFromClean(HttpRequest request,
InterfaceHttpData data)
Remove the given InterfaceHttpData from clean list (will not delete the file, except if the file
is still a temporary one as setup at construction)
|
void |
DefaultHttpDataFactory.removeHttpDataFromClean(HttpRequest request,
InterfaceHttpData data) |
Modifier and Type | Method and Description |
---|---|
ChannelFuture |
WebSocketServerHandshaker.handshake(Channel channel,
HttpRequest req)
Performs the opening handshake.
|
ChannelFuture |
WebSocketServerHandshaker.handshake(Channel channel,
HttpRequest req,
HttpHeaders responseHeaders,
ChannelPromise promise)
Performs the opening handshake
When call this method you MUST NOT retain the
HttpRequest which is passed in. |
WebSocketServerHandshaker |
WebSocketServerHandshakerFactory.newHandshaker(HttpRequest req)
Instances a new handshaker
|
Copyright © 2008–2018 The Netty Project. All rights reserved.