Hi Rob,

Rob Heittman wrote:

I think we need an RFE on that utility, and it should be a standard part of the Servlet extension.

Very good points. Just a small comment: isn't the Servlet extension what allows Restlets to be "wrapped" into a Servlet environment (I don't actually use it)? I think perhaps this utility should be in a separate extension, since it would make it possible to use Servlet-based code from Restlet, but might not require Restlet to use the Servlet connector.

Being able to reuse code that was written for Servlets is definitely a good idea. This goes along the lines of a comment that I made in http://restlet.tigris.org/issues/show_bug.cgi?id=376 about SSL client certificates being converted into as List rather than kept in an array (what Servlets do). It doesn't really matter in this particular instance since it's quite easy to convert the List back into an array, but staying close to Servlets when possible seems like a good thing.

Best wishes,

Bruno.

Reply via email to