On 28/05/2012 14:07, N V Hari Krishna wrote:
> Hello all,
> 
> I had few questions regarding
> org.apache.connector.Request.getCoyoteRequest() method.
> 
> My questions are:
> 
> Request.getCoyoteRequest() method's corresponding response method
> org.apache.catalina.connector.Response.getCoyoteResponse method
> is deprecated. I believe the intention behind that is to hide the coyote
> response object out of Tomcat. Is it correct?

No.

> If yes, but the Request.getCoyoteRequest() method is not deprecated. Does
> the coyote.Request class is allowed out of Tomcat (i.e. in my valve)? Is it
> intended for external use? Can I use coyote.Request object directly in my
> valve?

Not applicable. Premise of the questions is incorrect (see above).

> In other words: Why Response.getCoyoteResponse() method is deprecated and
> Request.getCoyoteRequest() is not deprecated?

The answer may be found in the svn logs. Look in tomact/tc7.0.x/trunk to
see why the method was deprecated.

Follow-up questions belong on the users mailing list.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to