javax.portlet
Interface RenderRequest
- All Superinterfaces:
- PortletRequest
- All Known Implementing Classes:
- RenderRequestWrapper
public interface RenderRequest
- extends PortletRequest
The RenderRequest
represents the request sent to the portlet
to handle a render.
It extends the PortletRequest interface to provide render request
information to portlets.
The portlet container creates a RenderRequest
object and
passes it as argument to the portlet's render
method.
- See Also:
PortletRequest
,
ActionRequest
Field Summary |
static java.lang.String |
ETAG
This property is set by the container if the portlet container
has a cached response for the given validation tag. |
Fields inherited from interface javax.portlet.PortletRequest |
ACTION_PHASE, ACTION_SCOPE_ID, BASIC_AUTH, CCPP_PROFILE, CLIENT_CERT_AUTH, DIGEST_AUTH, EVENT_PHASE, FORM_AUTH, LIFECYCLE_PHASE, RENDER_HEADERS, RENDER_MARKUP, RENDER_PART, RENDER_PHASE, RESOURCE_PHASE, USER_INFO |
Method Summary |
java.lang.String |
getETag()
Returns the validation tag if the portlet container
has a cached response for this validation tag, or
null if no cached response exists. |
Methods inherited from interface javax.portlet.PortletRequest |
getAttribute, getAttributeNames, getAuthType, getContextPath, getCookies, getLocale, getLocales, getParameter, getParameterMap, getParameterNames, getParameterValues, getPortalContext, getPortletMode, getPortletSession, getPortletSession, getPreferences, getPrivateParameterMap, getProperties, getProperty, getPropertyNames, getPublicParameterMap, getRemoteUser, getRequestedSessionId, getResponseContentType, getResponseContentTypes, getScheme, getServerName, getServerPort, getUserPrincipal, getWindowID, getWindowState, isPortletModeAllowed, isRequestedSessionIdValid, isSecure, isUserInRole, isWindowStateAllowed, removeAttribute, setAttribute |
ETAG
static final java.lang.String ETAG
- This property is set by the container if the portlet container
has a cached response for the given validation tag. The property can be
retrieved using the
getProperty
method.
The value is "portlet.ETag "
.
- Since:
- 2.0
- See Also:
- Constant Field Values
getETag
java.lang.String getETag()
- Returns the validation tag if the portlet container
has a cached response for this validation tag, or
null
if no cached response exists.
This call returns the same value as
RenderRequest.getProperty(RenderRequest.ETAG)
.
- Returns:
- the validation tag if the portlet container
has a cached response for this validation tag, or
null
if no cached response exists. - Since:
- 2.0