Module io.inverno.mod.web.client
Package io.inverno.mod.web.client
Interface WebRouteInterceptor.Configurer<A extends ExchangeContext>
- Type Parameters:
A
- the exchange context type
- 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 client.
- 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 processing Web exchanges on the resulting Web client or 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
-