public String getMethod() {
        return method;
    }
Get the HTTP method of the request. The standard {@code /gremlin} endpoint only supports {@code POST}.

@return the HTTP method.
gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/HttpRequest.java