Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

just for break fun!

 
vitesse wei
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was curious about how tomcat implement HttpRequest,I use some java reflect api to spy the HttpRequest from my Servlet,I only can get folowing information:
Class:
org.apache.coyote.tomcat5.CoyoteRequestFacade

Package:
org.apache.coyote.tomcat5
is there anybody been intrested with this,and did you get more information on this? such as field and method information.
just for fun!
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can save yourself a lot of trouble, and just look at the Tomcat source code. I wouldn't think that it contains more than a couple of classes that implement HttpServletrequest, and most likely only a single one.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!