Package | Description |
---|---|
spark |
Modifier and Type | Method and Description |
---|---|
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,
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.defaultResponseTransformer(ResponseTransformer transformer)
Set the default response transformer.
|
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,
ResponseTransformer transformer)
Map the route for HTTP DELETE 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,
ResponseTransformer transformer)
Map the route for HTTP GET 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,
ResponseTransformer transformer)
Map the route for HTTP HEAD 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,
ResponseTransformer transformer)
Map the route for HTTP OPTIONS 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,
ResponseTransformer transformer)
Map the route for HTTP PATCH 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,
ResponseTransformer transformer)
Map the route for HTTP POST 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,
ResponseTransformer transformer)
Map the route for HTTP PUT 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,
ResponseTransformer transformer)
Map the route for HTTP TRACE requests
|
Copyright © 2018. All rights reserved.