Class InboundIntegrationObjectInterceptor

java.lang.Object
de.hybris.platform.odata2webservices.interceptor.InboundIntegrationObjectInterceptor
All Implemented Interfaces:
org.springframework.web.servlet.HandlerInterceptor

public class InboundIntegrationObjectInterceptor extends Object implements org.springframework.web.servlet.HandlerInterceptor
Intercepts requests into the application and verifies whether the URL contains correct reference to an existing integration object. If the integration object specified in the URL does not exist, 404 Not Found is returned.
  • Constructor Details

    • InboundIntegrationObjectInterceptor

      public InboundIntegrationObjectInterceptor()
  • Method Details

    • preHandle

      public boolean preHandle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Object o) throws IOException
      Specified by:
      preHandle in interface org.springframework.web.servlet.HandlerInterceptor
      Throws:
      IOException
    • postHandle

      public void postHandle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Object o, org.springframework.web.servlet.ModelAndView modelAndView)
      Specified by:
      postHandle in interface org.springframework.web.servlet.HandlerInterceptor
    • afterCompletion

      public void afterCompletion(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Object o, Exception e)
      Specified by:
      afterCompletion in interface org.springframework.web.servlet.HandlerInterceptor
    • extractCode

      protected String extractCode(String pathInfo)
    • getIntegrationObjectService

      protected IntegrationObjectService getIntegrationObjectService()
    • setIntegrationObjectService

      public void setIntegrationObjectService(IntegrationObjectService flexibleSearch)