public class MediaDownloadRequestExecutor extends Object implements RequestExecutor<File,String>
| 构造器和说明 |
|---|
MediaDownloadRequestExecutor() |
MediaDownloadRequestExecutor(File tmpDirFile) |
public MediaDownloadRequestExecutor()
public MediaDownloadRequestExecutor(File tmpDirFile)
public File execute(org.apache.http.impl.client.CloseableHttpClient httpclient, org.apache.http.HttpHost httpProxy, String uri, String queryParam) throws WxErrorException, org.apache.http.client.ClientProtocolException, IOException
execute 在接口中 RequestExecutor<File,String>httpclient - 传入的httpClienthttpProxy - http代理对象,如果没有配置代理则为空uri - uriqueryParam - 数据WxErrorExceptionorg.apache.http.client.ClientProtocolExceptionIOExceptionprotected String getFileName(org.apache.http.client.methods.CloseableHttpResponse response)
Copyright © 2015. All rights reserved.