Uses of Enum Class
org.refcodes.web.HttpMethod
-
Uses of HttpMethod in org.refcodes.web
Modifier and TypeMethodDescriptionstatic HttpMethod
HttpMethod.fromHttpMethod
(String aHttpMethod) From http method.AbstractHttpRequest.getHttpMethod()
Retrieves the HTTP-Method from the HTTP-Method property.BasicAuthRequest.getHttpMethod()
Retrieves the HTTP-Method from the HTTP-Method property.HttpMethodAccessor.getHttpMethod()
Retrieves the HTTP-Method from the HTTP-Method property.default HttpMethod
HttpMethodAccessor.HttpMethodProperty.letHttpMethod
(HttpMethod aHttpMethod) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenHttpMethod
(setter) as ofHttpMethodAccessor.HttpMethodMutator.setHttpMethod(HttpMethod)
and returns the very same value (getter).static HttpMethod
Returns the enum constant of this class with the specified name.static HttpMethod[]
HttpMethod.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptiondefault List<HttpMethod>
HeaderFields.getAllowMethods()
Gets the Allow entity-Header-FieldHeaderField.ALLOW
: "...default List<HttpMethod>
HeaderFields.putAllowMethods
(List<HttpMethod> aHttpMethods) Sets the Allow entity-Header-FieldHeaderField.ALLOW
: "...default List<HttpMethod>
HeaderFields.putAllowMethods
(HttpMethod... aHttpMethods) Sets the Allow entity-Header-FieldHeaderField.ALLOW
: "...default List<HttpMethod>
HeaderFields.removeAllowMethods()
Removes the Allow entity-Header-FieldHeaderField.ALLOW
: "...Modifier and TypeMethodDescriptiondefault HttpMethod
HttpMethodAccessor.HttpMethodProperty.letHttpMethod
(HttpMethod aHttpMethod) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenHttpMethod
(setter) as ofHttpMethodAccessor.HttpMethodMutator.setHttpMethod(HttpMethod)
and returns the very same value (getter).BasicAuthObserver.onBasicAuthRequest
(InetSocketAddress aLocalAddress, InetSocketAddress aRemoteAddress, HttpMethod aHttpMethod, String aLocator, BasicAuthCredentials aCredentials, String aRealm) Invoked upon an incoming HTTP Basic-Authentication requests.default List<HttpMethod>
HeaderFields.putAllowMethods
(HttpMethod... aHttpMethods) Sets the Allow entity-Header-FieldHeaderField.ALLOW
: "...void
HttpMethodAccessor.HttpMethodMutator.setHttpMethod
(HttpMethod aHttpMethod) Sets the HTTP-Method for the HTTP-Method property.default B
HeaderFields.withAllowMethods
(HttpMethod... aHttpMethods) Sets the Allow entity-Header-FieldHeaderField.ALLOW
: "...HttpMethodAccessor.HttpMethodBuilder.withHttpMethod
(HttpMethod aHttpMethod) Sets the HTTP-Method for the HTTP-Method property.Modifier and TypeMethodDescriptiondefault List<HttpMethod>
HeaderFields.putAllowMethods
(List<HttpMethod> aHttpMethods) Sets the Allow entity-Header-FieldHeaderField.ALLOW
: "...default B
HeaderFields.withAllowMethods
(List<HttpMethod> aHttpMethods) Sets the Allow entity-Header-FieldHeaderField.ALLOW
: "...ModifierConstructorDescriptionAbstractHttpRequest
(HttpMethod aHttpMethod, Url aUrl) Constructs aHttpRequest
with all required attributes.AbstractHttpRequest
(HttpMethod aHttpMethod, Url aUrl, RequestHeaderFields aHeaderFields) Constructs aHttpRequest
with all required attributes.BasicAuthRequest
(HttpMethod aHttpMethod, Url aUrl, BasicAuthCredentials aCredentials) Constructs aBasicAuthRequest
instance with required attributes.HttpClientRequest
(HttpMethod aHttpMethod, Url aUrl, int aRedirectDepth, MediaTypeFactoryLookup aMediaTypeFactoryLookup) Instantiates a new http client request impl.HttpClientRequest
(HttpMethod aHttpMethod, Url aUrl, Object aRequest, int aRedirectDepth, MediaTypeFactoryLookup aMediaTypeFactoryLookup) Instantiates a new http client request impl.HttpClientRequest
(HttpMethod aHttpMethod, Url aUrl, Object aRequest, MediaTypeFactoryLookup aMediaTypeFactoryLookup) Instantiates a new http client request impl.HttpClientRequest
(HttpMethod aHttpMethod, Url aUrl, MediaTypeFactoryLookup aMediaTypeFactoryLookup) Instantiates a new http client request impl.HttpClientRequest
(HttpMethod aHttpMethod, Url aUrl, RequestHeaderFields aHeaderFields, Object aRequest, int aRedirectDepth, MediaTypeFactoryLookup aMediaTypeFactoryLookup) Instantiates a new http client request impl.HttpClientRequest
(HttpMethod aHttpMethod, Url aUrl, RequestHeaderFields aHeaderFields, Object aRequest, MediaTypeFactoryLookup aMediaTypeFactoryLookup) Instantiates a new http client request impl.HttpServerRequest
(HttpMethod aHttpMethod, Url aUrl, RequestHeaderFields aHeaderFields, InputStream aHttpInputStream, MediaTypeFactoryLookup aMediaTypeFactoryLookup) Constructs aHttpServerRequest
with all required attributes.