1 Reply Latest reply on Nov 4, 2009 2:35 AM by kapitanpetko

    HTTP Request Header - how to get them

      hi,


      fetched parameters from a non faces request to seam using


      @RequestParameter("MYPARAM")
      private String myParameter;
      


      in stateless EJB. Works fine.


      My next step is to get the User-Agent from the http header. Unfortunately there is no


      @RequestHeader("User-Agent")
      private String userAgent;
      



      ;-(


      So my questions.


      Could you give me a hint to get header information?


      What do you think about adding a annotion to get header the same way as parameters?



      Thanks
      Olaf