Interface CookieMatcher


  • public interface CookieMatcher
    Methods for route matching on cookies.
    • Method Detail

      • value

        RouteContinuation value​(java.util.function.Predicate<HttpCookiePair> predicate)
        Matches requests where one of the cookies with the specified name matches predicate.
        Parameters:
        predicate - the Predicate to match against the values.
        Returns:
        RouteContinuation for the next steps of building a route.
      • values

        RouteContinuation values​(java.util.function.Predicate<java.util.Iterator<? extends HttpCookiePair>> predicate)
        Matches requests where the list of cookies for the specified name matches the predicate.
        Parameters:
        predicate - the Predicate to match against the list of cookies.
        Returns:
        RouteContinuation for the next steps of building a route.