public final class HeaderTerm extends StringTerm
| Modifier and Type | Field and Description |
|---|---|
protected String |
headerName |
ignoreCase, pattern| Constructor and Description |
|---|
HeaderTerm(String header,
String pattern) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
String |
getHeaderName() |
int |
hashCode() |
boolean |
match(Message message)
Checks a matching criteria defined by the concrete subclass of this Term.
|
getIgnoreCase, getPattern, matchprotected String headerName
public String getHeaderName()
public boolean match(Message message)
SearchTermmatch in class SearchTermmessage - the message to apply the matching criteria topublic boolean equals(Object other)
equals in class StringTermpublic int hashCode()
hashCode in class StringTermCopyright © 2013. All Rights Reserved.