Interface ErrorWebRoutable<A extends ExchangeContext,B extends ErrorWebRoutable<A,B>>

Type Parameters:
A - the type of the exchange context
B - 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 Details

    • configureRoutes

      B configureRoutes(ErrorWebRoutesConfigurer<? super A> configurer)

      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

      default B configureRoutes(List<ErrorWebRoutesConfigurer<? super A>> configurers)

      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