Interface CookieMatcher
public interface CookieMatcher
Methods for route matching on cookies.
-
Method Summary
Modifier and TypeMethodDescriptionMatches requests where the specified cookie is present.value
(Predicate<HttpCookiePair> predicate) Matches requests where one of the cookies with the specified name matchespredicate
.values
(Predicate<Iterator<? extends HttpCookiePair>> predicate) Matches requests where the list of cookies for the specified name matches the predicate.
-
Method Details
-
isPresent
RouteContinuation isPresent()Matches requests where the specified cookie is present.- Returns:
RouteContinuation
for the next steps of building a route.
-
value
Matches requests where one of the cookies with the specified name matchespredicate
.- Parameters:
predicate
- thePredicate
to match against the values.- Returns:
RouteContinuation
for the next steps of building a route.
-
values
Matches requests where the list of cookies for the specified name matches the predicate.- Parameters:
predicate
- thePredicate
to match against the list of cookies.- Returns:
RouteContinuation
for the next steps of building a route.
-