public static interface Http.Cookies extends java.lang.Iterable<Http.Cookie>
Modifier and Type | Method and Description |
---|---|
default Http.Cookie |
get(java.lang.String name)
Deprecated.
Deprecated as of 2.7.0. Use
getCookie(String) |
java.util.Optional<Http.Cookie> |
getCookie(java.lang.String name) |
@Deprecated default Http.Cookie get(java.lang.String name)
getCookie(String)
name
- Name of the cookie to retrievejava.util.Optional<Http.Cookie> getCookie(java.lang.String name)
name
- Name of the cookie to retrieve