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

        return sendBody(upc, keystore, password, targetHost, uri,
                new ByteArrayEntity(body), proxyHost, encoding, method, headers);
    }
public static String sendBody(UsernamePasswordCredentials upc,
                                  InputStream keystore, char[] password,
                                  HttpHost targetHost, String uri, byte[] body, HttpHost proxyHost,
                                  String encoding, RequestMethod method, Header... headers) throws IOException {

        return sendBody(upc, keystore, password, targetHost, uri,
                new ByteArrayEntity(body), proxyHost, encoding, method, headers);
    }
public static String sendBody ( UsernamePasswordCredentials upc , InputStream keystore , char [ ] password , HttpHost targetHost , String uri , byte [ ] body , HttpHost proxyHost , String encoding , RequestMethod method , Header ... headers ) throws IOException { return sendBody ( upc , keystore , password , targetHost , uri , new ByteArrayEntity ( body ) , 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 body       request body
@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
Send a http request with implicit params