0 Replies Latest reply on Dec 7, 2005 9:56 AM by mjahn

    HTTP Headers in Portlet?

      Is ist possible to get the HTTP headers from a Portlet? According to the docs PortletRequest it should be possible to get the headers using the getProperty method:

      A portlet can access portal/portlet-container specific properties through this method and, if available, the headers of the HTTP client request.


      If i try this

      headers=req.getPropertyNames();
       while(headers.hasMoreElements()){
       String header= (String) headers.nextElement();
       log.info(header);
       }
      


      i only get the org.jboss.portal#preferredMarkup property listed. Any clues?