public interface HttpUtil
| Modifier and Type | Interface and Description |
|---|---|
static class |
HttpUtil.ContentType |
static class |
HttpUtil.RequestMethod |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
request(@NonNull URL url,
HttpUtil.RequestMethod method,
Object request,
Map<String,String> headers,
Class<T> clazz) |
String |
request(URL url,
HttpUtil.RequestMethod method,
String query) |
String |
request(URL url,
HttpUtil.RequestMethod method,
String query,
HttpUtil.ContentType contentType) |
String |
request(@NonNull URL url,
HttpUtil.RequestMethod method,
String query,
HttpUtil.ContentType contentType,
Map<String,String> headers) |
String |
request(@NonNull URL url,
HttpUtil.RequestMethod method,
String query,
Map<String,String> headers) |
<T> List<T> |
requestList(@NonNull URL url,
HttpUtil.RequestMethod method,
Object request,
Map<String,String> headers,
Class<T[]> clazz) |
<T> T request(@NonNull
@NonNull URL url,
HttpUtil.RequestMethod method,
Object request,
Map<String,String> headers,
Class<T> clazz)
throws IOException,
WebpayException
IOExceptionWebpayException<T> List<T> requestList(@NonNull @NonNull URL url, HttpUtil.RequestMethod method, Object request, Map<String,String> headers, Class<T[]> clazz) throws IOException, WebpayException
IOExceptionWebpayExceptionString request(URL url, HttpUtil.RequestMethod method, String query) throws IOException, WebpayException
IOExceptionWebpayExceptionString request(URL url, HttpUtil.RequestMethod method, String query, HttpUtil.ContentType contentType) throws IOException, WebpayException
IOExceptionWebpayExceptionString request(@NonNull @NonNull URL url, HttpUtil.RequestMethod method, String query, Map<String,String> headers) throws IOException, WebpayException
IOExceptionWebpayExceptionString request(@NonNull @NonNull URL url, HttpUtil.RequestMethod method, String query, HttpUtil.ContentType contentType, Map<String,String> headers) throws IOException, WebpayException
IOExceptionWebpayExceptionCopyright © 2018–2024. All rights reserved.