public class RestfulHttpRequest extends Object
| 构造器和说明 |
|---|
RestfulHttpRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
checkHttpReceiveJSON(HttpReceiveJSON resJson) |
String |
doDelete(AppSession appSession,
String httpDeleteUrl) |
String |
doDelete(AppSession appSession,
String httpDeleteUrl,
Map<String,Object> queryParam) |
static String |
formPost(AppSession appSession,
String httpPostUrl,
Object formData) |
static String |
formPost(AppSession appSession,
String httpPostUrl,
Object formData,
boolean asPut) |
static String |
formPut(AppSession appSession,
String httpPostUrl,
Object formData) |
static HttpReceiveJSON |
getResponseData(AppSession appSession,
String httpGetUrl) |
static HttpReceiveJSON |
getResponseData(AppSession appSession,
String httpGetUrl,
Map<String,Object> queryParam) |
static <T> T |
getResponseObject(AppSession appSession,
String httpGetUrl,
Class<T> clazz) |
static <T> T |
getResponseObject(AppSession appSession,
String httpGetUrl,
Map<String,Object> queryParam,
Class<T> clazz) |
static <T> List<T> |
getResponseObjectList(AppSession appSession,
String httpGetUrl,
Class<T> clazz) |
static <T> List<T> |
getResponseObjectList(AppSession appSession,
String httpGetUrl,
Map<String,Object> queryParam,
Class<T> clazz) |
static String |
jsonPost(AppSession appSession,
String httpPostUrl,
Object formData) |
static String |
jsonPost(AppSession appSession,
String httpPostUrl,
Object formData,
boolean asPut) |
static String |
jsonPut(AppSession appSession,
String httpPostUrl,
Object formData) |
public static void checkHttpReceiveJSON(HttpReceiveJSON resJson)
public static HttpReceiveJSON getResponseData(AppSession appSession, String httpGetUrl)
public static <T> List<T> getResponseObjectList(AppSession appSession, String httpGetUrl, Class<T> clazz)
public static <T> T getResponseObject(AppSession appSession, String httpGetUrl, Class<T> clazz)
public static HttpReceiveJSON getResponseData(AppSession appSession, String httpGetUrl, Map<String,Object> queryParam)
public static <T> List<T> getResponseObjectList(AppSession appSession, String httpGetUrl, Map<String,Object> queryParam, Class<T> clazz)
public static <T> T getResponseObject(AppSession appSession, String httpGetUrl, Map<String,Object> queryParam, Class<T> clazz)
public static String jsonPost(AppSession appSession, String httpPostUrl, Object formData, boolean asPut)
public static String jsonPost(AppSession appSession, String httpPostUrl, Object formData)
public static String jsonPut(AppSession appSession, String httpPostUrl, Object formData)
public static String formPost(AppSession appSession, String httpPostUrl, Object formData, boolean asPut)
public static String formPost(AppSession appSession, String httpPostUrl, Object formData)
public static String formPut(AppSession appSession, String httpPostUrl, Object formData)
public String doDelete(AppSession appSession, String httpDeleteUrl)
Copyright © 2021 江苏南大先腾信息产业股份有限公司. All rights reserved.