public String getMethod() {
        return method;
    }
Constructs a new instance from the given HTTP request.

@param request the current request to save.
web/src/main/java/org/apache/shiro/web/util/SavedRequest.java