public static enum CookieConfig.CookieType extends Enum<CookieConfig.CookieType>
Enum Constant and Description |
---|
ADF
ADF cookie type.
|
SESSION
Session cookie type.
|
TRACKING
Tracking cookie type.
|
Modifier and Type | Method and Description |
---|---|
String |
getDefaultName()
This returns the default name of the cookie.
|
String |
getDefaultPath()
This returns the default path a cookie is valid for.
|
String |
getXmlAttribute()
This returns the xml type value for the cookie configuration.
|
static CookieConfig.CookieType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CookieConfig.CookieType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CookieConfig.CookieType ADF
public static final CookieConfig.CookieType TRACKING
public static final CookieConfig.CookieType SESSION
public static CookieConfig.CookieType[] values()
for (CookieConfig.CookieType c : CookieConfig.CookieType.values()) System.out.println(c);
public static CookieConfig.CookieType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getXmlAttribute()
public String getDefaultName()
public String getDefaultPath()
Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries