public final class HeaderTerm extends StringTerm
| Modifier and Type | Field and Description |
|---|---|
protected String |
headerName
The name of the header.
|
ignoreCase, pattern| Constructor and Description |
|---|
HeaderTerm(String headerName,
String pattern)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Equality comparison.
|
String |
getHeaderName()
Return the name of the header to compare with.
|
int |
hashCode()
Compute a hashCode for this object.
|
boolean |
match(Message msg)
The header match method.
|
getIgnoreCase, getPattern, matchprotected String headerName
public String getHeaderName()
public boolean match(Message msg)
match in class SearchTermmsg - The match is applied to this Message's headerpublic boolean equals(Object obj)
equals in class StringTermpublic int hashCode()
hashCode in class StringTermCopyright © 2012 JBoss by Red Hat. All Rights Reserved.