Uses of Enum Class
org.spincast.core.routing.HttpMethod
Package
Description
-
Uses of HttpMethod in org.spincast.core.exchange
Modifier and TypeMethodDescriptionRequestRequestContextAddon.getHttpMethod()
Gets the request'sHTTP method
.Modifier and TypeMethodDescriptionResponseRequestContextAddon.push
(HttpMethod httpMethod, String path, Map<String, List<String>> requestHeaders) IfHTTP/2
is used, you can push extra resources at the same time you response to a request. -
Uses of HttpMethod in org.spincast.core.filters
Modifier and TypeMethodDescriptionCorsFilterClient.getHttpMethod()
Gets the request's HTTP method.Modifier and TypeMethodDescriptionCorsFilterClient.getAllowedMethods()
The allowed HTTP methods, for the cors request.protected Set<HttpMethod>
SpincastFiltersDefault.getCorsDefaultAllowedMethods()
The HTTP methods allowed by default.Modifier and TypeMethodDescriptionprotected void
CorsFilterDefault.corsAddAllowMethods
(CorsFilterClient corsFilterClient, Set<HttpMethod> allowedMethods) protected boolean
CorsFilterDefault.isCorsRequestMethodHeaderValid
(CorsFilterClient corsFilterClient, Set<HttpMethod> allowedMethods) -
Uses of HttpMethod in org.spincast.core.routing
Modifier and TypeMethodDescriptionstatic HttpMethod
HttpMethod.fromStringValue
(String stringValue) Returns a HttpMethod from its String representation, ornull
if not found.ResourceToPush.getHttpMethod()
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 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.Modifier 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.ModifierConstructorDescriptionResourceToPush
(HttpMethod httpMethod, String path, Map<String, List<String>> requestHeaders) -
Uses of HttpMethod in org.spincast.core.server
Modifier and TypeMethodDescriptionServer.getHttpMethod
(Object exchange) Gets the HTTP method associated with the request. -
Uses of HttpMethod in org.spincast.plugins.openapi.bottomup
Modifier and TypeMethodDescriptionprotected HttpMethod
SpincastOpenApiManagerDefault.convertHttpMethodToSpincast
(io.swagger.v3.oas.models.PathItem.HttpMethod httpMethod) Modifier and TypeMethodDescriptionprotected void
SpincastOpenApiManagerDefault.addHttpMethodAnnotation
(List<Annotation> handlerMethodAnnotations, HttpMethod httpMethod) protected String
SpincastOpenApiManagerDefault.createHttpMethodAndPathKey
(HttpMethod method, String path) protected String
SpincastOpenApiManagerDefault.createOperationId
(Route<R> route, HttpMethod httpMethod) protected Annotation
SpincastOpenApiManagerDefault.getHttpMethodAnnotation
(HttpMethod httpMethod) void
SpincastOpenApiManager.ignoreRouteUsingHttpMethodAndPath
(HttpMethod method, String path) Ignore a route using its HTTP method and path.void
SpincastOpenApiManagerDefault.ignoreRouteUsingHttpMethodAndPath
(HttpMethod method, String path) protected boolean
SpincastOpenApiManagerDefault.isSupportedHttpMethod
(HttpMethod httpMethod) protected boolean
SpincastOpenApiManagerDefault.isToHideFromHttpMethodAndPath
(Route<R> route, HttpMethod httpMethod) -
Uses of HttpMethod in org.spincast.plugins.request
-
Uses of HttpMethod in org.spincast.plugins.response
-
Uses of HttpMethod in org.spincast.plugins.routing
Modifier and TypeMethodDescriptionRouteBuilderDefault.getHttpMethods()
RouteDefault.getHttpMethods()
Modifier and TypeMethodDescriptionprotected List<RouteHandlerMatch<R>>
SpincastRouter.createRegularHandlerMatches
(RoutingType routingType, Route<R> route, HttpMethod httpMethod, List<String> acceptedContentTypes, URL url, int position) Get the matches (filters and main handle) if the route matches the URL and HTTP method, or returns NULL otherwise.protected boolean
SpincastRouter.isRouteMatchHttpMethod
(Route<R> route, HttpMethod httpMethod) Validate if a route matches the given HTTP method.RouteBuilderDefault.methods
(HttpMethod... httpMethods) SpincastRouter.methods
(String path, HttpMethod... httpMethods) SpincastRouter.methods
(HttpMethod... httpMethods) Modifier and TypeMethodDescriptionRouteFactory.createRoute
(String id, boolean isWebsocketRoute, boolean isResourceRoute, StaticResource<R> staticResource, boolean isSpicastCoreRouteOrPluginRoute, Set<HttpMethod> httpMethods, String path, Set<RoutingType> routingTypes, List<Handler<R>> beforeFilters, Handler<R> mainHandler, List<Handler<R>> afterFilters, int position, Set<String> acceptedContentTypes, Set<String> filterIdsToSkip, boolean skipResources, Object specs, Object[] specsParameters, boolean specsIgnore, Set<String> classes) RouteBuilderDefault.methods
(Set<HttpMethod> httpMethods) SpincastRouter.methods
(String path, Set<HttpMethod> httpMethods) SpincastRouter.methods
(Set<HttpMethod> httpMethods) ModifierConstructorDescriptionRouteDefault
(String id, boolean isWebsocketRoute, boolean isResourceRoute, StaticResource<R> staticResource, boolean spicastCoreRouteOrPluginRoute, Set<HttpMethod> httpMethods, String path, Set<RoutingType> routingTypes, List<Handler<R>> beforeFilters, Handler<R> mainHandler, List<Handler<R>> afterFilters, int position, Set<String> acceptedContentTypes, Set<String> filterIdsToSkip, boolean skipResources, Object specs, Object[] specsParameters, boolean specsIgnore, Set<String> classes) Constructor -
Uses of HttpMethod in org.spincast.plugins.undertow
Modifier and TypeMethodDescriptionprotected Set<HttpMethod>
CorsHandlerDefault.getStaticResourceCorsAllowedMethods()
Those are the valid HTTP methods for requests to static resources served directly by the HTTP server.Modifier and TypeMethodDescriptionio.undertow.util.HttpString
SpincastUndertowServer.convertHttpMethodToUndertowHttpString
(HttpMethod httpMethod)