public class HttpComponentsChannelMediaDownloadRequestExecutor extends ChannelMediaDownloadRequestExecutor<org.apache.hc.client5.http.impl.classic.CloseableHttpClient,org.apache.hc.core5.http.HttpHost>
requestHttp, tmpDirFile| 构造器和说明 |
|---|
HttpComponentsChannelMediaDownloadRequestExecutor(RequestHttp<org.apache.hc.client5.http.impl.classic.CloseableHttpClient,org.apache.hc.core5.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 HttpComponentsChannelMediaDownloadRequestExecutor(RequestHttp<org.apache.hc.client5.http.impl.classic.CloseableHttpClient,org.apache.hc.core5.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.