Module io.inverno.mod.web.server
Package io.inverno.mod.web.server
Interface ErrorWebInterceptable<A extends ExchangeContext,B extends ErrorWebInterceptable<A,B>>
- Type Parameters:
A
- the type of the exchange contextB
- the Error Web interceptable type
- All Superinterfaces:
Interceptable<A,
ErrorWebExchange<A>, B, ErrorWebInterceptorManager<A, B>>
- All Known Subinterfaces:
ErrorWebInterceptedRouter<A>
,ErrorWebRouter<A>
public interface ErrorWebInterceptable<A extends ExchangeContext,B extends ErrorWebInterceptable<A,B>>
extends Interceptable<A,ErrorWebExchange<A>,B,ErrorWebInterceptorManager<A,B>>
An Error Web interceptable allows to defined Error Web interceptors.
- Since:
- 1.5
- Author:
- Jeremy Kuhn
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionconfigureInterceptors
(ErrorWebInterceptorsConfigurer<? super A> configurer) Configures error web route interceptors using the specified configurer and returns an error web interceptable.configureInterceptors
(List<ErrorWebInterceptorsConfigurer<? super A>> configurers) Configures error web route interceptors using the specified configurers and returns an error web interceptable.Methods inherited from interface io.inverno.mod.web.server.spi.Interceptable
intercept, intercept
-
Method Details
-
configureInterceptors
Configures error web route interceptors using the specified configurer and returns an error web interceptable.
If the specified configurer is null this method is a noop.
- Parameters:
configurer
- an error web interceptors configurer- Returns:
- an error web interceptable
-
configureInterceptors
Configures error web route interceptors using the specified configurers and returns an error web interceptable.
If the specified list of configurers is null or empty this method is a noop.
- Parameters:
configurers
- a list of error web interceptors configurers- Returns:
- an error web interceptable
-