Handles url rewriting, provides access to the namespace for markup Ids and isolated session state.
This is the base strategy for encoding URLs, which is to leave them as is. This is mainly so that PortletRequestContext can implement it's portlet encoding strategies as portlets need to have special URLs encoded with portal information and portlet namespace.
For url rewriting, only three methods are needed to support creating Portlet ActionURLs, Portlet RenderURLs and Resource/Ajax URLs. The RequestContext is somewhat comparable to the JSF ExternalContext interface which abstracts the external environment (like web or portlet) in which the application is currently running. As this is request dependent (the same application can technically be accessed even concurrently as web or portlet), in Wicket this context has been termed RequestContext.
@see PortletRequestContext
@author Ate Douma