class HttpRequest {

    public String getEncodedParameter(String name) {
        Matcher matcher = Pattern.compile(Pattern.quote(name) + "=([^&#]+)").matcher(queryString);
        if (matcher.find()) {
            return matcher.group(1);
        } else {
            return Util.urlEncoder(getParameter(name));
        }
    }

    @Deprecated public  HttpRequest(String requestURL);
    public  HttpRequest(String requestURL, String queryString);
    @Deprecated public  HttpRequest(String requestURL, Map<String, List<String>> parameters);
    public  HttpRequest(String requestURL, Map<String, List<String>> parameters, String queryString);

}