Interesting idea and a good catch with HttpServletRequest. Again, can you please file (separate) issues if not done yet?
Also, cannot recall - did we agree on how the properties will be exposed to the the resource? The previously introduced Request.getProperties() method was removed with the new filtering API changes. Should I add it back again?
Marek
On Jun 11, 2012, at 5:36 PM, Bill Burke wrote:
> Just a thought...
>
> Instead of a property map, why not have interceptor/filter property be:
>
> Object getProperty(String name);
> void setProperty(String name, Object value);
> void removeProperty(String name;
> Set<String> getPropertyNames();
>
>
> And also require these properties be backed by HttpServletRequest when running in a servlet environment (server-side only not client framework). This would allow metadata to be passed to/from servlet filters, servlet request forwarding, and JAX-RS.
>
>
> --
> Bill Burke
> JBoss, a division of Red Hat
> http://bill.burkecentral.com
>