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.HttpResponseStatus
getCode()
Gets theHttpResponseStatus
that describes how the server responded to the request.String
getException()
Gets the exception in case of error.String
getMessage()
Gets the message associated with the code.String
toString()
-
-
-
Method Detail
-
getCode
public io.netty.handler.codec.http.HttpResponseStatus getCode()
Gets theHttpResponseStatus
that 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.
-
-