| Package | Description |
|---|---|
| spark |
| Modifier and Type | Method and Description |
|---|---|
void |
Service.path(String path,
RouteGroup routeGroup)
Add a path-prefix to the routes declared in the routeGroup
The path() method adds a path-fragment to a path-stack, adds
routes from the routeGroup, then pops the path-fragment again.
|
static void |
Spark.path(String path,
RouteGroup routeGroup)
Add a path-prefix to the routes declared in the routeGroup
The path() method adds a path-fragment to a path-stack, adds
routes from the routeGroup, then pops the path-fragment again.
|
Copyright © 2020. All rights reserved.