org.springframework.security.web.util
Class AnyRequestMatcher
java.lang.Object
org.springframework.security.web.util.AnyRequestMatcher
- All Implemented Interfaces:
- RequestMatcher
public final class AnyRequestMatcher
- extends Object
- implements RequestMatcher
Matches any supplied request.
- Since:
- 3.1
Method Summary |
boolean |
equals(Object obj)
|
int |
hashCode()
|
boolean |
matches(javax.servlet.http.HttpServletRequest request)
Decides whether the rule implemented by the strategy matches the supplied request. |
AnyRequestMatcher
public AnyRequestMatcher()
matches
public boolean matches(javax.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