Uses of Interface
io.netty.handler.codec.http.HttpRequest
-
Packages that use HttpRequest Package Description io.netty.handler.codec.http Encoder, decoder and their related message types for HTTP.io.netty.handler.codec.http.cors This package contains Cross Origin Resource Sharing (CORS) related classes.io.netty.handler.codec.http.multipart HTTP multipart support.io.netty.handler.codec.http.websocketx Encoder, decoder, handshakers and their related message types for Web Socket data frames.io.netty.handler.codec.http2 Handlers for sending and receiving HTTP/2 frames.io.netty.handler.codec.spdy Encoder, decoder, session handler and their related message types for the SPDY protocol. -
-
Uses of HttpRequest in io.netty.handler.codec.http
Subinterfaces of HttpRequest in io.netty.handler.codec.http Modifier and Type Interface Description interfaceFullHttpRequestCombine theHttpRequestandFullHttpMessage, so the request is a complete HTTP request.Classes in io.netty.handler.codec.http that implement HttpRequest Modifier and Type Class Description classDefaultFullHttpRequestDefault implementation ofFullHttpRequest.classDefaultHttpRequestThe defaultHttpRequestimplementation.private static classHttpObjectAggregator.AggregatedFullHttpRequestMethods in io.netty.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(java.lang.String uri)HttpRequestHttpRequest. setUri(java.lang.String uri)Set the requested URI (or alternatively, path)Methods in io.netty.handler.codec.http with parameters of type HttpRequest Modifier and Type Method Description protected HttpResponseHttpServerExpectContinueHandler. acceptMessage(HttpRequest request)Produces aHttpResponseforHttpRequests which define an expectation.private static voidHttpMessageUtil. appendInitialLine(java.lang.StringBuilder buf, HttpRequest req)(package private) static java.lang.StringBuilderHttpMessageUtil. appendRequest(java.lang.StringBuilder buf, HttpRequest req)protected voidHttpContentEncoder. decode(ChannelHandlerContext ctx, HttpRequest msg, java.util.List<java.lang.Object> out)protected voidHttpRequestEncoder. encodeInitialLine(ByteBuf buf, HttpRequest request)protected HttpResponseHttpServerExpectContinueHandler. rejectResponse(HttpRequest request)Returns the appropriate 4XXHttpResponsefor the givenHttpRequest.java.util.Collection<java.lang.CharSequence>HttpClientUpgradeHandler.UpgradeCodec. setUpgradeHeaders(ChannelHandlerContext ctx, HttpRequest upgradeRequest)Sets any protocol-specific headers required to the upgrade request.private voidHttpClientUpgradeHandler. setUpgradeRequestHeaders(ChannelHandlerContext ctx, HttpRequest request)Adds all upgrade request headers necessary for an upgrade to the supported protocols.Constructors in io.netty.handler.codec.http with parameters of type HttpRequest Constructor Description AggregatedFullHttpRequest(HttpRequest request, ByteBuf content, HttpHeaders trailingHeaders) -
Uses of HttpRequest in io.netty.handler.codec.http.cors
Fields in io.netty.handler.codec.http.cors declared as HttpRequest Modifier and Type Field Description private HttpRequestCorsHandler. requestMethods in io.netty.handler.codec.http.cors with parameters of type HttpRequest Modifier and Type Method Description private static voidCorsHandler. forbidden(ChannelHandlerContext ctx, HttpRequest request)private voidCorsHandler. handlePreflight(ChannelHandlerContext ctx, HttpRequest request)private static booleanCorsHandler. isPreflightRequest(HttpRequest request)private static voidCorsHandler. respond(ChannelHandlerContext ctx, HttpRequest request, HttpResponse response) -
Uses of HttpRequest in io.netty.handler.codec.http.multipart
Classes in io.netty.handler.codec.http.multipart that implement HttpRequest Modifier and Type Class Description private static classHttpPostRequestEncoder.WrappedFullHttpRequestprivate static classHttpPostRequestEncoder.WrappedHttpRequestFields in io.netty.handler.codec.http.multipart declared as HttpRequest Modifier and Type Field Description private HttpRequestHttpPostMultipartRequestDecoder. requestRequest to decodeprivate HttpRequestHttpPostRequestEncoder. requestRequest to encodeprivate HttpRequestHttpPostRequestEncoder.WrappedHttpRequest. requestprivate HttpRequestHttpPostStandardRequestDecoder. requestRequest to decodeFields in io.netty.handler.codec.http.multipart with type parameters of type HttpRequest Modifier and Type Field Description private java.util.Map<HttpRequest,java.util.List<HttpData>>DefaultHttpDataFactory. requestFileDeleteMapKeep allHttpDatas until cleaning methods are called.Methods in io.netty.handler.codec.http.multipart that return HttpRequest Modifier and Type Method Description HttpRequestHttpPostRequestEncoder. finalizeRequest()Finalize the request by preparing the Header in the request and returns the request ready to be sent.
Once finalized, no data must be added.
If the request does not need chunk (isChunked() == false), this request is the only object to send to the remote server.HttpRequestHttpPostRequestEncoder.WrappedHttpRequest. setMethod(HttpMethod method)HttpRequestHttpPostRequestEncoder.WrappedHttpRequest. setProtocolVersion(HttpVersion version)HttpRequestHttpPostRequestEncoder.WrappedHttpRequest. setUri(java.lang.String uri)Methods in io.netty.handler.codec.http.multipart with parameters of type HttpRequest Modifier and Type Method Description voidDefaultHttpDataFactory. cleanRequestHttpData(HttpRequest request)voidHttpDataFactory. cleanRequestHttpData(HttpRequest request)Remove all InterfaceHttpData from virtual File storage from clean list for the requestvoidDefaultHttpDataFactory. cleanRequestHttpDatas(HttpRequest request)voidHttpDataFactory. cleanRequestHttpDatas(HttpRequest request)Deprecated.UseHttpDataFactory.cleanRequestHttpData(HttpRequest)instead.AttributeDefaultHttpDataFactory. createAttribute(HttpRequest request, java.lang.String name)AttributeDefaultHttpDataFactory. createAttribute(HttpRequest request, java.lang.String name, long definedSize)AttributeDefaultHttpDataFactory. createAttribute(HttpRequest request, java.lang.String name, java.lang.String value)AttributeHttpDataFactory. createAttribute(HttpRequest request, java.lang.String name)AttributeHttpDataFactory. createAttribute(HttpRequest request, java.lang.String name, long definedSize)AttributeHttpDataFactory. createAttribute(HttpRequest request, java.lang.String name, java.lang.String value)FileUploadDefaultHttpDataFactory. createFileUpload(HttpRequest request, java.lang.String name, java.lang.String filename, java.lang.String contentType, java.lang.String contentTransferEncoding, java.nio.charset.Charset charset, long size)FileUploadHttpDataFactory. createFileUpload(HttpRequest request, java.lang.String name, java.lang.String filename, java.lang.String contentType, java.lang.String contentTransferEncoding, java.nio.charset.Charset charset, long size)private java.util.List<HttpData>DefaultHttpDataFactory. getList(HttpRequest request)static booleanHttpPostRequestDecoder. isMultipart(HttpRequest request)Check if the given request is a multipart requestvoidDefaultHttpDataFactory. removeHttpDataFromClean(HttpRequest request, InterfaceHttpData data)voidHttpDataFactory. removeHttpDataFromClean(HttpRequest request, InterfaceHttpData data)Remove the given InterfaceHttpData from clean list (will not delete the file, except if the file is still a temporary one as setup at construction) -
Uses of HttpRequest in io.netty.handler.codec.http.websocketx
Methods in io.netty.handler.codec.http.websocketx with parameters of type HttpRequest Modifier and Type Method Description private static java.lang.StringWebSocketServerProtocolHandshakeHandler. getWebSocketLocation(ChannelPipeline cp, HttpRequest req, java.lang.String path)ChannelFutureWebSocketServerHandshaker. handshake(Channel channel, HttpRequest req)Performs the opening handshake.ChannelFutureWebSocketServerHandshaker. handshake(Channel channel, HttpRequest req, HttpHeaders responseHeaders, ChannelPromise promise)Performs the opening handshake When call this method you MUST NOT retain theHttpRequestwhich is passed in.WebSocketServerHandshakerWebSocketServerHandshakerFactory. newHandshaker(HttpRequest req)Instances a new handshakerprivate static voidWebSocketServerProtocolHandshakeHandler. sendHttpResponse(ChannelHandlerContext ctx, HttpRequest req, HttpResponse res) -
Uses of HttpRequest in io.netty.handler.codec.http2
Methods in io.netty.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.netty.handler.codec.http2 with parameters of type HttpRequest Modifier and Type Method Description java.util.Collection<java.lang.CharSequence>Http2ClientUpgradeCodec. setUpgradeHeaders(ChannelHandlerContext ctx, HttpRequest upgradeRequest) -
Uses of HttpRequest in io.netty.handler.codec.spdy
Methods in io.netty.handler.codec.spdy with parameters of type HttpRequest Modifier and Type Method Description private SpdySynStreamFrameSpdyHttpEncoder. createSynStreamFrame(HttpRequest httpRequest)
-