Class ConversationFilter

java.lang.Object
org.jboss.weld.module.web.servlet.ConversationFilter
All Implemented Interfaces:
jakarta.servlet.Filter

public class ConversationFilter extends Object implements jakarta.servlet.Filter
Filter that handles conversation context activation if mapped by the application. Otherwise, conversation context is activated by WeldInitialListener at the beginning of the request processing.
Author:
Jozef Hartinger
See Also:
  • Field Details

    • CONVERSATION_FILTER_REGISTERED

      public static final String CONVERSATION_FILTER_REGISTERED
  • Constructor Details

    • ConversationFilter

      public ConversationFilter()
  • Method Details

    • init

      public void init(jakarta.servlet.FilterConfig filterConfig) throws jakarta.servlet.ServletException
      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
      Specified by:
      doFilter in interface jakarta.servlet.Filter
      Throws:
      IOException
      jakarta.servlet.ServletException
    • destroy

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