public HttpChannel open(MethodType methodType, String url, Charset charset) throws IOException {
        HttpURLConnection con = (HttpURLConnection) new URL(url).openConnection();
        con.setRequestMethod(methodType.name());
        return new HttpURLConnectionHttpChannel(con, methodType);
    }
public HttpChannel open ( MethodType methodType , String url , Charset charset ) throws IOException { HttpURLConnection con = ( HttpURLConnection ) new URL ( url ) . openConnection ( ) ; con . setRequestMethod ( methodType . name ( ) ) ; return new HttpURLConnectionHttpChannel ( con , methodType ) ; }
@inheritDoc