Uses of Enum Class
com.soklet.HttpMethod
Packages that use HttpMethod
-
Uses of HttpMethod in com.soklet
Subclasses with type arguments of type HttpMethod in com.sokletMethods in com.soklet that return HttpMethodModifier and TypeMethodDescriptionCorsPreflight.getAccessControlRequestMethod()
The HTTPAccess-Control-Request-Method
request header value.Cors.getHttpMethod()
The HTTP method for this request.Request.getHttpMethod()
The HTTP method for this request.ResourceMethod.getHttpMethod()
Returns the HTTP method for this Resource Method.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.Methods in com.soklet that return types with arguments of type HttpMethodModifier and TypeMethodDescriptionCorsPreflightResponse.getAccessControlAllowMethods()
Set of values for theAccess-Control-Allow-Methods
response header.static Set
<HttpMethod> HttpMethod.valuesAsSet()
ExposesHttpMethod.values()
as aSet
for convenience.Methods in com.soklet with parameters of type HttpMethodModifier and TypeMethodDescriptionCors.fromHeaders
(HttpMethod httpMethod, Map<String, Set<String>> headers) Extracts a CORS non-preflight request representation from the given HTTP request data.Request.Builder.httpMethod
(HttpMethod httpMethod) Request.Copier.httpMethod
(HttpMethod httpMethod) static Request.Builder
Request.with
(HttpMethod httpMethod, String uri) Acquires a builder forRequest
instances.static ResourceMethod
ResourceMethod.withComponents
(HttpMethod httpMethod, ResourcePathDeclaration resourcePathDeclaration, Method method, Boolean serverSentEventSource) Vends a Resource Method given its unique components.Method parameters in com.soklet with type arguments of type HttpMethodModifier and TypeMethodDescriptionCorsPreflightResponse.Builder.accessControlAllowMethods
(Set<HttpMethod> accessControlAllowMethods) CorsPreflightResponse.Copier.accessControlAllowMethods
(Consumer<Set<HttpMethod>> accessControlAllowMethodsConsumer) CorsPreflightResponse.Copier.accessControlAllowMethods
(Set<HttpMethod> accessControlAllowMethods) CorsAuthorizer.authorizePreflight
(Request request, CorsPreflight corsPreflight, Map<HttpMethod, ResourceMethod> availableResourceMethodsByHttpMethod) Authorizes a CORS preflight request.ResponseMarshaler.forMethodNotAllowed
(Request request, Set<HttpMethod> allowedHttpMethods) Prepares a response for a request that triggers an HTTP 405 Method Not Allowed.ResponseMarshaler.forOptions
(Request request, Set<HttpMethod> allowedHttpMethods) Prepares a response for an HTTPOPTIONS
request.ResponseMarshaler.Builder.MethodNotAllowedHandler.handle
(Request request, Set<HttpMethod> allowedHttpMethods) ResponseMarshaler.Builder.OptionsHandler.handle
(Request request, Set<HttpMethod> allowedHttpMethods) Constructors in com.soklet with parameters of type HttpMethodModifierConstructorDescriptionCors
(HttpMethod httpMethod, String origin) Constructs a CORS non-preflight request representation for the given HTTP request data.CorsPreflight
(String origin, HttpMethod accessControlRequestMethod) Constructs a CORS preflight request representation for the given HTTP request data.CorsPreflight
(String origin, HttpMethod accessControlRequestMethod, Set<String> accessControlRequestHeaders) Constructs a CORS preflight request representation for the given HTTP request data.