Interface NexusClientInterceptor

All Known Implementing Classes:
NexusClientInterceptorBase

@Experimental public interface NexusClientInterceptor
Outer interceptor for NexusClient. Implementations are registered via NexusClientOptions.Builder.setInterceptors(java.util.List) and consulted once during client construction to build the chain of NexusClientCallsInterceptors that wraps the root invoker.
  • Method Details

    • nexusClientCallsInterceptor

      NexusClientCallsInterceptor nexusClientCallsInterceptor(NexusClientCallsInterceptor next)
      Called once during NexusClient construction to build the chain of per-call interceptors.
      Parameters:
      next - next per-call interceptor in the chain
      Returns:
      new per-call interceptor that decorates calls to next