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/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
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 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
Methods in org.spincast.core.routing that return HttpMethodModifier 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.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. -
Uses of HttpMethod in org.spincast.plugins.openapi.bottomup
Methods in org.spincast.plugins.openapi.bottomup that return HttpMethodModifier and TypeMethodDescriptionprotected HttpMethod
SpincastOpenApiManagerDefault.convertHttpMethodToSpincast
(io.swagger.v3.oas.models.PathItem.HttpMethod httpMethod) Methods in org.spincast.plugins.openapi.bottomup with parameters of type HttpMethodModifier 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
Methods in org.spincast.plugins.request that return HttpMethod -
Uses of HttpMethod in org.spincast.plugins.response
Methods in org.spincast.plugins.response with parameters of type HttpMethod -
Uses of HttpMethod in org.spincast.plugins.routing
Methods in org.spincast.plugins.routing that return types with arguments of type HttpMethodModifier and TypeMethodDescriptionRouteBuilderDefault.getHttpMethods()
RouteDefault.getHttpMethods()
Methods in org.spincast.plugins.routing with parameters of type HttpMethodModifier 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) Method parameters in org.spincast.plugins.routing with type arguments of type HttpMethodModifier 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) Constructor parameters in org.spincast.plugins.routing with type arguments of type HttpMethodModifierConstructorDescriptionRouteDefault
(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
Methods in org.spincast.plugins.undertow that return HttpMethodMethods in org.spincast.plugins.undertow that return types with arguments of type HttpMethodModifier and TypeMethodDescriptionprotected Set<HttpMethod>
CorsHandlerDefault.getStaticResourceCorsAllowedMethods()
Those are the valid HTTP methods for requests to static resources served directly by the HTTP server.Methods in org.spincast.plugins.undertow with parameters of type HttpMethodModifier and TypeMethodDescriptionio.undertow.util.HttpString
SpincastUndertowServer.convertHttpMethodToUndertowHttpString
(HttpMethod httpMethod)