| |
|
| java.lang.Object org.apache.pluto.driver.core.PortalRequestContext
PortalRequestContext | public class PortalRequestContext (Code) | | Defines the context of the currentl portal request.
Allows for the retrieval of the original request
and response throughout the lifetime of the request.
Provides a consistent interface for parsing/creating
PortalURLs to the outside world.
|
Field Summary | |
final public static String | REQUEST_KEY The attribute key to bind the portal environment instance to servlet
request. |
REQUEST_KEY | final public static String REQUEST_KEY(Code) | | The attribute key to bind the portal environment instance to servlet
request.
|
PortalRequestContext | public PortalRequestContext(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response)(Code) | | Creates a PortalRequestContext instance.
Parameters: request - the incoming servlet request. Parameters: response - the incoming servlet response. |
getContext | public static PortalRequestContext getContext(HttpServletRequest request)(Code) | | Returns the portal environment from the servlet request. The portal
envirionment instance is saved in the request scope.
Parameters: request - the servlet request. the portal environment. |
getRequestedPortalURL | public PortalURL getRequestedPortalURL()(Code) | | Returns the requested portal URL.
the requested portal URL. |
|
|
|