Package | Description |
---|---|
spark | |
spark.route |
Modifier and Type | Class and Description |
---|---|
class |
ResponseTransformerRouteImpl
A ResponseTransformerRouteImpl is built up by a path (for url-matching) and the
implementation of the 'render' method.
|
class |
TemplateViewRouteImpl
A TemplateViewRoute is built up by a path (for url-matching) and the implementation of the 'render' method.
|
Modifier and Type | Method and Description |
---|---|
static RouteImpl |
RouteImpl.create(String path,
Route route)
Wraps the route in RouteImpl
|
static RouteImpl |
RouteImpl.create(String path,
String acceptType,
Route route)
Wraps the route in RouteImpl
|
RouteImpl |
RouteImpl.withPrefix(String prefix)
Prefix the path (used for
Service.path(java.lang.String, spark.RouteGroup) ) |
Modifier and Type | Method and Description |
---|---|
void |
Service.addRoute(HttpMethod httpMethod,
RouteImpl route) |
void |
Service.addRoute(String httpMethod,
RouteImpl route)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
Routes.add(HttpMethod httpMethod,
RouteImpl route)
Add a route
|
Copyright © 2020. All rights reserved.