- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
boolean
Determines whether a
Cookie
may be stored for a
URI
.
Returns a
CookiePolicy
that only accepts cookies from the original server.
-
Method Details
-
-
-
acceptOriginOnly
Returns a
CookiePolicy
that only accepts cookies from the original server.
-
accept
Determines whether a
Cookie
may be stored for a
URI
.