public interface CookieMatcher
| Modifier and Type | Method and Description |
|---|---|
RouteContinuation |
isPresent()
Matches requests where the specified cookie is present.
|
RouteContinuation |
value(Predicate<HttpCookiePair> predicate)
Matches requests where one of the cookies with the specified name matches
predicate. |
RouteContinuation |
values(Predicate<Iterator<? extends HttpCookiePair>> predicate)
Matches requests where the list of cookies for the specified name matches the predicate.
|
RouteContinuation isPresent()
RouteContinuation for the next steps of building a route.RouteContinuation value(Predicate<HttpCookiePair> predicate)
predicate.predicate - the Predicate to match against the values.RouteContinuation for the next steps of building a route.RouteContinuation values(Predicate<Iterator<? extends HttpCookiePair>> predicate)
predicate - the Predicate to match against the list of cookies.RouteContinuation for the next steps of building a route.