Package org.geotools.data.wfs.internal
Class URIs
Object
URIs
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringappendContextPath(String url, String contextPath) Appends a context path to a base url.static StringappendQueryString(String url, String queryString) Appends a query string to a url.static Stringstatic Stringstatic URLstatic URLparseQueryString(String queryString) static Stringstatic StringURL encodes the value towards the ISO-8859-1 charset
-
Constructor Details
-
URIs
public URIs()
-
-
Method Details
-
buildURL
-
buildURL
-
buildURL
-
buildURL
-
appendContextPath
Appends a context path to a base url.- Parameters:
url- The base url.contextPath- The context path to be appended.- Returns:
- A full url with the context path appended.
-
urlEncode
URL encodes the value towards the ISO-8859-1 charset -
urlDecode
-
appendQueryString
Appends a query string to a url.This method checks
urlto see if the appended query string requires a '?' or '&' to be prepended.This code can be used to make sure the url ends with ? or & by calling appendQueryString(url, "")
- Parameters:
url- The base url.queryString- The query string to be appended, should not contain the '?' character.- Returns:
- A full url with the query string appended.
TODO: remove this and replace with Requetss.appendQueryString
-
parseQueryString
-