| Package | Description |
|---|---|
| com.ocpsoft.pretty | |
| com.ocpsoft.pretty.faces.beans | |
| com.ocpsoft.pretty.faces.config | |
| com.ocpsoft.pretty.faces.config.mapping | |
| com.ocpsoft.pretty.faces.url |
| Modifier and Type | Method and Description |
|---|---|
URL |
PrettyContext.getRequestURL()
Return the
URL representing the path with which this request was
populated. |
| Modifier and Type | Method and Description |
|---|---|
URL |
ExtractedValuesURLBuilder.buildURL(UrlMapping mapping)
For all required values of the given PrettyUrlMapping, extract values from their mapped backing beans and create a
URL based on the url-pattern.
|
| Modifier and Type | Method and Description |
|---|---|
UrlMapping |
PrettyConfig.getMappingForUrl(URL url)
Search through all currently configured
UrlMapping objects for the first one that matches the given URL. |
boolean |
PrettyConfig.isURLMapped(URL url)
Discover if the given URL is mapped by any
UrlMapping specified in the current configuration. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
UrlMapping.matches(URL url)
Test this mapping against a given URL.
|
| Modifier and Type | Method and Description |
|---|---|
static URL |
URL.build(List<String> segments,
Metadata metadata) |
static URL |
URL.build(String url) |
URL |
URL.decode()
Return a decoded form of this URL.
|
URL |
URL.encode()
Return an encoded form of this URL.
|
URL |
URLPatternParser.getMappedURL(Object... params)
URL encoding/decoding is not a concern of this method.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
URLPatternParser.matches(URL target)
Return true if this parser matches the given URL, otherwise, return false.
|
List<PathParameter> |
URLPatternParser.parse(URL url)
Builds a list of PathParameters for this UrlPattern, extracted from the provided URL (assuming a match is found).
|
Copyright © 2014 OCPsoft. All Rights Reserved.