public interface HttpServletRequest extends ServletRequest
| Modifier and Type | Field and Description |
|---|---|
static String |
BASIC_AUTH |
static String |
CLIENT_CERT_AUTH |
static String |
DIGEST_AUTH |
static String |
FORM_AUTH |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthType() |
String |
getContextPath() |
Cookie[] |
getCookies() |
long |
getDateHeader(String name) |
String |
getHeader(String name) |
Enumeration |
getHeaderNames() |
Enumeration |
getHeaders(String name) |
int |
getIntHeader(String name) |
String |
getMethod() |
String |
getPathInfo() |
String |
getPathTranslated() |
String |
getQueryString() |
String |
getRemoteUser() |
String |
getRequestedSessionId() |
String |
getRequestURI() |
StringBuffer |
getRequestURL() |
String |
getServletPath() |
HttpSession |
getSession() |
HttpSession |
getSession(boolean create) |
Principal |
getUserPrincipal() |
boolean |
isRequestedSessionIdFromCookie() |
boolean |
isRequestedSessionIdFromUrl()
Deprecated.
As of Version 2.1 of the Java Servlet API, use
isRequestedSessionIdFromURL() instead.
|
boolean |
isRequestedSessionIdFromURL() |
boolean |
isRequestedSessionIdValid() |
boolean |
isUserInRole(String role) |
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncodingstatic final String BASIC_AUTH
static final String CLIENT_CERT_AUTH
static final String DIGEST_AUTH
static final String FORM_AUTH
String getAuthType()
String getContextPath()
Cookie[] getCookies()
long getDateHeader(String name)
Enumeration getHeaderNames()
Enumeration getHeaders(String name)
int getIntHeader(String name)
String getMethod()
String getPathInfo()
String getPathTranslated()
String getQueryString()
String getRemoteUser()
String getRequestedSessionId()
String getRequestURI()
StringBuffer getRequestURL()
String getServletPath()
HttpSession getSession()
HttpSession getSession(boolean create)
Principal getUserPrincipal()
boolean isRequestedSessionIdFromCookie()
boolean isRequestedSessionIdFromURL()
boolean isRequestedSessionIdValid()
boolean isUserInRole(String role)
boolean isRequestedSessionIdFromUrl()
Copyright © 2014. All rights reserved.