java.lang.Object
com.sonyericsson.hudson.plugins.gerrit.trigger.utils.HttpUtils

public final class HttpUtils extends Object
Helper class for HTTP operations.
  • 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.