Class HttpUtils
java.lang.Object
com.sonyericsson.hudson.plugins.gerrit.trigger.utils.HttpUtils
Helper class for HTTP operations.
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.http.client.methods.CloseableHttpResponseperformHTTPGet(IGerritHudsonTriggerConfig config, String url)
-
Method Details
-
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.
-