Class ResponseStatus
- java.lang.Object
 - 
- org.apache.tinkerpop.gremlin.driver.message.ResponseStatus
 
 
- 
public final class ResponseStatus extends Object
- Author:
 - Stephen Mallette (http://stephen.genoprime.com)
 
 
- 
- 
Constructor Summary
Constructors Constructor Description ResponseStatus(ResponseStatusCode code, String message, Map<String,Object> attributes) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>getAttributes()Gets the meta-data related to the response.ResponseStatusCodegetCode()Gets theResponseStatusCodethat describes how the server responded to the request.StringgetMessage()Gets the message associated with the code.StringtoString() 
 - 
 
- 
- 
Constructor Detail
- 
ResponseStatus
public ResponseStatus(ResponseStatusCode code, String message, Map<String,Object> attributes)
 
 - 
 
- 
Method Detail
- 
getCode
public ResponseStatusCode getCode()
Gets theResponseStatusCodethat describes how the server responded to the request. 
- 
getMessage
public String getMessage()
Gets the message associated with the code. 
- 
getAttributes
public Map<String,Object> getAttributes()
Gets the meta-data related to the response. If meta-data is returned it is to be considered specific to the "op" that is executed. Not all "op" implementations will return meta-data. 
 - 
 
 -