Class ClassificationIntegrationObjectInterceptor

  • All Implemented Interfaces:
    org.springframework.web.servlet.HandlerInterceptor

    public final class ClassificationIntegrationObjectInterceptor
    extends java.lang.Object
    implements org.springframework.web.servlet.HandlerInterceptor
    An interceptor that catches POST and PATCH requests. It verifies the Integration Object does not contain classification attributes before letting the request through. This interceptor will be removed once POST and PATCH for classification attributes are implemented.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean preHandle​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.Object handler)  
      void setIntegrationObjectService​(IntegrationObjectService integrationObjectService)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.springframework.web.servlet.HandlerInterceptor

        afterCompletion, postHandle
    • Constructor Detail

      • ClassificationIntegrationObjectInterceptor

        public ClassificationIntegrationObjectInterceptor()
    • Method Detail

      • preHandle

        public boolean preHandle​(javax.servlet.http.HttpServletRequest request,
                                 javax.servlet.http.HttpServletResponse response,
                                 java.lang.Object handler)
        Specified by:
        preHandle in interface org.springframework.web.servlet.HandlerInterceptor
      • setIntegrationObjectService

        public void setIntegrationObjectService​(IntegrationObjectService integrationObjectService)