public abstract class MinishopUploadRequestCustomizeExecutor<H,P> extends Object implements RequestExecutor<WxMinishopImageUploadCustomizeResult,File>
限定符和类型 | 字段和说明 |
---|---|
protected String |
imgUrl |
protected RequestHttp<H,P> |
requestHttp |
protected String |
respType |
protected String |
uploadType |
构造器和说明 |
---|
MinishopUploadRequestCustomizeExecutor(RequestHttp requestHttp,
String respType,
String imgUrl) |
限定符和类型 | 方法和说明 |
---|---|
static RequestExecutor<WxMinishopImageUploadCustomizeResult,File> |
create(RequestHttp requestHttp,
String respType,
String imgUrl) |
void |
execute(String uri,
File data,
ResponseHandler<WxMinishopImageUploadCustomizeResult> handler,
WxType wxType)
执行http请求.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute
protected RequestHttp<H,P> requestHttp
protected String respType
protected String uploadType
protected String imgUrl
public MinishopUploadRequestCustomizeExecutor(RequestHttp requestHttp, String respType, String imgUrl)
public void execute(String uri, File data, ResponseHandler<WxMinishopImageUploadCustomizeResult> handler, WxType wxType) throws WxErrorException, IOException
RequestExecutor
execute
在接口中 RequestExecutor<WxMinishopImageUploadCustomizeResult,File>
uri
- uridata
- 数据handler
- http响应处理器wxType
- 微信模块类型WxErrorException
- 自定义异常IOException
- io异常public static RequestExecutor<WxMinishopImageUploadCustomizeResult,File> create(RequestHttp requestHttp, String respType, String imgUrl)
Copyright © 2024. All rights reserved.