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-Methodrequest 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 HttpMethodReturns 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-Methodsresponse header.static Set<HttpMethod> HttpMethod.valuesAsSet()ExposesHttpMethod.values()as aSetfor 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.Copier.httpMethod(HttpMethod httpMethod) Request.PathBuilder.httpMethod(HttpMethod httpMethod) Request.RawBuilder.httpMethod(HttpMethod httpMethod) static CorsPreflightCorsPreflight.with(String origin, HttpMethod accessControlRequestMethod) Acquires a CORS preflight request representation for the given HTTP request data.static CorsPreflightCorsPreflight.with(String origin, HttpMethod accessControlRequestMethod, Set<String> accessControlRequestHeaders) Acquires a CORS preflight request representation for the given HTTP request data.static ResourceMethodResourceMethod.withComponents(HttpMethod httpMethod, ResourcePathDeclaration resourcePathDeclaration, Method method, Boolean serverSentEventSource) Vends a Resource Method given its unique components.static CorsCors.withOrigin(HttpMethod httpMethod, String origin) Acquires a CORS non-preflight request representation for the given HTTP request data.static Request.PathBuilderRequest.withPath(HttpMethod httpMethod, String path) Acquires a builder forRequestinstances from already-decoded path and query components - useful for manual construction, e.g. integration tests.static Request.RawBuilderRequest.withRawUrl(HttpMethod httpMethod, String rawUrl) Acquires a builder forRequestinstances from the URL provided by clients on a "raw" HTTP/1.1 request line.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 HTTPOPTIONSrequest.ResponseMarshaler.Builder.MethodNotAllowedHandler.handle(Request request, Set<HttpMethod> allowedHttpMethods) Prepares a response for a request that triggers an HTTP 405 Method Not Allowed.ResponseMarshaler.Builder.OptionsHandler.handle(Request request, Set<HttpMethod> allowedHttpMethods) Prepares a response for an HTTPOPTIONSrequest.