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(io.netty.handler.codec.http.HttpResponseStatus code, String message, String exception)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.netty.handler.codec.http.HttpResponseStatusgetCode()Gets theHttpResponseStatusthat describes how the server responded to the request.StringgetException()Gets the exception in case of error.StringgetMessage()Gets the message associated with the code.StringtoString()
-
-
-
Method Detail
-
getCode
public io.netty.handler.codec.http.HttpResponseStatus getCode()
Gets theHttpResponseStatusthat describes how the server responded to the request.
-
getMessage
public String getMessage()
Gets the message associated with the code.
-
getException
public String getException()
Gets the exception in case of error.
-
-