Uses of Class
spark.route.HttpMethod
-
Packages that use HttpMethod Package Description spark spark.http.matching spark.route spark.routematch -
-
Uses of HttpMethod in spark
Methods in spark with parameters of type HttpMethod Modifier and Type Method Description protected 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 HttpMethod Modifier and Type Field Description private HttpMethodRouteContext. httpMethodMethods in spark.http.matching that return HttpMethod Modifier and Type Method Description HttpMethodRouteContext. httpMethod()Methods in spark.http.matching with parameters of type HttpMethod Modifier and Type Method Description RouteContextRouteContext. withHttpMethod(HttpMethod httpMethod) -
Uses of HttpMethod in spark.route
Fields in spark.route declared as HttpMethod Modifier and Type Field Description (package private) HttpMethodRouteEntry. httpMethodFields in spark.route with type parameters of type HttpMethod Modifier and Type Field Description private static java.util.HashMap<java.lang.String,HttpMethod>HttpMethod. methodsMethods in spark.route that return HttpMethod Modifier and Type Method Description static HttpMethodHttpMethod. get(java.lang.String methodStr)Gets the HttpMethod corresponding to the provided string.static HttpMethodHttpMethod. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static HttpMethod[]HttpMethod. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in spark.route with parameters of type HttpMethod Modifier and Type Method Description private voidRoutes. add(HttpMethod method, java.lang.String url, java.lang.String acceptedType, java.lang.Object target)voidRoutes. add(HttpMethod httpMethod, FilterImpl filter)Add a filtervoidRoutes. add(HttpMethod httpMethod, RouteImpl route)Add a routeRouteMatchRoutes. find(HttpMethod httpMethod, java.lang.String path, java.lang.String acceptType)finds target for a requested routejava.util.List<RouteMatch>Routes. findMultiple(HttpMethod httpMethod, java.lang.String path, java.lang.String acceptType)Finds multiple targets for a requested route.RouteMatchSimpleRouteMatcher. findTargetForRequestedRoute(HttpMethod httpMethod, java.lang.String path, java.lang.String acceptType)Deprecated.private java.util.List<RouteEntry>Routes. findTargetsForRequestedRoute(HttpMethod httpMethod, java.lang.String path)java.util.List<RouteMatch>SimpleRouteMatcher. findTargetsForRequestedRoute(HttpMethod httpMethod, java.lang.String path, java.lang.String acceptType)Deprecated.(package private) booleanRouteEntry. matches(HttpMethod httpMethod, java.lang.String path)private booleanRoutes. removeRoute(HttpMethod httpMethod, java.lang.String path) -
Uses of HttpMethod in spark.routematch
Fields in spark.routematch declared as HttpMethod Modifier and Type Field Description private HttpMethodRouteMatch. httpMethodMethods in spark.routematch that return HttpMethod Modifier and Type Method Description HttpMethodRouteMatch. getHttpMethod()Constructors in spark.routematch with parameters of type HttpMethod Constructor Description RouteMatch(java.lang.Object target, java.lang.String matchUri, java.lang.String requestUri, java.lang.String acceptType, HttpMethod httpMethod)
-