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 interfaceFullHttpRequestCombine theHttpRequestandFullHttpMessage, so the request is a complete HTTP request.Classes in io.netty.handler.codec.http that implement HttpRequest Modifier and Type Class Description classDefaultFullHttpRequestDefault implementation ofFullHttpRequest.classDefaultHttpRequestThe defaultHttpRequestimplementation.Methods in io.netty.handler.codec.http that return HttpRequest Modifier and Type Method Description HttpRequestDefaultHttpRequest. setMethod(HttpMethod method)HttpRequestHttpRequest. setMethod(HttpMethod method)Set theHttpMethodof thisHttpRequest.HttpRequestDefaultHttpRequest. setProtocolVersion(HttpVersion version)HttpRequestHttpRequest. setProtocolVersion(HttpVersion version)HttpRequestDefaultHttpRequest. setUri(java.lang.String uri)HttpRequestHttpRequest. 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 HttpResponseHttpServerExpectContinueHandler. acceptMessage(HttpRequest request)Produces aHttpResponseforHttpRequests which define an expectation.protected voidHttpContentEncoder. decode(ChannelHandlerContext ctx, HttpRequest msg, java.util.List<java.lang.Object> out)protected voidHttpRequestEncoder. encodeInitialLine(ByteBuf buf, HttpRequest request)protected HttpResponseHttpServerExpectContinueHandler. rejectResponse(HttpRequest request)Returns the appropriate 4XXHttpResponsefor 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 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 HttpRequest Modifier and Type Method Description HttpRequestHttpPostRequestEncoder. 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 voidDefaultHttpDataFactory. 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.UseHttpDataFactory.cleanRequestHttpData(HttpRequest)instead.AttributeDefaultHttpDataFactory. createAttribute(HttpRequest request, java.lang.String name)AttributeDefaultHttpDataFactory. createAttribute(HttpRequest request, java.lang.String name, long definedSize)AttributeDefaultHttpDataFactory. createAttribute(HttpRequest request, java.lang.String name, java.lang.String value)AttributeHttpDataFactory. createAttribute(HttpRequest request, java.lang.String name)AttributeHttpDataFactory. createAttribute(HttpRequest request, java.lang.String name, long definedSize)AttributeHttpDataFactory. createAttribute(HttpRequest request, java.lang.String name, java.lang.String value)FileUploadDefaultHttpDataFactory. 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)FileUploadHttpDataFactory. 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 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) -
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 HttpRequestWebSocketServerHandshakeException. request()Returns arequestif exception occurs during request validation otherwisenull.Methods in io.netty.handler.codec.http.websocketx with parameters of type HttpRequest Modifier and Type Method Description ChannelFutureWebSocketServerHandshaker. handshake(Channel channel, HttpRequest req)Performs the opening handshake.ChannelFutureWebSocketServerHandshaker. handshake(Channel channel, HttpRequest req, HttpHeaders responseHeaders, ChannelPromise promise)Performs the opening handshake When call this method you MUST NOT retain theHttpRequestwhich is passed in.WebSocketServerHandshakerWebSocketServerHandshakerFactory. newHandshaker(HttpRequest req)Instances a new handshakerstatic WebSocketServerHandshakerWebSocketServerHandshakerFactory. resolveHandshaker(HttpRequest req, java.lang.String webSocketURL, java.lang.String subprotocols, WebSocketDecoderConfig decoderConfig)Resolves the client's WebSocket protocol version from the HTTP request header, and creates the corresponding handshaker.Constructors 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 voidWebSocketServerExtensionHandler. 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 HttpRequestHttpConversionUtil. 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)
-