public enum Serializers extends Enum<Serializers>
Enum Constant and Description |
---|
GRAPHBINARY_V1D0 |
GRAPHSON
GraphSON 3.0.
|
GRAPHSON_V1D0 |
GRAPHSON_V2D0 |
GRAPHSON_V3D0 |
GRYO_LITE_V1D0
Deprecated.
As of release 3.2.6, not directly replaced - supported through
HaltedTraverserStrategy . |
GRYO_V1D0
Deprecated.
As of release 3.4.3, replaced by
GRAPHBINARY_V1D0 . |
GRYO_V3D0
Deprecated.
As of release 3.4.3, replaced by
GRAPHBINARY_V1D0 . |
Modifier and Type | Field and Description |
---|---|
static MessageSerializer |
DEFAULT_REQUEST_SERIALIZER
Deprecated.
As of release 3.3.5, not replaced, simply specify the exact version of the serializer to use.
|
static MessageSerializer |
DEFAULT_RESULT_SERIALIZER
Deprecated.
As of release 3.3.5, not replaced, simply specify the exact version of the serializer to use.
|
Modifier and Type | Method and Description |
---|---|
String |
getValue() |
MessageSerializer |
simpleInstance() |
static Serializers |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Serializers[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Serializers GRAPHSON
public static final Serializers GRAPHSON_V1D0
public static final Serializers GRAPHSON_V2D0
public static final Serializers GRAPHSON_V3D0
public static final Serializers GRAPHBINARY_V1D0
@Deprecated public static final Serializers GRYO_V1D0
GRAPHBINARY_V1D0
.@Deprecated public static final Serializers GRYO_V3D0
GRAPHBINARY_V1D0
.@Deprecated public static final Serializers GRYO_LITE_V1D0
HaltedTraverserStrategy
.@Deprecated public static final MessageSerializer DEFAULT_RESULT_SERIALIZER
MessageTextSerializer
so that it can be compatible with text-based websocket messages.@Deprecated public static final MessageSerializer DEFAULT_REQUEST_SERIALIZER
MessageTextSerializer
so that it can be compatible with text-based websocket messages.public static Serializers[] values()
for (Serializers c : Serializers.values()) System.out.println(c);
public static Serializers 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 getValue()
public MessageSerializer simpleInstance()
Copyright © 2013–2020 Apache Software Foundation. All rights reserved.