public enum LiveViewClientCapability extends java.lang.Enum<LiveViewClientCapability>
Since this feature is known to servers only since 1.6, older clients will have a default value of EMPTY_CLIENT_CAPABILITY.
Enum Constant and Description |
---|
ACCEPTS_SEPARATELY_TRANSMITTED_EXTENDED_KEYS |
AGG_MARK_END |
COMPLEX_KEYS |
DATA_ON_REMOVE_MESSAGE |
FULL_SCHEMA
Whether or not this client supports full Schemas
|
JSON_SCHEMA |
KEYFIELDS_IN_BEGINSNAPSHOT |
LISTS_AND_HIERARCHICAL |
PUBLISH_V2 |
REST_API_v1
For internal use only
|
TOLERATES_REDUCED_HEARTBEAT_RATE |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CURRENT_LV_CLIENT_CAPABILITIES_CSV |
static java.util.EnumSet<LiveViewClientCapability> |
CURRENT_LV_CLIENT_CAPABILITY
Note that the default client capability does not include AGG_MARK_END
|
static java.util.EnumSet<LiveViewClientCapability> |
EMPTY_CLIENT_CAPABILITY |
static java.util.EnumSet<LiveViewClientCapability> |
REQ_CLIENT_CAPABILITIES_COMPLEX_KEYS_ONLY |
static java.util.EnumSet<LiveViewClientCapability> |
REQ_CLIENT_CAPABILITIES_LH_DATA |
static java.util.EnumSet<LiveViewClientCapability> |
REST_API_V1_CAPABILITIES |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getReadable() |
java.lang.String |
toString() |
static LiveViewClientCapability |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LiveViewClientCapability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LiveViewClientCapability FULL_SCHEMA
public static final LiveViewClientCapability JSON_SCHEMA
public static final LiveViewClientCapability LISTS_AND_HIERARCHICAL
public static final LiveViewClientCapability COMPLEX_KEYS
public static final LiveViewClientCapability PUBLISH_V2
public static final LiveViewClientCapability DATA_ON_REMOVE_MESSAGE
public static final LiveViewClientCapability ACCEPTS_SEPARATELY_TRANSMITTED_EXTENDED_KEYS
public static final LiveViewClientCapability TOLERATES_REDUCED_HEARTBEAT_RATE
public static final LiveViewClientCapability KEYFIELDS_IN_BEGINSNAPSHOT
public static final LiveViewClientCapability AGG_MARK_END
public static final LiveViewClientCapability REST_API_v1
public static final java.util.EnumSet<LiveViewClientCapability> EMPTY_CLIENT_CAPABILITY
public static final java.util.EnumSet<LiveViewClientCapability> CURRENT_LV_CLIENT_CAPABILITY
public static final java.lang.String CURRENT_LV_CLIENT_CAPABILITIES_CSV
public static final java.util.EnumSet<LiveViewClientCapability> REQ_CLIENT_CAPABILITIES_COMPLEX_KEYS_ONLY
public static final java.util.EnumSet<LiveViewClientCapability> REQ_CLIENT_CAPABILITIES_LH_DATA
public static final java.util.EnumSet<LiveViewClientCapability> REST_API_V1_CAPABILITIES
public static LiveViewClientCapability[] values()
for (LiveViewClientCapability c : LiveViewClientCapability.values()) System.out.println(c);
public static LiveViewClientCapability valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getReadable()
public java.lang.String toString()
toString
in class java.lang.Enum<LiveViewClientCapability>