Uses of Interface
java.net.CookiePolicy
Packages that useCookiePolicy
Uses ofCookiePolicy injava.net
Fields injava.net declared asCookiePolicyModifier and TypeFieldDescriptionstatic finalCookiePolicyCookiePolicy.ACCEPT_ALLOne pre-defined policy which accepts all cookies.static finalCookiePolicyCookiePolicy.ACCEPT_NONEOne pre-defined policy which accepts no cookies.static finalCookiePolicyCookiePolicy.ACCEPT_ORIGINAL_SERVEROne pre-defined policy which only accepts cookies from original server.Methods injava.net with parameters of typeCookiePolicyModifier and TypeMethodDescriptionvoidCookieManager.setCookiePolicy(CookiePolicy cookiePolicy) To set the cookie policy of this cookie manager.Constructors injava.net with parameters of typeCookiePolicyModifierConstructorDescriptionCookieManager(CookieStore store,CookiePolicy cookiePolicy) Create a new cookie manager with specified cookie store and cookie policy.