public class WxPayServiceJoddHttpImpl extends BaseWxPayServiceImpl
configMap| 构造器和说明 |
|---|
WxPayServiceJoddHttpImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
InputStream |
downloadV3(String url)
发送下载 V3请求,得到响应流.
|
String |
getV3(String 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请求,得到响应字符串.
|
String |
requestV3(String url,
org.apache.http.client.methods.HttpRequestBase httpRequest)
发送http请求,得到响应字符串.
|
addConfig, authcode2Openid, authcode2Openid, closeOrder, closeOrder, createOrder, createOrder, createScanPayQrcodeMode1, createScanPayQrcodeMode1, createScanPayQrcodeMode2, downloadBill, downloadBill, downloadFundFlow, downloadFundFlow, downloadRawBill, downloadRawBill, facepay, getBusinessCircleService, getConfig, getEcommerceService, getEntPayService, getMarketingFavorService, getMarketingMediaService, getMerchantMediaService, getPayBaseUrl, getPayInfo, getPayScoreService, getProfitSharingService, getRedpackService, getSandboxSignKey, getWxApiData, getWxPayFaceAuthInfo, micropay, parseOrderNotifyResult, parseOrderNotifyResult, parseRefundNotifyResult, parseScanPayNotifyResult, parseScanPayNotifyResult, queryComment, queryComment, queryCouponInfo, queryCouponStock, queryExchangeRate, queryOrder, queryOrder, refund, refundQuery, refundQuery, refundQueryV2, refundV2, removeConfig, report, reverseOrder, sendCoupon, setConfig, setEntPayService, setMultiConfig, setMultiConfig, shorturl, shorturl, switchover, switchoverTo, 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
WxPayService部分字段会包含敏感信息,所以在提交前需要在请求头中会包含"Wechatpay-Serial"信息
url - 请求地址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 requestV3(String url, org.apache.http.client.methods.HttpRequestBase httpRequest) throws WxPayException
WxPayServiceurl - 请求地址httpRequest - 请求信息,可以是put,post,get,delete等请求WxPayException - the wx pay exceptionpublic String getV3(String url) throws WxPayException
WxPayServiceurl - 请求地址WxPayException - the wx pay exceptionpublic InputStream downloadV3(String url) throws WxPayException
WxPayServiceurl - 请求地址WxPayException - the wx pay exceptionCopyright © 2021. All rights reserved.