@Immutable public class URLData extends Object implements ISimpleURL
ISimpleURL| Modifier and Type | Field and Description |
|---|---|
static URLData |
EMPTY_URL_DATA
The string representing an empty URL.
|
| Constructor and Description |
|---|
URLData(String sPath) |
URLData(String sPath,
URLParameterList aParams) |
URLData(String sPath,
URLParameterList aParams,
String sAnchor) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getAnchor() |
String |
getPath() |
int |
hashCode() |
URLParameterList |
params() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAsStringWithEncodedParameters, getAsStringWithEncodedParameters, getAsStringWithoutEncodedParameters, getAsURI, getAsURL, getProtocol, hasAnchor, hasAnchor, hasKnownProtocolpublic static final URLData EMPTY_URL_DATA
public URLData(@Nonnull String sPath, @Nullable URLParameterList aParams)
@Nonnull public final String getPath()
getPath in interface ISimpleURLnull but maybe empty (e.g.
for "?x=y").@Nonnull @ReturnsMutableObject public final URLParameterList params()
params in interface ISimpleURLnull.@Nullable public final String getAnchor()
getAnchor in interface ISimpleURLnull if none is defined.Copyright © 2014–2019 Philip Helger. All rights reserved.