Uses of Class
io.netty.handler.codec.http.HttpMethod
Packages that use HttpMethod
Package
Description
Encoder, decoder and their related message types for HTTP.
This package contains Cross Origin Resource Sharing (CORS) related classes.
HTTP multipart support.
Handlers for sending and receiving HTTP/2 frames.
An RTSP
extension based on the HTTP codec.
-
Uses of HttpMethod in io.netty.handler.codec.http
Classes in io.netty.handler.codec.http that implement interfaces with type arguments of type HttpMethodModifier and TypeClassDescriptionclassFields in io.netty.handler.codec.http declared as HttpMethodModifier and TypeFieldDescriptionstatic final HttpMethodHttpMethod.CONNECTThis specification reserves the method name CONNECT for use with a proxy that can dynamically switch to being a tunnelstatic final HttpMethodHttpMethod.DELETEThe DELETE method requests that the origin server delete the resource identified by the Request-URI.static final HttpMethodHttpMethod.GETThe GET method means retrieve whatever information (in the form of an entity) is identified by the Request-URI.static final HttpMethodHttpMethod.HEADThe HEAD method is identical to GET except that the server MUST NOT return a message-body in the response.private HttpMethodDefaultHttpRequest.methodprivate HttpMethodHttpServerCodec.HttpServerResponseEncoder.methodstatic final HttpMethodHttpMethod.OPTIONSThe OPTIONS method represents a request for information about the communication options available on the request/response chain identified by the Request-URI.static final HttpMethodHttpMethod.PATCHThe PATCH method requests that a set of changes described in the request entity be applied to the resource identified by the Request-URI.static final HttpMethodHttpMethod.POSTThe POST method is used to request that the origin server accept the entity enclosed in the request as a new subordinate of the resource identified by the Request-URI in the Request-Line.static final HttpMethodHttpMethod.PUTThe PUT method requests that the enclosed entity be stored under the supplied Request-URI.static final HttpMethodHttpMethod.TRACEThe TRACE method is used to invoke a remote, application-layer loop- back of the request message.Fields in io.netty.handler.codec.http with type parameters of type HttpMethodModifier and TypeFieldDescriptionprivate static final HttpMethod.EnumNameMap<HttpMethod> HttpMethod.methodMapprivate final Queue<HttpMethod> HttpClientCodec.queueA queue that is used for correlating a request and a response.private final Queue<HttpMethod> HttpServerCodec.queueA queue that is used for correlating a request and a response.Methods in io.netty.handler.codec.http that return HttpMethodModifier and TypeMethodDescriptionDefaultHttpRequest.getMethod()Deprecated.HttpObjectAggregator.AggregatedFullHttpRequest.getMethod()HttpRequest.getMethod()Deprecated.DefaultHttpRequest.method()HttpObjectAggregator.AggregatedFullHttpRequest.method()HttpRequest.method()Returns theHttpMethodof thisHttpRequest.static HttpMethodReturns theHttpMethodrepresented by the specified name.Methods in io.netty.handler.codec.http with parameters of type HttpMethodModifier and TypeMethodDescriptionintHttpMethod.compareTo(HttpMethod o) DefaultFullHttpRequest.setMethod(HttpMethod method) DefaultHttpRequest.setMethod(HttpMethod method) FullHttpRequest.setMethod(HttpMethod method) HttpObjectAggregator.AggregatedFullHttpRequest.setMethod(HttpMethod method) HttpRequest.setMethod(HttpMethod method) Set theHttpMethodof thisHttpRequest.(package private) static voidHttpUtil.validateRequestLineTokens(HttpMethod method, String uri) Constructors in io.netty.handler.codec.http with parameters of type HttpMethodModifierConstructorDescriptionDefaultFullHttpRequest(HttpVersion httpVersion, HttpMethod method, String uri) Create a full HTTP response with the given HTTP version, method, and URI.DefaultFullHttpRequest(HttpVersion httpVersion, HttpMethod method, String uri, boolean validateHeaders) Deprecated.Use theDefaultFullHttpRequest(HttpVersion, HttpMethod, String, ByteBuf, HttpHeadersFactory, HttpHeadersFactory)constructor instead.DefaultFullHttpRequest(HttpVersion httpVersion, HttpMethod method, String uri, ByteBuf content) Create a full HTTP response with the given HTTP version, method, URI, and contents.DefaultFullHttpRequest(HttpVersion httpVersion, HttpMethod method, String uri, ByteBuf content, boolean validateHeaders) Deprecated.Use theDefaultFullHttpRequest(HttpVersion, HttpMethod, String, ByteBuf, HttpHeadersFactory, HttpHeadersFactory)constructor instead.DefaultFullHttpRequest(HttpVersion httpVersion, HttpMethod method, String uri, ByteBuf content, HttpHeadersFactory headersFactory, HttpHeadersFactory trailersFactory) Create a full HTTP response with the given HTTP version, method, URI, contents, and factories for creating headers and trailers.DefaultFullHttpRequest(HttpVersion httpVersion, HttpMethod method, String uri, ByteBuf content, HttpHeaders headers, HttpHeaders trailingHeader) Create a full HTTP response with the given HTTP version, method, URI, contents, and header and trailer objects.DefaultFullHttpRequest(HttpVersion httpVersion, HttpMethod method, String uri, ByteBuf content, HttpHeaders headers, HttpHeaders trailingHeader, boolean validateRequestLine) Create a full HTTP response with the given HTTP version, method, URI, contents, and header and trailer objects.DefaultHttpRequest(HttpVersion httpVersion, HttpMethod method, String uri) Creates a new instance.DefaultHttpRequest(HttpVersion httpVersion, HttpMethod method, String uri, boolean validateHeaders) Deprecated.Prefer theDefaultHttpRequest(HttpVersion, HttpMethod, String)constructor instead, to always have header validation enabled.DefaultHttpRequest(HttpVersion httpVersion, HttpMethod method, String uri, HttpHeaders headers) Creates a new instance.DefaultHttpRequest(HttpVersion httpVersion, HttpMethod method, String uri, HttpHeadersFactory headersFactory) Creates a new instance.DefaultHttpRequest(HttpVersion httpVersion, HttpMethod method, String uri, HttpHeaders headers, boolean validateRequestLine) Creates a new instance. -
Uses of HttpMethod in io.netty.handler.codec.http.cors
Fields in io.netty.handler.codec.http.cors with type parameters of type HttpMethodModifier and TypeFieldDescriptionprivate final Set<HttpMethod> CorsConfig.allowedRequestMethods(package private) final Set<HttpMethod> CorsConfigBuilder.requestMethodsMethods in io.netty.handler.codec.http.cors that return types with arguments of type HttpMethodModifier and TypeMethodDescriptionCorsConfig.allowedRequestMethods()Returns the allowed set of Request Methods.Methods in io.netty.handler.codec.http.cors with parameters of type HttpMethodModifier and TypeMethodDescriptionCorsConfig.Builder.allowedRequestMethods(HttpMethod... methods) Deprecated.CorsConfigBuilder.allowedRequestMethods(HttpMethod... methods) Specifies the allowed set of HTTP Request Methods that should be returned in the CORS 'Access-Control-Request-Method' response header. -
Uses of HttpMethod in io.netty.handler.codec.http.multipart
Methods in io.netty.handler.codec.http.multipart that return HttpMethodModifier and TypeMethodDescriptionHttpPostRequestEncoder.WrappedHttpRequest.getMethod()HttpPostRequestEncoder.WrappedHttpRequest.method()Methods in io.netty.handler.codec.http.multipart with parameters of type HttpMethodModifier and TypeMethodDescriptionHttpPostRequestEncoder.WrappedFullHttpRequest.setMethod(HttpMethod method) HttpPostRequestEncoder.WrappedHttpRequest.setMethod(HttpMethod method) -
Uses of HttpMethod in io.netty.handler.codec.http2
Fields in io.netty.handler.codec.http2 declared as HttpMethodModifier and TypeFieldDescriptionstatic final HttpMethodHttpConversionUtil.OUT_OF_MESSAGE_SEQUENCE_METHODThis will be the method used forHttpRequestobjects generated out of the HTTP message flow defined in [RFC 7540], Section 8.1Methods in io.netty.handler.codec.http2 with parameters of type HttpMethodModifier and TypeMethodDescriptionprivate static HpackHeaderFieldHpackStaticTable.newPseudoHeaderMethodField(HttpMethod method) -
Uses of HttpMethod in io.netty.handler.codec.rtsp
Fields in io.netty.handler.codec.rtsp declared as HttpMethodModifier and TypeFieldDescriptionstatic final HttpMethodRtspMethods.ANNOUNCEThe ANNOUNCE posts the description of a presentation or media object identified by the request URL to a server, or updates the client-side session description in real-time.static final HttpMethodRtspMethods.DESCRIBEThe DESCRIBE getMethod retrieves the description of a presentation or media object identified by the request URL from a server.static final HttpMethodRtspMethods.GET_PARAMETERThe GET_PARAMETER request retrieves the value of a parameter of a presentation or stream specified in the URI.static final HttpMethodRtspMethods.OPTIONSThe OPTIONS getMethod represents a request for information about the communication options available on the request/response chain identified by the Request-URI.static final HttpMethodRtspMethods.PAUSEThe PAUSE request causes the stream delivery to be interrupted (halted) temporarily.static final HttpMethodRtspMethods.PLAYThe PLAY getMethod tells the server to start sending data via the mechanism specified in SETUP.static final HttpMethodRtspMethods.RECORDThe RECORD getMethod initiates recording a range of media data according to the presentation description.static final HttpMethodRtspMethods.REDIRECTThe REDIRECT request informs the client that it must connect to another server location.static final HttpMethodRtspMethods.SET_PARAMETERThe SET_PARAMETER requests to set the value of a parameter for a presentation or stream specified by the URI.static final HttpMethodRtspMethods.SETUPThe SETUP request for a URI specifies the transport mechanism to be used for the streamed media.static final HttpMethodRtspMethods.TEARDOWNThe TEARDOWN request stops the stream delivery for the given URI, freeing the resources associated with it.Fields in io.netty.handler.codec.rtsp with type parameters of type HttpMethodModifier and TypeFieldDescriptionprivate static final Map<String, HttpMethod> RtspMethods.methodMapMethods in io.netty.handler.codec.rtsp that return HttpMethodModifier and TypeMethodDescriptionstatic HttpMethodReturns theHttpMethodrepresented by the specified name.
HttpRequest.method()instead.