public interface HeaderPortlet
HeaderPortlet
interface provides portlets
with the ability to add HTTP headers to the response, and
to generate markup for aggregation into the portal response document head section.
HeaderRequest
,
HeaderResponse
Modifier and Type | Method and Description |
---|---|
void |
renderHeaders(HeaderRequest request,
HeaderResponse response)
Called by the portlet container to allow the portlet to set response
headers and generate markup for overall response document head section.
|
void renderHeaders(HeaderRequest request, HeaderResponse response) throws PortletException, IOException
request
- the header requestresponse
- the header responsePortletException
- if the portlet has problems fulfilling the requestUnavailableException
- if the portlet is unavailable to process the request at this timePortletSecurityException
- if the portlet cannot fulfill this request due to security reasonsIOException
- if the streaming causes an I/O problemJava Portlet 3.0 API Specification. See the Copyright and License provided with this distribution. Use is subject to license terms.