Class UriUtil
java.lang.Object
com.predic8.membrane.core.openapi.util.UriUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetPathFromURL(URIFactory factory, String str) static StringgetUrlWithoutPath(URL url) static Stringstatic Stringstatic StringtrimQueryString(String path) static StringtrimTrailingSlash(String path)
-
Constructor Details
-
UriUtil
public UriUtil()
-
-
Method Details
-
normalizeUri
-
trimQueryString
-
trimTrailingSlash
-
getUrlWithoutPath
-
rewrite
public static String rewrite(URIFactory uriFactory, String url, String scheme, String host, String port) throws URISyntaxException - Throws:
URISyntaxException
-
getPathFromURL
- Throws:
URISyntaxException
-