Package jakarta.portlet
Interface HeaderPortlet
-
- All Known Implementing Classes:
GenericPortlet
public interface HeaderPortletTheHeaderPortletinterface 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.- Since:
- 3.0
- See Also:
HeaderRequest,HeaderResponse
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidrenderHeaders(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.
-
-
-
Method Detail
-
renderHeaders
void renderHeaders(HeaderRequest request, HeaderResponse response) throws PortletException, IOException
Called by the portlet container to allow the portlet to set response headers and generate markup for overall response document head section.- Parameters:
request- the header requestresponse- the header response- Throws:
PortletException- 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 problem
-
-