|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.pluto.driver.core.PortalRequestContext
public class PortalRequestContext
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 | |
|---|---|
static java.lang.String |
REQUEST_KEY
The attribute key to bind the portal environment instance to servlet request. |
| Constructor Summary | |
|---|---|
PortalRequestContext(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Creates a PortalRequestContext instance. |
|
| Method Summary | |
|---|---|
PortalURL |
createPortalURL()
|
static PortalRequestContext |
getContext(javax.servlet.http.HttpServletRequest request)
Returns the portal environment from the servlet request. |
static java.lang.String |
getREQUEST_KEY()
|
javax.servlet.http.HttpServletRequest |
getRequest()
Returns the servlet request. |
PortalURL |
getRequestedPortalURL()
Returns the requested portal URL. |
javax.servlet.http.HttpServletResponse |
getResponse()
Returns the servlet response. |
javax.servlet.ServletContext |
getServletContext()
|
void |
setPortalURL(PortalURL portalURL)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String REQUEST_KEY
| Constructor Detail |
|---|
public PortalRequestContext(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
request - the incoming servlet request.response - the incoming servlet response.| Method Detail |
|---|
public static PortalRequestContext getContext(javax.servlet.http.HttpServletRequest request)
request - the servlet request.
public javax.servlet.http.HttpServletRequest getRequest()
public javax.servlet.http.HttpServletResponse getResponse()
public PortalURL getRequestedPortalURL()
public PortalURL createPortalURL()
public void setPortalURL(PortalURL portalURL)
public static java.lang.String getREQUEST_KEY()
public javax.servlet.ServletContext getServletContext()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||