Enum CookieManager.Policy
- java.lang.Object
- 
- java.lang.Enum<CookieManager.Policy>
- 
- com.inductiveautomation.ignition.common.script.builtin.http.CookieManager.Policy
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Comparable<CookieManager.Policy>
 - Enclosing class:
- CookieManager
 
 public static enum CookieManager.Policy extends java.lang.Enum<CookieManager.Policy> 
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description ACCEPT_ALLACCEPT_NONEACCEPT_ORIGINAL_SERVER
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.CookiePolicygetPolicy()static CookieManager.PolicyvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CookieManager.Policy[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
ACCEPT_ALLpublic static final CookieManager.Policy ACCEPT_ALL 
 - 
ACCEPT_NONEpublic static final CookieManager.Policy ACCEPT_NONE 
 - 
ACCEPT_ORIGINAL_SERVERpublic static final CookieManager.Policy ACCEPT_ORIGINAL_SERVER 
 
- 
 - 
Method Detail- 
valuespublic static CookieManager.Policy[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CookieManager.Policy c : CookieManager.Policy.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static CookieManager.Policy valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- java.lang.IllegalArgumentException- if this enum type has no constant with the specified name
- java.lang.NullPointerException- if the argument is null
 
 - 
getPolicypublic java.net.CookiePolicy getPolicy() 
 
- 
 
-