Class InboundIntegrationObjectInterceptor

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

    public class InboundIntegrationObjectInterceptor
    extends java.lang.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 Detail

      • InboundIntegrationObjectInterceptor

        public InboundIntegrationObjectInterceptor()
    • Method Detail

      • preHandle

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

        public void postHandle​(javax.servlet.http.HttpServletRequest request,
                               javax.servlet.http.HttpServletResponse response,
                               java.lang.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,
                                    java.lang.Object o,
                                    java.lang.Exception e)
        Specified by:
        afterCompletion in interface org.springframework.web.servlet.HandlerInterceptor
      • extractCode

        protected java.lang.String extractCode​(java.lang.String pathInfo)