Class URLUtils
java.lang.Object
org.jenkins.ci.plugins.jobimport.utils.URLUtils
- Since:
- 1.0
- Author:
- Jesse Farinacci
-
Method Summary
-
Method Details
-
notNull
-
getUrl
public static org.apache.http.HttpResponse getUrl(String url, String username, String password) throws IOException - Parameters:
url
- The url to fetchusername
- The username to use while fetching the urlpassword
- The password to use while fetching the url- Returns:
- The HttpResponse received.
- Throws:
IOException
- If there was an issue in the communication with the server
-
fetchUrl
- Throws:
IOException
-
safeURL
-