Uses of Class
spark.RouteImpl
Packages that use RouteImpl
-
Uses of RouteImpl in spark
Modifier and TypeClassDescriptionclass
A ResponseTransformerRouteImpl is built up by a path (for url-matching) and the implementation of the 'render' method.class
A TemplateViewRoute is built up by a path (for url-matching) and the implementation of the 'render' method.Modifier and TypeMethodDescriptionstatic RouteImpl
Wraps the route in RouteImplstatic RouteImpl
Wraps the route in RouteImplprivate RouteImpl
Routable.createRouteImpl
(String path, String acceptType, Route route) Create route implementation or use default response transformerprivate RouteImpl
Routable.createRouteImpl
(String path, Route route) Create route implementation or use default response transformerRouteImpl.withPrefix
(String prefix) Prefix the path (used forService.path(java.lang.String, spark.RouteGroup)
)Modifier and TypeMethodDescriptionprotected abstract void
Deprecated.protected abstract void
Routable.addRoute
(HttpMethod httpMethod, RouteImpl route) Adds a routevoid
Deprecated.void
Service.addRoute
(HttpMethod httpMethod, RouteImpl route) -
Uses of RouteImpl in spark.route
Methods in spark.route with parameters of type RouteImplModifier and TypeMethodDescriptionvoid
Routes.add
(HttpMethod httpMethod, RouteImpl route) Add a route