public interface HeaderPortlet
HeaderPortletinterface 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.
|Modifier and Type||Method and Description|
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 request
response- the header response
PortletException- if the portlet has problems fulfilling the request
UnavailableException- if the portlet is unavailable to process the request at this time
PortletSecurityException- if the portlet cannot fulfill this request due to security reasons
IOException- if the streaming causes an I/O problem
Java Portlet 3.0 API Specification. See the Copyright and License provided with this distribution. Use is subject to license terms.