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

Type Parameters:
A - the type of the exchange context
B - the Web interceptable type
All Superinterfaces:
Interceptable<A,WebExchange<A>,B,WebInterceptorManager<A,B>>
All Known Subinterfaces:
WebInterceptedRouter<A>, WebRouter<A>

public interface WebInterceptable<A extends ExchangeContext,B extends WebInterceptable<A,B>> extends Interceptable<A,WebExchange<A>,B,WebInterceptorManager<A,B>>

A Web interceptable allows to defined Web interceptors.

Since:
1.3
Author:
Jeremy Kuhn
See Also:
  • Method Details

    • configureInterceptors

      B configureInterceptors(WebInterceptorsConfigurer<? super A> configurer)

      Configures web route interceptors using the specified configurer and returns a web interceptable.

      If the specified configurer is null this method is a noop.

      Parameters:
      configurer - a web interceptors configurer
      Returns:
      a web interceptable
    • configureInterceptors

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

      Configures web route interceptors using the specified configurers and returns a web interceptable.

      If the specified list of configurers is null or empty this method is a noop.

      Parameters:
      configurers - a list of web interceptors configurers
      Returns:
      a web interceptable