Class InterceptorRegistry

  • All Implemented Interfaces:

    
    public class InterceptorRegistry
    
                        

    Registry to store and access a set of interceptor objects.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • getDefaultInterceptors

         List<InterceptorInfo> getDefaultInterceptors()

        Gets all default interceptors.

        Returns:

        all interceptors of any direction and action.

      • getDefaultInterceptors

         List<InterceptorInfo> getDefaultInterceptors(Direction direction)

        Gets default interceptors of a specific direction.

        Parameters:
        direction - the direction to filter for.
        Returns:

        all interceptors with given direction.

      • getInterceptors

         List<InterceptorInfo> getInterceptors(Direction direction, String action)

        Gets default interceptor of a specific direction and action.

        Parameters:
        direction - the direction to filter for.
        action - the action to filter for.
        Returns:

        all interceptors with given direction and action.

      • getInterceptors

         List<InterceptorInfo> getInterceptors(String action)

        Gets interceptors of a specific action.

        Parameters:
        action - the action to filter for.
        Returns:

        all interceptors of any direction with given action.