public class WxPayServiceApacheHttpImpl extends BaseWxPayServiceImpl
微信支付请求实现类,apache httpclient实现. Created by Binary Wang on 2016/7/28.
config| 构造器和说明 |
|---|
WxPayServiceApacheHttpImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getV3(URI url)
发送get V3请求,得到响应字符串.
|
String |
post(String url,
String requestStr,
boolean useKey)
发送post请求,得到响应字符串.
|
byte[] |
postForBytes(String url,
String requestStr,
boolean useKey)
发送post请求,得到响应字节数组.
|
String |
postV3(String url,
org.apache.http.client.methods.HttpPost httpPost)
发送post请求,得到响应字符串.
|
String |
postV3(String url,
String requestStr)
发送post请求,得到响应字符串.
|
String |
postV3WithWechatpaySerial(String url,
String requestStr)
发送post请求,得到响应字符串.
|
authcode2Openid, authcode2Openid, closeOrder, closeOrder, createOrder, createOrder, createScanPayQrcodeMode1, createScanPayQrcodeMode1, createScanPayQrcodeMode2, downloadBill, downloadBill, downloadFundFlow, downloadFundFlow, downloadRawBill, downloadRawBill, facepay, getConfig, getEcommerceService, getEntPayService, getPayBaseUrl, getPayInfo, getPayScoreService, getProfitSharingService, getRedpackService, getSandboxSignKey, getWxApiData, getWxPayFaceAuthInfo, micropay, parseOrderNotifyResult, parseOrderNotifyResult, parseRefundNotifyResult, parseScanPayNotifyResult, queryComment, queryComment, queryCouponInfo, queryCouponStock, queryExchangeRate, queryOrder, queryOrder, refund, refundQuery, refundQuery, refundQueryV2, refundV2, report, reverseOrder, sendCoupon, setConfig, setEntPayService, shorturl, shorturl, unifiedOrderpublic byte[] postForBytes(String url, String requestStr, boolean useKey) throws WxPayException
WxPayServiceurl - 请求地址requestStr - 请求信息useKey - 是否使用证书WxPayException - the wx pay exceptionpublic String post(String url, String requestStr, boolean useKey) throws WxPayException
WxPayServiceurl - 请求地址requestStr - 请求信息useKey - 是否使用证书WxPayException - the wx pay exceptionpublic String postV3(String url, String requestStr) throws WxPayException
WxPayServiceurl - 请求地址requestStr - 请求信息WxPayException - the wx pay exceptionpublic String postV3WithWechatpaySerial(String url, String requestStr) throws WxPayException
WxPayServiceurl - 请求地址requestStr - 请求信息WxPayException - the wx pay exceptionpublic String postV3(String url, org.apache.http.client.methods.HttpPost httpPost) throws WxPayException
WxPayServiceurl - 请求地址httpPost - 请求信息WxPayException - the wx pay exceptionpublic String getV3(URI url) throws WxPayException
WxPayServiceurl - 请求地址WxPayException - the wx pay exceptionCopyright © 2020. All rights reserved.