The javax.servlet.http API
Interfaces
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) ...
Get Special Edition Using Java™ 2 Enterprise Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.