Package | Description |
---|---|
spark |
Modifier and Type | Class and Description |
---|---|
class |
FilterImpl
FilterImpl is created from a path, acceptType and Filter.
|
Modifier and Type | Method and Description |
---|---|
static void |
Spark.after(Filter... filters)
Maps one or many filters to be executed after any matching routes
|
static void |
Spark.after(String path,
Filter... filters)
Maps an array of filters to be executed after any matching routes
|
static void |
Spark.after(String path,
Filter filter)
Maps a filter to be executed after any matching routes
|
static void |
Spark.after(String path,
String acceptType,
Filter... filters)
Maps one or many filters to be executed after any matching routes
|
static void |
Spark.afterAfter(Filter filter)
Execute after any matching route even if the route throws exception
|
static void |
Spark.afterAfter(String path,
Filter filter)
Execute after route even if the route throws exception
|
static void |
Spark.before(Filter... filters)
Maps one or many filters to be executed before any matching routes
|
static void |
Spark.before(String path,
Filter... filters)
Maps an array of filters to be executed before any matching routes
|
static void |
Spark.before(String path,
Filter filter)
Maps a filter to be executed before any matching routes
|
static void |
Spark.before(String path,
String acceptType,
Filter... filters)
Maps one or many filters to be executed before any matching routes
|
Constructor and Description |
---|
FilterImpl(String path,
String acceptType,
Filter filter) |
Copyright © 2018. All rights reserved.