title: servletRequest is a interface or a class?what is the difference between ServletRequest and HttpServletRequest?
body: <p>basically i want to ask what is the use of HttpServletRequest if we have ServletRequest? if it is use for http protocol then how would our servlet know that the request is httprequest</p>