Uses of Interface
io.netty.handler.codec.http.HttpRequest
Packages that use HttpRequest
Package
Description
Encoder, decoder and their related message types for HTTP.
HTTP multipart support.
Encoder, decoder, handshakers and their related message types for
Web Socket data frames.
Encoder, decoder, handshakers to handle
WebSocket Extensions.
-
Uses of HttpRequest in io.netty.handler.codec.http
Subinterfaces of HttpRequest in io.netty.handler.codec.httpModifier and TypeInterfaceDescriptioninterfaceCombine theHttpRequestandFullHttpMessage, so the request is a complete HTTP request.Classes in io.netty.handler.codec.http that implement HttpRequestModifier and TypeClassDescriptionclassDefault implementation ofFullHttpRequest.classThe defaultHttpRequestimplementation.Methods in io.netty.handler.codec.http that return HttpRequestModifier and TypeMethodDescriptionDefaultHttpRequest.setMethod(HttpMethod method) HttpRequest.setMethod(HttpMethod method) Set theHttpMethodof thisHttpRequest.DefaultHttpRequest.setProtocolVersion(HttpVersion version) HttpRequest.setProtocolVersion(HttpVersion version) Set the requested URI (or alternatively, path)Methods in io.netty.handler.codec.http with parameters of type HttpRequestModifier and TypeMethodDescriptionprotected HttpResponseHttpServerExpectContinueHandler.acceptMessage(HttpRequest request) Produces aHttpResponseforHttpRequests which define an expectation.protected voidHttpContentEncoder.decode(io.netty.channel.ChannelHandlerContext ctx, HttpRequest msg, List<Object> out) protected voidHttpRequestEncoder.encodeInitialLine(io.netty.buffer.ByteBuf buf, HttpRequest request) protected HttpResponseHttpServerExpectContinueHandler.rejectResponse(HttpRequest request) Returns the appropriate 4XXHttpResponsefor the givenHttpRequest.HttpClientUpgradeHandler.UpgradeCodec.setUpgradeHeaders(io.netty.channel.ChannelHandlerContext ctx, HttpRequest upgradeRequest) Sets any protocol-specific headers required to the upgrade request.protected booleanHttpServerUpgradeHandler.shouldHandleUpgradeRequest(HttpRequest req) Determines whether the specified upgradeHttpRequestshould 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 HttpRequestModifier and TypeMethodDescriptionHttpPostRequestEncoder.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 HttpRequestModifier and TypeMethodDescriptionvoidDefaultHttpDataFactory.cleanRequestHttpData(HttpRequest request) voidHttpDataFactory.cleanRequestHttpData(HttpRequest request) Remove all InterfaceHttpData from virtual File storage from clean list for the requestvoidDefaultHttpDataFactory.cleanRequestHttpDatas(HttpRequest request) voidHttpDataFactory.cleanRequestHttpDatas(HttpRequest request) Deprecated.DefaultHttpDataFactory.createAttribute(HttpRequest request, String name) DefaultHttpDataFactory.createAttribute(HttpRequest request, String name, long definedSize) DefaultHttpDataFactory.createAttribute(HttpRequest request, String name, String value) HttpDataFactory.createAttribute(HttpRequest request, String name) HttpDataFactory.createAttribute(HttpRequest request, String name, long definedSize) HttpDataFactory.createAttribute(HttpRequest request, String name, String value) DefaultHttpDataFactory.createFileUpload(HttpRequest request, String name, String filename, String contentType, String contentTransferEncoding, Charset charset, long size) HttpDataFactory.createFileUpload(HttpRequest request, String name, String filename, String contentType, String contentTransferEncoding, Charset charset, long size) static booleanHttpPostRequestDecoder.isMultipart(HttpRequest request) Check if the given request is a multipart requestvoidDefaultHttpDataFactory.removeHttpDataFromClean(HttpRequest request, InterfaceHttpData data) voidHttpDataFactory.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)Constructors in io.netty.handler.codec.http.multipart with parameters of type HttpRequestModifierConstructorDescriptionHttpPostMultipartRequestDecoder(HttpDataFactory factory, HttpRequest request) HttpPostMultipartRequestDecoder(HttpDataFactory factory, HttpRequest request, Charset charset) HttpPostRequestDecoder(HttpRequest request) HttpPostRequestDecoder(HttpDataFactory factory, HttpRequest request) HttpPostRequestDecoder(HttpDataFactory factory, HttpRequest request, Charset charset) HttpPostRequestEncoder(HttpRequest request, boolean multipart) HttpPostRequestEncoder(HttpDataFactory factory, HttpRequest request, boolean multipart) HttpPostRequestEncoder(HttpDataFactory factory, HttpRequest request, boolean multipart, Charset charset, HttpPostRequestEncoder.EncoderMode encoderMode) HttpPostStandardRequestDecoder(HttpDataFactory factory, HttpRequest request) HttpPostStandardRequestDecoder(HttpDataFactory factory, HttpRequest request, Charset charset) -
Uses of HttpRequest in io.netty.handler.codec.http.websocketx
Methods in io.netty.handler.codec.http.websocketx that return HttpRequestModifier and TypeMethodDescriptionWebSocketServerHandshakeException.request()Returns arequestif exception occurs during request validation otherwisenull.Methods in io.netty.handler.codec.http.websocketx with parameters of type HttpRequestModifier and TypeMethodDescriptionio.netty.channel.ChannelFutureWebSocketServerHandshaker.handshake(io.netty.channel.Channel channel, HttpRequest req) Performs the opening handshake.final io.netty.channel.ChannelFutureWebSocketServerHandshaker.handshake(io.netty.channel.Channel channel, HttpRequest req, HttpHeaders responseHeaders, io.netty.channel.ChannelPromise promise) Performs the opening handshake When call this method you MUST NOT retain theHttpRequestwhich is passed in.WebSocketServerHandshakerFactory.newHandshaker(HttpRequest req) Instances a new handshakerConstructors in io.netty.handler.codec.http.websocketx with parameters of type HttpRequestModifierConstructorDescriptionWebSocketServerHandshakeException(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 HttpRequestModifier and TypeMethodDescriptionprotected voidWebSocketServerExtensionHandler.onHttpRequestChannelRead(io.netty.channel.ChannelHandlerContext ctx, HttpRequest request) This is a method exposed to perform fail-fast checks of user-defined http types.
HttpDataFactory.cleanRequestHttpData(HttpRequest)instead.