Class RegexHttpContextActivationFilter

    • Constructor Detail

      • RegexHttpContextActivationFilter

        public RegexHttpContextActivationFilter​(Pattern pattern)
      • RegexHttpContextActivationFilter

        public RegexHttpContextActivationFilter​(String regex)
    • Method Detail

      • accepts

        public boolean accepts​(jakarta.servlet.http.HttpServletRequest request)
        Description copied from interface: HttpContextActivationFilter
        Determines whether CDI contexts should be active during processing of this request
        Specified by:
        accepts in interface HttpContextActivationFilter
        Parameters:
        request - the request
        Returns:
        true if CDI contexts should be active during processing of this request
      • cleanup

        public void cleanup()
        Description copied from interface: Service
        Called by Weld when it is shutting down, allowing the service to perform any cleanup needed.
        Specified by:
        cleanup in interface Service