### Question:
ApacheHttpClient implements ApiHttpClient { public RequestBuilder buildPost(String url){ PostMethod post = new PostMethod(url); HttpClientRequestBuilder ret=new HttpClientRequestBuilder(url,post,HttpManager.isBlockResource(url)); return ret; } ApacheHttpClient();  ApacheHttpClient(int maxConPerHost, int conTimeOutMs, int soTimeOutMs, int maxSize);  ApacheHttpClient(int maxConPerHost, int conTimeOutMs, int soTimeOutMs, int maxSize,int minThread,int maxThread); @Deprecated String getURL(String url); @Deprecated void getURL(String url, ByteBuffer bb); @Deprecated int getURL(String url, OutputStream out); @Deprecated String requestURL(String url, Map<String, ?> nameValues); @Deprecated int requestURL(String url, Map<String, ?> nameValues, OutputStream out); @Deprecated String multURL_UTF8(String url, Map<String, Object> nameValues); void setProxyHostPort(String proxyHostPort); String getProxyHostPort(); HttpClient getClient(); @Deprecated String requestURL(String url, Map<String, String> nameValues, Map<String,String> headers); @Deprecated int requestURL(String url, Map<String, ?> nameValues, Map<String,?> headers, OutputStream out); void setAccessLog(AccessLog accessLog); @Override String get(String url); String get(String url,Map<String,String> headers); @Override String get(String url, String charset); String get(String url,Map<String,String> headers, String charset); String getAsync(final String url); String getAsync(final String url, final long timeout); Future<String> getAsyncFuture(final String url); String postAsync(final String url,final Map<String, ?> nameValues); Future<String> postAsyncFuture(final String url,final Map<String, ?> nameValues); byte[] getByte(String url); @Override String post(String url, Map<String, ?> nameValues); @Override String post(String url, Map<String, ?> nameValues, String charset); String post(String url, Map<String, ?> nameValues,Map<String,String> headers, String charset); String postMulti(String url, Map<String, Object> nameValues); String postMulti(String url, Map<String, Object> nameValues,String charset); String postMulti(String url, InputStream in); String postMulti(String url, byte[] buf); T get(String url, ResultConvert<T> c); T get(String url,String charset,ResultConvert<T> c); T post(String url,Map<String, ?> nameValues, ResultConvert<T> c); T post(String url, Map<String, ?> nameValues,String charset, ResultConvert<T> c); T postMulti(String url, Map<String, Object> nameValues,String charset, ResultConvert<T> c); RequestBuilder buildGet(String url); RequestBuilder buildPost(String url);  }### Answer:
@Test public void testBuildPost(){ ApiHttpClient client = new ApacheHttpClient(100, 1000, 1000, 1024*100); String headvalue="headvalue"; String result=client.buildPost("http: .withHeader(TEST_HEADER_PREFIX+"ahead", headvalue).withParam("uid", "1") .withParam("uid", "2").withParam("uid2", new String[]{"3","4"}) .withParam("content", "中文").execute(); ApiLogger.debug(result); Assert.assertTrue(StringUtils.contains(result, headvalue)); }