| uk.org.ponder.rsf.viewstate.ViewStateHandler
All known Subclasses: uk.org.ponder.rsf.viewstate.support.RSFServletViewStateHandler,
ViewStateHandler | public interface ViewStateHandler (Code) | | Provides primitive functionality for mapping view states to URLs, and issuing
redirects.
author: Antranig Basman (antranig@caret.cam.ac.uk) |
Method Summary | |
public String | encodeResourceURL(String resourcepath) The equivalent of getFullURL for static resources that are not necessarily
under our control. | public String | getActionURL(ViewParameters viewparams) Return a "complete" URL suitable for rendering to our upstream consumer for
triggering an "action" - in HTML, as applied to the "action" attribute of
form . | public Map | getAttrMap(ViewParameters viewparams) Return a new, unshared map of all state from these ViewParameters that will
be mapped into attribute state. | public String | getFullURL(ViewParameters viewparams) Return a "complete" URL suitable for rendering to our upstream consumer for
a link to the view specified in these parameters. | public String | getUltimateURL(ViewParameters viewparams) Return a "fully resolved" complete URL linking to the view specified, which
is a valid URL resolvable on the internet at large. |
encodeResourceURL | public String encodeResourceURL(String resourcepath)(Code) | | The equivalent of getFullURL for static resources that are not necessarily
under our control. These e.g. start with /content/...
|
getActionURL | public String getActionURL(ViewParameters viewparams)(Code) | | Return a "complete" URL suitable for rendering to our upstream consumer for
triggering an "action" - in HTML, as applied to the "action" attribute of
form . This omits all state that might enter attributes,
which is supplied by getActionMap().
|
getAttrMap | public Map getAttrMap(ViewParameters viewparams)(Code) | | Return a new, unshared map of all state from these ViewParameters that will
be mapped into attribute state.
|
getFullURL | public String getFullURL(ViewParameters viewparams)(Code) | | Return a "complete" URL suitable for rendering to our upstream consumer for
a link to the view specified in these parameters. This URL may not be valid
for any external purposes. This form of URL is also to be used for issuing
redirects.
|
getUltimateURL | public String getUltimateURL(ViewParameters viewparams)(Code) | | Return a "fully resolved" complete URL linking to the view specified, which
is a valid URL resolvable on the internet at large.
|
|
|