public class DefaultUrlMappingData extends java.lang.Object implements UrlMappingData
Default implementating of the UrlMappingData interface.
Modifiers | Name | Description |
---|---|---|
private static java.lang.String |
CAPTURED_DOUBLE_WILDCARD |
|
private static java.lang.String |
CAPTURED_WILDCARD |
|
private static java.lang.String |
QUESTION_MARK |
|
private static java.lang.String |
SLASH |
|
private boolean |
hasOptionalExtension |
|
private java.lang.String[] |
logicalUrls |
|
private java.util.List<java.lang.Boolean> |
optionalTokens |
|
private java.lang.String[] |
tokens |
|
private java.lang.String |
urlPattern |
Constructor and description |
---|
DefaultUrlMappingData
(java.lang.String urlPattern) |
private DefaultUrlMappingData
(java.lang.String urlPattern, java.lang.String[] logicalUrls, java.lang.String[] tokens, java.util.List<java.lang.Boolean> optionalTokens) |
Type Params | Return Type | Name and description |
---|---|---|
|
private java.lang.String |
configureUrlPattern(java.lang.String urlPattern) |
|
public UrlMappingData |
createRelative(java.lang.String path) |
|
public java.lang.String[] |
getLogicalUrls() |
|
public java.lang.String[] |
getTokens() |
|
public java.lang.String |
getUrlPattern() |
|
public boolean |
hasOptionalExtension() |
|
public boolean |
isOptional(int index) |
|
private void |
parseUrls(java.util.List<java.lang.String> urls, java.lang.String[] tokens, java.util.List<java.lang.Boolean> optionalTokens) |
|
private java.lang.String[] |
tokenizeUrlPattern(java.lang.String urlPattern) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |