Uses of Enum Class
com.soklet.core.HttpMethod
Packages that use HttpMethod
Package
Description
Core Soklet contracts and functionality.
Default implementations of Soklet contracts.
-
Uses of HttpMethod in com.soklet.core
Subclasses with type arguments of type HttpMethod in com.soklet.coreMethods in com.soklet.core 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.core 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()
Methods in com.soklet.core 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.core 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.Constructors in com.soklet.core 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. -
Uses of HttpMethod in com.soklet.core.impl
Method parameters in com.soklet.core.impl with type arguments of type HttpMethodModifier and TypeMethodDescriptionAllOriginsCorsAuthorizer.authorizePreflight
(Request request, CorsPreflight corsPreflight, Map<HttpMethod, ResourceMethod> availableResourceMethodsByHttpMethod) NoOriginsCorsAuthorizer.authorizePreflight
(Request request, CorsPreflight corsPreflight, Map<HttpMethod, ResourceMethod> availableResourceMethodsByHttpMethod) WhitelistedOriginsCorsAuthorizer.authorizePreflight
(Request request, CorsPreflight corsPreflight, Map<HttpMethod, ResourceMethod> availableResourceMethodsByHttpMethod) DefaultResponseMarshaler.forMethodNotAllowed
(Request request, Set<HttpMethod> allowedHttpMethods) DefaultResponseMarshaler.forOptions
(Request request, Set<HttpMethod> allowedHttpMethods)