Interface WebClient.Intercepted<A extends ExchangeContext>

Type Parameters:
A - the exchange context type
All Superinterfaces:
WebClient<A>, WebRouteInterceptor<A>
Enclosing interface:
WebClient<A extends ExchangeContext>

public static interface WebClient.Intercepted<A extends ExchangeContext> extends WebClient<A>

An intercepted Web client.

An intercepted Web client is created every time an interceptor is defined on a Web client, it contains all interceptors that were defined on its ancestors creating a chain of intercepted Web client with the root Web client at the top.

  • Method Details

    • unwrap

      WebClient<A> unwrap()

      Returns the originating Web client.

      Returns:
      an intercepted Web client or the root Web client