com.ibm.portal.resolver
Interface ResourceContext
- All Superinterfaces:
- AttributeContext, CookieContext, DigestContext, DigestProvider, FormDataContext, HeaderContext, MimeContext, PortletContext
public interface ResourceContext
- extends MimeContext, FormDataContext
Extension of the COR PortletContext
for use in a JSR168 portlet. This
context is exposed during the resource phase of a portlet.
- Since:
- 8.0.0.1
Method Summary |
javax.portlet.ResourceRequest |
getRequest()
Returns the JSR168 portlet request object associated with the context |
javax.portlet.ResourceResponse |
getResponse()
Returns the JSR168 portlet response object associated with the context |
getRequest
javax.portlet.ResourceRequest getRequest()
- Description copied from interface:
PortletContext
- Returns the JSR168 portlet request object associated with the context
- Specified by:
getRequest
in interface PortletContext
- Returns:
- the current portlet request (never
null
)
getResponse
javax.portlet.ResourceResponse getResponse()
- Description copied from interface:
PortletContext
- Returns the JSR168 portlet response object associated with the context
- Specified by:
getResponse
in interface MimeContext
- Specified by:
getResponse
in interface PortletContext
- Returns:
- the current portlet response or
null