• Post Reply Bookmark Topic Watch Topic
  • New Topic

HttpServlet service methods- doConnect

 
Reema Patel
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,
The HTTP 1.1 spec provides 8 methods. I did a javap on HttpServlet class, why's there no doConnect() method?

Any help shall be highly appreciated.

Thanks,
Reema
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From the w3c HTTP1.1 method definition section:
This specification reserves the method name CONNECT for use with a proxy that can dynamically switch to being a tunnel (e.g. SSL tunneling [44]).


I would suggest that the designers of the servlet API could not conceive of any occasion in which CONNECT would be used with a servlet.

Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!