public enum CookieManagerMessage extends Enum<CookieManagerMessage> implements Message
| Enum Constant and Description |
|---|
DEFAULT |
GET_COOKIE |
GET_COOKIE_SETTINGS |
REMOVE_ALL_COOKIES |
REMOVE_COOKIE |
| Modifier and Type | Method and Description |
|---|---|
static CookieManagerMessage |
get(int code) |
int |
getID()
Get command id to execute on host, service definitions are available on Scope Interface
|
String |
getServiceName()
Associates a command id with a service name
|
static CookieManagerMessage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CookieManagerMessage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CookieManagerMessage GET_COOKIE
public static final CookieManagerMessage REMOVE_COOKIE
public static final CookieManagerMessage REMOVE_ALL_COOKIES
public static final CookieManagerMessage GET_COOKIE_SETTINGS
public static final CookieManagerMessage DEFAULT
public static CookieManagerMessage[] values()
for (CookieManagerMessage c : CookieManagerMessage.values()) System.out.println(c);
public static CookieManagerMessage 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 int getID()
Messagepublic String getServiceName()
MessagegetServiceName in interface Messagepublic static CookieManagerMessage get(int code)
Copyright © 2013. All Rights Reserved.