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 SummaryConstructors Constructor Description ResponseStatus(ResponseStatusCode code, String message, Map<String,Object> attributes)
 - 
Method SummaryAll 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- 
ResponseStatuspublic ResponseStatus(ResponseStatusCode code, String message, Map<String,Object> attributes) 
 
- 
 - 
Method Detail- 
getCodepublic ResponseStatusCode getCode() Gets theResponseStatusCodethat describes how the server responded to the request.
 - 
getMessagepublic String getMessage() Gets the message associated with the code.
 - 
getAttributespublic 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.
 
- 
 
-