Package | Description |
---|---|
spark |
Modifier and Type | Class and Description |
---|---|
class |
ResponseTransformerRoute
A ResponseTransformerRoute is built up by a path (for url-matching) and the
implementation of the 'render' method.
|
class |
TemplateViewRoute
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 void |
Spark.connect(Route route)
Map the route for HTTP CONNECT requests
|
static void |
Spark.delete(Route route)
Map the route for HTTP DELETE requests
|
static void |
Spark.get(Route route)
Map the route for HTTP GET requests
|
static void |
Spark.head(Route route)
Map the route for HTTP HEAD requests
|
static void |
Spark.options(Route route)
Map the route for HTTP OPTIONS requests
|
static void |
Spark.patch(Route route)
Map the route for HTTP PATCH requests
|
static void |
Spark.post(Route route)
Map the route for HTTP POST requests
|
static void |
Spark.put(Route route)
Map the route for HTTP PUT requests
|
static void |
Spark.trace(Route route)
Map the route for HTTP TRACE requests
|
Copyright © 2013. All Rights Reserved.