public class NormalizedUrl extends Url
| Constructor and Description |
|---|
NormalizedUrl(UrlMarker urlMarker) |
| Modifier and Type | Method and Description |
|---|---|
static NormalizedUrl |
create(String url)
Returns a normalized url given a single url.
|
String |
getHost() |
byte[] |
getHostBytes()
Returns the byte representation of the ip address.
|
String |
getPath() |
getFragment, getFullUrl, getFullUrlWithoutFragment, getOriginalUrl, getPassword, getPort, getQuery, getRawHost, getRawPath, getScheme, getUrlMarker, getUsername, normalize, setRawHost, setRawPath, toStringpublic NormalizedUrl(UrlMarker urlMarker)
public static NormalizedUrl create(String url) throws MalformedURLException
MalformedURLExceptionpublic byte[] getHostBytes()
getHostBytes in class UrlCopyright © 2016. All rights reserved.