/** * Return the single cookie with the specified {@code name}. * * @param name cookie name * @return the cookie if present */ default Optional<HttpCookie> cookie(String name) { return findCookie(cookies(), name); }
/** * Return the single cookie with the specified {@code name}. * * @param name cookie name * @return the cookie if present */ default Optional<HttpCookie> cookie(String name) { return findCookie(cookies(), name); }