public final class UrlUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static URL |
appendQueryToBaseURL(URL baseURL,
String query)
Append the base url with the query.
|
static URL |
appendToBaseURL(URL baseURL,
String endpoint)
Append the base url with endpoint
|
public static URL appendToBaseURL(URL baseURL, String endpoint)
baseURL - endpoint - IllegalArgumentException - if baseUrl+endpoint is not a real url.public static URL appendQueryToBaseURL(URL baseURL, String query)
baseURL - query - IllegalArgumentException - if baseUrl+endpoint is not a real url.Copyright © 2013 JBoss by Red Hat. All Rights Reserved.