public final class RequestMessage extends Object
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
RequestMessage.Builder
Builder class for  
RequestMessage. | 
| Modifier and Type | Field and Description | 
|---|---|
static RequestMessage | 
INVALID
An "invalid" message. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static RequestMessage.Builder | 
build(String op)  | 
Map<String,Object> | 
getArgs()
 | 
String | 
getOp()
The operation or command to perform as defined by a particular Processor. 
 | 
String | 
getProcessor()
The name of the Processor that should handle the  
op. | 
UUID | 
getRequestId()
The id of the current request and is used to track the message within Gremlin Server and in its response. 
 | 
<T> Optional<T> | 
optionalArgs(String key)  | 
String | 
toString()  | 
public static final RequestMessage INVALID
public UUID getRequestId()
public String getOp()
public String getProcessor()
op.  Defaults to the standard processor if
 not specified.public static RequestMessage.Builder build(String op)
Copyright © 2013–2016 Apache Software Foundation. All rights reserved.