@ Override protected void doHeaders ( RenderRequest request , RenderResponse response ) { try { doDispatch ( request , response ) ; } catch ( IOException | PortletException ex ) { logger . error ( "Exception rendering headers for portlet " + getPortletName ( ) + ". Aborting doHeaders" , ex ) ; } }
Used by the render method to set the response properties and headers .