Class HttpUtils
- java.lang.Object
-
- com.sonyericsson.hudson.plugins.gerrit.trigger.utils.HttpUtils
-
public final class HttpUtils extends Object
Helper class for HTTP operations.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.http.client.methods.CloseableHttpResponse
performHTTPGet(IGerritHudsonTriggerConfig config, String url)
-
-
-
Method Detail
-
performHTTPGet
public static org.apache.http.client.methods.CloseableHttpResponse performHTTPGet(IGerritHudsonTriggerConfig config, String url) throws IOException
- Parameters:
config
- Gerrit Server Configuration.url
- URL to get.- Returns:
- httpresponse.
- Throws:
IOException
- if found.
-
-