public interface ISimpleURL extends IURLData, IHasStringRepresentation
| Modifier and Type | Field and Description |
|---|---|
static String |
EMPTY_URL_STRING
The string representing an empty URL.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAsString() |
String |
getAsStringWithEncodedParameters() |
String |
getAsStringWithEncodedParameters(Charset aCharset) |
String |
getAsStringWithEncodedParameters(String sCharset)
Deprecated.
|
String |
getParam(String sKey)
Get the parameter value of the given key.
|
directGetParams, getAllParams, getAnchor, getParamCount, getPath, getProtocol, hasAnchor, hasKnownProtocol, hasParamsstatic final String EMPTY_URL_STRING
@Nullable String getParam(@Nullable String sKey)
sKey - The key to check. May be null.null if no such parameter is present.@Nonnull String getAsString()
getAsString in interface IHasStringRepresentation@Nonnull String getAsStringWithEncodedParameters()
URLUtils.CHARSET_URL.@Nonnull @Deprecated String getAsStringWithEncodedParameters(@Nonnull@Nonempty String sCharset)
sCharset - The charset used for encoding the parameters. May neither be
null nor empty.Copyright © 2006–2015 phloc systems. All rights reserved.