Modifier and Type | Method and Description |
---|---|
Cluster.Builder |
Cluster.Builder.serializer(MessageSerializer serializer)
Sets the
MessageSerializer to use. |
Constructor and Description |
---|
NioGremlinRequestEncoder(boolean binaryEncoding,
MessageSerializer serializer) |
NioGremlinResponseDecoder(MessageSerializer serializer) |
WebSocketGremlinRequestEncoder(boolean binaryEncoding,
MessageSerializer serializer) |
WebSocketGremlinResponseDecoder(MessageSerializer serializer) |
Modifier and Type | Interface and Description |
---|---|
interface |
MessageTextSerializer
An extension to the MessageSerializer interface that allows a format to be compatible with text-based
websocket messages.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractGraphSONMessageSerializerV1d0 |
class |
AbstractGraphSONMessageSerializerV2d0 |
class |
AbstractGryoMessageSerializerV1d0 |
class |
AbstractGryoMessageSerializerV3d0 |
class |
AbstractMessageSerializer
Base
MessageSerializer that serializers can implement to get some helper methods around configuring a
Mapper.Builder . |
class |
GraphBinaryMessageSerializerV1 |
class |
GraphSONMessageSerializerGremlinV1d0
Serialize results to JSON with version 1.0.x schema.
|
class |
GraphSONMessageSerializerGremlinV2d0
Deprecated.
As for release 3.4.0, replaced by
GraphSONMessageSerializerV2d0 . |
class |
GraphSONMessageSerializerV1d0
Serialize results to JSON with version 1.0.x schema.
|
class |
GraphSONMessageSerializerV2d0
Serialize results to JSON with version 2.0.x schema and the extended module.
|
class |
GraphSONMessageSerializerV3d0
Serialize results to JSON with version 3.0.x schema and the extended module.
|
class |
GryoLiteMessageSerializerV1d0
Deprecated.
As of release 3.2.6, not directly replaced - supported through
HaltedTraverserStrategy . |
class |
GryoMessageSerializerV1d0
The standard Gryo serializer that uses "detached" graph elements during serialization.
|
class |
GryoMessageSerializerV3d0
The standard Gryo serializer that uses "detached" graph elements during serialization.
|
Modifier and Type | Field and Description |
---|---|
static MessageSerializer |
Serializers.DEFAULT_REQUEST_SERIALIZER
Deprecated.
As of release 3.3.5, not replaced, simply specify the exact version of the serializer to use.
|
static MessageSerializer |
Serializers.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 |
---|---|
MessageSerializer |
Serializers.simpleInstance() |
Modifier and Type | Field and Description |
---|---|
protected Map<String,MessageSerializer> |
AbstractChannelizer.serializers |
Modifier and Type | Method and Description |
---|---|
MessageSerializer |
NioGremlinBinaryRequestDecoder.select(String mimeType,
MessageSerializer defaultSerializer) |
Modifier and Type | Method and Description |
---|---|
MessageSerializer |
NioGremlinBinaryRequestDecoder.select(String mimeType,
MessageSerializer defaultSerializer) |
Constructor and Description |
---|
HttpGremlinEndpointHandler(Map<String,MessageSerializer> serializers,
GremlinExecutor gremlinExecutor,
GraphManager graphManager,
Settings settings) |
NioGremlinBinaryRequestDecoder(Map<String,MessageSerializer> serializers) |
WsGremlinBinaryRequestDecoder(Map<String,MessageSerializer> serializers) |
WsGremlinCloseRequestDecoder(Map<String,MessageSerializer> serializers) |
WsGremlinTextRequestDecoder(Map<String,MessageSerializer> serializers) |
Modifier and Type | Method and Description |
---|---|
protected static Frame |
AbstractOpProcessor.makeFrame(ChannelHandlerContext ctx,
RequestMessage msg,
MessageSerializer serializer,
boolean useBinary,
List<Object> aggregate,
ResponseStatusCode code,
Map<String,Object> responseMetaData,
Map<String,Object> statusAttributes)
Caution:
#makeFrame(ResponseHandlerContext, RequestMessage, MessageSerializer, boolean, List, ResponseStatusCode, Map, Map)
should be used instead of this method whenever a ResponseHandlerContext is available. |
Copyright © 2013–2019 Apache Software Foundation. All rights reserved.