Package | Description |
---|---|
spark |
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 |
RouteImpl
A Route is built up by a path (for url-matching) and the implementation of the 'handle' 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 void |
Spark.connect(String path,
Route route)
Map the route for HTTP CONNECT requests
|
static void |
Spark.connect(String path,
Route route,
ResponseTransformer transformer)
Map the route for HTTP CONNECT requests
|
static void |
Spark.connect(String path,
String acceptType,
Route route)
Map the route for HTTP CONNECT requests
|
static void |
Spark.connect(String path,
String acceptType,
Route route,
ResponseTransformer transformer)
Map the route for HTTP CONNECT requests
|
static ResponseTransformerRouteImpl |
ResponseTransformerRouteImpl.create(String path,
Route route,
ResponseTransformer transformer) |
static ResponseTransformerRouteImpl |
ResponseTransformerRouteImpl.create(String path,
String acceptType,
Route route,
ResponseTransformer transformer) |
static void |
Spark.delete(String path,
Route route)
Map the route for HTTP DELETE requests
|
static void |
Spark.delete(String path,
Route route,
ResponseTransformer transformer)
Map the route for HTTP DELETE requests
|
static void |
Spark.delete(String path,
String acceptType,
Route route)
Map the route for HTTP DELETE requests
|
static void |
Spark.delete(String path,
String acceptType,
Route route,
ResponseTransformer transformer)
Map the route for HTTP DELETE requests
|
static void |
Spark.get(String path,
Route route)
Map the route for HTTP GET requests
|
static void |
Spark.get(String path,
Route route,
ResponseTransformer transformer)
Map the route for HTTP GET requests
|
static void |
Spark.get(String path,
String acceptType,
Route route)
Map the route for HTTP GET requests
|
static void |
Spark.get(String path,
String acceptType,
Route route,
ResponseTransformer transformer)
Map the route for HTTP GET requests
|
static void |
Spark.head(String path,
Route route)
Map the route for HTTP HEAD requests
|
static void |
Spark.head(String path,
Route route,
ResponseTransformer transformer)
Map the route for HTTP HEAD requests
|
static void |
Spark.head(String path,
String acceptType,
Route route)
Map the route for HTTP HEAD requests
|
static void |
Spark.head(String path,
String acceptType,
Route route,
ResponseTransformer transformer)
Map the route for HTTP HEAD requests
|
static void |
Spark.options(String path,
Route route)
Map the route for HTTP OPTIONS requests
|
static void |
Spark.options(String path,
Route route,
ResponseTransformer transformer)
Map the route for HTTP OPTIONS requests
|
static void |
Spark.options(String path,
String acceptType,
Route route)
Map the route for HTTP OPTIONS requests
|
static void |
Spark.options(String path,
String acceptType,
Route route,
ResponseTransformer transformer)
Map the route for HTTP OPTIONS requests
|
static void |
Spark.patch(String path,
Route route)
Map the route for HTTP PATCH requests
|
static void |
Spark.patch(String path,
Route route,
ResponseTransformer transformer)
Map the route for HTTP PATCH requests
|
static void |
Spark.patch(String path,
String acceptType,
Route route)
Map the route for HTTP PATCH requests
|
static void |
Spark.patch(String path,
String acceptType,
Route route,
ResponseTransformer transformer)
Map the route for HTTP PATCH requests
|
static void |
Spark.post(String path,
Route route)
Map the route for HTTP POST requests
|
static void |
Spark.post(String path,
Route route,
ResponseTransformer transformer)
Map the route for HTTP POST requests
|
static void |
Spark.post(String path,
String acceptType,
Route route)
Map the route for HTTP POST requests
|
static void |
Spark.post(String path,
String acceptType,
Route route,
ResponseTransformer transformer)
Map the route for HTTP POST requests
|
static void |
Spark.put(String path,
Route route)
Map the route for HTTP PUT requests
|
static void |
Spark.put(String path,
Route route,
ResponseTransformer transformer)
Map the route for HTTP PUT requests
|
static void |
Spark.put(String path,
String acceptType,
Route route)
Map the route for HTTP PUT requests
|
static void |
Spark.put(String path,
String acceptType,
Route route,
ResponseTransformer transformer)
Map the route for HTTP PUT requests
|
static void |
Spark.trace(String path,
Route route)
Map the route for HTTP TRACE requests
|
static void |
Spark.trace(String path,
Route route,
ResponseTransformer transformer)
Map the route for HTTP TRACE requests
|
static void |
Spark.trace(String path,
String acceptType,
Route route)
Map the route for HTTP TRACE requests
|
static void |
Spark.trace(String path,
String acceptType,
Route route,
ResponseTransformer transformer)
Map the route for HTTP TRACE requests
|
protected static RouteImpl |
SparkBase.wrap(String path,
Route route)
Wraps the route in RouteImpl
|
protected static RouteImpl |
SparkBase.wrap(String path,
String acceptType,
Route route)
Wraps the route in RouteImpl
|
Copyright © 2014. All rights reserved.