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 voidRoutable.addFilter(HttpMethod httpMethod, FilterImpl filter) Adds a filtervoidService.addFilter(HttpMethod httpMethod, FilterImpl filter) protected abstract voidRoutable.addRoute(HttpMethod httpMethod, RouteImpl route) Adds a routevoidService.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 HttpMethodGets the HttpMethod corresponding to the provided string.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 spark.route with parameters of type HttpMethodModifier and TypeMethodDescriptionprivate voidRoutes.add(HttpMethod method, String url, String acceptedType, Object target) voidRoutes.add(HttpMethod httpMethod, FilterImpl filter) Add a filtervoidRoutes.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) booleanRouteEntry.matches(HttpMethod httpMethod, String path) private booleanRoutes.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)