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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanpreHandle(@NonNull jakarta.servlet.http.HttpServletRequest request, @NonNull jakarta.servlet.http.HttpServletResponse response, @NonNull Object handler) voidsetEnvironment(org.springframework.core.env.Environment environment) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.web.servlet.HandlerInterceptor
afterCompletion, postHandle
-
Field Details
-
ALLOW_DEPRECATED_ENDPOINTS_KEY
- See Also:
-
-
Constructor Details
-
DeprecationInterceptor
public DeprecationInterceptor()
-
-
Method Details
-
preHandle
-
setEnvironment
public void setEnvironment(org.springframework.core.env.Environment environment) - Specified by:
setEnvironmentin interfaceorg.springframework.context.EnvironmentAware
-