@Override public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException { if (request instanceof HttpServletRequest) { HttpServletRequest httpRequest = (HttpServletRequest) request; if (contextActivationFilter.accepts(httpRequest)) { conversationContextActivator.startConversationContext(httpRequest); } chain.doFilter(request, response); /* * We do not deactivate the conversation context in the filer. WeldListener takes care of that! */ } else { throw ServletLogger.LOG.onlyHttpServletLifecycleDefined(); } }
@Override public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException { if (request instanceof HttpServletRequest) { HttpServletRequest httpRequest = (HttpServletRequest) request; if (contextActivationFilter.accepts(httpRequest)) { conversationContextActivator.startConversationContext(httpRequest); } chain.doFilter(request, response); /* * We do not deactivate the conversation context in the filer. WeldListener takes care of that! */ } else { throw ServletLogger.LOG.onlyHttpServletLifecycleDefined(); } }
@Override public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException { if (request instanceof HttpServletRequest) { HttpServletRequest httpRequest = (HttpServletRequest) request; if (contextActivationFilter.accepts(httpRequest)) { conversationContextActivator.startConversationContext(httpRequest); } chain.doFilter(request, response); /* * We do not deactivate the conversation context in the filer. WeldListener takes care of that! */ } else { throw ServletLogger.LOG.onlyHttpServletLifecycleDefined(); } }