Class FilterVoter

java.lang.Object
org.hawaiiframework.logging.config.FilterVoter

public class FilterVoter extends Object
Voter for various logging filters. Allows configuration of excluded paths and included content types. See HawaiiLoggingConfigurationProperties.
  • Constructor Details

    • FilterVoter

      public FilterVoter(MediaTypeVoter mediaTypeVoter, RequestVoter requestVoter)
      The constructor.
      Parameters:
      mediaTypeVoter - The media type voter.
      requestVoter - The request voter.
  • Method Details

    • enabled

      public boolean enabled(jakarta.servlet.http.HttpServletRequest request)
      Returns true if the filter should be enabled.
      Parameters:
      request - The request.
      Returns:
      true if the filter should be enabled.