Uses of Class
net.disy.oss.weburl.WebUrl
-
-
Uses of WebUrl in net.disy.oss.weburl
Methods in net.disy.oss.weburl that return WebUrl Modifier and Type Method Description WebUrlWebUrl.Builder. build()static WebUrlWebUrl. get(String url)Returns a newWebUrlrepresentingurl.WebUrlWebUrl. resolve(String link)Returns the URL that would be retrieved by followinglinkfrom this URL, or null if the resulting URL is not well-formed.Methods in net.disy.oss.weburl that return types with arguments of type WebUrl Modifier and Type Method Description static Optional<WebUrl>WebUrl. from(URI uri)Returns anOptionalforuriif its protocol ishttporhttps, orOptional.empty()if it has any other protocol.static Optional<WebUrl>WebUrl. parse(String url)Returns a newOptional<WebUrl>representingurlif it is a well-formed HTTP or HTTPS URL, orOptional.empty()if it isn't.
-