src/main/java/com/rockagen/commons/http/HttpConn.java
public static String send(UsernamePasswordCredentials upc, String target, RequestMethod method)
            throws IOException {

        return send(upc, target, ENCODING, method);
    }
public static String send(UsernamePasswordCredentials upc, String target, RequestMethod method)
            throws IOException {

        return send(upc, target, ENCODING, method);
    }
Send a http request with explicit params

@param upc    basic auth {@link UsernamePasswordCredentials}
@param target target address
@param method {@link com.rockagen.commons.http.RequestMethod}
@return result String
@throws IOException  if an I/O error occurs