Uses of Interface
io.netty.handler.codec.http.HttpRequest
-
Packages that use HttpRequest 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.io.netty.handler.codec.http.websocketx.extensions Encoder, decoder, handshakers to handle WebSocket Extensions.io.netty.handler.codec.http2 Handlers for sending and receiving HTTP/2 frames. -
-
Uses of HttpRequest in io.netty.handler.codec.http
Subinterfaces of HttpRequest in io.netty.handler.codec.http Modifier and Type Interface Description interface
FullHttpRequest
Combine theHttpRequest
andFullHttpMessage
, so the request is a complete HTTP request.Classes in io.netty.handler.codec.http that implement HttpRequest Modifier and Type Class Description class
DefaultFullHttpRequest
Default implementation ofFullHttpRequest
.class
DefaultHttpRequest
The defaultHttpRequest
implementation.Methods in io.netty.handler.codec.http that return HttpRequest Modifier and Type Method Description HttpRequest
DefaultHttpRequest. setMethod(HttpMethod method)
HttpRequest
HttpRequest. setMethod(HttpMethod method)
Set theHttpMethod
of thisHttpRequest
.HttpRequest
DefaultHttpRequest. setProtocolVersion(HttpVersion version)
HttpRequest
HttpRequest. setProtocolVersion(HttpVersion version)
HttpRequest
DefaultHttpRequest. setUri(java.lang.String uri)
HttpRequest
HttpRequest. setUri(java.lang.String uri)
Set the requested URI (or alternatively, path)Methods in io.netty.handler.codec.http with parameters of type HttpRequest Modifier and Type Method Description protected HttpResponse
HttpServerExpectContinueHandler. acceptMessage(HttpRequest request)
Produces aHttpResponse
forHttpRequest
s which define an expectation.protected void
HttpContentEncoder. decode(ChannelHandlerContext ctx, HttpRequest msg, java.util.List<java.lang.Object> out)
protected void
HttpRequestEncoder. encodeInitialLine(ByteBuf buf, HttpRequest request)
protected HttpResponse
HttpServerExpectContinueHandler. rejectResponse(HttpRequest request)
Returns the appropriate 4XXHttpResponse
for the givenHttpRequest
.java.util.Collection<java.lang.CharSequence>
HttpClientUpgradeHandler.UpgradeCodec. setUpgradeHeaders(ChannelHandlerContext ctx, HttpRequest upgradeRequest)
Sets any protocol-specific headers required to the upgrade request.protected boolean
HttpServerUpgradeHandler. shouldHandleUpgradeRequest(HttpRequest req)
Determines whether the specified upgradeHttpRequest
should be handled by this handler or not. -
Uses of HttpRequest in io.netty.handler.codec.http.multipart
Methods in io.netty.handler.codec.http.multipart that return HttpRequest Modifier and Type Method Description HttpRequest
HttpPostRequestEncoder. finalizeRequest()
Finalize the request by preparing the Header in the request and returns the request ready to be sent.
Once finalized, no data must be added.
If the request does not need chunk (isChunked() == false), this request is the only object to send to the remote server.Methods in io.netty.handler.codec.http.multipart with parameters of type HttpRequest Modifier and Type Method Description void
DefaultHttpDataFactory. cleanRequestHttpData(HttpRequest request)
void
HttpDataFactory. cleanRequestHttpData(HttpRequest request)
Remove all InterfaceHttpData from virtual File storage from clean list for the requestvoid
DefaultHttpDataFactory. cleanRequestHttpDatas(HttpRequest request)
void
HttpDataFactory. cleanRequestHttpDatas(HttpRequest request)
Deprecated.UseHttpDataFactory.cleanRequestHttpData(HttpRequest)
instead.Attribute
DefaultHttpDataFactory. createAttribute(HttpRequest request, java.lang.String name)
Attribute
DefaultHttpDataFactory. createAttribute(HttpRequest request, java.lang.String name, long definedSize)
Attribute
DefaultHttpDataFactory. createAttribute(HttpRequest request, java.lang.String name, java.lang.String value)
Attribute
HttpDataFactory. createAttribute(HttpRequest request, java.lang.String name)
Attribute
HttpDataFactory. createAttribute(HttpRequest request, java.lang.String name, long definedSize)
Attribute
HttpDataFactory. createAttribute(HttpRequest request, java.lang.String name, java.lang.String value)
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)
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)
static boolean
HttpPostRequestDecoder. isMultipart(HttpRequest request)
Check if the given request is a multipart requestvoid
DefaultHttpDataFactory. removeHttpDataFromClean(HttpRequest request, InterfaceHttpData data)
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) -
Uses of HttpRequest in io.netty.handler.codec.http.websocketx
Methods in io.netty.handler.codec.http.websocketx that return HttpRequest Modifier and Type Method Description HttpRequest
WebSocketServerHandshakeException. request()
Returns arequest
if exception occurs during request validation otherwisenull
.Methods in io.netty.handler.codec.http.websocketx with parameters of type HttpRequest Modifier and Type Method 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 theHttpRequest
which is passed in.WebSocketServerHandshaker
WebSocketServerHandshakerFactory. newHandshaker(HttpRequest req)
Instances a new handshakerConstructors in io.netty.handler.codec.http.websocketx with parameters of type HttpRequest Constructor Description WebSocketServerHandshakeException(java.lang.String message, HttpRequest httpRequest)
-
Uses of HttpRequest in io.netty.handler.codec.http.websocketx.extensions
Methods in io.netty.handler.codec.http.websocketx.extensions with parameters of type HttpRequest Modifier and Type Method Description protected void
WebSocketServerExtensionHandler. onHttpRequestChannelRead(ChannelHandlerContext ctx, HttpRequest request)
This is a method exposed to perform fail-fast checks of user-defined http types. -
Uses of HttpRequest in io.netty.handler.codec.http2
Methods in io.netty.handler.codec.http2 that return HttpRequest Modifier and Type Method Description static HttpRequest
HttpConversionUtil. toHttpRequest(int streamId, Http2Headers http2Headers, boolean validateHttpHeaders)
Create a new object to contain the request data.Methods in io.netty.handler.codec.http2 with parameters of type HttpRequest Modifier and Type Method Description java.util.Collection<java.lang.CharSequence>
Http2ClientUpgradeCodec. setUpgradeHeaders(ChannelHandlerContext ctx, HttpRequest upgradeRequest)
-