src/main/java/com/rockagen/commons/http/HttpConn.java
public static String sendBody(UsernamePasswordCredentials upc,
                                  InputStream keystore, char[] password,
                                  HttpHost targetHost, String uri, List<NameValuePair> params,
                                  HttpHost proxyHost, String encoding, RequestMethod method, Header... headers)
            throws IOException {

        return sendBody(upc, keystore, password, targetHost, uri,
                new UrlEncodedFormEntity(params), proxyHost, encoding, method, headers);
    }
public static String sendBody(UsernamePasswordCredentials upc,
                                  InputStream keystore, char[] password,
                                  HttpHost targetHost, String uri, List<NameValuePair> params,
                                  HttpHost proxyHost, String encoding, RequestMethod method, Header... headers)
            throws IOException {

        return sendBody(upc, keystore, password, targetHost, uri,
                new UrlEncodedFormEntity(params), proxyHost, encoding, method, headers);
    }
Send a http request with implicit params

@param upc        basic auth {@link UsernamePasswordCredentials}
@param keystore   keyStore InputStream
@param password   keyStore password
@param targetHost HttpHost
@param uri        URI
@param params parameters     ( ArrayList NameValuePair)
@param proxyHost  HttpHost
@param encoding   (default UTF-8)
@param method     {@link com.rockagen.commons.http.RequestMethod}
@param headers headers
@return result String
@throws IOException  if an I/O error occurs