@EnableConfigurationProperties(value=TenantConfig.class) public class HttpClient extends Object
| Constructor and Description |
|---|
HttpClient(int connTimeOut,
int readTimeOut,
int tokenRefreshTIme) |
| Modifier and Type | Method and Description |
|---|---|
String |
doGet(String url,
Map<String,String> params,
String authLoginName,
String authPassword,
String authUrl)
Get 请求
|
String |
doPost(String url,
String requestStr,
String authLoginName,
String authPassword,
String authUrl)
Post请求
|
public HttpClient(int connTimeOut,
int readTimeOut,
int tokenRefreshTIme)
Copyright © 2021. All rights reserved.