Class ResponseStatus
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.util.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.ResponseStatusCode
getCode()
Gets theResponseStatusCode
that describes how the server responded to the request.String
getMessage()
Gets the message associated with the code.String
toString()
-
-
-
Constructor Detail
-
ResponseStatus
public ResponseStatus(ResponseStatusCode code, String message, Map<String,Object> attributes)
-
-
Method Detail
-
getCode
public ResponseStatusCode getCode()
Gets theResponseStatusCode
that 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.
-
-