Module io.inverno.mod.web.server
Package io.inverno.mod.web.server
Interface ErrorWebRoutable<A extends ExchangeContext,B extends ErrorWebRoutable<A,B>>
- Type Parameters:
A
- the type of the exchange contextB
- the Error Web routable type
- All Superinterfaces:
Routable<A,
ErrorWebExchange<A>, B, ErrorWebRouteManager<A, B>, ErrorWebRoute<A>>
- All Known Subinterfaces:
ErrorWebInterceptedRouter<A>
,ErrorWebRouter<A>
public interface ErrorWebRoutable<A extends ExchangeContext,B extends ErrorWebRoutable<A,B>>
extends Routable<A,ErrorWebExchange<A>,B,ErrorWebRouteManager<A,B>,ErrorWebRoute<A>>
An error web routable allows to defined Error Web routes.
- Since:
- 1.5
- Author:
- Jeremy Kuhn
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionconfigureRoutes
(ErrorWebRoutesConfigurer<? super A> configurer) Configures error web routes using the specified configurer and returns the error web routable.default B
configureRoutes
(List<ErrorWebRoutesConfigurer<? super A>> configurers) Configures error web routes using the specified configurers and returns the error web routable.
-
Method Details
-
configureRoutes
Configures error web routes using the specified configurer and returns the error web routable.
If the specified configurer is null this method is a noop.
- Parameters:
configurer
- an error web routes configurer- Returns:
- the error web routable
-
configureRoutes
Configures error web routes using the specified configurers and returns the error web routable.
If the specified list of configurers is null or empty this method is a noop.
- Parameters:
configurers
- a list of error web routes configurers- Returns:
- the error web routable
-