|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UrlMappingData
Holds information about a parsed URL such as the tokens that make up the URL, The URLs (plural) that the UrLMapping logically maps to and so forth
Method Summary | |
---|---|
String[] |
getLogicalUrls()
Obtains the logical URLs for this URL |
String[] |
getTokens()
Retrieves the tokens that make up a URL. |
String |
getUrlPattern()
Retrieves the URL pattern for this UrlMappingData instance |
boolean |
isOptional(int index)
Returns whether the given token in the URL is optional. |
Method Detail |
---|
String[] getTokens()
Retrieves the tokens that make up a URL. For example the tokens for the URL /blog/2007/* would be "blog", "2007" and "*"
String[] getLogicalUrls()
Obtains the logical URLs for this URL
String getUrlPattern()
boolean isOptional(int index)
index
- The index of the matching token
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |