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 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 HttpMethod Modifier and Type Field Description private HttpMethod
RouteContext. httpMethod
Methods in spark.http.matching that return HttpMethod Modifier and Type Method Description HttpMethod
RouteContext. httpMethod()
Methods in spark.http.matching with parameters of type HttpMethod Modifier and Type Method Description RouteContext
RouteContext. withHttpMethod(HttpMethod httpMethod)
-
Uses of HttpMethod in spark.route
Fields in spark.route declared as HttpMethod Modifier and Type Field Description (package private) HttpMethod
RouteEntry. httpMethod
Fields in spark.route with type parameters of type HttpMethod Modifier and Type Field Description private static java.util.HashMap<java.lang.String,HttpMethod>
HttpMethod. methods
Methods in spark.route that return HttpMethod Modifier and Type Method Description static HttpMethod
HttpMethod. get(java.lang.String methodStr)
Gets the HttpMethod corresponding to the provided string.static HttpMethod
HttpMethod. 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 void
Routes. add(HttpMethod method, java.lang.String url, java.lang.String acceptedType, java.lang.Object target)
void
Routes. add(HttpMethod httpMethod, FilterImpl filter)
Add a filtervoid
Routes. add(HttpMethod httpMethod, RouteImpl route)
Add a routeRouteMatch
Routes. 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.RouteMatch
SimpleRouteMatcher. 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) boolean
RouteEntry. matches(HttpMethod httpMethod, java.lang.String path)
private boolean
Routes. 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 HttpMethod
RouteMatch. httpMethod
Methods in spark.routematch that return HttpMethod Modifier and Type Method Description HttpMethod
RouteMatch. 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)
-