src/main/java/com/rockagen/commons/http/HttpConn.java
public static String sendBody(UsernamePasswordCredentials upc,
                                  String target, byte[] body, String proxy, String encoding,
                                  Map<String, String> headers, RequestMethod method) throws IOException {

        return sendBody(upc, null, null, target, body, proxy, encoding, headers, method);

    }
public static String sendBody(UsernamePasswordCredentials upc,
                                  String target, byte[] body, String proxy, String encoding,
                                  Map<String, String> headers, RequestMethod method) throws IOException {

        return sendBody(upc, null, null, target, body, proxy, encoding, headers, method);

    }
public static String sendBody ( UsernamePasswordCredentials upc , String target , byte [ ] body , String proxy , String encoding , Map < String , String > headers , RequestMethod method ) throws IOException { return sendBody ( upc , null , null , target , body , proxy , encoding , headers , method ) ; }
Send a http request with implicit params

@param upc      basic auth {@link UsernamePasswordCredentials}
@param target   target address
@param body     request body
@param proxy    proxy address
@param encoding (default UTF-8)
@param headers headers
@param method   {@link com.rockagen.commons.http.RequestMethod}
@return result String
@throws IOException  if an I/O error occurs
Send a http request with implicit params