public class Request extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static int |
connectTimeout |
protected static String |
rawResponse |
protected static int |
readTimeout |
protected static String |
requestUrl |
| Constructor and Description |
|---|
Request() |
| Modifier and Type | Method and Description |
|---|---|
static String |
generateUrl(TreeMap<String,Object> params,
String secretId,
String secretKey,
String requestMethod,
String requestHost,
String requestPath) |
static String |
getRawResponse() |
static String |
getRequestUrl() |
static String |
send(TreeMap<String,Object> params,
String secretId,
String secretKey,
String requestMethod,
String requestHost,
String stsHost,
String requestPath) |
static String |
sendRequest(String url,
Map<String,Object> requestParams,
String requestMethod) |
protected static String requestUrl
protected static String rawResponse
protected static int connectTimeout
protected static int readTimeout
public static String getRequestUrl()
public static String getRawResponse()
public static String generateUrl(TreeMap<String,Object> params, String secretId, String secretKey, String requestMethod, String requestHost, String requestPath)
public static String send(TreeMap<String,Object> params, String secretId, String secretKey, String requestMethod, String requestHost, String stsHost, String requestPath)
Copyright © 2021. All rights reserved.