public class HTTPUtility extends Object
| Constructor and Description |
|---|
HTTPUtility() |
| Modifier and Type | Method and Description |
|---|---|
static org.gcube.common.gxhttp.request.GXHTTPStringRequest |
createGXHTTPStringRequest(String url,
String path,
boolean post) |
static String |
getResultAsString(HttpURLConnection httpURLConnection) |
static StringBuilder |
getStringBuilder(InputStream inputStream) |
public static StringBuilder getStringBuilder(InputStream inputStream) throws IOException
IOExceptionpublic static org.gcube.common.gxhttp.request.GXHTTPStringRequest createGXHTTPStringRequest(String url, String path, boolean post) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic static String getResultAsString(HttpURLConnection httpURLConnection) throws IOException
IOExceptionCopyright © 2020. All Rights Reserved.