public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {
HttpServletRequest httpRequest = (HttpServletRequest) request;
HttpServletResponse httpResponse = (HttpServletResponse) response;
HttpSession httpSession = httpRequest.getSession();
StateKey stateKey = new HttpSessionStateKey(httpSession);
ExoContainer container = getContainer();
ConversationRegistry conversationRegistry =
(ConversationRegistry) container.getComponentInstanceOfType(ConversationRegistry.class);