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 interface
FullHttpRequest
Combine theHttpRequest
andFullHttpMessage
, so the request is a complete HTTP request.Classes in io.netty5.handler.codec.http that implement HttpRequest Modifier and Type Class Description class
DefaultFullHttpRequest
Default implementation ofFullHttpRequest
.class
DefaultHttpRequest
The defaultHttpRequest
implementation.Methods in io.netty5.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(String uri)
HttpRequest
HttpRequest. 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 HttpResponse
HttpServerExpectContinueHandler. acceptMessage(BufferAllocator allocator, HttpRequest request)
Produces aHttpResponse
forHttpRequest
s which define an expectation.protected void
HttpContentEncoder. decode(ChannelHandlerContext ctx, HttpRequest msg)
protected void
HttpContentEncoder. decodeAndClose(ChannelHandlerContext ctx, HttpRequest msg)
protected void
HttpRequestEncoder. encodeInitialLine(Buffer buf, HttpRequest request)
protected HttpResponse
HttpServerExpectContinueHandler. rejectResponse(BufferAllocator allocator, HttpRequest request)
Returns the appropriate 4XXHttpResponse
for the givenHttpRequest
.Collection<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.netty5.handler.codec.http.websocketx
Methods in io.netty5.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.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 theHttpRequest
which is passed in.WebSocketServerHandshaker
WebSocketServerHandshakerFactory. 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 HttpRequest
HttpConversionUtil. 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)
-