Uses of Class
java.net.CookieHandler
Packages that use CookieHandler
Package
Description
Provides the classes for implementing networking applications.
HTTP Client and WebSocket APIs
-
Uses of CookieHandler in java.net
Subclasses of CookieHandler in java.netModifier and TypeClassDescriptionclassCookieManager 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 CookieHandlerModifier and TypeMethodDescriptionstatic CookieHandlerCookieHandler.getDefault()Gets the system-wide cookie handler.Methods in java.net with parameters of type CookieHandlerModifier and TypeMethodDescriptionstatic 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 CookieHandlerModifier and TypeMethodDescriptionabstract Optional<CookieHandler> HttpClient.cookieHandler()Returns anOptionalcontaining this client'sCookieHandler.Methods in java.net.http with parameters of type CookieHandlerModifier and TypeMethodDescriptionHttpClient.Builder.cookieHandler(CookieHandler cookieHandler) Sets a cookie handler.