public class WxPayServiceApacheHttpImpl extends BaseWxPayServiceImpl
微信支付请求实现类,apache httpclient实现. Created by Binary Wang on 2016/7/28.
config| 构造器和说明 |
|---|
WxPayServiceApacheHttpImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
post(String url,
String requestStr,
boolean useKey)
发送post请求,得到响应字符串.
|
byte[] |
postForBytes(String url,
String requestStr,
boolean useKey)
发送post请求,得到响应字节数组.
|
authcode2Openid, authcode2Openid, closeOrder, closeOrder, createOrder, createScanPayQrcodeMode1, createScanPayQrcodeMode1, createScanPayQrcodeMode2, downloadBill, downloadBill, downloadFundFlow, downloadFundFlow, downloadRawBill, downloadRawBill, facepay, getConfig, getEntPayService, getPayBaseUrl, getPayInfo, getProfitSharingService, getSandboxSignKey, getWxApiData, getWxPayFaceAuthInfo, micropay, parseOrderNotifyResult, parseRefundNotifyResult, parseScanPayNotifyResult, queryComment, queryComment, queryCouponInfo, queryCouponStock, queryOrder, queryOrder, queryRedpack, queryRedpack, refund, refundQuery, refundQuery, report, reverseOrder, sendCoupon, sendRedpack, 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 exceptionCopyright © 2019. All rights reserved.