cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Artur Bialecki" <>
Subject RE: Request
Date Mon, 13 May 2002 16:02:48 GMT

> -----Original Message-----
> From: Sylvain Wallez []


> There's already such an adapter in DeliImpl, along with a ServletContext 
> adapter. We should move them to environment.http so they have a better 
> visibility.

The DeliImpl only wraps Request, the CocoonServletContext
doesn't implement cocoon's Context or HttpContext. 

We need conversion for all cocoon's Context, Cookie, Request,
Response, Session. What would be the best way to do this?

1. public constructors that take javax.servlet.* interfaces
   in all Cocoon's ...environment.http.Http* classes.

2. public static convert() or from/to() methods on all
   ...environment.http.Http* classes.

3. public static convert() or from/to() method for on 
   HttpEnvironment class for each Http* type.

4. provide wrapper class for each ...environment.http.Http*
   that implements it's equivalent javax.servlet.* class.

5. other ???

What fits best the current Cocoon model?
Personally, I would like to see something that works nicely 
in both directions. The current way of getting the original
request object is not very pretty.

What do you think?


To unsubscribe, e-mail:
For additional commands, email:

View raw message