Uses of Interface
spark.Route
Packages that use Route
-
Uses of Route in spark
Modifier and TypeClassDescriptionclassA ResponseTransformerRouteImpl is built up by a path (for url-matching) and the implementation of the 'render' method.classRouteImpl is created from a path, acceptType and Route.classA TemplateViewRoute is built up by a path (for url-matching) and the implementation of the 'render' method.Modifier and TypeMethodDescriptionstatic voidMap the route for HTTP CONNECT requestsstatic voidSpark.connect(String path, String acceptType, Route route, ResponseTransformer transformer) Map the route for HTTP CONNECT requestsstatic voidMap the route for HTTP CONNECT requestsstatic voidSpark.connect(String path, Route route, ResponseTransformer transformer) Map the route for HTTP CONNECT requestsstatic ResponseTransformerRouteImplResponseTransformerRouteImpl.create(String path, String acceptType, Route route, ResponseTransformer transformer) static ResponseTransformerRouteImplResponseTransformerRouteImpl.create(String path, Route route, ResponseTransformer transformer) static RouteImplWraps the route in RouteImplstatic RouteImplWraps the route in RouteImplstatic voidMap the route for HTTP DELETE requestsstatic voidSpark.delete(String path, String acceptType, Route route, ResponseTransformer transformer) Map the route for HTTP DELETE requestsstatic voidMap the route for HTTP DELETE requestsstatic voidSpark.delete(String path, Route route, ResponseTransformer transformer) Map the route for HTTP DELETE requestsstatic voidMap the route for HTTP GET requestsstatic voidSpark.get(String path, String acceptType, Route route, ResponseTransformer transformer) Map the route for HTTP GET requestsstatic voidMap the route for HTTP GET requestsstatic voidSpark.get(String path, Route route, ResponseTransformer transformer) Map the route for HTTP GET requestsstatic voidMap the route for HTTP HEAD requestsstatic voidSpark.head(String path, String acceptType, Route route, ResponseTransformer transformer) Map the route for HTTP HEAD requestsstatic voidMap the route for HTTP HEAD requestsstatic voidSpark.head(String path, Route route, ResponseTransformer transformer) Map the route for HTTP HEAD requestsvoidService.internalServerError(Route route) Maps 500 internal server errors to the provided route.static voidSpark.internalServerError(Route route) Maps 500 internal server errors to the provided route.voidMaps 404 errors to the provided route.static voidMaps 404 Not Found errors to the provided route.static voidMap the route for HTTP OPTIONS requestsstatic voidSpark.options(String path, String acceptType, Route route, ResponseTransformer transformer) Map the route for HTTP OPTIONS requestsstatic voidMap the route for HTTP OPTIONS requestsstatic voidSpark.options(String path, Route route, ResponseTransformer transformer) Map the route for HTTP OPTIONS requestsstatic voidMap the route for HTTP PATCH requestsstatic voidSpark.patch(String path, String acceptType, Route route, ResponseTransformer transformer) Map the route for HTTP PATCH requestsstatic voidMap the route for HTTP PATCH requestsstatic voidSpark.patch(String path, Route route, ResponseTransformer transformer) Map the route for HTTP PATCH requestsstatic voidMap the route for HTTP POST requestsstatic voidSpark.post(String path, String acceptType, Route route, ResponseTransformer transformer) Map the route for HTTP POST requestsstatic voidMap the route for HTTP POST requestsstatic voidSpark.post(String path, Route route, ResponseTransformer transformer) Map the route for HTTP POST requestsstatic voidMap the route for HTTP PUT requestsstatic voidSpark.put(String path, String acceptType, Route route, ResponseTransformer transformer) Map the route for HTTP PUT requestsstatic voidMap the route for HTTP PUT requestsstatic voidSpark.put(String path, Route route, ResponseTransformer transformer) Map the route for HTTP PUT requestsstatic voidMap the route for HTTP TRACE requestsstatic voidSpark.trace(String path, String acceptType, Route route, ResponseTransformer transformer) Map the route for HTTP TRACE requestsstatic voidMap the route for HTTP TRACE requestsstatic voidSpark.trace(String path, Route route, ResponseTransformer transformer) Map the route for HTTP TRACE requestsModifierConstructorDescriptionprotectedResponseTransformerRouteImpl(String path, String acceptType, Route route)