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 |
appendToBaseURI(URI baseURI,
String endpoint)
Append the base uri with endpoint
|
static URL |
appendToBaseURL(URL baseURL,
String endpoint)
Append the base url with endpoint
|
public static URL appendToBaseURI(URI baseURI, String endpoint)
baseURI - the base uriendpoint - the string to append to the base urlIllegalArgumentException - if baseUri+endpoint is not a real url.public static URL appendToBaseURL(URL baseURL, String endpoint)
baseURL - the base urlendpoint - the string to append to the base urlIllegalArgumentException - if baseUrl+endpoint is not a real url.public static URL appendQueryToBaseURL(URL baseURL, String query)
baseURL - the base url to append a query toquery - the query to append.IllegalArgumentException - if baseUrl+endpoint is not a real url.Copyright © 2014 JBoss by Red Hat. All rights reserved.