Uses of Enum Class
org.spincast.core.routing.HttpMethod
Packages that use HttpMethod
Package
Description
-
Uses of HttpMethod in org.spincast.core.exchange
Methods in org.spincast.core.exchange that return HttpMethodModifier and TypeMethodDescriptionRequestRequestContextAddon.getHttpMethod()Gets the request'sHTTP method.Methods in org.spincast.core.exchange with parameters of type HttpMethodModifier and TypeMethodDescriptionResponseRequestContextAddon.push(HttpMethod httpMethod, String path, Map<String, List<String>> requestHeaders) IfHTTP/2is used, you can push extra resources at the same time you response to a request. -
Uses of HttpMethod in org.spincast.core.filters
Methods in org.spincast.core.filters that return HttpMethodModifier and TypeMethodDescriptionCorsFilterClient.getHttpMethod()Gets the request's HTTP method.Methods in org.spincast.core.filters that return types with arguments of type HttpMethodModifier and TypeMethodDescriptionCorsFilterClient.getAllowedMethods()The allowed HTTP methods, for the cors request.protected Set<HttpMethod>SpincastFiltersDefault.getCorsDefaultAllowedMethods()The HTTP methods allowed by default.Method parameters in org.spincast.core.filters with type arguments of type HttpMethodModifier and TypeMethodDescriptionprotected voidCorsFilterDefault.corsAddAllowMethods(CorsFilterClient corsFilterClient, Set<HttpMethod> allowedMethods) protected booleanCorsFilterDefault.isCorsRequestMethodHeaderValid(CorsFilterClient corsFilterClient, Set<HttpMethod> allowedMethods) -
Uses of HttpMethod in org.spincast.core.routing
Methods in org.spincast.core.routing that return HttpMethodModifier and TypeMethodDescriptionstatic HttpMethodHttpMethod.fromStringValue(String stringValue) Returns a HttpMethod from its String representation, ornullif not found.ResourceToPush.getHttpMethod()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 org.spincast.core.routing that return types with arguments of type HttpMethodMethods in org.spincast.core.routing with parameters of type HttpMethodModifier and TypeMethodDescriptionRouteBuilder.methods(HttpMethod... httpMethods) Adds the specified HTTP methods as being supported.Router.methods(String path, HttpMethod... httpMethods) Starts the creation of a route matching the specified HTTP methods.Router.methods(HttpMethod... httpMethods) Starts the creation of a route matching the specified HTTP methods and on any path.Method parameters in org.spincast.core.routing with type arguments of type HttpMethodModifier and TypeMethodDescriptionRouteBuilder.methods(Set<HttpMethod> httpMethods) Adds the specified HTTP methods as being supported.Router.methods(String path, Set<HttpMethod> httpMethods) Starts the creation of a route matching the specified HTTP methods.Router.methods(Set<HttpMethod> httpMethods) Starts the creation of a route matching the specified HTTP methods and on any path.Constructors in org.spincast.core.routing with parameters of type HttpMethodModifierConstructorDescriptionResourceToPush(HttpMethod httpMethod, String path, Map<String, List<String>> requestHeaders) -
Uses of HttpMethod in org.spincast.core.server
Methods in org.spincast.core.server that return HttpMethodModifier and TypeMethodDescriptionServer.getHttpMethod(Object exchange) Gets the HTTP method associated with the request.