Class ClassificationIntegrationObjectInterceptor
java.lang.Object
de.hybris.platform.odata2webservices.interceptor.ClassificationIntegrationObjectInterceptor
- All Implemented Interfaces:
org.springframework.web.servlet.HandlerInterceptor
public final class ClassificationIntegrationObjectInterceptor
extends 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.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanpreHandle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Object handler) voidsetIntegrationObjectService(IntegrationObjectService integrationObjectService) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.web.servlet.HandlerInterceptor
afterCompletion, postHandle
-
Constructor Details
-
ClassificationIntegrationObjectInterceptor
public ClassificationIntegrationObjectInterceptor()
-
-
Method Details
-
preHandle
public boolean preHandle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Object handler) - Specified by:
preHandlein interfaceorg.springframework.web.servlet.HandlerInterceptor
-
setIntegrationObjectService
-