Class ConversationPropagationFilter

  • All Implemented Interfaces:
    jakarta.servlet.Filter

    @Deprecated
    public class ConversationPropagationFilter
    extends Object
    implements jakarta.servlet.Filter
    Deprecated.
    See also WELD-1262 and JBPAPP6-1664

    A Filter for handling conversation propagation over redirects.

    This filter intercepts the call to HttpServletResponse.sendRedirect(String) and appends the conversation id request parameter to the URL if the conversation is long-running, but only if the request parameter is not already present.

    Author:
    Nicklas Karlsson
    • Constructor Detail

      • ConversationPropagationFilter

        public ConversationPropagationFilter()
        Deprecated.
    • Method Detail

      • init

        public void init​(jakarta.servlet.FilterConfig config)
                  throws jakarta.servlet.ServletException
        Deprecated.
        Specified by:
        init in interface jakarta.servlet.Filter
        Throws:
        jakarta.servlet.ServletException
      • doFilter

        public void doFilter​(jakarta.servlet.ServletRequest request,
                             jakarta.servlet.ServletResponse response,
                             jakarta.servlet.FilterChain chain)
                      throws IOException,
                             jakarta.servlet.ServletException
        Deprecated.
        Specified by:
        doFilter in interface jakarta.servlet.Filter
        Throws:
        IOException
        jakarta.servlet.ServletException
      • destroy

        public void destroy()
        Deprecated.
        Specified by:
        destroy in interface jakarta.servlet.Filter