Interface ComplianceViolation.Mode

All Known Implementing Classes:
CookieCompliance, HttpCompliance, MultiPartCompliance, UriCompliance
Enclosing interface:
ComplianceViolation

public static interface ComplianceViolation.Mode
A Mode is a set of ComplianceViolations that are allowed.
  • Method Details

    • getName

      String getName()
      Returns:
      The name of the compliance violation mode.
    • allows

      boolean allows(ComplianceViolation violation)
      Parameters:
      violation - The ComplianceViolation to test
      Returns:
      true iff the violation is allowed by this mode.
    • getKnown

      Set<? extends ComplianceViolation> getKnown()
      Returns:
      The immutable set of all known violations for this mode.
    • getAllowed

      Set<? extends ComplianceViolation> getAllowed()
      Returns:
      The immutable set of violations allowed by this mode.