Module io.inverno.mod.web.server
Package io.inverno.mod.web.server
Interface ErrorWebRouteInterceptor.Configurer<A extends ExchangeContext>
- Type Parameters:
A
- the exchange context type
- Enclosing interface:
ErrorWebRouteInterceptor<A extends ExchangeContext>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface ErrorWebRouteInterceptor.Configurer<A extends ExchangeContext>
A configurer used to configure error Web route interceptors in a Web server.
- Since:
- 1.12
- Author:
- Jeremy Kuhn
-
Method Summary
Modifier and TypeMethodDescriptionconfigure
(ErrorWebRouteInterceptor<A> errorInterceptors) Configures error Web route interceptors.
-
Method Details
-
configure
Configures error Web route interceptors.
The returned error Web route interceptor must be the instance returned by the interceptor manager used to define the last interceptor. If that requirement is not met, some interceptor definitions might be missing when defining routes afterwards.
- Parameters:
errorInterceptors
- the error Web route interceptor to use to define error Web route interceptors- Returns:
- the error Web route interceptor containing the configured interceptors
-