Module io.inverno.mod.http.base
Package io.inverno.mod.http.base.router
Interface ErrorRoute.Extractor<A,B extends ErrorRoute<A>,C extends ErrorRoute.Extractor<A,B,C>>
- Type Parameters:
A
- the resource typeB
- the error route typeC
- the error route extractor
- All Superinterfaces:
RouteExtractor<A,
B>
- Enclosing interface:
ErrorRoute<A>
public static interface ErrorRoute.Extractor<A,B extends ErrorRoute<A>,C extends ErrorRoute.Extractor<A,B,C>>
extends RouteExtractor<A,B>
An error route extractor.
- Since:
- 1.12
- Author:
- Jeremy Kuhn
-
Method Summary
Methods inherited from interface io.inverno.mod.http.base.router.RouteExtractor
getRoutes, set
-
Method Details
-
errorType
Sets the extractor to extract routes defined with the specified error type.
- Parameters:
errorType
- an error type- Returns:
- a route extractor
-