Uses of Class
java.net.CookieHandler
Packages that useCookieHandler
Package
Description
Provides the classes for implementing networking applications.
HTTP Client and WebSocket APIs
Uses ofCookieHandler injava.net
Subclasses ofCookieHandler injava.netModifier and TypeClassDescriptionclassCookieManager provides a concrete implementation ofCookieHandler, which separates the storage of cookies from the policy surrounding accepting and rejecting cookies.Methods injava.net that returnCookieHandlerModifier and TypeMethodDescriptionstaticCookieHandlerCookieHandler.getDefault()Gets the system-wide cookie handler.Methods injava.net with parameters of typeCookieHandlerModifier and TypeMethodDescriptionstatic voidCookieHandler.setDefault(CookieHandler cHandler) Sets (or unsets) the system-wide cookie handler.Uses ofCookieHandler injava.net.http
Methods injava.net.http that return types with arguments of typeCookieHandlerModifier and TypeMethodDescriptionabstractOptional<CookieHandler> HttpClient.cookieHandler()Returns anOptionalcontaining this client'sCookieHandler.Methods injava.net.http with parameters of typeCookieHandlerModifier and TypeMethodDescriptionHttpClient.Builder.cookieHandler(CookieHandler cookieHandler) Sets a cookie handler.