public class HttpUtil extends Object
Constructor and Description |
---|
HttpUtil() |
Modifier and Type | Method and Description |
---|---|
static <T> T |
httpRequest(String method,
String url,
Class cls) |
static <T> T |
httpRequest(String method,
String url,
String data,
Class cls) |
static <T> T |
httpRequest(String method,
String url,
String data,
Class cls,
btac.api.java.restModel.Token token) |
static <T> T |
httpRequest(String method,
String url,
String data,
Class cls,
Type type,
btac.api.java.restModel.Token token) |
static <T> T |
httpRequest(String method,
String url,
String data,
Type type) |
static <T> T |
httpRequest(String method,
String url,
String data,
Type type,
btac.api.java.restModel.Token token) |
public static <T> T httpRequest(String method, String url, String data, Class cls) throws Exception
Exception
public static <T> T httpRequest(String method, String url, String data, Type type, btac.api.java.restModel.Token token) throws Exception
Exception
public static <T> T httpRequest(String method, String url, String data, Type type) throws Exception
Exception
public static <T> T httpRequest(String method, String url, String data, Class cls, btac.api.java.restModel.Token token) throws Exception
Exception
public static <T> T httpRequest(String method, String url, Class cls) throws Exception
Exception