| Author |
what is inside servlet.ServletRequest interface
|
Yogesh Lonkar
Ranch Hand
Joined: Jul 17, 2012
Posts: 82
|
|
Can some one explain me what coded inside ServletRequest interace
how does this method gets objects which is used in HttpServletRequest
|
Learning some thing New Every Day
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56185
|
|
|
The servlet container is responsible for creating classes that implement the interface.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Yogesh Lonkar
Ranch Hand
Joined: Jul 17, 2012
Posts: 82
|
|
|
yes but what exactly is inside it?
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56185
|
|
Whatever the team implementing the class put into it. If you want to see an example, grab the source code of one of the open source containers and look.
If this is to satisfy some curiosity, that's fine. But this type of knowledge is not necessary to use Servlets. That's the beauty of interfaces. As long as the implementing class does what the interface intends, the actual implementation is irrelevant.
|
 |
 |
|
|
subject: what is inside servlet.ServletRequest interface
|
|
|