Class AnyRequestMatcher

java.lang.Object
org.springframework.security.web.util.matcher.AnyRequestMatcher
All Implemented Interfaces:
RequestMatcher

public final class AnyRequestMatcher extends Object implements RequestMatcher
Matches any supplied request.
Since:
3.1
  • Field Details

  • Method Details

    • matches

      public boolean matches(jakarta.servlet.http.HttpServletRequest request)
      Description copied from interface: RequestMatcher
      Decides whether the rule implemented by the strategy matches the supplied request.
      Specified by:
      matches in interface RequestMatcher
      Parameters:
      request - the request to check for a match
      Returns:
      true if the request matches, false otherwise
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object