Top Description Fields Methods
javax.portlet

public Interface RenderRequest

extends PortletRequest
Known Direct Subinterfaces
javax.portlet.HeaderRequest
Known Direct Implementers
javax.portlet.filter.RenderRequestWrapper

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

Modifier and TypeField and Description
public static final String
ETAG

This property is set by the container if the portlet container has a cached response for the given validation tag.

Inherited from javax.portlet.PortletRequest:
ACTION_PHASEACTION_SCOPE_IDBASIC_AUTHCCPP_PROFILECLIENT_CERT_AUTHDIGEST_AUTHEVENT_PHASEFORM_AUTHHEADER_PHASELIFECYCLE_PHASERENDER_HEADERSRENDER_MARKUPRENDER_PARTRENDER_PHASERESOURCE_PHASEUSER_INFO

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the validation tag if the portlet container has a cached response for this validation tag, or null if no cached response exists.
getETag
()

Returns the validation tag if the portlet container has a cached response for this validation tag, or null if no cached response exists.

Inherited from javax.portlet.PortletRequest:
getAttributegetAttributeNamesgetAuthTypegetContextPathgetCookiesgetLocalegetLocalesgetParametergetParameterMapgetParameterNamesgetParameterValuesgetPortalContextgetPortletContextgetPortletSessiongetPortletSessiongetPreferencesgetPrivateParameterMapgetPropertiesgetPropertygetPropertyNamesgetPublicParameterMapgetRemoteUsergetRequestedSessionIdgetResponseContentTypegetResponseContentTypesgetSchemegetServerNamegetServerPortgetUserAgentgetUserPrincipalgetWindowIDisPortletModeAllowedisRequestedSessionIdValidisSecureisUserInRoleisWindowStateAllowedremoveAttributesetAttribute

Field Detail

ETAGback to summary
public static final 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

Method Detail

getETagback to summary
public 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:String

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