public HttpRequest setMethod(final String method) {
        this.method = method;
        return this;
    }
Set the HTTP method of the request.

@return this HttpRequest for method chaining.
gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/HttpRequest.java