Uses of Interface
io.netty5.handler.codec.http.HttpRequest
-
Packages that use HttpRequest Package Description io.netty5.handler.codec.http Encoder, decoder and their related message types for HTTP.io.netty5.handler.codec.http.websocketx Encoder, decoder, handshakers and their related message types for Web Socket data frames.io.netty5.handler.codec.http2 Handlers for sending and receiving HTTP/2 frames. -
-
Uses of HttpRequest in io.netty5.handler.codec.http
Subinterfaces of HttpRequest in io.netty5.handler.codec.http Modifier and Type Interface Description interfaceFullHttpRequestCombine theHttpRequestandFullHttpMessage, so the request is a complete HTTP request.Classes in io.netty5.handler.codec.http that implement HttpRequest Modifier and Type Class Description classDefaultFullHttpRequestDefault implementation ofFullHttpRequest.classDefaultHttpRequestThe defaultHttpRequestimplementation.Methods in io.netty5.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(String uri)HttpRequestHttpRequest. setUri(String uri)Set the requested URI (or alternatively, path)Methods in io.netty5.handler.codec.http with parameters of type HttpRequest Modifier and Type Method Description protected HttpResponseHttpServerExpectContinueHandler. acceptMessage(BufferAllocator allocator, HttpRequest request)Produces aHttpResponseforHttpRequests which define an expectation.protected voidHttpContentEncoder. decode(ChannelHandlerContext ctx, HttpRequest msg)protected voidHttpContentEncoder. decodeAndClose(ChannelHandlerContext ctx, HttpRequest msg)protected voidHttpRequestEncoder. encodeInitialLine(Buffer buf, HttpRequest request)protected HttpResponseHttpServerExpectContinueHandler. rejectResponse(BufferAllocator allocator, HttpRequest request)Returns the appropriate 4XXHttpResponsefor the givenHttpRequest.Collection<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.netty5.handler.codec.http.websocketx
Methods in io.netty5.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.netty5.handler.codec.http.websocketx with parameters of type HttpRequest Modifier and Type Method Description Future<Void>WebSocketServerHandshaker. handshake(Channel channel, HttpRequest req)Performs the opening handshake.Future<Void>WebSocketServerHandshaker. handshake(Channel channel, HttpRequest req, HttpHeaders responseHeaders)Performs the opening handshake When call this method you MUST NOT retain theHttpRequestwhich is passed in.WebSocketServerHandshakerWebSocketServerHandshakerFactory. newHandshaker(HttpRequest req)Instances a new handshakerConstructors in io.netty5.handler.codec.http.websocketx with parameters of type HttpRequest Constructor Description WebSocketServerHandshakeException(String message, HttpRequest httpRequest) -
Uses of HttpRequest in io.netty5.handler.codec.http2
Methods in io.netty5.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.netty5.handler.codec.http2 with parameters of type HttpRequest Modifier and Type Method Description Collection<CharSequence>Http2ClientUpgradeCodec. setUpgradeHeaders(ChannelHandlerContext ctx, HttpRequest upgradeRequest)
-