Package org.pac4j.core.matching.matcher
Class HttpMethodMatcher
- java.lang.Object
-
- org.pac4j.core.matching.matcher.HttpMethodMatcher
-
-
Constructor Summary
Constructors Constructor Description HttpMethodMatcher()
HttpMethodMatcher(HttpConstants.HTTP_METHOD... methods)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<HttpConstants.HTTP_METHOD>
getMethods()
boolean
matches(WebContext context)
Check if the web context matches.void
setMethods(Set<HttpConstants.HTTP_METHOD> methods)
String
toString()
-
-
-
Constructor Detail
-
HttpMethodMatcher
public HttpMethodMatcher()
-
HttpMethodMatcher
public HttpMethodMatcher(HttpConstants.HTTP_METHOD... methods)
-
-
Method Detail
-
matches
public boolean matches(WebContext context)
Description copied from interface:Matcher
Check if the web context matches.
-
getMethods
public Set<HttpConstants.HTTP_METHOD> getMethods()
-
setMethods
public void setMethods(Set<HttpConstants.HTTP_METHOD> methods)
-
-