|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portal.url.PortalRequestUtilsImpl
public class PortalRequestUtilsImpl
Provides access to the original portal and portlet requests using the PortalHttpServletRequestWrapper.ATTRIBUTE__HTTP_SERVLET_REQUEST
and PortletHttpServletRequestWrapper.ATTRIBUTE__HTTP_SERVLET_REQUEST
| Constructor Summary | |
|---|---|
PortalRequestUtilsImpl()
|
|
| Method Summary | |
|---|---|
HttpServletRequest |
getCurrentPortalRequest()
Uses RequestContextHolder to retrieve the current
portal HttpServletRequest |
HttpServletRequest |
getOriginalPortalRequest(HttpServletRequest portletRequest)
|
HttpServletRequest |
getOriginalPortalRequest(PortletRequest portletRequest)
Useful for container service callbacks and service portlets that are provided with the portlet's request but need access to the portal's HttpServletRequest. |
HttpServletResponse |
getOriginalPortalResponse(HttpServletRequest portletRequest)
|
HttpServletResponse |
getOriginalPortalResponse(PortletRequest portletRequest)
Useful for container service callbacks and service portlets that are provided with the portlet's request but need access to the portal's HttpServletResponse. |
HttpServletRequest |
getOriginalPortletAdaptorRequest(HttpServletRequest portletRequest)
|
HttpServletRequest |
getOriginalPortletAdaptorRequest(PortletRequest portletRequest)
Useful for container service callbacks that are provided with the portlet's request but need access to the HttpServletRequest passed into the portlet container. |
HttpServletRequest |
getPortletAdaptorParentRequest(HttpServletRequest portletRequest)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PortalRequestUtilsImpl()
| Method Detail |
|---|
public HttpServletRequest getOriginalPortalRequest(PortletRequest portletRequest)
IPortalRequestUtils
getOriginalPortalRequest in interface IPortalRequestUtilsportletRequest - The request targeted to the portlet
public HttpServletRequest getOriginalPortalRequest(HttpServletRequest portletRequest)
getOriginalPortalRequest in interface IPortalRequestUtilsIPortalRequestUtils.getOriginalPortalRequest(PortletRequest)public HttpServletResponse getOriginalPortalResponse(PortletRequest portletRequest)
IPortalRequestUtils
getOriginalPortalResponse in interface IPortalRequestUtilsportletRequest - The request targeted to the portlet
public HttpServletResponse getOriginalPortalResponse(HttpServletRequest portletRequest)
getOriginalPortalResponse in interface IPortalRequestUtilsIPortalRequestUtils.getOriginalPortalResponse(PortletRequest)public HttpServletRequest getCurrentPortalRequest()
IPortalRequestUtilsRequestContextHolder to retrieve the current
portal HttpServletRequest
getCurrentPortalRequest in interface IPortalRequestUtilspublic HttpServletRequest getOriginalPortletAdaptorRequest(PortletRequest portletRequest)
IPortalRequestUtils
getOriginalPortletAdaptorRequest in interface IPortalRequestUtilsportletRequest - The request targeted to the portlet
public HttpServletRequest getOriginalPortletAdaptorRequest(HttpServletRequest portletRequest)
getOriginalPortletAdaptorRequest in interface IPortalRequestUtilsIPortalRequestUtils.getOriginalPortletAdaptorRequest(PortletRequest)public HttpServletRequest getPortletAdaptorParentRequest(HttpServletRequest portletRequest)
getPortletAdaptorParentRequest in interface IPortalRequestUtilsportletRequest - The request targeted to the portlet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||