public void setMethod(Method method) {
        this.method = method;
    }
A HTTP request.

@author Anirudha Khanna
@author Einar M R Rosenvinge
container-core/src/main/java/com/yahoo/jdisc/http/HttpRequest.java