Class HttpUtils


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