public static Version fromString(String str) {
            for (Version version : values()) {
                if (version.str.equals(str)) {
                    return version;
                }
            }
            throw new IllegalArgumentException(str);
        }
A HTTP request.

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