| Modifier and Type | Field and Description |
|---|---|
| private String | headerName
The name of the header. |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | HeaderTerm(String
The name of the header headerName, String The pattern to search for pattern)Constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides javax. |
| public String | |
| public int | |
| public boolean | Returns: true if the match succeeds, otherwise falseThe match is applied to this Message's header msg)Implements abstract javax. |
| headerName | back to summary |
|---|---|
| private String headerName The name of the header. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| HeaderTerm | back to summary |
|---|---|
| public HeaderTerm(String headerName, String pattern) Constructor. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides javax. Equality comparison.
| |
| getHeaderName | back to summary |
|---|---|
| public String getHeaderName() Return the name of the header to compare with.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides javax. Compute a hashCode for this object.
| |
| match | back to summary |
|---|---|
| public boolean match(Message msg) Implements abstract javax. The header match method. | |