public interface Selector<T>
| Modifier and Type | Method and Description |
|---|---|
HeaderResolver |
getHeaderResolver()
Return a component that can resolve headers from a key
|
java.lang.Object |
getObject()
Get the object being used for comparisons and equals checks.
|
boolean |
matches(T key)
Indicates whether this Selector matches the
key. |
java.lang.Object getObject()
boolean matches(T key)
key.key - The key to matchtrue if there's a match, otherwise false.HeaderResolver getHeaderResolver()
HeaderResolver applicable to this Selector type.