public class HTTPUtility extends Object
| Constructor and Description |
|---|
HTTPUtility() |
| Modifier and Type | Method and Description |
|---|---|
protected static <C> AvailableInAnotherContextException |
getElementAvailableInAnotherContextException(Class<C> clz) |
protected static <C> NotFoundException |
getElementNotFoundException(Class<C> clz) |
static <C> C |
getResponse(Class<C> clz,
HttpURLConnection connection) |
protected static StringBuilder |
getStringBuilder(InputStream inputStream) |
protected static <C> NotFoundException getElementNotFoundException(Class<C> clz) throws NotFoundException, ResourceRegistryException
protected static <C> AvailableInAnotherContextException getElementAvailableInAnotherContextException(Class<C> clz)
protected static StringBuilder getStringBuilder(InputStream inputStream) throws IOException
IOExceptionpublic static <C> C getResponse(Class<C> clz, HttpURLConnection connection) throws Exception
ExceptionCopyright © 2022. All Rights Reserved.