public interface IURLData extends Serializable
| Modifier and Type | Method and Description |
|---|---|
ICommonsOrderedMap<String,String> |
directGetAllParams() |
ICommonsOrderedMap<String,String> |
getAllParams() |
String |
getAnchor() |
int |
getParamCount() |
String |
getPath() |
default IURLProtocol |
getProtocol() |
boolean |
hasAnchor() |
default boolean |
hasKnownProtocol() |
boolean |
hasParams() |
@Nullable default IURLProtocol getProtocol()
null for an unknown
protocol.default boolean hasKnownProtocol()
true if the URL has a known protocol@Nonnull String getPath()
null but maybe empty (e.g.
for "?x=y").boolean hasParams()
true if at least one parameter is present,
false otherwise.@Nonnegative int getParamCount()
@Nullable @ReturnsMutableObject(value="design") ICommonsOrderedMap<String,String> directGetAllParams()
null.@Nonnull @ReturnsMutableCopy ICommonsOrderedMap<String,String> getAllParams()
null.boolean hasAnchor()
true if an anchor is present, false
otherwise.Copyright © 2014–2016 Philip Helger. All rights reserved.