Class DeprecationInterceptor

java.lang.Object
org.frankframework.console.configuration.DeprecationInterceptor
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.EnvironmentAware, org.springframework.web.servlet.HandlerInterceptor

@Order(2147483647) public class DeprecationInterceptor extends Object implements org.springframework.web.servlet.HandlerInterceptor, org.springframework.context.EnvironmentAware
Should only intercept Spring WEB MVC requests. If a method has the Deprecated annotation it should be omitted (by default).
  • Field Details

  • Constructor Details

    • DeprecationInterceptor

      public DeprecationInterceptor()
  • Method Details

    • preHandle

      public boolean preHandle(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Object handler) throws Exception
      Specified by:
      preHandle in interface org.springframework.web.servlet.HandlerInterceptor
      Throws:
      Exception
    • setEnvironment

      public void setEnvironment(org.springframework.core.env.Environment environment)
      Specified by:
      setEnvironment in interface org.springframework.context.EnvironmentAware