Uses of Enum Class
spark.route.HttpMethod
Packages that use HttpMethod
-
Uses of HttpMethod in spark
Methods in spark with parameters of type HttpMethodModifier and TypeMethodDescriptionprotected abstract void
Routable.addFilter
(HttpMethod httpMethod, FilterImpl filter) Adds a filtervoid
Service.addFilter
(HttpMethod httpMethod, FilterImpl filter) protected abstract void
Routable.addRoute
(HttpMethod httpMethod, RouteImpl route) Adds a routevoid
Service.addRoute
(HttpMethod httpMethod, RouteImpl route) -
Uses of HttpMethod in spark.http.matching
Fields in spark.http.matching declared as HttpMethodMethods in spark.http.matching that return HttpMethodMethods in spark.http.matching with parameters of type HttpMethod -
Uses of HttpMethod in spark.route
Fields in spark.route declared as HttpMethodFields in spark.route with type parameters of type HttpMethodMethods in spark.route that return HttpMethodModifier and TypeMethodDescriptionstatic HttpMethod
Gets the HttpMethod corresponding to the provided string.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 spark.route with parameters of type HttpMethodModifier and TypeMethodDescriptionprivate void
Routes.add
(HttpMethod method, String url, String acceptedType, Object target) void
Routes.add
(HttpMethod httpMethod, FilterImpl filter) Add a filtervoid
Routes.add
(HttpMethod httpMethod, RouteImpl route) Add a routeRoutes.find
(HttpMethod httpMethod, String path, String acceptType) finds target for a requested routeRoutes.findMultiple
(HttpMethod httpMethod, String path, String acceptType) Finds multiple targets for a requested route.SimpleRouteMatcher.findTargetForRequestedRoute
(HttpMethod httpMethod, String path, String acceptType) Deprecated.private List
<RouteEntry> Routes.findTargetsForRequestedRoute
(HttpMethod httpMethod, String path) SimpleRouteMatcher.findTargetsForRequestedRoute
(HttpMethod httpMethod, String path, String acceptType) Deprecated.(package private) boolean
RouteEntry.matches
(HttpMethod httpMethod, String path) private boolean
Routes.removeRoute
(HttpMethod httpMethod, String path) -
Uses of HttpMethod in spark.routematch
Fields in spark.routematch declared as HttpMethodMethods in spark.routematch that return HttpMethodConstructors in spark.routematch with parameters of type HttpMethodModifierConstructorDescriptionRouteMatch
(Object target, String matchUri, String requestUri, String acceptType, HttpMethod httpMethod)