Index
All Classes and Interfaces|All Packages|Constant Field Values
C
- com.aoapps.net.partialurl - module com.aoapps.net.partialurl
- com.aoapps.net.partialurl - package com.aoapps.net.partialurl
- compareTo(SinglePartialURL) - Method in class com.aoapps.net.partialurl.SinglePartialURL
D
- DEFAULT - Static variable in class com.aoapps.net.partialurl.PartialURL
-
A
SinglePartialURL
consisting of all null fields that will match all requests and can serve as a match for a default host.
E
- equals(Object) - Method in class com.aoapps.net.partialurl.MultiPartialURL
- equals(Object) - Method in class com.aoapps.net.partialurl.PartialURL
- equals(Object) - Method in class com.aoapps.net.partialurl.PartialURLMatch
-
Two matches are equal when they have the same partialUrl (by .equals), singleUrl (by .equals), url (by .equals), and value (by identity).
- equals(Object) - Method in class com.aoapps.net.partialurl.SinglePartialURL
F
- FieldSource - Interface in com.aoapps.net.partialurl
-
A source providing the incomplete fields of
PartialURL
and used in matching.
G
- get(FieldSource) - Method in class com.aoapps.net.partialurl.PartialURLMap
-
Gets the value associated with the given URL, returning the most specific match.
- getCombinations() - Method in class com.aoapps.net.partialurl.MultiPartialURL
-
Gets all combinations of single partial URLs represented by this partial URL.
- getCombinations() - Method in class com.aoapps.net.partialurl.PartialURL
-
Gets all combinations of single partial URLs represented by this partial URL.
- getCombinations() - Method in class com.aoapps.net.partialurl.SinglePartialURL
-
Gets all combinations of single partial URLs represented by this partial URL.
- getContextPath() - Method in interface com.aoapps.net.partialurl.FieldSource
-
Gets the context path for this URL, only ending in a slash (/) when is
the root context
. - getContextPath() - Method in class com.aoapps.net.partialurl.SinglePartialURL
-
Gets the context path for this partial URL, only ending in a slash (/) when is
the root context
. - getContextPath() - Method in class com.aoapps.net.partialurl.URLFieldSource
-
Gets the context path for this URL, only ending in a slash (/) when is
the root context
. - getContextPaths() - Method in class com.aoapps.net.partialurl.MultiPartialURL
-
Gets the unmodifiable set of context paths for this partial URL, only ending in a slash (/) when is
the root context
. - getHost() - Method in interface com.aoapps.net.partialurl.FieldSource
-
Gets the IP address or hostname for this URL.
- getHost() - Method in class com.aoapps.net.partialurl.SinglePartialURL
-
Gets the IP address or hostname for this partial URL.
- getHost() - Method in class com.aoapps.net.partialurl.URLFieldSource
-
Gets the IP address or hostname for this URL.
- getHosts() - Method in class com.aoapps.net.partialurl.MultiPartialURL
-
Gets the unmodifiable set of IP addresses or hostnames for this partial URL.
- getPartialURL() - Method in class com.aoapps.net.partialurl.PartialURLMatch
-
Gets the partial URL that matched the lookup.
- getPath() - Method in interface com.aoapps.net.partialurl.FieldSource
-
Gets the path for this URL or
null
when the path does not exist or is empty. - getPath() - Method in class com.aoapps.net.partialurl.URLFieldSource
-
Gets the path for this URL or
null
when the path does not exist or is empty. - getPort() - Method in interface com.aoapps.net.partialurl.FieldSource
-
Gets the port number for this URL.
- getPort() - Method in class com.aoapps.net.partialurl.SinglePartialURL
-
Gets the port number for this partial URL.
- getPort() - Method in class com.aoapps.net.partialurl.URLFieldSource
-
Gets the port number for this URL.
- getPorts() - Method in class com.aoapps.net.partialurl.MultiPartialURL
-
Gets the unmodifiable set of port numbers for this partial URL.
- getPrefix() - Method in class com.aoapps.net.partialurl.SinglePartialURL
-
Gets the prefix of the path for this partial URL, always either
null
or ending in a slash (/). - getPrefixes() - Method in class com.aoapps.net.partialurl.MultiPartialURL
-
Gets the unmodifiable set of prefixes of the path for this partial URL, always either
null
or ending in a slash (/). - getPrimary() - Method in class com.aoapps.net.partialurl.MultiPartialURL
-
Gets the primary single partial URL for this partial URL.
- getPrimary() - Method in class com.aoapps.net.partialurl.PartialURL
-
Gets the primary single partial URL for this partial URL.
- getPrimary() - Method in class com.aoapps.net.partialurl.SinglePartialURL
-
Gets the primary single partial URL for this partial URL.
- getScheme() - Method in interface com.aoapps.net.partialurl.FieldSource
-
Gets the scheme (such as https/http/other) for this URL.
- getScheme() - Method in class com.aoapps.net.partialurl.SinglePartialURL
-
Gets the lower-case scheme (such as https/http/other) for this partial URL.
- getScheme() - Method in class com.aoapps.net.partialurl.URLFieldSource
-
Gets the scheme (such as https/http/other) for this URL.
- getSchemes() - Method in class com.aoapps.net.partialurl.MultiPartialURL
-
Gets the unmodifiable set of lower-case schemes (such as https/http/other) for this partial URL.
- getSingleURL() - Method in class com.aoapps.net.partialurl.PartialURLMatch
-
Gets the single partial URL that matched the lookup.
- getUrl() - Method in class com.aoapps.net.partialurl.PartialURLMatch
-
Gets the completed
URL
, withnull
fields selected from theFieldSource
used inPartialURLMap.get(com.aoapps.net.partialurl.FieldSource)
. - getValue() - Method in class com.aoapps.net.partialurl.PartialURLMatch
-
Gets the value associated with the partial URL.
H
- hashCode() - Method in class com.aoapps.net.partialurl.MultiPartialURL
- hashCode() - Method in class com.aoapps.net.partialurl.PartialURL
- hashCode() - Method in class com.aoapps.net.partialurl.PartialURLMatch
- hashCode() - Method in class com.aoapps.net.partialurl.SinglePartialURL
- HTTP - Static variable in class com.aoapps.net.partialurl.PartialURL
-
The http scheme.
- HTTPS - Static variable in class com.aoapps.net.partialurl.PartialURL
-
The https scheme.
I
- isComplete() - Method in class com.aoapps.net.partialurl.MultiPartialURL
- isComplete() - Method in class com.aoapps.net.partialurl.PartialURL
-
Checks if this partial URL is complete (has no
null
fields other than prefix). - isComplete() - Method in class com.aoapps.net.partialurl.SinglePartialURL
M
- matches(FieldSource) - Method in class com.aoapps.net.partialurl.MultiPartialURL
- matches(FieldSource) - Method in class com.aoapps.net.partialurl.PartialURL
-
Checks if the given
FieldSource
matches this partial URL. - matches(FieldSource) - Method in class com.aoapps.net.partialurl.SinglePartialURL
-
Checks if the given
FieldSource
matches this partial URL. - MultiPartialURL - Class in com.aoapps.net.partialurl
-
A
PartialURL
that may contains multiple values for each field matched.
N
- NULL_CONTEXT_PATH - Static variable in class com.aoapps.net.partialurl.PartialURL
-
The value used to represent
null
SinglePartialURL.getContextPath()
orMultiPartialURL.getContextPaths()
. - NULL_PREFIX - Static variable in class com.aoapps.net.partialurl.PartialURL
P
- PartialURL - Class in com.aoapps.net.partialurl
-
A
PartialURL
matches and completes URLs. - PartialURL() - Constructor for class com.aoapps.net.partialurl.PartialURL
-
Creates a new partial URL.
- PartialURLMap<V> - Class in com.aoapps.net.partialurl
-
Maps
partial URLs
to arbitrary values and provides fast lookups. - PartialURLMap() - Constructor for class com.aoapps.net.partialurl.PartialURLMap
- PartialURLMatch<V> - Class in com.aoapps.net.partialurl
-
The result of a call to
PartialURLMap.get(com.aoapps.net.partialurl.FieldSource)
. - put(PartialURL, V) - Method in class com.aoapps.net.partialurl.PartialURLMap
-
Adds a new partial URL to this map while checking for conflicts.
S
- SinglePartialURL - Class in com.aoapps.net.partialurl
-
A
PartialURL
that may contain at most one values for each field matched.
T
- toString() - Method in class com.aoapps.net.partialurl.MultiPartialURL
- toString() - Method in class com.aoapps.net.partialurl.PartialURL
- toString() - Method in class com.aoapps.net.partialurl.PartialURLMatch
- toString() - Method in class com.aoapps.net.partialurl.SinglePartialURL
- toURL(FieldSource) - Method in class com.aoapps.net.partialurl.MultiPartialURL
-
Gets the general-purpose representation of
URL
for this partial URL. - toURL(FieldSource) - Method in class com.aoapps.net.partialurl.PartialURL
-
Gets the general-purpose representation of
URL
for this partial URL. - toURL(FieldSource) - Method in class com.aoapps.net.partialurl.SinglePartialURL
U
- URLFieldSource - Class in com.aoapps.net.partialurl
-
Obtains fields for
PartialURL
from aURL
. - URLFieldSource(URL) - Constructor for class com.aoapps.net.partialurl.URLFieldSource
-
Creates a field source for the given URL.
V
- valueOf(Path) - Static method in class com.aoapps.net.partialurl.PartialURL
-
Gets a partial URL always within the current request.
- valueOf(Path...) - Static method in class com.aoapps.net.partialurl.PartialURL
-
Gets a partial URL always within the current request.
- valueOf(Iterable<? extends Path>) - Static method in class com.aoapps.net.partialurl.PartialURL
-
Gets a partial URL always within the current request.
- valueOf(Iterable<? extends String>, Iterable<? extends HostAddress>, Iterable<? extends Port>, Iterable<? extends Path>, Iterable<? extends Path>) - Static method in class com.aoapps.net.partialurl.PartialURL
-
Gets a partial URL supporting requests across multiple schemes/hosts/ports/...
- valueOf(String[], HostAddress[], Port[], Path[], Path...) - Static method in class com.aoapps.net.partialurl.PartialURL
-
Gets a partial URL supporting requests across multiple schemes/hosts/ports/...
- valueOf(String, HostAddress, Port, Path, Path) - Static method in class com.aoapps.net.partialurl.PartialURL
-
Gets a partial URL supporting requests across multiple schemes/hosts/ports/...
W
- WILDCARD_CHAR - Static variable in class com.aoapps.net.partialurl.PartialURL
-
The character used to represent request-value substitutions.
- WILDCARD_STRING - Static variable in class com.aoapps.net.partialurl.PartialURL
-
The character used to represent request-value substitutions.
All Classes and Interfaces|All Packages|Constant Field Values