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 Details

    • ResponseStatus

      public ResponseStatus(io.netty.handler.codec.http.HttpResponseStatus code, String message, String exception)
  • Method Details

    • getCode

      public io.netty.handler.codec.http.HttpResponseStatus getCode()
      Gets the HttpResponseStatus 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.
    • toString

      public String toString()
      Overrides:
      toString in class Object