public final class HttpUtility extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
convertStreamToString(InputStream is)
Converts a response inputstream into a string.
|
static <T> ANetApiResponse |
postData(Environment env,
ANetApiRequest request,
Class<T> classType)
Posts a http request
|
public static <T> ANetApiResponse postData(Environment env, ANetApiRequest request, Class<T> classType)
env - Env to point torequest - Http request to sendclassType - Expected response type if successfulpublic static String convertStreamToString(InputStream is)
is - input streamCopyright © 2021. All rights reserved.