Uses of Interface
io.netty.handler.codec.http.HttpResponse
-
Packages that use HttpResponse Package Description io.netty.handler.codec.http Encoder, decoder and their related message types for HTTP.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 HttpResponse in io.netty.handler.codec.http
Subinterfaces of HttpResponse in io.netty.handler.codec.http Modifier and Type Interface Description interfaceFullHttpResponseCombination of aHttpResponseandFullHttpMessage.Classes in io.netty.handler.codec.http that implement HttpResponse Modifier and Type Class Description classDefaultFullHttpResponseDefault implementation of aFullHttpResponse.classDefaultHttpResponseThe defaultHttpResponseimplementation.Methods in io.netty.handler.codec.http that return HttpResponse Modifier and Type Method Description protected HttpResponseHttpServerExpectContinueHandler. acceptMessage(HttpRequest request)Produces aHttpResponseforHttpRequests which define an expectation.protected HttpResponseHttpServerExpectContinueHandler. rejectResponse(HttpRequest request)Returns the appropriate 4XXHttpResponsefor the givenHttpRequest.HttpResponseDefaultHttpResponse. setProtocolVersion(HttpVersion version)HttpResponseHttpResponse. setProtocolVersion(HttpVersion version)HttpResponseDefaultHttpResponse. setStatus(HttpResponseStatus status)HttpResponseHttpResponse. setStatus(HttpResponseStatus status)Set the status of thisHttpResponse.Methods in io.netty.handler.codec.http with parameters of type HttpResponse Modifier and Type Method Description protected HttpContentEncoder.ResultHttpContentCompressor. beginEncode(HttpResponse httpResponse, java.lang.String acceptEncoding)protected abstract HttpContentEncoder.ResultHttpContentEncoder. beginEncode(HttpResponse httpResponse, java.lang.String acceptEncoding)Prepare to encode the HTTP message content.protected voidHttpResponseEncoder. encodeInitialLine(ByteBuf buf, HttpResponse response)protected booleanHttpResponseEncoder. isContentAlwaysEmpty(HttpResponse msg)protected booleanHttpObjectDecoder. isSwitchingToNonHttp1Protocol(HttpResponse msg)Returns true if the server switched to a different protocol than HTTP/1.0 or HTTP/1.1, e.g.protected voidHttpResponseEncoder. sanitizeHeadersBeforeEncode(HttpResponse msg, boolean isAlwaysEmpty) -
Uses of HttpResponse in io.netty.handler.codec.http.websocketx
Methods in io.netty.handler.codec.http.websocketx that return HttpResponse Modifier and Type Method Description HttpResponseWebSocketClientHandshakeException. response()Returns aresponseif exception occurs during response validation otherwisenull.Methods in io.netty.handler.codec.http.websocketx with parameters of type HttpResponse Modifier and Type Method Description ChannelFutureWebSocketClientHandshaker. processHandshake(Channel channel, HttpResponse response)Process the opening handshake initiated byWebSocketClientHandshaker.handshake(io.netty.channel.Channel)}.ChannelFutureWebSocketClientHandshaker. processHandshake(Channel channel, HttpResponse response, ChannelPromise promise)Process the opening handshake initiated byWebSocketClientHandshaker.handshake(io.netty.channel.Channel)}.Constructors in io.netty.handler.codec.http.websocketx with parameters of type HttpResponse Constructor Description WebSocketClientHandshakeException(java.lang.String message, HttpResponse httpResponse) -
Uses of HttpResponse in io.netty.handler.codec.http.websocketx.extensions
Methods in io.netty.handler.codec.http.websocketx.extensions with parameters of type HttpResponse Modifier and Type Method Description protected voidWebSocketServerExtensionHandler. onHttpResponseWrite(ChannelHandlerContext ctx, HttpResponse response, ChannelPromise promise)This is a method exposed to perform fail-fast checks of user-defined http types. -
Uses of HttpResponse in io.netty.handler.codec.http2
Methods in io.netty.handler.codec.http2 that return HttpResponse Modifier and Type Method Description static HttpResponseHttpConversionUtil. toHttpResponse(int streamId, Http2Headers http2Headers, boolean validateHttpHeaders)Create a new object to contain the response data.
-