Uses of Class
java.net.CookieHandler
| Package | Description |
|---|---|
| java.net |
Provides the classes for implementing networking applications.
|
| java.net.http |
HTTP Client and WebSocket APIs
|
-
Uses of CookieHandler in java.net
Subclasses of CookieHandler in java.net Modifier and Type Class Description classCookieManagerCookieManager provides a concrete implementation ofCookieHandler, which separates the storage of cookies from the policy surrounding accepting and rejecting cookies.Methods in java.net that return CookieHandler Modifier and Type Method Description static CookieHandlerCookieHandler. getDefault()Gets the system-wide cookie handler.Methods in java.net with parameters of type CookieHandler Modifier and Type Method Description static voidCookieHandler. setDefault(CookieHandler cHandler)Sets (or unsets) the system-wide cookie handler. -
Uses of CookieHandler in java.net.http
Methods in java.net.http that return types with arguments of type CookieHandler Modifier and Type Method Description abstract Optional<CookieHandler>HttpClient. cookieHandler()Returns anOptionalcontaining this client'sCookieHandler.Methods in java.net.http with parameters of type CookieHandler Modifier and Type Method Description HttpClient.BuilderHttpClient.Builder. cookieHandler(CookieHandler cookieHandler)Sets a cookie handler.