Module io.inverno.mod.web.server
Package io.inverno.mod.web.server
Interface WebRouteInterceptor.Configurer<A extends ExchangeContext>
- Type Parameters:
A
- the type of the exchange context
- Enclosing interface:
WebRouteInterceptor<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 WebRouteInterceptor.Configurer<A extends ExchangeContext>
A configurer used to configure Web route interceptors in a Web server.
- Since:
- 1.12
- Author:
- Jeremy Kuhn
-
Method Summary
Modifier and TypeMethodDescriptionconfigure
(WebRouteInterceptor<A> interceptors) Configures error Web route interceptors.
-
Method Details
-
configure
Configures error Web route interceptors.
The returned 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 will be missing when defining subsequent route interceptors.
- Parameters:
interceptors
- the Web route interceptor to use to define Web route interceptors- Returns:
- the Web route interceptor containing the configured interceptors
-