public interface Selector<T>
Modifier and Type | Method and Description |
---|---|
HeaderResolver |
getHeaderResolver()
Return a component that can resolve headers from a key
|
Object |
getObject()
Get the object being used for comparisons and equals checks.
|
boolean |
matches(T key)
Indicates whether this Selector matches the
key . |
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.Copyright © 2017. All rights reserved.