Uses of Class
java.net.CookieHandler
Package
Description
Provides the classes for implementing networking applications.
HTTP Client and WebSocket APIs
-
Uses of CookieHandler in java.net
Modifier and TypeClassDescriptionclass
CookieManager provides a concrete implementation ofCookieHandler
, which separates the storage of cookies from the policy surrounding accepting and rejecting cookies.Modifier and TypeMethodDescriptionstatic CookieHandler
CookieHandler.getDefault()
Gets the system-wide cookie handler.Modifier and TypeMethodDescriptionstatic void
CookieHandler.setDefault
(CookieHandler cHandler) Sets (or unsets) the system-wide cookie handler. -
Uses of CookieHandler in java.net.http
Modifier and TypeMethodDescriptionabstract Optional
<CookieHandler> HttpClient.cookieHandler()
Returns anOptional
containing this client'sCookieHandler
.Modifier and TypeMethodDescriptionHttpClient.Builder.cookieHandler
(CookieHandler cookieHandler) Sets a cookie handler.