Uses of Interface
io.netty5.handler.codec.http.HttpResponse
-
Packages that use HttpResponse 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 HttpResponse in io.netty5.handler.codec.http
Subinterfaces of HttpResponse in io.netty5.handler.codec.http Modifier and Type Interface Description interface
FullHttpResponse
Combination of aHttpResponse
andFullHttpMessage
.Classes in io.netty5.handler.codec.http that implement HttpResponse Modifier and Type Class Description class
DefaultFullHttpResponse
Default implementation of aFullHttpResponse
.class
DefaultHttpResponse
The defaultHttpResponse
implementation.Methods in io.netty5.handler.codec.http that return HttpResponse Modifier and Type Method Description protected HttpResponse
HttpServerExpectContinueHandler. acceptMessage(BufferAllocator allocator, HttpRequest request)
Produces aHttpResponse
forHttpRequest
s which define an expectation.protected HttpResponse
HttpServerExpectContinueHandler. rejectResponse(BufferAllocator allocator, HttpRequest request)
Returns the appropriate 4XXHttpResponse
for the givenHttpRequest
.HttpResponse
DefaultHttpResponse. setProtocolVersion(HttpVersion version)
HttpResponse
HttpResponse. setProtocolVersion(HttpVersion version)
HttpResponse
DefaultHttpResponse. setStatus(HttpResponseStatus status)
HttpResponse
HttpResponse. setStatus(HttpResponseStatus status)
Set the status of thisHttpResponse
.Methods in io.netty5.handler.codec.http with parameters of type HttpResponse Modifier and Type Method Description protected HttpContentEncoder.Result
HttpContentCompressor. beginEncode(HttpResponse httpResponse, String acceptEncoding)
protected abstract HttpContentEncoder.Result
HttpContentEncoder. beginEncode(HttpResponse httpResponse, String acceptEncoding)
Prepare to encode the HTTP message content.protected void
HttpResponseEncoder. encodeInitialLine(Buffer buf, HttpResponse response)
protected boolean
HttpResponseEncoder. isContentAlwaysEmpty(HttpResponse msg)
protected boolean
HttpObjectDecoder. isSwitchingToNonHttp1Protocol(HttpResponse msg)
Returns true if the server switched to a different protocol than HTTP/1.0 or HTTP/1.1, e.g.protected void
HttpResponseEncoder. sanitizeHeadersBeforeEncode(HttpResponse msg, boolean isAlwaysEmpty)
-
Uses of HttpResponse in io.netty5.handler.codec.http.websocketx
Methods in io.netty5.handler.codec.http.websocketx that return HttpResponse Modifier and Type Method Description HttpResponse
WebSocketClientHandshakeException. response()
Returns aresponse
if exception occurs during response validation otherwisenull
.Methods in io.netty5.handler.codec.http.websocketx with parameters of type HttpResponse Modifier and Type Method Description Future<Void>
WebSocketClientHandshaker. processHandshake(Channel channel, HttpResponse response)
Process the opening handshake initiated byWebSocketClientHandshaker.handshake(io.netty5.channel.Channel)
}.Constructors in io.netty5.handler.codec.http.websocketx with parameters of type HttpResponse Constructor Description WebSocketClientHandshakeException(String message, HttpResponse httpResponse)
-
Uses of HttpResponse in io.netty5.handler.codec.http2
Methods in io.netty5.handler.codec.http2 that return HttpResponse Modifier and Type Method Description static HttpResponse
HttpConversionUtil. toHttpResponse(int streamId, Http2Headers http2Headers, boolean validateHttpHeaders)
Create a new object to contain the response data.
-