Uses of Interface
io.netty.handler.codec.http.HttpResponse
Packages that use HttpResponse
Package
Description
Encoder, decoder and their related message types for HTTP.
Encoder, decoder, handshakers and their related message types for
Web Socket data frames.
Encoder, decoder, handshakers to handle
WebSocket Extensions.
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.httpModifier and TypeInterfaceDescriptioninterfaceCombination of aHttpResponseandFullHttpMessage.Classes in io.netty.handler.codec.http that implement HttpResponseModifier and TypeClassDescriptionclassDefault implementation of aFullHttpResponse.classThe defaultHttpResponseimplementation.Subclasses with type arguments of type HttpResponse in io.netty.handler.codec.httpModifier and TypeClassDescriptionclassMethods in io.netty.handler.codec.http that return HttpResponseModifier and TypeMethodDescriptionprotected HttpResponseHttpServerExpectContinueHandler.acceptMessage(HttpRequest request) Produces aHttpResponseforHttpRequests which define an expectation.protected HttpResponseHttpServerExpectContinueHandler.rejectResponse(HttpRequest request) Returns the appropriate 4XXHttpResponsefor the givenHttpRequest.DefaultHttpResponse.setProtocolVersion(HttpVersion version) HttpResponse.setProtocolVersion(HttpVersion version) DefaultHttpResponse.setStatus(HttpResponseStatus status) HttpResponse.setStatus(HttpResponseStatus status) Set the status of thisHttpResponse.Methods in io.netty.handler.codec.http with parameters of type HttpResponseModifier and TypeMethodDescriptionprotected HttpContentEncoder.ResultHttpContentCompressor.beginEncode(HttpResponse httpResponse, String acceptEncoding) protected abstract HttpContentEncoder.ResultHttpContentEncoder.beginEncode(HttpResponse httpResponse, 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 HttpResponseModifier and TypeMethodDescriptionWebSocketClientHandshakeException.response()Returns aresponseif exception occurs during response validation otherwisenull.Methods in io.netty.handler.codec.http.websocketx with parameters of type HttpResponseModifier and TypeMethodDescriptionfinal ChannelFutureWebSocketClientHandshaker.processHandshake(Channel channel, HttpResponse response) Process the opening handshake initiated byWebSocketClientHandshaker.handshake(Channel)}.final ChannelFutureWebSocketClientHandshaker.processHandshake(Channel channel, HttpResponse response, ChannelPromise promise) Process the opening handshake initiated byWebSocketClientHandshaker.handshake(Channel)}.Constructors in io.netty.handler.codec.http.websocketx with parameters of type HttpResponseModifierConstructorDescriptionWebSocketClientHandshakeException(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 HttpResponseModifier and TypeMethodDescriptionprotected 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 HttpResponseModifier and TypeMethodDescriptionstatic HttpResponseHttpConversionUtil.toHttpResponse(int streamId, Http2Headers http2Headers, boolean validateHttpHeaders) Create a new object to contain the response data.