| Package | Description |
|---|---|
| cl.transbank.util |
| Modifier and Type | Method and Description |
|---|---|
static HttpUtil.ContentType |
HttpUtil.ContentType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpUtil.ContentType[] |
HttpUtil.ContentType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
String |
HttpUtil.request(URL url,
HttpUtil.RequestMethod method,
String query,
HttpUtil.ContentType contentType) |
String |
HttpUtilImpl.request(@NonNull URL url,
HttpUtil.RequestMethod method,
String query,
HttpUtil.ContentType contentType)
Sends a HTTP request and returns the response.
|
String |
HttpUtil.request(@NonNull URL url,
HttpUtil.RequestMethod method,
String query,
HttpUtil.ContentType contentType,
Map<String,String> headers) |
String |
HttpUtilImpl.request(@NonNull URL url,
HttpUtil.RequestMethod method,
String query,
HttpUtil.ContentType contentType,
Map<String,String> headers)
Sends a HTTP request and returns the response.
|
Copyright © 2018–2024. All rights reserved.