May 2001
Intermediate to advanced
1088 pages
30h 13m
English
HttpServletRequest
The HttpServletRequest class provides methods for accessing HTTP-specific portions of the incoming request.
getAuthType
public String getAuthType()
Returns the name of the authentication scheme used for authenticating access to this servlet. If there is no authentication, this method returns null.
getContextPath
public String getContextPath()
Returns the context portion of the servlets URI. For a URI of http://localhost/myservlets/personal/HiCeal the context path would be /myservlets/personal.
getCookies
public Cookie[] getCookies()
Returns an array of all the cookies contained in the request, or null if there are no cookies.
getDateHeader public long getDateHeader(String name) ...Read now
Unlock full access