| uk.org.ponder.rsf.viewstate.BaseURLProvider
All known Subclasses: uk.org.ponder.rsf.viewstate.support.StaticBaseURLProvider, uk.org.ponder.rsf.servlet.AutoBaseURLProvider,
BaseURLProvider | public interface BaseURLProvider (Code) | | Encodes information about the local URL structure to this servlet.
Upstream from here is the
ViewStateHandler which takes input from
the BaseURLProvider for this request, but in addition can funnel in any
ConsumerRequestInfo relevant for a more complex, portlet-style request.
author: Antranig Basman (amb26@ponder.org.uk) |
Method Summary | |
public String | getBaseURL() Get the base URL that will be used to operate the ViewParameters
system - in general this will be the URL to which the ReasonableServlet
is mapped in web.xml. | public String | getResourceBaseURL() Get the base URL that will be used to map the base of the static resources
served by this webapp. |
getBaseURL | public String getBaseURL()(Code) | | Get the base URL that will be used to operate the ViewParameters
system - in general this will be the URL to which the ReasonableServlet
is mapped in web.xml. This URL DOES include a trailing slash. As
an invariant, if this servlet is not being remapped or redespatched in
any way, it will be the value returned by
ServletUtil.getBaseURL2(), as implemented by AutoBaseURLProvider.
|
getResourceBaseURL | public String getResourceBaseURL()(Code) | | Get the base URL that will be used to map the base of the static resources
served by this webapp. Without support from the URLRewriteSCR, this will
have to be the base path of the entire Servlet context. This URL DOES
include a trailing slash.
As
an invariant, if this servlet is not being remapped or redespatched in
any way, it will be the value returned by
ServletUtil.getContextBaseURL2(), as implemented by AutoBaseURLProvider.
|
|
|