Package org.pac4j.core.matching
Class HeaderMatcher
- java.lang.Object
-
- org.pac4j.core.matching.HeaderMatcher
-
-
Constructor Summary
Constructors Constructor Description HeaderMatcher()
HeaderMatcher(String headerName, String expectedValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getExpectedValue()
String
getHeaderName()
boolean
matches(WebContext context)
Check if the web context matches.void
setExpectedValue(String expectedValue)
void
setHeaderName(String headerName)
String
toString()
-
-
-
Field Detail
-
pattern
protected Pattern pattern
-
-
Method Detail
-
matches
public boolean matches(WebContext context)
Description copied from interface:Matcher
Check if the web context matches.
-
getHeaderName
public String getHeaderName()
-
setHeaderName
public void setHeaderName(String headerName)
-
getExpectedValue
public String getExpectedValue()
-
setExpectedValue
public void setExpectedValue(String expectedValue)
-
-