public class ApacheHttpChannelMediaDownloadRequestExecutor extends ChannelMediaDownloadRequestExecutor<org.apache.http.impl.client.CloseableHttpClient,org.apache.http.HttpHost>
requestHttp, tmpDirFile| 构造器和说明 |
|---|
ApacheHttpChannelMediaDownloadRequestExecutor(RequestHttp<org.apache.http.impl.client.CloseableHttpClient,org.apache.http.HttpHost> requestHttp,
File tmpDirFile) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
execute(String uri,
String data,
ResponseHandler<ChannelImageResponse> handler,
WxType wxType) |
ChannelImageResponse |
execute(String uri,
String data,
WxType wxType) |
create, createDefaultFileName, createTmpFile, extractFileNameFromContentStringpublic ApacheHttpChannelMediaDownloadRequestExecutor(RequestHttp<org.apache.http.impl.client.CloseableHttpClient,org.apache.http.HttpHost> requestHttp, File tmpDirFile)
public ChannelImageResponse execute(String uri, String data, WxType wxType) throws WxErrorException, IOException
public void execute(String uri, String data, ResponseHandler<ChannelImageResponse> handler, WxType wxType) throws WxErrorException, IOException
Copyright © 2026. All rights reserved.