Package 

Interface Interceptor

  • All Implemented Interfaces:

    
    public interface Interceptor<T>
    
                        

    Interceptor interface, generic interface for interceptor pattern.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public interface Interceptor.Chain

      Chain interface to chain up a list of interceptors.

    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract void intercept(Interceptor.Chain chain, T data) Intercept the chain
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • intercept

         abstract void intercept(Interceptor.Chain chain, T data)

        Intercept the chain

        Parameters:
        chain - The interceptor chain
        data - The data received from previous chain