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

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

    • configureInterceptors

      B configureInterceptors(ErrorWebInterceptorsConfigurer<? super A> configurer)

      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

      B configureInterceptors(List<ErrorWebInterceptorsConfigurer<? super A>> configurers)

      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