public interface HttpManager
| Modifier and Type | Method and Description |
|---|---|
String |
delete(UtilProtos.Url url)
Perform an HTTP DELETE request to the specified URL.
|
String |
get(UtilProtos.Url url)
Perform an HTTP GET request to the specified URL.
|
String |
post(UtilProtos.Url url)
Perform an HTTP POST request to the specified URL.
|
String |
put(UtilProtos.Url url)
Perform an HTTP PUT request to the specified URL.
|
String get(UtilProtos.Url url) throws WebApiException, IOException
url - the UtilProtos.Url to HTTP GET.WebApiException - In case of error replies from the Web API.IOException - In case of networking issues.String post(UtilProtos.Url url) throws WebApiException, IOException
url - the UtilProtos.Url to HTTP POST.WebApiException - In case of error replies from the Web API.IOException - In case of networking issues.String delete(UtilProtos.Url url) throws WebApiException, IOException
url - the UtilProtos.Url to HTTP DELETE.WebApiExceptionIOExceptionString put(UtilProtos.Url url) throws IOException, WebApiException
url - the UtilProtos.Url to HTTP PUT.WebApiException - In case of error replies from the Web API.IOException - In case of networking issues.Copyright © 2015. All rights reserved.