org.springframework.web.servlet

Class HandlerExecutionChain

  • java.lang.Object
    • org.springframework.web.servlet.HandlerExecutionChain
    • Constructor Detail

      • HandlerExecutionChain

        public HandlerExecutionChain(java.lang.Object handler)
        Create a new HandlerExecutionChain.
        Parameters:
        handler - the handler object to execute
      • HandlerExecutionChain

        public HandlerExecutionChain(java.lang.Object handler,
                                     @Nullable
                                     HandlerInterceptor... interceptors)
        Create a new HandlerExecutionChain.
        Parameters:
        handler - the handler object to execute
        interceptors - the array of interceptors to apply (in the given order) before the handler itself executes
    • Method Detail

      • getHandler

        public java.lang.Object getHandler()
        Return the handler object to execute.
      • getInterceptors

        @Nullable
        public HandlerInterceptor[] getInterceptors()
        Return the array of interceptors to apply (in the given order).
        Returns:
        the array of HandlerInterceptors instances (may be null)
      • toString

        public java.lang.String toString()
        Delegates to the handler and interceptors' toString().
        Overrides:
        toString in class java.lang.Object