Interface Interceptor



  • public interface Interceptor
    Observes, modifies, and potentially short-circuits requests going out and the corresponding requests coming back in. Typically interceptors will be used to add, remove, or transform headers on the request or response.
    • Nested Class Summary

      Nested Classes

      Modifier and Type Interface and Description
      static interface  Interceptor.Chain
       
    • Method Summary

      Modifier and Type Method and Description
      Response intercept(Interceptor.Chain chain)