Class SkippableInterceptor

    • Constructor Detail

      • SkippableInterceptor

        public SkippableInterceptor()
    • Method Detail

      • preHandle

        public final boolean preHandle​(@NotNull
                                       javax.servlet.http.HttpServletRequest request,
                                       @NotNull
                                       javax.servlet.http.HttpServletResponse response,
                                       Object handler)
                                throws Exception
        Specified by:
        preHandle in interface org.springframework.web.servlet.HandlerInterceptor
        Throws:
        Exception
      • postHandle

        public final void postHandle​(@NotNull
                                     javax.servlet.http.HttpServletRequest request,
                                     @NotNull
                                     javax.servlet.http.HttpServletResponse response,
                                     Object handler,
                                     org.springframework.web.servlet.ModelAndView modelAndView)
                              throws Exception
        Specified by:
        postHandle in interface org.springframework.web.servlet.HandlerInterceptor
        Throws:
        Exception
      • afterCompletion

        public final void afterCompletion​(@NotNull
                                          javax.servlet.http.HttpServletRequest request,
                                          @NotNull
                                          javax.servlet.http.HttpServletResponse response,
                                          Object handler,
                                          Exception ex)
                                   throws Exception
        Specified by:
        afterCompletion in interface org.springframework.web.servlet.HandlerInterceptor
        Throws:
        Exception
      • afterConcurrentHandlingStarted

        public final void afterConcurrentHandlingStarted​(@NotNull
                                                         javax.servlet.http.HttpServletRequest request,
                                                         @NotNull
                                                         javax.servlet.http.HttpServletResponse response,
                                                         Object handler)
                                                  throws Exception
        Specified by:
        afterConcurrentHandlingStarted in interface org.springframework.web.servlet.AsyncHandlerInterceptor
        Throws:
        Exception
      • postHandleInternal

        protected void postHandleInternal​(@NotNull
                                          javax.servlet.http.HttpServletRequest request,
                                          @NotNull
                                          javax.servlet.http.HttpServletResponse response,
                                          Object handler,
                                          org.springframework.web.servlet.ModelAndView modelAndView)
      • afterConcurrentHandlingStartedInternal

        protected void afterConcurrentHandlingStartedInternal​(@NotNull
                                                              javax.servlet.http.HttpServletRequest request,
                                                              @NotNull
                                                              javax.servlet.http.HttpServletResponse response,
                                                              Object handler)
                                                       throws Exception
        Throws:
        Exception
      • afterCompletionInternal

        protected void afterCompletionInternal​(@NotNull
                                               javax.servlet.http.HttpServletRequest request,
                                               @NotNull
                                               javax.servlet.http.HttpServletResponse response,
                                               Object handler,
                                               Exception ex)
      • preHandleInternal

        protected abstract boolean preHandleInternal​(javax.servlet.http.HttpServletRequest request,
                                                     javax.servlet.http.HttpServletResponse response,
                                                     Object handler)
                                              throws Exception
        Throws:
        Exception
      • isInternalInterceptorsDisabledForHandler

        public static boolean isInternalInterceptorsDisabledForHandler​(@NotNull
                                                                       javax.servlet.http.HttpServletRequest request,
                                                                       Object handler)
        Determines if internal interceptors should not be inoked for this request and handler.