users@jersey.java.net

Re: Using HttpServletRequest/HttpServletResponse

From: Aaron Anderson <nickmalthus_at_yahoo.com>
Date: Mon, 17 Sep 2007 11:39:07 -0700 (PDT)

Paul Sandoz <Paul.Sandoz_at_Sun.COM> wrote:

> Would it be better to define an AbstractServletAdapter that can be
> extended? since there are some subtle issues around supporting thread
> local stuff that can be implemented by AbstractServletAdapter.

That would be fantastic!

>> Also, I noticed WebApplicationImpl contains the method public void
>> register(Set<Class> resourceClasses). Will that eventually make it
 into
>> the WebApplication SPI?
 

> We can do that. I also think it worthwhile putting a default
ResourceConfig implementation in the API.

> We are planning to change ResourceConfig so that as well as features
> one
> can add properties to this, this could be a way to pass in the instance
 
> of a particular ResourceProviderFactory to the RootResourceClass using
an agreed property name.

Excellent!


> Paul


       
---------------------------------
Yahoo! oneSearch: Finally, mobile search that gives answers, not web links.