Serializable
public final class HeaderTerm extends StringTerm
ignoreCase, pattern
Constructor | Description |
---|---|
HeaderTerm(String headerName,
String pattern) |
Constructor.
|
Modifier and Type | Method | 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.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getIgnoreCase, getPattern, match
public String getHeaderName()
public boolean match(Message msg)
match
in class SearchTerm
msg
- The match is applied to this Message's headerpublic boolean equals(Object obj)
equals
in class StringTerm
public int hashCode()
hashCode
in class StringTerm
Copyright © 2018 Oracle. All rights reserved.