public interface ServletRequest
| Modifier and Type | Method and Description |
|---|---|
Object |
getAttribute(String name) |
Enumeration |
getAttributeNames() |
String |
getCharacterEncoding() |
int |
getContentLength() |
String |
getContentType() |
ServletInputStream |
getInputStream() |
String |
getLocalAddr() |
Locale |
getLocale() |
Enumeration |
getLocales() |
String |
getLocalName() |
int |
getLocalPort() |
String |
getParameter(String name) |
Map |
getParameterMap() |
Enumeration |
getParameterNames() |
String[] |
getParameterValues(String name) |
String |
getProtocol() |
BufferedReader |
getReader() |
String |
getRealPath(String path)
Deprecated.
As of Version 2.1 of the Java Servlet API, use
ServletContext.getRealPath(String) instead.
|
String |
getRemoteAddr() |
String |
getRemoteHost() |
int |
getRemotePort() |
RequestDispatcher |
getRequestDispatcher(String path) |
String |
getScheme() |
String |
getServerName() |
int |
getServerPort() |
boolean |
isSecure() |
void |
removeAttribute(String name) |
void |
setAttribute(String name,
Object o) |
void |
setCharacterEncoding(String enc) |
Enumeration getAttributeNames()
String getCharacterEncoding()
int getContentLength()
String getContentType()
ServletInputStream getInputStream() throws IOException
IOExceptionString getLocalAddr()
Locale getLocale()
Enumeration getLocales()
String getLocalName()
int getLocalPort()
Map getParameterMap()
Enumeration getParameterNames()
String getProtocol()
BufferedReader getReader() throws IOException
IOExceptionString getRemoteAddr()
String getRemoteHost()
int getRemotePort()
RequestDispatcher getRequestDispatcher(String path)
String getScheme()
String getServerName()
int getServerPort()
boolean isSecure()
void removeAttribute(String name)
void setCharacterEncoding(String enc) throws UnsupportedEncodingException
UnsupportedEncodingExceptionCopyright © 2014. All rights reserved.