com.ibm.portal.resolver
Interface PortletContext


public interface PortletContext

Extension of the COR Context for use in a JSR168 portlet. Clients can dynamically check instances of Context if they support the PortletContext interface to find out if the COR lookup was issued by a portlet.

Since:
6.0.1

Method Summary
 PortletRequest getRequest()
          Returns the JSR168 portlet request object associated with the context
 PortletResponse getResponse()
          Returns the JSR168 portlet response object associated with the context
 

Method Detail

getRequest

PortletRequest getRequest()
Returns the JSR168 portlet request object associated with the context

Returns:
the current portlet request (never null)

getResponse

PortletResponse getResponse()
Returns the JSR168 portlet response object associated with the context

Returns:
the current portlet response or null