Uses of Class
java.net.HttpCookie
| Package | Description |
|---|---|
| java.net |
-
Uses of HttpCookie in java.net
Methods in java.net that return types with arguments of type HttpCookie Modifier and Type Method Description List<HttpCookie>CookieStore. get(URI uri)Retrieves cookies that match the specified URI.List<HttpCookie>CookieStore. getCookies()Get all cookies in cookie store which are not expired.static List<HttpCookie>HttpCookie. parse(String header)Constructs a cookie from a string.Methods in java.net with parameters of type HttpCookie Modifier and Type Method Description voidCookieStore. add(URI uri, HttpCookie cookie)Saves a HTTP cookie to this store.booleanCookieStore. remove(URI uri, HttpCookie cookie)Remove the specified cookie from the store.booleanCookiePolicy. shouldAccept(URI uri, HttpCookie cookie)This method is used to determine whether or not the specified cookie should be accepted.