| ID | Return | Method/Field | Description | Required | Deprecated | Testable |
| Servlet:JAVADOC:1 | UnavailableException | javax.servlet.UnavailableException.UnavailableException
(
Servlet
, String
)
|
| true | true | true |
| Servlet:JAVADOC:2 | UnavailableException | javax.servlet.UnavailableException.UnavailableException
(
int
, Servlet
, String
)
|
| true | true | true |
| Servlet:JAVADOC:3 | UnavailableException | javax.servlet.UnavailableException.UnavailableException
(
String
)
| Constructs a new exception with a descriptive message indicating that the servlet is permanently unavailable.
| true |
| true |
| Servlet:JAVADOC:4 | UnavailableException | javax.servlet.UnavailableException.UnavailableException
(
String
, int
)
| Constructs a new exception with a descriptive message indicating that the servlet is temporarily unavailable and giving an estimate of how long it will be unavailable.
In some cases, the servlet cannot make an estimate. For example, the servlet might know that a server it needs is not running, but not be able to report how long it will take to be restored to functionality. This can be indicated with a negative or zero value for the seconds argument.
| true |
| true |
| Servlet:JAVADOC:5 | boolean | javax.servlet.UnavailableException.isPermanent
| Returns a boolean indicating whether the servlet is permanently unavailable. | true |
| true |
| Servlet:JAVADOC:6 | Servlet | javax.servlet.UnavailableException.getServlet
|
| true | true | true |
| Servlet:JAVADOC:7 | int | javax.servlet.UnavailableException.getUnavailableSeconds
| Returns the number of seconds the servlet expects to be temporarily unavailable.
If this method returns a negative number, the servlet is permanently unavailable or cannot provide an estimate of how long it will be unavailable. No effort is made to correct for the time elapsed since the exception was first reported.
| true |
| true |
| Servlet:JAVADOC:8 | Throwable | javax.servlet.UnavailableException.{javax.servlet.ServletException}.getRootCause
| Returns the exception that caused this servlet exception.
| true |
| true |
| Servlet:JAVADOC:9 | ServletResponseWrapper | javax.servlet.ServletResponseWrapper.ServletResponseWrapper
(
ServletResponse
)
| Creates a ServletResponse adaptor wrapping the given response object.
| true |
| true |
| Servlet:JAVADOC:10 | ServletResponse | javax.servlet.ServletResponseWrapper.getResponse
| Return the wrapped ServletResponse object.
| true |
| true |
| Servlet:JAVADOC:11 | void | javax.servlet.ServletResponseWrapper.setResponse
(
ServletResponse
)
| Sets the response being wrapped.
| true |
| true |
| Servlet:JAVADOC:12 | void | javax.servlet.ServletResponseWrapper.setResponse
(
ServletResponse
)
throws
IllegalArgumentException
| if the response is null. | true |
| true |
| Servlet:JAVADOC:13 | void | javax.servlet.ServletResponseWrapper.setCharacterEncoding
(
String
)
| The default behavior of this method is to call setCharacterEncoding(String charset) on the wrapped response object.
| true |
| true |
| Servlet:JAVADOC:14 | String | javax.servlet.ServletResponseWrapper.getCharacterEncoding
| The default behavior of this method is to return getCharacterEncoding() on the wrapped response object.
| true |
| true |
| Servlet:JAVADOC:15 | ServletOutputStream | javax.servlet.ServletResponseWrapper.getOutputStream
| The default behavior of this method is to return getOutputStream() on the wrapped response object.
| true |
| true |
| Servlet:JAVADOC:16 | ServletOutputStream | javax.servlet.ServletResponseWrapper.getOutputStream
throws
IOException
|
| true |
| false |
| Servlet:JAVADOC:17 | PrintWriter | javax.servlet.ServletResponseWrapper.getWriter
| The default behavior of this method is to return getWriter() on the wrapped response object.
| true |
| true |
| Servlet:JAVADOC:18 | PrintWriter | javax.servlet.ServletResponseWrapper.getWriter
throws
IOException
|
| true |
| false |
| Servlet:JAVADOC:19 | void | javax.servlet.ServletResponseWrapper.setContentLength
(
int
)
| The default behavior of this method is to call setContentLength(int len) on the wrapped response object.
| true |
| true |
| Servlet:JAVADOC:20 | void | javax.servlet.ServletResponseWrapper.setContentType
(
String
)
| The default behavior of this method is to call setContentType(String type) on the wrapped response object.
| true |
| true |
| Servlet:JAVADOC:21 | String | javax.servlet.ServletResponseWrapper.getContentType
| The default behavior of this method is to return getContentType() on the wrapped response object.
| true |
| true |
| Servlet:JAVADOC:22 | void | javax.servlet.ServletResponseWrapper.setBufferSize
(
int
)
| The default behavior of this method is to call setBufferSize(int size) on the wrapped response object.
| true |
| true |
| Servlet:JAVADOC:23 | int | javax.servlet.ServletResponseWrapper.getBufferSize
| The default behavior of this method is to return getBufferSize() on the wrapped response object.
| true |
| true |
| Servlet:JAVADOC:24 | void | javax.servlet.ServletResponseWrapper.flushBuffer
| The default behavior of this method is to call flushBuffer() on the wrapped response object.
| true |
| true |
| Servlet:JAVADOC:25 | void | javax.servlet.ServletResponseWrapper.flushBuffer
throws
IOException
|
| true |
| false |
| Servlet:JAVADOC:26 | boolean | javax.servlet.ServletResponseWrapper.isCommitted
| The default behavior of this method is to return isCommitted() on the wrapped response object.
| true |
| true |
| Servlet:JAVADOC:27 | void | javax.servlet.ServletResponseWrapper.reset
| The default behavior of this method is to call reset() on the wrapped response object.
| true |
| true |
| Servlet:JAVADOC:28 | void | javax.servlet.ServletResponseWrapper.resetBuffer
| The default behavior of this method is to call resetBuffer() on the wrapped response object.
| true |
| true |
| Servlet:JAVADOC:29 | void | javax.servlet.ServletResponseWrapper.setLocale
(
Locale
)
| The default behavior of this method is to call setLocale(Locale loc) on the wrapped response object.
| true |
| true |
| Servlet:JAVADOC:30 | Locale | javax.servlet.ServletResponseWrapper.getLocale
| The default behavior of this method is to return getLocale() on the wrapped response object.
| true |
| true |
| Servlet:JAVADOC:31 | ServletRequestWrapper | javax.servlet.ServletRequestWrapper.ServletRequestWrapper
(
ServletRequest
)
| Creates a ServletRequest adaptor wrapping the given request object.
| true |
| true |
| Servlet:JAVADOC:32 | ServletRequest | javax.servlet.ServletRequestWrapper.getRequest
| Return the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:33 | void | javax.servlet.ServletRequestWrapper.setRequest
(
ServletRequest
)
| Sets the request object being wrapped.
| true |
| true |
| Servlet:JAVADOC:34 | void | javax.servlet.ServletRequestWrapper.setRequest
(
ServletRequest
)
throws
IllegalArgumentException
| if the request is null. | true |
| true |
| Servlet:JAVADOC:35 | Object | javax.servlet.ServletRequestWrapper.getAttribute
(
String
)
| The default behavior of this method is to call getAttribute(String name) on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:36 | Enumeration | javax.servlet.ServletRequestWrapper.getAttributeNames
| The default behavior of this method is to return getAttributeNames() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:37 | String | javax.servlet.ServletRequestWrapper.getCharacterEncoding
| The default behavior of this method is to return getCharacterEncoding() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:38 | void | javax.servlet.ServletRequestWrapper.setCharacterEncoding
(
String
)
| Overrides the name of the character encoding used in the body of this wrapped request. This method must be called prior to reading request parameters or reading input using getReader(). Otherwise, it has no effect.
| true |
| true |
| Servlet:JAVADOC:39 | void | javax.servlet.ServletRequestWrapper.setCharacterEncoding
(
String
)
throws
UnsupportedEncodingException
| if this ServletRequest is still in a state where a character encoding may be set, but the specified encoding is invalid | true |
| true |
| Servlet:JAVADOC:40 | int | javax.servlet.ServletRequestWrapper.getContentLength
| The default behavior of this method is to return getContentLength() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:41 | String | javax.servlet.ServletRequestWrapper.getContentType
| The default behavior of this method is to return getContentType() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:42 | ServletInputStream | javax.servlet.ServletRequestWrapper.getInputStream
| The default behavior of this method is to return getInputStream() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:43 | ServletInputStream | javax.servlet.ServletRequestWrapper.getInputStream
throws
IOException
|
| true |
| false |
| Servlet:JAVADOC:44 | String | javax.servlet.ServletRequestWrapper.getParameter
(
String
)
| The default behavior of this method is to return getParameter(String name) on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:45 | Map | javax.servlet.ServletRequestWrapper.getParameterMap
| The default behavior of this method is to return getParameterMap() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:46 | Enumeration | javax.servlet.ServletRequestWrapper.getParameterNames
| The default behavior of this method is to return getParameterNames() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:47 | String[] | javax.servlet.ServletRequestWrapper.getParameterValues
(
String
)
| The default behavior of this method is to return getParameterValues(String name) on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:48 | String | javax.servlet.ServletRequestWrapper.getProtocol
| The default behavior of this method is to return getProtocol() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:49 | String | javax.servlet.ServletRequestWrapper.getScheme
| The default behavior of this method is to return getScheme() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:50 | String | javax.servlet.ServletRequestWrapper.getServerName
| The default behavior of this method is to return getServerName() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:51 | int | javax.servlet.ServletRequestWrapper.getServerPort
| The default behavior of this method is to return getServerPort() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:52 | BufferedReader | javax.servlet.ServletRequestWrapper.getReader
| The default behavior of this method is to return getReader() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:53 | BufferedReader | javax.servlet.ServletRequestWrapper.getReader
throws
IOException
|
| true |
| false |
| Servlet:JAVADOC:54 | String | javax.servlet.ServletRequestWrapper.getRemoteAddr
| The default behavior of this method is to return getRemoteAddr() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:55 | String | javax.servlet.ServletRequestWrapper.getRemoteHost
| The default behavior of this method is to return getRemoteHost() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:56 | void | javax.servlet.ServletRequestWrapper.setAttribute
(
String
, Object
)
| The default behavior of this method is to return setAttribute(String name, Object o) on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:57 | void | javax.servlet.ServletRequestWrapper.removeAttribute
(
String
)
| The default behavior of this method is to call removeAttribute(String name) on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:58 | Locale | javax.servlet.ServletRequestWrapper.getLocale
| The default behavior of this method is to return getLocale() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:59 | Enumeration | javax.servlet.ServletRequestWrapper.getLocales
| The default behavior of this method is to return getLocales() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:60 | boolean | javax.servlet.ServletRequestWrapper.isSecure
| The default behavior of this method is to return isSecure() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:61 | RequestDispatcher | javax.servlet.ServletRequestWrapper.getRequestDispatcher
(
String
)
| The default behavior of this method is to return getRequestDispatcher(String path) on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:62 | String | javax.servlet.ServletRequestWrapper.getRealPath
(
String
)
| The default behavior of this method is to return getRealPath(String path) on the wrapped request object.
| true | true | true |
| Servlet:JAVADOC:63 | ServletRequestEvent | javax.servlet.ServletRequestEvent.ServletRequestEvent
(
ServletContext
, ServletRequest
)
| Construct a ServletRequestEvent from the given context.
| true |
| true |
| Servlet:JAVADOC:64 | ServletRequest | javax.servlet.ServletRequestEvent.getServletRequest
| Return the ServletRequest that changed.
| true |
| true |
| Servlet:JAVADOC:65 | ServletContext | javax.servlet.ServletRequestEvent.getServletContext
| Return the ServletContext that changed.
| true |
| true |
| Servlet:JAVADOC:66 | ServletRequestAttributeEvent | javax.servlet.ServletRequestAttributeEvent.ServletRequestAttributeEvent
(
ServletContext
, ServletRequest
, String
, Object
)
| Construct a ServletRequestAttributeEvent from the given context for the given attribute name and attribute value.
| true |
| true |
| Servlet:JAVADOC:67 | String | javax.servlet.ServletRequestAttributeEvent.getName
| Return the name of the attribute that changed on the ServletRequest.
| true |
| true |
| Servlet:JAVADOC:68 | Object | javax.servlet.ServletRequestAttributeEvent.getValue
| Returns the value of the attribute that has been added removed or replaced.
If the attribute was added, this is the value of the attribute.
| true |
| true |
| Servlet:JAVADOC:69 | Object | javax.servlet.ServletRequestAttributeEvent.getValue
| Returns the value of the attribute that has been added removed or replaced.
If the attribute was removed, this is the value of the removed attribute.
| true |
| true |
| Servlet:JAVADOC:70 | Object | javax.servlet.ServletRequestAttributeEvent.getValue
| Returns the value of the attribute that has been added removed or replaced.
If the attribute was replaced, this is the old value of the attribute.
| true |
| true |
| Servlet:JAVADOC:71 | ServletRequest | javax.servlet.ServletRequestAttributeEvent.{javax.servlet.ServletRequestEvent}.getRequest
| Return the ServletRequest that changed.
| true |
| true |
| Servlet:JAVADOC:72 | ServletContext | javax.servlet.ServletRequestAttributeEvent.{javax.servlet.ServletRequestEvent}.getServletContext
| Return the ServletContext that changed.
| true |
| true |
| Servlet:JAVADOC:73 | void | javax.servlet.ServletOutputStream.print
(
String
)
| Writes a String to the client, without a carriage return-line feed (CRLF) character at the end.
| true |
| true |
| Servlet:JAVADOC:74 | void | javax.servlet.ServletOutputStream.print
(
String
)
throws
IOException
| if an input or output exception occurred | true |
| false |
| Servlet:JAVADOC:75 | void | javax.servlet.ServletOutputStream.print
(
boolean
)
| Writes a boolean value to the client, with no carriage return-line feed (CRLF) character at the end.
| true |
| true |
| Servlet:JAVADOC:76 | void | javax.servlet.ServletOutputStream.print
(
boolean
)
throws
IOException
| if an input or output exception occurred | true |
| false |
| Servlet:JAVADOC:77 | void | javax.servlet.ServletOutputStream.print
(
char
)
| Writes a character to the client, with no carriage return-line feed (CRLF) at the end.
| true |
| true |
| Servlet:JAVADOC:78 | void | javax.servlet.ServletOutputStream.print
(
char
)
throws
IOException
| if an input or output exception occurred | true |
| false |
| Servlet:JAVADOC:79 | void | javax.servlet.ServletOutputStream.print
(
int
)
| Writes an int to the client, with no carriage return-line feed (CRLF) at the end.
| true |
| true |
| Servlet:JAVADOC:80 | void | javax.servlet.ServletOutputStream.print
(
int
)
throws
IOException
| if an input or output exception occurred | true |
| false |
| Servlet:JAVADOC:81 | void | javax.servlet.ServletOutputStream.print
(
long
)
| Writes a long value to the client, with no carriage return-line feed (CRLF) at the end.
| true |
| true |
| Servlet:JAVADOC:82 | void | javax.servlet.ServletOutputStream.print
(
long
)
throws
IOException
| if an input or output exception occurred | true |
| false |
| Servlet:JAVADOC:83 | void | javax.servlet.ServletOutputStream.print
(
float
)
| Writes a float value to the client, with no carriage return-line feed (CRLF) at the end.
| true |
| true |
| Servlet:JAVADOC:84 | void | javax.servlet.ServletOutputStream.print
(
float
)
throws
IOException
| if an input or output exception occurred | true |
| false |
| Servlet:JAVADOC:85 | void | javax.servlet.ServletOutputStream.print
(
double
)
| Writes a double value to the client, with no carriage return-line feed (CRLF) at the end.
| true |
| true |
| Servlet:JAVADOC:86 | void | javax.servlet.ServletOutputStream.print
(
double
)
throws
IOException
| if an input or output exception occurred | true |
| false |
| Servlet:JAVADOC:87 | void | javax.servlet.ServletOutputStream.println
| Writes a carriage return-line feed (CRLF) to the client.
| true |
| true |
| Servlet:JAVADOC:88 | void | javax.servlet.ServletOutputStream.println
throws
IOException
| if an input or output exception occurred | true |
| false |
| Servlet:JAVADOC:89 | void | javax.servlet.ServletOutputStream.println
(
String
)
| Writes a String to the client, followed by a carriage return-line feed (CRLF).
| true |
| true |
| Servlet:JAVADOC:90 | void | javax.servlet.ServletOutputStream.println
(
String
)
throws
IOException
| if an input or output exception occurred | true |
| false |
| Servlet:JAVADOC:91 | void | javax.servlet.ServletOutputStream.println
(
boolean
)
| Writes a boolean value to the client, followed by a carriage return-line feed (CRLF).
| true |
| true |
| Servlet:JAVADOC:92 | void | javax.servlet.ServletOutputStream.println
(
boolean
)
throws
IOException
| if an input or output exception occurred | true |
| false |
| Servlet:JAVADOC:93 | void | javax.servlet.ServletOutputStream.println
(
char
)
| Writes a character to the client, followed by a carriage return-line feed (CRLF).
| true |
| true |
| Servlet:JAVADOC:94 | void | javax.servlet.ServletOutputStream.println
(
char
)
throws
IOException
| if an input or output exception occurred | true |
| false |
| Servlet:JAVADOC:95 | void | javax.servlet.ServletOutputStream.println
(
int
)
| Writes an int to the client, followed by a carriage return-line feed (CRLF) character.
| true |
| true |
| Servlet:JAVADOC:96 | void | javax.servlet.ServletOutputStream.println
(
int
)
throws
IOException
| if an input or output exception occurred | true |
| false |
| Servlet:JAVADOC:97 | void | javax.servlet.ServletOutputStream.println
(
long
)
| Writes a long value to the client, followed by a carriage return-line feed (CRLF).
| true |
| true |
| Servlet:JAVADOC:98 | void | javax.servlet.ServletOutputStream.println
(
long
)
throws
IOException
| if an input or output exception occurred | true |
| false |
| Servlet:JAVADOC:99 | void | javax.servlet.ServletOutputStream.println
(
float
)
| Writes a float value to the client, followed by a carriage return-line feed (CRLF).
| true |
| true |
| Servlet:JAVADOC:100 | void | javax.servlet.ServletOutputStream.println
(
float
)
throws
IOException
| if an input or output exception occurred | true |
| false |
| Servlet:JAVADOC:101 | void | javax.servlet.ServletOutputStream.println
(
double
)
| Writes a double value to the client, followed by a carriage return-line feed (CRLF).
| true |
| true |
| Servlet:JAVADOC:102 | void | javax.servlet.ServletOutputStream.println
(
double
)
throws
IOException
| if an input or output exception occurred | true |
| false |
| Servlet:JAVADOC:103 | int | javax.servlet.ServletInputStream.readLine
(
byte[]
, int
, int
)
| Reads the input stream, one line at a time. Starting at an offset, reads bytes into an array, until it reads a certain number of bytes or reaches a newline character, which it reads into the array as well.
| true |
| true |
| Servlet:JAVADOC:104 | int | javax.servlet.ServletInputStream.readLine
(
byte[]
, int
, int
)
throws
IOException
| if an input or output exception has occurred | true |
| false |
| Servlet:JAVADOC:105 | ServletException | javax.servlet.ServletException.ServletException
| Constructs a new servlet exception.
| true |
| true |
| Servlet:JAVADOC:106 | ServletException | javax.servlet.ServletException.ServletException
(
String
)
| Constructs a new servlet exception with the specified message.
| true |
| true |
| Servlet:JAVADOC:107 | ServletException | javax.servlet.ServletException.ServletException
(
String
, Throwable
)
| Constructs a new servlet exception when the servlet needs to throw an exception and include a message about the "root cause" exception that interfered with its normal operation, including a description message.
| true |
| true |
| Servlet:JAVADOC:108 | ServletException | javax.servlet.ServletException.ServletException
(
Throwable
)
| Constructs a new servlet exception when the servlet needs to throw an exception and include a message about the "root cause" exception that interfered with its normal operation.
The exception's message is based on the localized message of the underlying exception. This method calls the getLocalizedMessage method on the Throwable exception to get a localized exception message. When subclassing ServletException, this method can be overridden to create an exception message designed for a specific locale.
| true |
| true |
| Servlet:JAVADOC:109 | Throwable | javax.servlet.ServletException.getRootCause
| Returns the exception that caused this servlet exception.
| true |
| true |
| Servlet:JAVADOC:110 | ServletContextEvent | javax.servlet.ServletContextEvent.ServletContextEvent
(
ServletContext
)
| Construct a ServletContextEvent from the given context.
| true |
| true |
| Servlet:JAVADOC:111 | ServletContext | javax.servlet.ServletContextEvent.getServletContext
| Return the ServletContext that changed.
| true |
| true |
| Servlet:JAVADOC:112 | ServletContextAttributeEvent | javax.servlet.ServletContextAttributeEvent.ServletContextAttributeEvent
(
ServletContext
, String
, Object
)
| Construct a ServletContextAttributeEvent from the given context for the given attribute name and attribute value.
| true |
| true |
| Servlet:JAVADOC:113 | String | javax.servlet.ServletContextAttributeEvent.getName
| Return the name of the attribute that changed on the ServletContext.
| true |
| true |
| Servlet:JAVADOC:114 | Object | javax.servlet.ServletContextAttributeEvent.getValue
| Returns the value of the attribute that has been added removed or replaced.
If the attribute was added, this is the value of the attribute.
| true |
| true |
| Servlet:JAVADOC:115 | Object | javax.servlet.ServletContextAttributeEvent.getValue
| Returns the value of the attribute that has been added removed or replaced.
If the attrubute was removed, this is the value of the removed attribute.
| true |
| true |
| Servlet:JAVADOC:116 | Object | javax.servlet.ServletContextAttributeEvent.getValue
| Returns the value of the attribute that has been added removed or replaced.
If the attribute was replaced, this is the old value of the attribute.
| true |
| true |
| Servlet:JAVADOC:117 | ServletContext | javax.servlet.ServletContextAttributeEvent.{javax.servlet.ServletContextEvent}.getServletContext
| Return the ServletContext that changed.
| true |
| true |
| Servlet:JAVADOC:118 | GenericServlet | javax.servlet.GenericServlet.GenericServlet
| Does nothing.
All of the servlet initialization is done by one of the init methods.
| true |
| false |
| Servlet:JAVADOC:119 | void | javax.servlet.GenericServlet.destroy
| Called by the servlet container to indicate to a servlet that the servlet is being taken out of service.
| true |
| true |
| Servlet:JAVADOC:120 | String | javax.servlet.GenericServlet.getInitParameter
(
String
)
| Returns a String containing the value of the named initialization parameter, or null if the parameter does not exist.
This method is supplied for convenience. It gets the value of the named parameter from the servlet's ServletConfig object.
| true |
| true |
| Servlet:JAVADOC:121 | String | javax.servlet.GenericServlet.getInitParameter
(
String
)
| Returns null if the parameter does not exist.
This method is supplied for convenience. It gets the value of the named parameter from the servlet's ServletConfig object.
| true |
| true |
| Servlet:JAVADOC:122 | Enumeration | javax.servlet.GenericServlet.getInitParameterNames
| Returns the names of the servlet's initialization parameters as an Enumeration of String objects, or an empty Enumeration if the servlet has no initialization parameters.
This method is supplied for convenience. It gets the parameter names from the servlet's ServletConfig object.
| true |
| true |
| Servlet:JAVADOC:123 | Enumeration | javax.servlet.GenericServlet.getInitParameterNames
| Returns an empty Enumeration if the servlet has no initialization parameters.
This method is supplied for convenience. It gets the parameter names from the servlet's ServletConfig object.
| true |
| true |
| Servlet:JAVADOC:124 | ServletConfig | javax.servlet.GenericServlet.getServletConfig
|
Returns this servlet's object.
| true |
| true |
| Servlet:JAVADOC:125 | ServletContext | javax.servlet.GenericServlet.getServletContext
|
Returns a reference to the context in which this servlet is running.
This method is supplied for convenience. It gets the servlet context from the servlet's ServletConfig object.
| true |
| true |
| Servlet:JAVADOC:126 | String | javax.servlet.GenericServlet.getServletInfo
| Returns information about the servlet, such as author, version, and copyright.
By default, this method returns an empty string. Override this method to have it return a meaningful value. See .
| true |
| true |
| Servlet:JAVADOC:127 | void | javax.servlet.GenericServlet.init
(
ServletConfig
)
| Called by the servlet container to indicate to a servlet that the servlet is being placed into service.
This implementation stores the object it receives from the servlet container for later use. When overriding this form of the method, call super.init(config).
| true |
| true |
| Servlet:JAVADOC:128 | void | javax.servlet.GenericServlet.init
(
ServletConfig
)
throws
ServletException
| if an exception occurs that interrupts the servlet's normal operation | true |
| true |
| Servlet:JAVADOC:129 | void | javax.servlet.GenericServlet.init
| A convenience method which can be overridden so that there's no need to call super.init(config).
Instead of overriding , simply override this method and it will be called by GenericServlet.init(ServletConfig config). The ServletConfig object can still be retrieved via .
| true |
| true |
| Servlet:JAVADOC:130 | void | javax.servlet.GenericServlet.init
throws
ServletException
| if an exception occurs that interrupts the servlet's normal operation | true |
| true |
| Servlet:JAVADOC:131 | void | javax.servlet.GenericServlet.log
(
String
)
| Writes the specified message to a servlet log file, prepended by the servlet's name.
| true |
| false |
| Servlet:JAVADOC:132 | void | javax.servlet.GenericServlet.log
(
String
, Throwable
)
| Writes an explanatory message and a stack trace for a given Throwable exception to the servlet log file, prepended by the servlet's name.
| true |
| false |
| Servlet:JAVADOC:133 | void | javax.servlet.GenericServlet.service
(
ServletRequest
, ServletResponse
)
| Called by the servlet container to allow the servlet to respond to a request.
This method is declared abstract so subclasses, such as HttpServlet, must override it.
| true |
| true |
| Servlet:JAVADOC:134 | void | javax.servlet.GenericServlet.service
(
ServletRequest
, ServletResponse
)
throws
ServletException
| if an exception occurs that interferes with the servlet's normal operation occurred | true |
| false |
| Servlet:JAVADOC:135 | void | javax.servlet.GenericServlet.service
(
ServletRequest
, ServletResponse
)
throws
IOException
| if an input or output exception occurs | true |
| false |
| Servlet:JAVADOC:136 | String | javax.servlet.GenericServlet.getServletName
| Returns the name of this servlet instance.
| true |
| true |
| Servlet:JAVADOC:137 | String | javax.servlet.ServletResponse.getCharacterEncoding
| Returns the name of the charset used for the MIME body sent in this response.
See RFC 2047 (http://ds.internic.net/rfc/rfc2045.txt) for more information about character encoding and MIME.
| true |
| true |
| Servlet:JAVADOC:138 | String | javax.servlet.ServletResponse.getCharacterEncoding
| Returns the name of the charset used for the MIME body sent in this response.
If no charset has been assigned, it is implicitly set to ISO-8859-1 (Latin-1). See RFC 2047 (http://ds.internic.net/rfc/rfc2045.txt) for more information about character encoding and MIME.
| true |
| true |
| Servlet:JAVADOC:139 | void | javax.servlet.ServletResponse.setCharacterEncoding
(
String
)
| Overrides the name of the character encoding used in the body of the request.
| true |
| true |
| Servlet:JAVADOC:140 | ServletOutputStream | javax.servlet.ServletResponse.getOutputStream
|
Returns a ServletOutputStream suitable output steam for writing binary data in the response.
Calling flush() on the ServletOutputStream commits the response.
| true |
| true |
| Servlet:JAVADOC:141 | ServletOutputStream | javax.servlet.ServletResponse.getOutputStream
|
Returns a ServletOutputStream suitable output steam for writing binary data in the response.
The servlet container does not encode the binary data.
| true |
| true |
| Servlet:JAVADOC:142 | ServletOutputStream | javax.servlet.ServletResponse.getOutputStream
throws
IOException
| if an input or output exception occurred | true |
| false |
| Servlet:JAVADOC:143 | ServletOutputStream | javax.servlet.ServletResponse.getOutputStream
throws
IllegalStateException
| if the getWriter method has been called on this response | true |
| true |
| Servlet:JAVADOC:144 | PrintWriter | javax.servlet.ServletResponse.getWriter
| Returns a PrintWriter object that can send character text to the client.
The character encoding used is the one specified in the charset= property of the setContentType(String) method.
| true |
| true |
| Servlet:JAVADOC:145 | PrintWriter | javax.servlet.ServletResponse.getWriter
| Returns a PrintWriter object that can send character text to the client.
getWriter()must be called before calling the setContentType(String) methodfor the charset to take effect.
| true |
| true |
| Servlet:JAVADOC:146 | PrintWriter | javax.servlet.ServletResponse.getWriter
| Returns a PrintWriter object that can send character text to the client.
Calling flush() on the PrintWriter commits the response.
| true |
| true |
| Servlet:JAVADOC:147 | PrintWriter | javax.servlet.ServletResponse.getWriter
throws
IOException
| if an input or output exception occurred | true |
| false |
| Servlet:JAVADOC:148 | PrintWriter | javax.servlet.ServletResponse.getWriter
throws
UnsupportedEncodingException
| if the charset specified in setContentType cannot be used | true |
| false |
| Servlet:JAVADOC:149 | PrintWriter | javax.servlet.ServletResponse.getWriter
throws
IllegalStateException
| if the getOutputStream method has already been called for this response object | true |
| true |
| Servlet:JAVADOC:150 | void | javax.servlet.ServletResponse.setContentLength
(
int
)
| Sets the length of the content body in the response In HTTP servlets, this method sets the HTTP Content-Length header.
| true |
| true |
| Servlet:JAVADOC:151 | void | javax.servlet.ServletResponse.setContentType
(
String
)
| Sets the content type of the response being sent to the client.
The content type may include the type of character encoding used, for example, text/html; charset=ISO-8859-4. If obtaining a PrintWriter, this method should be called first.
| true |
| true |
| Servlet:JAVADOC:152 | String | javax.servlet.ServletResponse.getContentType
| Returns the MIME type of the body of the request.
For HTTP servlets, same as the value of the CGI variable CONTENT_TYPE.
| true |
| true |
| Servlet:JAVADOC:153 | String | javax.servlet.ServletResponse.getContentType
| Returns null if the type is not known.
For HTTP servlets, same as the value of the CGI variable CONTENT_TYPE.
| true |
| true |
| Servlet:JAVADOC:154 | void | javax.servlet.ServletResponse.setBufferSize
(
int
)
| Sets the preferred buffer size for the body of the response.
The servlet container will use a buffer at least as large as the size requested.
| true |
| true |
| Servlet:JAVADOC:155 | void | javax.servlet.ServletResponse.setBufferSize
(
int
)
throws
IllegalStateException
| If setBufferSize is called after content has been written | true |
| true |
| Servlet:JAVADOC:156 | int | javax.servlet.ServletResponse.getBufferSize
| Returns the actual buffer size used for the response.
| true |
| true |
| Servlet:JAVADOC:157 | int | javax.servlet.ServletResponse.getBufferSize
|
If no buffering is used, this method returns 0.
| true |
| true |
| Servlet:JAVADOC:158 | void | javax.servlet.ServletResponse.flushBuffer
| Forces any content in the buffer to be written to the client.
A call to this method automatically commits the response, meaning the status code and headers will be written.
| true |
| true |
| Servlet:JAVADOC:159 | void | javax.servlet.ServletResponse.flushBuffer
throws
IOException
|
| true |
| false |
| Servlet:JAVADOC:160 | void | javax.servlet.ServletResponse.resetBuffer
| Clears the content of the underlying buffer in the response without clearing headers or status code. | true |
| true |
| Servlet:JAVADOC:161 | boolean | javax.servlet.ServletResponse.isCommitted
| Returns a boolean indicating if the response has been committed. | true |
| true |
| Servlet:JAVADOC:162 | void | javax.servlet.ServletResponse.reset
| Clears any data that exists in the buffer as well as the status code and headers. | true |
| true |
| Servlet:JAVADOC:163 | void | javax.servlet.ServletResponse.reset
throws
IllegalStateException
| if the response has already been committed | true |
| true |
| Servlet:JAVADOC:164 | void | javax.servlet.ServletResponse.setLocale
(
Locale
)
| Sets the locale of the response, setting the headers (including the Content-Type's charset) as appropriate.
By default, the response locale is the default locale for the server.
| true |
| true |
| Servlet:JAVADOC:166 | Locale | javax.servlet.ServletResponse.getLocale
| Returns the locale assigned to the response.
| true |
| true |
| Servlet:JAVADOC:167 | void | javax.servlet.ServletRequestListener.requestDestroyed
(
ServletRequestEvent
)
| Notification that the servlet request is about to go out of scope.
| true |
| true |
| Servlet:JAVADOC:168 | void | javax.servlet.ServletRequestListener.requestInitialized
(
ServletRequestEvent
)
| Notification that the servlet request is about to go into scope.
| true |
| true |
| Servlet:JAVADOC:169 | void | javax.servlet.ServletRequestAttributeListener.attributeAdded
(
ServletRequestAttributeEvent
)
| Notification that a new attribute was added to the servlet request.
Called after the attribute is added.
| true |
| true |
| Servlet:JAVADOC:170 | void | javax.servlet.ServletRequestAttributeListener.attributeRemoved
(
ServletRequestAttributeEvent
)
| Notification that an existing attribute has been removed from the servlet request.
Called after the attribute is removed.
| true |
| true |
| Servlet:JAVADOC:171 | void | javax.servlet.ServletRequestAttributeListener.attributeReplaced
(
ServletRequestAttributeEvent
)
| Notification that an attribute on the servlet request has been replaced.
Called after the attribute is replaced.
| true |
| true |
| Servlet:JAVADOC:172 | Object | javax.servlet.ServletRequest.getAttribute
(
String
)
| Returns the value of the named attribute as an Object.
| true |
| true |
| Servlet:JAVADOC:173 | Object | javax.servlet.ServletRequest.getAttribute
(
String
)
| Returns null if no attribute of the given name exists.
| true |
| true |
| Servlet:JAVADOC:174 | Enumeration | javax.servlet.ServletRequest.getAttributeNames
| Returns an Enumeration containing the names of the attributes available to this request.
| true |
| true |
| Servlet:JAVADOC:175 | Enumeration | javax.servlet.ServletRequest.getAttributeNames
| Returns an empty Enumeration if the request has no attributes available to it.
| true |
| true |
| Servlet:JAVADOC:176 | String | javax.servlet.ServletRequest.getCharacterEncoding
| Returns the name of the character encoding used in the body of this request.
| true |
| true |
| Servlet:JAVADOC:177 | String | javax.servlet.ServletRequest.getCharacterEncoding
| Returns null if the request does not specify a character encoding
| true |
| true |
| Servlet:JAVADOC:178 | void | javax.servlet.ServletRequest.setCharacterEncoding
(
String
)
| Overrides the name of the character encoding used in the body of this
request. This method must be called prior to reading request parameters or
reading input using getReader(). Otherwise, it has no effect.
| true |
| true |
| Servlet:JAVADOC:179 | void | javax.servlet.ServletRequest.setCharacterEncoding
(
String
)
throws
UnsupportedEncodingException
| if this ServletRequest is still in a state where a character encoding may be set, but the specified encoding is invalid | true |
| true |
| Servlet:JAVADOC:180 | int | javax.servlet.ServletRequest.getContentLength
| Returns the length, in bytes, of the request body and made available by the input stream.
For HTTP servlets, same as the value of the CGI variable CONTENT_LENGTH.
| true |
| true |
| Servlet:JAVADOC:181 | int | javax.servlet.ServletRequest.getContentLength
| Returns -1 if the length is not known.
For HTTP servlets, same as the value of the CGI variable CONTENT_LENGTH.
| true |
| false |
| Servlet:JAVADOC:182 | String | javax.servlet.ServletRequest.getContentType
| Returns the MIME type of the body of the request.
For HTTP servlets, same as the value of the CGI variable CONTENT_TYPE.
| true |
| true |
| Servlet:JAVADOC:183 | String | javax.servlet.ServletRequest.getContentType
| Returns null if the MIME type is not known.
For HTTP servlets, same as the value of the CGI variable CONTENT_TYPE.
| true |
| true |
| Servlet:JAVADOC:184 | ServletInputStream | javax.servlet.ServletRequest.getInputStream
|
Retrieves the body of the request as binary data using a ServletInputStream.
| true |
| true |
| Servlet:JAVADOC:185 | ServletInputStream | javax.servlet.ServletRequest.getInputStream
throws
IOException
| if an input or output exception occurred | true |
| false |
| Servlet:JAVADOC:186 | ServletInputStream | javax.servlet.ServletRequest.getInputStream
throws
IllegalStateException
| if the getReader method has already been called for this request | true |
| true |
| Servlet:JAVADOC:187 | String | javax.servlet.ServletRequest.getParameter
(
String
)
| Returns the value of a request parameter as a String.
Request parameters are extra information sent with the request. For HTTP servlets, parameters are contained in the query string or posted form data. You should only use this method when you are sure the parameter has only one value. If the parameter might have more than one value, use . If you use this method with a multivalued parameter, the value returned is equal to the first value in the array returned by getParameterValues. If the parameter data was sent in the request body, such as occurs with an HTTP POST request, then reading the body directly via or can interfere with the execution of this method.
| true |
| true |
| Servlet:JAVADOC:188 | String | javax.servlet.ServletRequest.getParameter
(
String
)
| Returns null if the parameter does not exist.
| true |
| true |
| Servlet:JAVADOC:189 | Enumeration | javax.servlet.ServletRequest.getParameterNames
| Returns an Enumeration of String objects containing the names of the parameters contained in this request.
| true |
| true |
| Servlet:JAVADOC:190 | Enumeration | javax.servlet.ServletRequest.getParameterNames
| If the request has no parameters, the method returns an empty Enumeration.
| true |
| true |
| Servlet:JAVADOC:191 | String[] | javax.servlet.ServletRequest.getParameterValues
(
String
)
| Returns an array of String objects containing all of the values the given request parameter has.
| true |
| true |
| Servlet:JAVADOC:192 | String[] | javax.servlet.ServletRequest.getParameterValues
(
String
)
| Returns null if the parameter does not exist.
| true |
| true |
| Servlet:JAVADOC:193 | Map | javax.servlet.ServletRequest.getParameterMap
| Returns a java.util.Map of the parameters of this request.
Request parameters are extra information sent with the request. For HTTP servlets, parameters are contained in the query string or posted form data.
| true |
| true |
| Servlet:JAVADOC:194 | String | javax.servlet.ServletRequest.getProtocol
| Returns the name and version of the protocol the request uses in the form protocol/majorVersion.minorVersion, for example, HTTP/1.1.
For HTTP servlets, the value returned is the same as the value of the CGI variable SERVER_PROTOCOL.
| true |
| true |
| Servlet:JAVADOC:195 | String | javax.servlet.ServletRequest.getScheme
| Returns the name of the scheme used to make this request, for example, http, https, or ftp.
| true |
| true |
| Servlet:JAVADOC:196 | String | javax.servlet.ServletRequest.getServerName
| Returns the host name of the server that received the request.
For HTTP servlets, same as the value of the CGI variable SERVER_NAME.
| true |
| true |
| Servlet:JAVADOC:197 | int | javax.servlet.ServletRequest.getServerPort
| Returns the port number on which this request was received.
For HTTP servlets, same as the value of the CGI variable SERVER_PORT.
| true |
| true |
| Servlet:JAVADOC:198 | BufferedReader | javax.servlet.ServletRequest.getReader
| Retrieves the body of the request as character data using a BufferedReader.
| true |
| true |
| Servlet:JAVADOC:199 | BufferedReader | javax.servlet.ServletRequest.getReader
throws
IOException
| if an input or output exception occurred | true |
| false |
| Servlet:JAVADOC:200 | BufferedReader | javax.servlet.ServletRequest.getReader
throws
UnsupportedEncodingException
| if the character set encoding used is not supported and the text cannot be decoded | true |
| true |
| Servlet:JAVADOC:201 | BufferedReader | javax.servlet.ServletRequest.getReader
throws
IllegalStateException
| if getInputStream method has been called on this request | true |
| true |
| Servlet:JAVADOC:202 | String | javax.servlet.ServletRequest.getRemoteAddr
| Returns the Internet Protocol (IP) address of the client that sent the request.
For HTTP servlets, same as the value of the CGI variable REMOTE_ADDR.
| true |
| true |
| Servlet:JAVADOC:203 | String | javax.servlet.ServletRequest.getRemoteHost
| Returns the fully qualified name of the client that sent the request.
If the engine cannot or chooses not to resolve the hostname (to improve performance), this method returns the dotted-string form of the IP address. For HTTP servlets, same as the value of the CGI variable REMOTE_HOST.
| true |
| true |
| Servlet:JAVADOC:204 | void | javax.servlet.ServletRequest.setAttribute
(
String
, Object
)
| Stores an attribute in this request.
Attributes are reset between requests. This method is most often used in conjunction with . Attribute names should follow the same conventions as package names. Names beginning with java.*, javax.*, and com.sun.*, are reserved for use by Sun Microsystems. If the value passed in is null, the effect is the same as calling .
| true |
| true |
| Servlet:JAVADOC:205 | void | javax.servlet.ServletRequest.removeAttribute
(
String
)
| Removes an attribute from this request.
This method is not generally needed as attributes only persist as long as the request is being handled. Attribute names should follow the same conventions as package names. Names beginning with java.*, javax.*, and com.sun.*, are reserved for use by Sun Microsystems.
| true |
| true |
| Servlet:JAVADOC:206 | Locale | javax.servlet.ServletRequest.getLocale
| Returns the preferred Locale that the client will accept content in, based on the Accept-Language header.
If the client request doesn't provide an Accept-Language header, this method returns the default locale for the server.
| true |
| true |
| Servlet:JAVADOC:207 | Locale | javax.servlet.ServletRequest.getLocale
| If the client request doesn't provide an Accept-Language header, this method returns the default locale for the server.
| true |
| true |
| Servlet:JAVADOC:208 | Enumeration | javax.servlet.ServletRequest.getLocales
| Returns an Enumeration of Locale objects indicating, in decreasing order starting with the preferred locale, the locales that are acceptable to the client based on the Accept-Language header.
| true |
| true |
| Servlet:JAVADOC:209 | Enumeration | javax.servlet.ServletRequest.getLocales
|
If the client request doesn't provide an Accept-Language header, this method returns an Enumeration containing one Locale, the default locale for the server.
| true |
| true |
| Servlet:JAVADOC:210 | boolean | javax.servlet.ServletRequest.isSecure
| Returns a boolean indicating whether this request was made using a secure channel, such as HTTPS.
| true |
| true |
| Servlet:JAVADOC:211 | RequestDispatcher | javax.servlet.ServletRequest.getRequestDispatcher
(
String
)
|
Returns a object that acts as a wrapper for the resource located at the given path.
A RequestDispatcher object can be used to forward a request to the resource or to include the resource in a response. The resource can be dynamic or static. The pathname specified may be relative, although it cannot extend outside the current servlet context. If the path begins with a "/" it is interpreted as relative to the current context root.
| true |
| true |
| Servlet:JAVADOC:212 | RequestDispatcher | javax.servlet.ServletRequest.getRequestDispatcher
(
String
)
|
This method returns null if the servlet container cannot return a RequestDispatcher.
| true |
| false |
| Servlet:JAVADOC:213 | String | javax.servlet.ServletRequest.getRealPath
(
String
)
|
| true | true | true |
| Servlet:JAVADOC:214 | void | javax.servlet.ServletContextListener.contextInitialized
(
ServletContextEvent
)
| Notification that the web application is ready to process requests.
| true |
| true |
| Servlet:JAVADOC:215 | void | javax.servlet.ServletContextListener.contextDestroyed
(
ServletContextEvent
)
| Notification that the servlet context is about to be shut down.
| true |
| false |
| Servlet:JAVADOC:216 | void | javax.servlet.ServletContextAttributeListener.attributeAdded
(
ServletContextAttributeEvent
)
| Notification that a new attribute was added to the servlet context.
Called after the attribute is added.
| true |
| true |
| Servlet:JAVADOC:217 | void | javax.servlet.ServletContextAttributeListener.attributeRemoved
(
ServletContextAttributeEvent
)
| Notification that an existing attribute has been remved from the servlet context.
Called after the attribute is removed.
| true |
| true |
| Servlet:JAVADOC:218 | void | javax.servlet.ServletContextAttributeListener.attributeReplaced
(
ServletContextAttributeEvent
)
| Notification that an attribute on the servlet context has been replaced.
Called after the attribute is replaced.
| true |
| true |
| Servlet:JAVADOC:219 | ServletContext | javax.servlet.ServletContext.getContext
(
String
)
| Returns a ServletContext object that corresponds to a specified URL on the server.
This method allows servlets to gain access to the context for various parts of the server, and as needed obtain objects from the context. The given path must be begin with "/", is interpreted relative to the server's document root and is matched against the context roots of other web applications hosted on this container. In a security conscious environment, the servlet container may return null for a given URL.
| true |
| true |
| Servlet:JAVADOC:220 | int | javax.servlet.ServletContext.getMajorVersion
| Returns the major version of the Java Servlet API that this servlet container supports.
All implementations that comply with Version 2.5 must have this method return the integer 2.
| true |
| true |
| Servlet:JAVADOC:221 | int | javax.servlet.ServletContext.getMinorVersion
| Returns the minor version of the Servlet API that this servlet container supports.
All implementations that comply with Version 2.5 must have this method return the integer 5.
| true |
| true |
| Servlet:JAVADOC:222 | String | javax.servlet.ServletContext.getMimeType
(
String
)
| Returns the MIME type of the specified file, or null if the MIME type is not known.
The MIME type is determined by the configuration of the servlet container, and may be specified in a web application deployment descriptor. Common MIME types are "text/html" and "image/gif".
| true |
| true |
| Servlet:JAVADOC:223 | String | javax.servlet.ServletContext.getMimeType
(
String
)
| Returns null if the MIME type is not known.
The MIME type is determined by the configuration of the servlet container, and may be specified in a web application deployment descriptor. Common MIME types are "text/html" and "image/gif".
| true |
| true |
| Servlet:JAVADOC:224 | Set | javax.servlet.ServletContext.getResourcePaths
(
String
)
| Returns a directory-like listing of all the paths to resources within the web application whose longest sub-path matches the supplied path argument.
Paths indicating subdirectory paths end with a '/'. The returned paths are all relative to the root of the web application and have a leading '/'. For example, for a web application containing /welcome.html /catalog/index.html /catalog/products.html /catalog/offers/books.html /catalog/offers/music.html /customer/login.jsp /WEB-INF/web.xml /WEB-INF/classes/com.acme.OrderServlet.class, getResourcePaths("/") returns {"/welcome.html", "/catalog/", "/customer/", "/WEB-INF/"} getResourcePaths("/catalog/") returns {"/catalog/index.html", "/catalog/products.html", "/catalog/offers/"}.
| true |
| true |
| Servlet:JAVADOC:225 | URL | javax.servlet.ServletContext.getResource
(
String
)
|
This method returns null if no resource is mapped to the pathname.
| true |
| true |
| Servlet:JAVADOC:226 | URL | javax.servlet.ServletContext.getResource
(
String
)
| Returns a URL to the resource that is mapped to a specified path.
The path must begin with a "/" and is interpreted as relative to the current context root. This method allows the servlet container to make a resource available to servlets from any source. Resources can be located on a local or remote file system, in a database, or in a .war file. The servlet container must implement the URL handlers and URLConnection objects that are necessary to access the resource.
| true |
| true |
| Servlet:JAVADOC:227 | URL | javax.servlet.ServletContext.getResource
(
String
)
throws
MalformedURLException
| if the pathname is not given in the correct form | true |
| true |
| Servlet:JAVADOC:228 | InputStream | javax.servlet.ServletContext.getResourceAsStream
(
String
)
| Returns the resource located at the named path as an InputStream object.
The data in the InputStream can be of any type or length. The path must be specified according to the rules given in getResource. Meta-information such as content length and content type that is available via getResource method is lost when using this method. The servlet container must implement the URL handlers and URLConnection objects necessary to access the resource.
| true |
| true |
| Servlet:JAVADOC:229 | InputStream | javax.servlet.ServletContext.getResourceAsStream
(
String
)
|
This method returns null if no resource exists at the specified path.
| true |
| true |
| Servlet:JAVADOC:230 | RequestDispatcher | javax.servlet.ServletContext.getRequestDispatcher
(
String
)
|
Returns a object that acts as a wrapper for the resource located at the given path.
A RequestDispatcher object can be used to forward a request to the resource or to include the resource in a response. The resource can be dynamic or static. The pathname must begin with a "/" and is interpreted as relative to the current context root.
| true |
| true |
| Servlet:JAVADOC:231 | RequestDispatcher | javax.servlet.ServletContext.getRequestDispatcher
(
String
)
|
This method returns null if the ServletContext cannot return a RequestDispatcher.
| true |
| false |
| Servlet:JAVADOC:232 | RequestDispatcher | javax.servlet.ServletContext.getNamedDispatcher
(
String
)
|
Returns a object that acts as a wrapper for the named servlet.
| true |
| true |
| Servlet:JAVADOC:233 | RequestDispatcher | javax.servlet.ServletContext.getNamedDispatcher
(
String
)
|
This method returns null if the ServletContext cannot return a RequestDispatcher for any reason.
| true |
| true |
| Servlet:JAVADOC:234 | Servlet | javax.servlet.ServletContext.getServlet
(
String
)
|
| true | true | true |
| Servlet:JAVADOC:235 | Servlet | javax.servlet.ServletContext.getServlet
(
String
)
throws
ServletException
|
| true | true | true |
| Servlet:JAVADOC:236 | Enumeration | javax.servlet.ServletContext.getServlets
|
| true | true | true |
| Servlet:JAVADOC:237 | Enumeration | javax.servlet.ServletContext.getServletNames
|
| true | true | true |
| Servlet:JAVADOC:238 | void | javax.servlet.ServletContext.log
(
String
)
| Writes the specified message to a servlet log file, usually an event log.
The name and type of the servlet log file is specific to the servlet container.
| true |
| false |
| Servlet:JAVADOC:239 | void | javax.servlet.ServletContext.log
(
Exception
, String
)
|
| true | true | true |
| Servlet:JAVADOC:240 | void | javax.servlet.ServletContext.log
(
String
, Throwable
)
| Writes an explanatory message and a stack trace for a given Throwable exception to the servlet log file.
The name and type of the servlet log file is specific to the servlet container, usually an event log.
| true |
| false |
| Servlet:JAVADOC:241 | String | javax.servlet.ServletContext.getRealPath
(
String
)
| Returns a String containing the real path for a given virtual path.
For example, the path "/index.html" returns the absolute file path on the server's filesystem would be served by a request for "http://host/contextPath/index.html", where contextPath is the context path of this ServletContext.. The real path returned will be in a form appropriate to the computer and operating system on which the servlet container is running, including the proper path separators. This method returns null if the servlet container cannot translate the virtual path to a real path for any reason (such as when the content is being made available from a .war archive).
| true |
| true |
| Servlet:JAVADOC:242 | String | javax.servlet.ServletContext.getServerInfo
| Returns the name and version of the servlet container on which the servlet is running.
The form of the returned string is servername/versionnumber. For example, the JavaServer Web Development Kit may return the string JavaServer Web Dev Kit/1.0. The servlet container may return other optional information after the primary string in parentheses, for example, JavaServer Web Dev Kit/1.0 (JDK 1.1.6; Windows NT 4.0 x86).
| true |
| true |
| Servlet:JAVADOC:243 | String | javax.servlet.ServletContext.getInitParameter
(
String
)
| Returns a String containing the value of the named context-wide initialization parameter.
| true |
| true |
| Servlet:JAVADOC:244 | String | javax.servlet.ServletContext.getInitParameter
(
String
)
| Returns null if the parameter does not exist.
| true |
| true |
| Servlet:JAVADOC:245 | Enumeration | javax.servlet.ServletContext.getInitParameterNames
| Returns the names of the context's initialization parameters as an Enumeration of String objects.
| true |
| true |
| Servlet:JAVADOC:246 | Enumeration | javax.servlet.ServletContext.getInitParameterNames
| Returns an empty Enumeration if the context has no initialization parameters.
| true |
| true |
| Servlet:JAVADOC:247 | Object | javax.servlet.ServletContext.getAttribute
(
String
)
| Returns the servlet container attribute with the given name. | true |
| true |
| Servlet:JAVADOC:248 | Object | javax.servlet.ServletContext.getAttribute
(
String
)
| Returns null if there is no attribute by that name. | true |
| true |
| Servlet:JAVADOC:249 | Enumeration | javax.servlet.ServletContext.getAttributeNames
| Returns an Enumeration containing the attribute names available within this servlet context.
| true |
| true |
| Servlet:JAVADOC:250 | void | javax.servlet.ServletContext.setAttribute
(
String
, Object
)
| Binds an object to a given attribute name in this servlet context.
| true |
| true |
| Servlet:JAVADOC:251 | void | javax.servlet.ServletContext.setAttribute
(
String
, Object
)
|
If the name specified is already used for an attribute, this method will replace the attribute with the new to the new attribute.
| true |
| true |
| Servlet:JAVADOC:252 | void | javax.servlet.ServletContext.setAttribute
(
String
, Object
)
|
If listeners are configured on the ServletContext the container notifies them accordingly.
| true |
| true |
| Servlet:JAVADOC:253 | void | javax.servlet.ServletContext.setAttribute
(
String
, Object
)
|
If a null value is passed, the effect is the same as calling removeAttribute().
| true |
| true |
| Servlet:JAVADOC:254 | void | javax.servlet.ServletContext.removeAttribute
(
String
)
| Removes the attribute with the given name from the servlet context.
After removal, subsequent calls to to retrieve the attribute's value will return null.
| true |
| true |
| Servlet:JAVADOC:255 | void | javax.servlet.ServletContext.removeAttribute
(
String
)
|
If listeners are configured on the ServletContext the container notifies them accordingly.
| true |
| true |
| Servlet:JAVADOC:256 | String | javax.servlet.ServletContext.getServletContextName
| Returns the name of this web application correponding to this ServletContext as specified in the deployment descriptor for this web application by the display-name element.
| true |
| true |
| Servlet:JAVADOC:257 | String | javax.servlet.ServletConfig.getServletName
| Returns the name of this servlet instance.
The name may be provided via server administration, assigned in the web application deployment descriptor, or for an unregistered (and thus unnamed) servlet instance it will be the servlet's class name.
| true |
| true |
| Servlet:JAVADOC:258 | ServletContext | javax.servlet.ServletConfig.getServletContext
|
Returns a reference to the ServletContext in which the caller is executing.
| true |
| true |
| Servlet:JAVADOC:259 | String | javax.servlet.ServletConfig.getInitParameter
(
String
)
| Returns a String containing the value of the named initialization parameter.
| true |
| true |
| Servlet:JAVADOC:260 | String | javax.servlet.ServletConfig.getInitParameter
(
String
)
| Returns null if the parameter does not exist.
| true |
| true |
| Servlet:JAVADOC:261 | Enumeration | javax.servlet.ServletConfig.getInitParameterNames
| Returns the names of the servlet's initialization parameters as an Enumeration of String objects.
| true |
| true |
| Servlet:JAVADOC:262 | Enumeration | javax.servlet.ServletConfig.getInitParameterNames
| Returns an empty Enumeration if the servlet has no initialization parameters.
| true |
| true |
| Servlet:JAVADOC:263 | void | javax.servlet.Servlet.init
(
ServletConfig
)
| Called by the servlet container to indicate to a servlet that the servlet is being placed into service.
The servlet container calls the init method exactly once after instantiating the servlet. The init method must complete successfully before the servlet can receive any requests.
| true |
| true |
| Servlet:JAVADOC:265 | void | javax.servlet.Servlet.init
(
ServletConfig
)
throws
ServletException
| Called by the servlet container to indicate to a servlet that the servlet is being placed into service.
The servlet container cannot place the servlet into service if the init method Throws a ServletException or does not return within a time period defined by the Web server.
if an exception has occurred that interferes with the servlet's normal operation | true |
| true |
| Servlet:JAVADOC:266 | ServletConfig | javax.servlet.Servlet.getServletConfig
|
Returns a ServletConfig object, which contains initialization and startup parameters for this servlet.
| true |
| true |
| Servlet:JAVADOC:267 | void | javax.servlet.Servlet.service
(
ServletRequest
, ServletResponse
)
| Called by the servlet container to allow the servlet to respond to a request.
| true |
| true |
| Servlet:JAVADOC:268 | void | javax.servlet.Servlet.service
(
ServletRequest
, ServletResponse
)
throws
ServletException
| if an exception occurs that interferes with the servlet's normal operation | true |
| true |
| Servlet:JAVADOC:269 | void | javax.servlet.Servlet.service
(
ServletRequest
, ServletResponse
)
throws
IOException
| if an input or output exception occurs | true |
| false |
| Servlet:JAVADOC:270 | String | javax.servlet.Servlet.getServletInfo
| Returns information about the servlet, such as author, version, and copyright.
The string that this method returns should be plain text and not markup of any kind (such as HTML, XML, etc.).
| true |
| true |
| Servlet:JAVADOC:271 | void | javax.servlet.Servlet.destroy
| Called by the servlet container to indicate to a servlet that the servlet is being taken out of service. | true |
| false |
| Servlet:JAVADOC:272 | void | javax.servlet.RequestDispatcher.forward
(
ServletRequest
, ServletResponse
)
| Forwards a request from a servlet to another resource (servlet, JSP file, or HTML file) on the server.
For a RequestDispatcher obtained via getRequestDispatcher(), the ServletRequest object has its path elements and parameters adjusted to match the path of the target resource.
| true |
| true |
| Servlet:JAVADOC:273 | void | javax.servlet.RequestDispatcher.forward
(
ServletRequest
, ServletResponse
)
| Forwards a request from a servlet to another resource (servlet, JSP file, or HTML file) on the server.
Uncommitted output in the response buffer is automatically cleared before the forward.
| true |
| true |
| Servlet:JAVADOC:274 | void | javax.servlet.RequestDispatcher.forward
(
ServletRequest
, ServletResponse
)
| Forwards a request from a servlet to another resource (servlet, JSP file, or HTML file) on the server.
The request and response parameters must be either the same objects as were passed to the calling servlet's service method or be subclasses of the ServletRequestWrapper or ServletResponseWrapper classes that wrap them.
| true |
| true |
| Servlet:JAVADOC:275 | void | javax.servlet.RequestDispatcher.forward
(
ServletRequest
, ServletResponse
)
throws
ServletException
| if the target resource throws this exception | true |
| true |
| Servlet:JAVADOC:276 | void | javax.servlet.RequestDispatcher.forward
(
ServletRequest
, ServletResponse
)
throws
IOException
| if the target resource throws this exception | true |
| true |
| Servlet:JAVADOC:277 | void | javax.servlet.RequestDispatcher.forward
(
ServletRequest
, ServletResponse
)
throws
IllegalStateException
| if the response was already committed | true |
| true |
| Servlet:JAVADOC:278 | void | javax.servlet.RequestDispatcher.include
(
ServletRequest
, ServletResponse
)
| Includes the content of a resource (servlet, JSP page, HTML file) in the response.
In essence, this method enables programmatic server-side includes. The object has its path elements and parameters remain unchanged from the caller's. The included servlet cannot change the response status code or set headers; any attempt to make a change is ignored. The request and response parameters must be either the same objects as were passed to the calling servlet's service method or be subclasses of the or classes that wrap them.
| true |
| true |
| Servlet:JAVADOC:279 | void | javax.servlet.RequestDispatcher.include
(
ServletRequest
, ServletResponse
)
throws
ServletException
| if the included resource throws this exception | true |
| true |
| Servlet:JAVADOC:280 | void | javax.servlet.RequestDispatcher.include
(
ServletRequest
, ServletResponse
)
throws
IOException
| if the included resource throws this exception | true |
| true |
| Servlet:JAVADOC:281 | String | javax.servlet.FilterConfig.getFilterName
| Returns the filter-name of this filter as defined in the deployment descriptor.
| true |
| true |
| Servlet:JAVADOC:282 | ServletContext | javax.servlet.FilterConfig.getServletContext
|
Returns a reference to the ServletContext in which the caller is executing.
| true |
| true |
| Servlet:JAVADOC:283 | String | javax.servlet.FilterConfig.getInitParameter
(
String
)
| Returns a String containing the value of the named initialization parameter.
| true |
| true |
| Servlet:JAVADOC:284 | String | javax.servlet.FilterConfig.getInitParameter
(
String
)
| Returns null if the parameter does not exist.
| true |
| true |
| Servlet:JAVADOC:285 | Enumeration | javax.servlet.FilterConfig.getInitParameterNames
| Returns the names of the servlet's initialization parameters as an Enumeration of String objects.
| true |
| true |
| Servlet:JAVADOC:286 | Enumeration | javax.servlet.FilterConfig.getInitParameterNames
| Returns an empty Enumeration if the servlet has no initialization parameters.
| true |
| true |
| Servlet:JAVADOC:287 | void | javax.servlet.FilterChain.doFilter
(
ServletRequest
, ServletResponse
)
| Causes the next filter in the chain to be invoked, or if the calling filter is the last filter in the chain, causes the resource at the end of the chain to be invoked.
| true |
| true |
| Servlet:JAVADOC:288 | void | javax.servlet.FilterChain.doFilter
(
ServletRequest
, ServletResponse
)
throws
IOException
|
| true |
| false |
| Servlet:JAVADOC:289 | void | javax.servlet.FilterChain.doFilter
(
ServletRequest
, ServletResponse
)
throws
ServletException
|
| true |
| false |
| Servlet:JAVADOC:290 | void | javax.servlet.Filter.init
(
FilterConfig
)
| Called by the web container to indicate to a filter that it is being placed into service.
The servlet container calls the init method exactly once after instantiating the filter. The init method must complete successfully before the filter is asked to do any filtering work. The web container cannot place the filter into service if the init method either 1.Throws a ServletException 2.Does not return within a time period defined by the web container
| true |
| true |
| Servlet:JAVADOC:291 | void | javax.servlet.Filter.init
(
FilterConfig
)
| Called by the web container to indicate to a filter that it is being placed into service.
The web container cannot place the filter into service if the init method either 1.Throws a ServletException 2.Does not return within a time period defined by the web container
| true |
| true |
| Servlet:JAVADOC:292 | void | javax.servlet.Filter.init
(
FilterConfig
)
throws
ServletException
|
Called by the web container to indicate to a filter that it is being placed into service.1
The web container cannot place the filter into service if the init method throws a ServletException.
| true |
| false |
| Servlet:JAVADOC:293 | void | javax.servlet.Filter.doFilter
(
ServletRequest
, ServletResponse
, FilterChain
)
| The doFilter method of the Filter is called by the container each time a request/response pair is passed through the chain due to a client request for a resource at the end of the chain.
| true |
| true |
| Servlet:JAVADOC:294 | void | javax.servlet.Filter.doFilter
(
ServletRequest
, ServletResponse
, FilterChain
)
throws
IOException
|
| true |
| false |
| Servlet:JAVADOC:295 | void | javax.servlet.Filter.doFilter
(
ServletRequest
, ServletResponse
, FilterChain
)
throws
ServletException
|
| true |
| false |
| Servlet:JAVADOC:296 | void | javax.servlet.Filter.destroy
| Called by the web container to indicate to a filter that it is being taken out of service.
This method is only called once all threads within the filter's doFilter method have exited or after a timeout period has passed. After the web container calls this method, it will not call the doFilter method again on this instance of the filter. This method gives the filter an opportunity to clean up any resources that are being held (for example, memory, file handles, threads) and make sure that any persistent state is synchronized with the filter's current state in memory.
| true |
| false |
| Servlet:JAVADOC:297 | HttpUtils | javax.servlet.http.HttpUtils.HttpUtils
| Constructs an empty HttpUtils object.
| true | true | true |
| Servlet:JAVADOC:298 | Hashtable | javax.servlet.http.HttpUtils.parseQueryString
(
String
)
| Parses a query string passed from the client to the server and builds a HashTable object with key-value pairs.
The query string should be in the form of a string packaged by the GET or POST method, that is, it should have key-value pairs in the form key=value, with each pair separated from the next by a & character. A key can appear more than once in the query string with different values. However, the key appears only once in the hashtable, with its value being an array of strings containing the multiple values sent by the query string. The keys and values in the hashtable are stored in their decoded form, so any + characters are converted to spaces, and characters sent in hexadecimal notation (like %xx) are converted to ASCII characters.
| true | true | true |
| Servlet:JAVADOC:299 | Hashtable | javax.servlet.http.HttpUtils.parseQueryString
(
String
)
throws
IllegalArgumentException
| if the query string is invalid | true | true | true |
| Servlet:JAVADOC:300 | Hashtable | javax.servlet.http.HttpUtils.parsePostData
(
int
, ServletInputStream
)
| Parses data from an HTML form that the client sends to the server using the HTTP POST method and the application/x-www-form-urlencoded MIME type.
The data sent by the POST method contains key-value pairs. A key can appear more than once in the POST data with different values. However, the key appears only once in the hashtable, with its value being an array of strings containing the multiple values sent by the POST method. The keys and values in the hashtable are stored in their decoded form, so any + characters are converted to spaces, and characters sent in hexadecimal notation (like %xx) are converted to ASCII characters.
| true | true | true |
| Servlet:JAVADOC:301 | Hashtable | javax.servlet.http.HttpUtils.parsePostData
(
int
, ServletInputStream
)
throws
IllegalArgumentException
| if the data sent by the POST method is invalid | true | true | true |
| Servlet:JAVADOC:302 | StringBuffer | javax.servlet.http.HttpUtils.getRequestURL
(
HttpServletRequest
)
| Reconstructs the URL the client used to make the request, using information in the HttpServletRequest object.
The returned URL contains a protocol, server name, port number, and server path, but it does not include query string parameters.
| true | true | true |
| Servlet:JAVADOC:303 | HttpSessionEvent | javax.servlet.http.HttpSessionEvent.HttpSessionEvent
(
HttpSession
)
| Construct a session event from the given source.
| true |
| true |
| Servlet:JAVADOC:304 | HttpSession | javax.servlet.http.HttpSessionEvent.getSession
| Return the session that changed.
| true |
| true |
| Servlet:JAVADOC:305 | HttpSessionBindingEvent | javax.servlet.http.HttpSessionBindingEvent.HttpSessionBindingEvent
(
HttpSession
, String
)
| Constructs an event that notifies an object that it has been bound to or unbound from a session.
To receive the event, the object must implement HttpSessionBindingListener .
| true |
| true |
| Servlet:JAVADOC:306 | HttpSessionBindingEvent | javax.servlet.http.HttpSessionBindingEvent.HttpSessionBindingEvent
(
HttpSession
, String
, Object
)
| Constructs an event that notifies an object that it has been bound to or unbound from a session.
To receive the event, the object must implement HttpSessionBindingListener.
| true |
| true |
| Servlet:JAVADOC:307 | HttpSession | javax.servlet.http.HttpSessionBindingEvent.getSession
| Return the session that changed.
| true |
| true |
| Servlet:JAVADOC:308 | String | javax.servlet.http.HttpSessionBindingEvent.getName
| Returns the name with which the attribute is bound to or unbound from the session.
| true |
| true |
| Servlet:JAVADOC:309 | Object | javax.servlet.http.HttpSessionBindingEvent.getValue
| Returns the value of the attribute that has been added, removed or replaced.
If the attribute was added (or bound), this is the value of the attribute.
| true |
| true |
| Servlet:JAVADOC:310 | Object | javax.servlet.http.HttpSessionBindingEvent.getValue
| Returns the value of the attribute that has been added, removed or replaced.
If the attrubute was removed (or unbound), this is the value of the removed attribute.
| true |
| true |
| Servlet:JAVADOC:311 | Object | javax.servlet.http.HttpSessionBindingEvent.getValue
| Returns the value of the attribute that has been added, removed or replaced.
If the attribute was replaced, this is the old value of the attribute.
| true |
| true |
| Servlet:JAVADOC:312 | HttpSession | javax.servlet.http.HttpSessionBindingEvent.{javax.servlet.http.HttpSessionEvent}.getSession
| Return the session that changed.
| true |
| false |
| Servlet:JAVADOC:313 | HttpServletResponseWrapper | javax.servlet.http.HttpServletResponseWrapper.HttpServletResponseWrapper
(
HttpServletResponse
)
| Constructs a response adaptor wrapping the given response.
| true |
| true |
| Servlet:JAVADOC:314 | void | javax.servlet.http.HttpServletResponseWrapper.addCookie
(
Cookie
)
| The default behavior of this method is to call addCookie(Cookie cookie) on the wrapped response object.
| true |
| true |
| Servlet:JAVADOC:315 | boolean | javax.servlet.http.HttpServletResponseWrapper.containsHeader
(
String
)
| The default behavior of this method is to call containsHeader(String name) on the wrapped response object.
| true |
| true |
| Servlet:JAVADOC:316 | String | javax.servlet.http.HttpServletResponseWrapper.encodeURL
(
String
)
| The default behavior of this method is to call encodeURL(String url) on the wrapped response object.
| true |
| true |
| Servlet:JAVADOC:317 | String | javax.servlet.http.HttpServletResponseWrapper.encodeRedirectURL
(
String
)
| The default behavior of this method is to return encodeRedirectURL(String url) on the wrapped response object.
| true |
| true |
| Servlet:JAVADOC:318 | String | javax.servlet.http.HttpServletResponseWrapper.encodeUrl
(
String
)
| The default behavior of this method is to call encodeUrl(String url) on the wrapped response object.
| true | true | true |
| Servlet:JAVADOC:319 | String | javax.servlet.http.HttpServletResponseWrapper.encodeRedirectUrl
(
String
)
| The default behavior of this method is to return encodeRedirectUrl(String url) on the wrapped response object.
| true | true | true |
| Servlet:JAVADOC:320 | void | javax.servlet.http.HttpServletResponseWrapper.sendError
(
int
, String
)
| The default behavior of this method is to call sendError(int sc, String msg) on the wrapped response object.
| true |
| true |
| Servlet:JAVADOC:321 | void | javax.servlet.http.HttpServletResponseWrapper.sendError
(
int
, String
)
throws
IOException
|
| true |
| false |
| Servlet:JAVADOC:322 | void | javax.servlet.http.HttpServletResponseWrapper.sendError
(
int
)
| The default behavior of this method is to call sendError(int sc) on the wrapped response object.
| true |
| true |
| Servlet:JAVADOC:323 | void | javax.servlet.http.HttpServletResponseWrapper.sendError
(
int
)
throws
IOException
|
| true |
| false |
| Servlet:JAVADOC:324 | void | javax.servlet.http.HttpServletResponseWrapper.sendRedirect
(
String
)
| The default behavior of this method is to return sendRedirect(String location) on the wrapped response object.
| true |
| true |
| Servlet:JAVADOC:325 | void | javax.servlet.http.HttpServletResponseWrapper.sendRedirect
(
String
)
throws
IOException
|
| true |
| false |
| Servlet:JAVADOC:326 | void | javax.servlet.http.HttpServletResponseWrapper.setDateHeader
(
String
, long
)
| The default behavior of this method is to call setDateHeader(String name, long date) on the wrapped response object.
| true |
| true |
| Servlet:JAVADOC:327 | void | javax.servlet.http.HttpServletResponseWrapper.addDateHeader
(
String
, long
)
| The default behavior of this method is to call addDateHeader(String name, long date) on the wrapped response object.
| true |
| true |
| Servlet:JAVADOC:328 | void | javax.servlet.http.HttpServletResponseWrapper.setHeader
(
String
, String
)
| The default behavior of this method is to return setHeader(String name, String value) on the wrapped response object.
| true |
| true |
| Servlet:JAVADOC:329 | void | javax.servlet.http.HttpServletResponseWrapper.addHeader
(
String
, String
)
| The default behavior of this method is to return addHeader(String name, String value) on the wrapped response object.
| true |
| true |
| Servlet:JAVADOC:330 | void | javax.servlet.http.HttpServletResponseWrapper.setIntHeader
(
String
, int
)
| The default behavior of this method is to call setIntHeader(String name, int value) on the wrapped response object.
| true |
| true |
| Servlet:JAVADOC:331 | void | javax.servlet.http.HttpServletResponseWrapper.addIntHeader
(
String
, int
)
| The default behavior of this method is to call addIntHeader(String name, int value) on the wrapped response object.
| true |
| true |
| Servlet:JAVADOC:332 | void | javax.servlet.http.HttpServletResponseWrapper.setStatus
(
int
)
| The default behavior of this method is to call setStatus(int sc) on the wrapped response object.
| true |
| true |
| Servlet:JAVADOC:333 | void | javax.servlet.http.HttpServletResponseWrapper.setStatus
(
int
, String
)
| The default behavior of this method is to call setStatus(int sc, String sm) on the wrapped response object.
| true | true | true |
| Servlet:JAVADOC:334 | ServletResponse | javax.servlet.http.HttpServletResponseWrapper.{javax.servlet.ServletResponseWrapper}.getResponse
| Return the wrapped ServletResponse object.
| true |
| true |
| Servlet:JAVADOC:335 | void | javax.servlet.http.HttpServletResponseWrapper.{javax.servlet.ServletResponseWrapper}.setResponse
(
ServletResponse
)
| Sets the response being wrapped.
| true |
| true |
| Servlet:JAVADOC:336 | void | javax.servlet.http.HttpServletResponseWrapper.setResponse
(
ServletResponse
)
throws
IllegalArgumentException
| if the response is null. | true |
| true |
| Servlet:JAVADOC:337 | void | javax.servlet.http.HttpServletResponseWrapper.{javax.servlet.ServletResponseWrapper}.setCharacterEncoding
(
String
)
| The default behavior of this method is to call setCharacterEncoding(String charset) on the wrapped response object.
| true |
| true |
| Servlet:JAVADOC:338 | String | javax.servlet.http.HttpServletResponseWrapper.{javax.servlet.ServletResponseWrapper}.getCharacterEncoding
| The default behavior of this method is to return getCharacterEncoding() on the wrapped response object.
| true |
| true |
| Servlet:JAVADOC:339 | ServletOutputStream | javax.servlet.http.HttpServletResponseWrapper.{javax.servlet.ServletResponseWrapper}.getOutputStream
| The default behavior of this method is to return getOutputStream() on the wrapped response object.
| true |
| true |
| Servlet:JAVADOC:340 | ServletOutputStream | javax.servlet.http.HttpServletResponseWrapper.getOutputStream
throws
IOException
|
| true |
| false |
| Servlet:JAVADOC:341 | PrintWriter | javax.servlet.http.HttpServletResponseWrapper.{javax.servlet.ServletResponseWrapper}.getWriter
| The default behavior of this method is to return getWriter() on the wrapped response object.
| true |
| true |
| Servlet:JAVADOC:342 | PrintWriter | javax.servlet.http.HttpServletResponseWrapper.getWriter
throws
IOException
|
| true |
| false |
| Servlet:JAVADOC:343 | void | javax.servlet.http.HttpServletResponseWrapper.{javax.servlet.ServletResponseWrapper}.setContentLength
(
int
)
| The default behavior of this method is to call setContentLength(int len) on the wrapped response object.
| true |
| true |
| Servlet:JAVADOC:344 | void | javax.servlet.http.HttpServletResponseWrapper.{javax.servlet.ServletResponseWrapper}.setContentType
(
String
)
| The default behavior of this method is to call setContentType(String type) on the wrapped response object.
| true |
| true |
| Servlet:JAVADOC:345 | String | javax.servlet.http.HttpServletResponseWrapper.{javax.servlet.ServletResponseWrapper}.getContentType
| The default behavior of this method is to return getContentType() on the wrapped response object.
| true |
| true |
| Servlet:JAVADOC:346 | void | javax.servlet.http.HttpServletResponseWrapper.{javax.servlet.ServletResponseWrapper}.setBufferSize
(
int
)
| The default behavior of this method is to call setBufferSize(int size) on the wrapped response object.
| true |
| true |
| Servlet:JAVADOC:347 | int | javax.servlet.http.HttpServletResponseWrapper.{javax.servlet.ServletResponseWrapper}.getBufferSize
| The default behavior of this method is to return getBufferSize() on the wrapped response object.
| true |
| true |
| Servlet:JAVADOC:348 | void | javax.servlet.http.HttpServletResponseWrapper.{javax.servlet.ServletResponseWrapper}.flushBuffer
| The default behavior of this method is to call flushBuffer() on the wrapped response object.
| true |
| true |
| Servlet:JAVADOC:349 | void | javax.servlet.http.HttpServletResponseWrapper.flushBuffer
throws
IOException
|
| true |
| false |
| Servlet:JAVADOC:350 | boolean | javax.servlet.http.HttpServletResponseWrapper.{javax.servlet.ServletResponseWrapper}.isCommitted
| The default behavior of this method is to return isCommitted() on the wrapped response object.
| true |
| true |
| Servlet:JAVADOC:351 | void | javax.servlet.http.HttpServletResponseWrapper.{javax.servlet.ServletResponseWrapper}.reset
| The default behavior of this method is to call reset() on the wrapped response object.
| true |
| true |
| Servlet:JAVADOC:352 | void | javax.servlet.http.HttpServletResponseWrapper.{javax.servlet.ServletResponseWrapper}.resetBuffer
| The default behavior of this method is to call resetBuffer() on the wrapped response object.
| true |
| true |
| Servlet:JAVADOC:353 | void | javax.servlet.http.HttpServletResponseWrapper.{javax.servlet.ServletResponseWrapper}.setLocale
(
Locale
)
| The default behavior of this method is to call setLocale(Locale loc) on the wrapped response object.
| true |
| true |
| Servlet:JAVADOC:354 | Locale | javax.servlet.http.HttpServletResponseWrapper.{javax.servlet.ServletResponseWrapper}.getLocale
| The default behavior of this method is to return getLocale() on the wrapped response object.
| true |
| true |
| Servlet:JAVADOC:355 | HttpServletRequestWrapper | javax.servlet.http.HttpServletRequestWrapper.HttpServletRequestWrapper
(
HttpServletRequest
)
| Constructs a request object wrapping the given request.
| true |
| true |
| Servlet:JAVADOC:356 | String | javax.servlet.http.HttpServletRequestWrapper.getAuthType
| The default behavior of this method is to return getAuthType() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:357 | Cookie[] | javax.servlet.http.HttpServletRequestWrapper.getCookies
| The default behavior of this method is to return getCookies() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:358 | long | javax.servlet.http.HttpServletRequestWrapper.getDateHeader
(
String
)
| The default behavior of this method is to return getDateHeader(String name) on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:359 | String | javax.servlet.http.HttpServletRequestWrapper.getHeader
(
String
)
| The default behavior of this method is to return getHeader(String name) on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:360 | Enumeration | javax.servlet.http.HttpServletRequestWrapper.getHeaders
(
String
)
| The default behavior of this method is to return getHeaders(String name) on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:361 | Enumeration | javax.servlet.http.HttpServletRequestWrapper.getHeaderNames
| The default behavior of this method is to return getHeaderNames() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:362 | int | javax.servlet.http.HttpServletRequestWrapper.getIntHeader
(
String
)
| The default behavior of this method is to return getIntHeader(String name) on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:363 | String | javax.servlet.http.HttpServletRequestWrapper.getMethod
| The default behavior of this method is to return getMethod() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:364 | String | javax.servlet.http.HttpServletRequestWrapper.getPathInfo
| The default behavior of this method is to return getPathInfo() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:365 | String | javax.servlet.http.HttpServletRequestWrapper.getPathTranslated
| The default behavior of this method is to return getPathTranslated() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:366 | String | javax.servlet.http.HttpServletRequestWrapper.getContextPath
| The default behavior of this method is to return getContextPath() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:367 | String | javax.servlet.http.HttpServletRequestWrapper.getQueryString
| The default behavior of this method is to return getQueryString() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:368 | String | javax.servlet.http.HttpServletRequestWrapper.getRemoteUser
| The default behavior of this method is to return getRemoteUser() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:369 | boolean | javax.servlet.http.HttpServletRequestWrapper.isUserInRole
(
String
)
| The default behavior of this method is to return isUserInRole(String role) on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:370 | Principal | javax.servlet.http.HttpServletRequestWrapper.getUserPrincipal
| The default behavior of this method is to return getUserPrincipal() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:371 | String | javax.servlet.http.HttpServletRequestWrapper.getRequestedSessionId
| The default behavior of this method is to return getRequestedSessionId() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:372 | String | javax.servlet.http.HttpServletRequestWrapper.getRequestURI
| The default behavior of this method is to return getRequestURI() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:373 | StringBuffer | javax.servlet.http.HttpServletRequestWrapper.getRequestURL
| The default behavior of this method is to return getRequestURL() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:374 | String | javax.servlet.http.HttpServletRequestWrapper.getServletPath
| The default behavior of this method is to return getServletPath() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:375 | HttpSession | javax.servlet.http.HttpServletRequestWrapper.getSession
(
boolean
)
| The default behavior of this method is to return getSession(boolean create) on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:376 | HttpSession | javax.servlet.http.HttpServletRequestWrapper.getSession
| The default behavior of this method is to return getSession() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:377 | boolean | javax.servlet.http.HttpServletRequestWrapper.isRequestedSessionIdValid
| The default behavior of this method is to return isRequestedSessionIdValid() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:378 | boolean | javax.servlet.http.HttpServletRequestWrapper.isRequestedSessionIdFromCookie
| The default behavior of this method is to return isRequestedSessionIdFromCookie() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:379 | boolean | javax.servlet.http.HttpServletRequestWrapper.isRequestedSessionIdFromURL
| The default behavior of this method is to return isRequestedSessionIdFromURL() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:380 | boolean | javax.servlet.http.HttpServletRequestWrapper.isRequestedSessionIdFromUrl
| The default behavior of this method is to return isRequestedSessionIdFromUrl() on the wrapped request object.
| true | true | true |
| Servlet:JAVADOC:381 | ServletRequest | javax.servlet.http.HttpServletRequestWrapper.{javax.servlet.ServletRequestWrapper}.getRequest
| Return the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:382 | void | javax.servlet.http.HttpServletRequestWrapper.{javax.servlet.ServletRequestWrapper}.setRequest
(
ServletRequest
)
| Sets the request object being wrapped.
| true |
| true |
| Servlet:JAVADOC:383 | void | javax.servlet.http.HttpServletRequestWrapper.setRequest
(
ServletRequest
)
throws
IllegalArgumentException
| if the request is null. | true |
| true |
| Servlet:JAVADOC:384 | Object | javax.servlet.http.HttpServletRequestWrapper.{javax.servlet.ServletRequestWrapper}.getAttribute
(
String
)
| The default behavior of this method is to call getAttribute(String name) on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:385 | Enumeration | javax.servlet.http.HttpServletRequestWrapper.{javax.servlet.ServletRequestWrapper}.getAttributeNames
| The default behavior of this method is to return getAttributeNames() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:386 | String | javax.servlet.http.HttpServletRequestWrapper.{javax.servlet.ServletRequestWrapper}.getCharacterEncoding
| The default behavior of this method is to return getCharacterEncoding() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:387 | void | javax.servlet.http.HttpServletRequestWrapper.{javax.servlet.ServletRequestWrapper}.setCharacterEncoding
(
String
)
| Overrides the name of the character encoding used in the body of the wrapped
request. This method must be called prior to reading request parameters or
reading input using getReader(). Otherwise, it has no effect.
| true |
| true |
| Servlet:JAVADOC:388 | void | javax.servlet.http.HttpServletRequestWrapper.setCharacterEncoding
(
String
)
throws
UnsupportedEncodingException
| if this ServletRequest is still in a state where a character encoding may be set, but the specified encoding is invalid | true |
| true |
| Servlet:JAVADOC:389 | int | javax.servlet.http.HttpServletRequestWrapper.{javax.servlet.ServletRequestWrapper}.getContentLength
| The default behavior of this method is to return getContentLength() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:390 | String | javax.servlet.http.HttpServletRequestWrapper.{javax.servlet.ServletRequestWrapper}.getContentType
| The default behavior of this method is to return getContentType() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:391 | ServletInputStream | javax.servlet.http.HttpServletRequestWrapper.{javax.servlet.ServletRequestWrapper}.getInputStream
| The default behavior of this method is to return getInputStream() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:392 | ServletInputStream | javax.servlet.http.HttpServletRequestWrapper.getInputStream
throws
IOException
|
| true |
| false |
| Servlet:JAVADOC:393 | String | javax.servlet.http.HttpServletRequestWrapper.{javax.servlet.ServletRequestWrapper}.getParameter
(
String
)
| The default behavior of this method is to return getParameter(String name) on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:394 | Map | javax.servlet.http.HttpServletRequestWrapper.{javax.servlet.ServletRequestWrapper}.getParameterMap
| The default behavior of this method is to return getParameterMap() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:395 | Enumeration | javax.servlet.http.HttpServletRequestWrapper.{javax.servlet.ServletRequestWrapper}.getParameterNames
| The default behavior of this method is to return getParameterNames() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:396 | String[] | javax.servlet.http.HttpServletRequestWrapper.{javax.servlet.ServletRequestWrapper}.getParameterValues
(
String
)
| The default behavior of this method is to return getParameterValues(String name) on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:397 | String | javax.servlet.http.HttpServletRequestWrapper.{javax.servlet.ServletRequestWrapper}.getProtocol
| The default behavior of this method is to return getProtocol() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:398 | String | javax.servlet.http.HttpServletRequestWrapper.{javax.servlet.ServletRequestWrapper}.getScheme
| The default behavior of this method is to return getScheme() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:399 | String | javax.servlet.http.HttpServletRequestWrapper.{javax.servlet.ServletRequestWrapper}.getServerName
| The default behavior of this method is to return getServerName() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:400 | int | javax.servlet.http.HttpServletRequestWrapper.{javax.servlet.ServletRequestWrapper}.getServerPort
| The default behavior of this method is to return getServerPort() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:401 | BufferedReader | javax.servlet.http.HttpServletRequestWrapper.{javax.servlet.ServletRequestWrapper}.getReader
| The default behavior of this method is to return getReader() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:402 | BufferedReader | javax.servlet.http.HttpServletRequestWrapper.getReader
throws
IOException
|
| true |
| false |
| Servlet:JAVADOC:403 | String | javax.servlet.http.HttpServletRequestWrapper.{javax.servlet.ServletRequestWrapper}.getRemoteAddr
| The default behavior of this method is to return getRemoteAddr() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:404 | String | javax.servlet.http.HttpServletRequestWrapper.{javax.servlet.ServletRequestWrapper}.getRemoteHost
| The default behavior of this method is to return getRemoteHost() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:405 | void | javax.servlet.http.HttpServletRequestWrapper.{javax.servlet.ServletRequestWrapper}.setAttribute
(
String
, Object
)
| The default behavior of this method is to return setAttribute(String name, Object o) on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:406 | void | javax.servlet.http.HttpServletRequestWrapper.{javax.servlet.ServletRequestWrapper}.removeAttribute
(
String
)
| The default behavior of this method is to call removeAttribute(String name) on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:407 | Locale | javax.servlet.http.HttpServletRequestWrapper.{javax.servlet.ServletRequestWrapper}.getLocale
| The default behavior of this method is to return getLocale() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:408 | Enumeration | javax.servlet.http.HttpServletRequestWrapper.{javax.servlet.ServletRequestWrapper}.getLocales
| The default behavior of this method is to return getLocales() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:409 | boolean | javax.servlet.http.HttpServletRequestWrapper.{javax.servlet.ServletRequestWrapper}.isSecure
| The default behavior of this method is to return isSecure() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:410 | RequestDispatcher | javax.servlet.http.HttpServletRequestWrapper.{javax.servlet.ServletRequestWrapper}.getRequestDispatcher
(
String
)
| The default behavior of this method is to return getRequestDispatcher(String path) on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:411 | String | javax.servlet.http.HttpServletRequestWrapper.{javax.servlet.ServletRequestWrapper}.getRealPath
(
String
)
| The default behavior of this method is to return getRealPath(String path) on the wrapped request object.
| true | true | true |
| Servlet:JAVADOC:412 | HttpServlet | javax.servlet.http.HttpServlet.HttpServlet
| Does nothing, because this is an abstract class.
| true |
| false |
| Servlet:JAVADOC:413 | void | javax.servlet.http.HttpServlet.service
(
ServletRequest
, ServletResponse
)
| Dispatches client requests to the protected service method.
There's no need to override this method.
| true |
| false |
| Servlet:JAVADOC:414 | void | javax.servlet.http.HttpServlet.service
(
ServletRequest
, ServletResponse
)
throws
ServletException
| if the request for the TRACE cannot be handled | true |
| false |
| Servlet:JAVADOC:415 | void | javax.servlet.http.HttpServlet.service
(
ServletRequest
, ServletResponse
)
throws
IOException
| if an input or output error occurs while the servlet is handling the TRACE request | true |
| false |
| Servlet:JAVADOC:416 | void | javax.servlet.http.HttpServlet.{javax.servlet.GenericServlet}.destroy
| Called by the servlet container to indicate to a servlet that the servlet is being taken out of service. | true |
| false |
| Servlet:JAVADOC:417 | String | javax.servlet.http.HttpServlet.{javax.servlet.GenericServlet}.getInitParameter
(
String
)
| Returns a String containing the value of the named initialization parameter.
| true |
| true |
| Servlet:JAVADOC:418 | String | javax.servlet.http.HttpServlet.{javax.servlet.GenericServlet}.getInitParameter
(
String
)
| Returns null if the parameter does not exist.
| true |
| true |
| Servlet:JAVADOC:419 | Enumeration | javax.servlet.http.HttpServlet.{javax.servlet.GenericServlet}.getInitParameterNames
| Returns the names of the servlet's initialization parameters as an Enumeration of String objects.
| true |
| true |
| Servlet:JAVADOC:420 | Enumeration | javax.servlet.http.HttpServlet.{javax.servlet.GenericServlet}.getInitParameterNames
| Returns an empty Enumeration if the servlet has no initialization parameters.
| true |
| true |
| Servlet:JAVADOC:421 | ServletConfig | javax.servlet.http.HttpServlet.{javax.servlet.GenericServlet}.getServletConfig
|
Returns this servlet's ServletConfig object.
| true |
| true |
| Servlet:JAVADOC:422 | ServletContext | javax.servlet.http.HttpServlet.{javax.servlet.GenericServlet}.getServletContext
|
Returns a reference to the ServletContext in which this servlet is running.
| true |
| true |
| Servlet:JAVADOC:423 | String | javax.servlet.http.HttpServlet.{javax.servlet.GenericServlet}.getServletInfo
| Returns information about the servlet, such as author, version, and copyright.
By default, this method returns an empty string.
| true |
| true |
| Servlet:JAVADOC:424 | void | javax.servlet.http.HttpServlet.{javax.servlet.GenericServlet}.init
(
ServletConfig
)
| Called by the servlet container to indicate to a servlet that the servlet is being placed into service.
| true |
| true |
| Servlet:JAVADOC:425 | void | javax.servlet.http.HttpServlet.init
(
ServletConfig
)
throws
ServletException
| if an exception occurs that interrupts the servlet's normal operation | true |
| false |
| Servlet:JAVADOC:426 | void | javax.servlet.http.HttpServlet.{javax.servlet.GenericServlet}.init
| A convenience method which can be overridden so that there's no need to call super.init(config).
Instead of overriding init(ServletConfig(, simply override this method and it will be called by GenericServlet.init(ServletConfig config). The ServletConfig object can still be retrieved via getServletConfig.
| true |
| true |
| Servlet:JAVADOC:427 | void | javax.servlet.http.HttpServlet.init
throws
ServletException
| if an exception occurs that interrupts the servlet's normal operation | true |
| false |
| Servlet:JAVADOC:428 | void | javax.servlet.http.HttpServlet.{javax.servlet.GenericServlet}.log
(
String
)
| Writes the specified message to a servlet log file, prepended by the servlet's name.
| true |
| false |
| Servlet:JAVADOC:429 | void | javax.servlet.http.HttpServlet.{javax.servlet.GenericServlet}.log
(
String
, Throwable
)
| Writes an explanatory message and a stack trace for a given Throwable exception to the servlet log file, prepended by the servlet's name.
See .
| true |
| false |
| Servlet:JAVADOC:430 | void | javax.servlet.http.HttpServlet.{javax.servlet.GenericServlet}.service
(
ServletRequest
, ServletResponse
)
| Called by the servlet container to allow the servlet to respond to a request.
| true |
| true |
| Servlet:JAVADOC:431 | void | javax.servlet.http.HttpServlet.service
(
ServletRequest
, ServletResponse
)
throws
ServletException
| if an exception occurs that interferes with the servlet's normal operation occurred | true |
| false |
| Servlet:JAVADOC:432 | void | javax.servlet.http.HttpServlet.service
(
ServletRequest
, ServletResponse
)
throws
IOException
| if an input or output exception occurs | true |
| false |
| Servlet:JAVADOC:433 | String | javax.servlet.http.HttpServlet.{javax.servlet.GenericServlet}.getServletName
| Returns the name of this servlet instance.
| true |
| true |
| Servlet:JAVADOC:434 | Cookie | javax.servlet.http.Cookie.Cookie
(
String
, String
)
| Constructs a cookie with a specified name and value.
The name must conform to RFC 2109. That means it can contain only ASCII alphanumeric characters and cannot contain commas, semicolons, or white space or begin with a $ character. The cookie's name cannot be changed after creation. The value can be anything the server chooses to send. Its value is probably of interest only to the server. The cookie's value can be changed after creation with the setValue method. By default, cookies are created according to the Netscape cookie specification. The version can be changed with the setVersion method.
| true |
| true |
| Servlet:JAVADOC:435 | void | javax.servlet.http.Cookie.setComment
(
String
)
| Specifies a comment that describes a cookie's purpose.
The comment is useful if the browser presents the cookie to the user. Comments are not supported by Netscape Version 0 cookies.
| true |
| true |
| Servlet:JAVADOC:436 | String | javax.servlet.http.Cookie.getComment
| Returns the comment describing the purpose of this cookie.
| true |
| true |
| Servlet:JAVADOC:437 | String | javax.servlet.http.Cookie.getComment
| Returns null if the cookie has no comment.
| true |
| true |
| Servlet:JAVADOC:438 | void | javax.servlet.http.Cookie.setDomain
(
String
)
| Specifies the domain within which this cookie should be presented.
The form of the domain name is specified by RFC 2109. A domain name begins with a dot (.foo.com) and means that the cookie is visible to servers in a specified Domain Name System (DNS) zone (for example, www.foo.com, but not a.b.foo.com). By default, cookies are only returned to the server that sent them.
| true |
| true |
| Servlet:JAVADOC:439 | String | javax.servlet.http.Cookie.getDomain
| Returns the domain name set for this cookie.
The form of the domain name is set by RFC 2109.
| true |
| true |
| Servlet:JAVADOC:440 | void | javax.servlet.http.Cookie.setMaxAge
(
int
)
| Sets the maximum age of the cookie in seconds.
A positive value indicates that the cookie will expire after that many seconds have passed. Note that the value is the maximum age when the cookie will expire, not the cookie's current age.
| true |
| true |
| Servlet:JAVADOC:441 | void | javax.servlet.http.Cookie.setMaxAge
(
int
)
| Sets the maximum age of the cookie in seconds.
A negative value means that the cookie is not stored persistently and will be deleted when the Web browser exits.
| true |
| true |
| Servlet:JAVADOC:442 | void | javax.servlet.http.Cookie.setMaxAge
(
int
)
| Sets the maximum age of the cookie in seconds.
A zero value causes the cookie to be deleted.
| true |
| true |
| Servlet:JAVADOC:443 | int | javax.servlet.http.Cookie.getMaxAge
| Returns the maximum age of the cookie, specified in seconds, By default, -1 indicating the cookie will persist until browser shutdown.
| true |
| true |
| Servlet:JAVADOC:444 | void | javax.servlet.http.Cookie.setPath
(
String
)
| Specifies a path for the cookie to which the client should return the cookie.
The cookie is visible to all the pages in the directory you specify, and all the pages in that directory's subdirectories. A cookie's path must include the servlet that set the cookie, for example, /catalog, which makes the cookie visible to all directories on the server under /catalog. Consult RFC 2109 (available on the Internet) for more information on setting path names for cookies.
| true |
| true |
| Servlet:JAVADOC:445 | String | javax.servlet.http.Cookie.getPath
| Returns the path on the server to which the browser returns this cookie.
The cookie is visible to all subpaths on the server.
| true |
| true |
| Servlet:JAVADOC:446 | void | javax.servlet.http.Cookie.setSecure
(
boolean
)
| Indicates to the browser whether the cookie should only be sent using a secure protocol, such as HTTPS or SSL.
The default value is false.
| true |
| true |
| Servlet:JAVADOC:447 | boolean | javax.servlet.http.Cookie.getSecure
| Returns true if the browser is sending cookies only over a secure protocol, or false if the browser can send cookies using any protocol.
| true |
| true |
| Servlet:JAVADOC:448 | String | javax.servlet.http.Cookie.getName
| Returns the name of the cookie.
The name cannot be changed after creation.
| true |
| true |
| Servlet:JAVADOC:449 | void | javax.servlet.http.Cookie.setValue
(
String
)
| Assigns a new value to a cookie after the cookie is created.
If you use a binary value, you may want to use BASE64 encoding. With Version 0 cookies, values should not contain white space, brackets, parentheses, equals signs, commas, double quotes, slashes, question marks, at signs, colons, and semicolons. Empty values may not behave the same way on all browsers.
| true |
| true |
| Servlet:JAVADOC:450 | String | javax.servlet.http.Cookie.getValue
| Returns the value of the cookie.
| true |
| true |
| Servlet:JAVADOC:451 | int | javax.servlet.http.Cookie.getVersion
| Returns the version of the protocol this cookie complies with.
Version 1 complies with RFC 2109, and version 0 complies with the original cookie specification drafted by Netscape. Cookies provided by a browser use and identify the browser's cookie version.
| true |
| true |
| Servlet:JAVADOC:452 | void | javax.servlet.http.Cookie.setVersion
(
int
)
| Sets the version of the cookie protocol this cookie complies with.
Version 0 complies with the original Netscape cookie specification. Version 1 complies with RFC 2109. Since RFC 2109 is still somewhat new, consider version 1 as experimental; do not use it yet on production sites.
| true |
| true |
| Servlet:JAVADOC:453 | Object | javax.servlet.http.Cookie.clone
| Overrides the standard java.lang.Object.clone method to return a copy of this cookie.
| true |
| true |
| Servlet:JAVADOC:454 | void | javax.servlet.http.HttpSessionListener.sessionCreated
(
HttpSessionEvent
)
| Notification that a session was created.
| true |
| true |
| Servlet:JAVADOC:455 | void | javax.servlet.http.HttpSessionListener.sessionDestroyed
(
HttpSessionEvent
)
| Notification that a session was invalidated.
| true |
| true |
| Servlet:JAVADOC:456 | HttpSession | javax.servlet.http.HttpSessionContext.getSession
(
String
)
|
| true | true | true |
| Servlet:JAVADOC:457 | Enumeration | javax.servlet.http.HttpSessionContext.getIds
|
| true | true | true |
| Servlet:JAVADOC:458 | void | javax.servlet.http.HttpSessionBindingListener.valueBound
(
HttpSessionBindingEvent
)
| Notifies the object that it is being bound to a session and identifies the session.
| true |
| true |
| Servlet:JAVADOC:459 | void | javax.servlet.http.HttpSessionBindingListener.valueUnbound
(
HttpSessionBindingEvent
)
| Notifies the object that it is being unbound from a session and identifies the session.
| true |
| true |
| Servlet:JAVADOC:460 | void | javax.servlet.http.HttpSessionAttributeListener.attributeAdded
(
HttpSessionBindingEvent
)
| Notification that an attribute has been added to a session.
Called after the attribute is added.
| true |
| true |
| Servlet:JAVADOC:461 | void | javax.servlet.http.HttpSessionAttributeListener.attributeRemoved
(
HttpSessionBindingEvent
)
| Notification that an attribute has been removed from a session.
Called after the attribute is removed.
| true |
| true |
| Servlet:JAVADOC:462 | void | javax.servlet.http.HttpSessionAttributeListener.attributeReplaced
(
HttpSessionBindingEvent
)
| Notification that an attribute has been replaced in a session.
Called after the attribute is replaced.
| true |
| true |
| Servlet:JAVADOC:463 | void | javax.servlet.http.HttpSessionActivationListener.sessionWillPassivate
(
HttpSessionEvent
)
| Notification that the session is about to be passivated.
| true |
| false |
| Servlet:JAVADOC:464 | void | javax.servlet.http.HttpSessionActivationListener.sessionDidActivate
(
HttpSessionEvent
)
| Notification that the session has just been activated.
| true |
| false |
| Servlet:JAVADOC:465 | long | javax.servlet.http.HttpSession.getCreationTime
| Returns the time when this session was created, measured in milliseconds since midnight January 1, 1970 GMT.
| true |
| true |
| Servlet:JAVADOC:466 | long | javax.servlet.http.HttpSession.getCreationTime
throws
IllegalStateException
| if this method is called on an invalidated session | true |
| true |
| Servlet:JAVADOC:467 | String | javax.servlet.http.HttpSession.getId
| Returns a string containing the unique identifier assigned to this session.
The identifier is assigned by the servlet container and is implementation dependent.
| true |
| true |
| Servlet:JAVADOC:469 | long | javax.servlet.http.HttpSession.getLastAccessedTime
| Returns the last time the client sent a request associated with this session, as the number of milliseconds since midnight January 1, 1970 GMT, and marked by the time the container recieved the request.
| true |
| true |
| Servlet:JAVADOC:470 | long | javax.servlet.http.HttpSession.getLastAccessedTime
|
Actions such as getting or setting a value associated with the session, do not affect the access time.
| true |
| true |
| Servlet:JAVADOC:471 | long | javax.servlet.http.HttpSession.getLastAccessedTime
throws
IllegalStateException
| if this method is called on an invalidated session | true |
| true |
| Servlet:JAVADOC:472 | ServletContext | javax.servlet.http.HttpSession.getServletContext
| Returns the ServletContext to which this session belongs.
| true |
| true |
| Servlet:JAVADOC:473 | void | javax.servlet.http.HttpSession.setMaxInactiveInterval
(
int
)
| Specifies the time, in seconds, between client requests before the servlet container will invalidate this session.
A negative time indicates the session should never timeout.
| true |
| true |
| Servlet:JAVADOC:474 | int | javax.servlet.http.HttpSession.getMaxInactiveInterval
| Returns the maximum time interval, in seconds, that the servlet container will keep this session open between client accesses.
After this interval, the servlet container will invalidate the session. The maximum time interval can be set with the setMaxInactiveInterval method. A negative time indicates the session should never timeout.
| true |
| true |
| Servlet:JAVADOC:475 | HttpSessionContext | javax.servlet.http.HttpSession.getSessionContext
|
| true | true | true |
| Servlet:JAVADOC:476 | Object | javax.servlet.http.HttpSession.getAttribute
(
String
)
| Returns the object bound with the specified name in this session, or null if no object is bound under the name.
| true |
| true |
| Servlet:JAVADOC:477 | Object | javax.servlet.http.HttpSession.getAttribute
(
String
)
throws
IllegalStateException
| if this method is called on an invalidated session | true |
| true |
| Servlet:JAVADOC:478 | Object | javax.servlet.http.HttpSession.getValue
(
String
)
|
| true | true | true |
| Servlet:JAVADOC:479 | Object | javax.servlet.http.HttpSession.getValue
(
String
)
throws
IllegalStateException
| if this method is called on an invalidated session | true | true | true |
| Servlet:JAVADOC:480 | Enumeration | javax.servlet.http.HttpSession.getAttributeNames
| Returns an Enumeration of String objects containing the names of all the objects bound to this session.
| true |
| true |
| Servlet:JAVADOC:481 | Enumeration | javax.servlet.http.HttpSession.getAttributeNames
throws
IllegalStateException
| if this method is called on an invalidated session | true |
| true |
| Servlet:JAVADOC:482 | String[] | javax.servlet.http.HttpSession.getValueNames
|
| true | true | true |
| Servlet:JAVADOC:483 | String[] | javax.servlet.http.HttpSession.getValueNames
throws
IllegalStateException
| if this method is called on an invalidated session | true | true | true |
| Servlet:JAVADOC:484 | void | javax.servlet.http.HttpSession.setAttribute
(
String
, Object
)
| Binds an object to this session, using the name specified.
If an object of the same name is already bound to the session, the object is replaced.
| true |
| true |
| Servlet:JAVADOC:485 | void | javax.servlet.http.HttpSession.setAttribute
(
String
, Object
)
| Binds an object to this session, using the name specified.
After this method executes, and if the new object implements HttpSessionBindingListener, the container calls HttpSessionBindingListener.valueBound. The container then notifies any HttpSessionAttributeListeners in the web application.
| true |
| true |
| Servlet:JAVADOC:486 | void | javax.servlet.http.HttpSession.setAttribute
(
String
, Object
)
| Binds an object to this session, using the name specified.
If an object was already bound to this session of this name that implements HttpSessionBindingListener, its HttpSessionBindingListener.valueUnbound method is called.
| true |
| true |
| Servlet:JAVADOC:487 | void | javax.servlet.http.HttpSession.setAttribute
(
String
, Object
)
| Binds an object to this session, using the name specified.
If the value passed in is null, this has the same effect as calling removeAttribute().
| true |
| true |
| Servlet:JAVADOC:488 | void | javax.servlet.http.HttpSession.setAttribute
(
String
, Object
)
throws
IllegalStateException
| if this method is called on an invalidated session | true |
| true |
| Servlet:JAVADOC:489 | void | javax.servlet.http.HttpSession.putValue
(
String
, Object
)
|
| true | true | true |
| Servlet:JAVADOC:490 | void | javax.servlet.http.HttpSession.putValue
(
String
, Object
)
throws
IllegalStateException
| if this method is called on an invalidated session | true | true | true |
| Servlet:JAVADOC:491 | void | javax.servlet.http.HttpSession.removeAttribute
(
String
)
| Removes the object bound with the specified name from this session.
After this method executes, and if the object implements HttpSessionBindingListener, the container calls HttpSessionBindingListener.valueUnbound. The container then notifies any HttpSessionAttributeListeners in the web application.
| true |
| true |
| Servlet:JAVADOC:492 | void | javax.servlet.http.HttpSession.removeAttribute
(
String
)
|
If the session does not have an object bound with the specified name, this method does nothing.
| true |
| true |
| Servlet:JAVADOC:493 | void | javax.servlet.http.HttpSession.removeAttribute
(
String
)
throws
IllegalStateException
| if this method is called on an invalidated session | true |
| true |
| Servlet:JAVADOC:494 | void | javax.servlet.http.HttpSession.removeValue
(
String
)
|
| true | true | true |
| Servlet:JAVADOC:495 | void | javax.servlet.http.HttpSession.removeValue
(
String
)
throws
IllegalStateException
| if this method is called on an invalidated session | true | true | true |
| Servlet:JAVADOC:496 | void | javax.servlet.http.HttpSession.invalidate
| Invalidates this session then unbinds any objects bound to it.
| true |
| true |
| Servlet:JAVADOC:497 | void | javax.servlet.http.HttpSession.invalidate
throws
IllegalStateException
| if this method is called on an already invalidated session | true |
| true |
| Servlet:JAVADOC:498 | boolean | javax.servlet.http.HttpSession.isNew
| Returns true if the client does not yet know about the session or if the client chooses not to join the session.
For example, if the server used only cookie-based sessions, and the client had disabled the use of cookies, then a session would be new on each request.
| true |
| true |
| Servlet:JAVADOC:499 | boolean | javax.servlet.http.HttpSession.isNew
throws
IllegalStateException
| if this method is called on an already invalidated session | true |
| true |
| Servlet:JAVADOC:502 | void | javax.servlet.http.HttpServletResponse.addCookie
(
Cookie
)
| Adds the specified cookie to the response.
This method can be called multiple times to set more than one cookie.
| true |
| true |
| Servlet:JAVADOC:503 | boolean | javax.servlet.http.HttpServletResponse.containsHeader
(
String
)
| Returns a boolean indicating whether the named response header has already been set.
| true |
| true |
| Servlet:JAVADOC:504 | String | javax.servlet.http.HttpServletResponse.encodeURL
(
String
)
| Encodes the specified URL by including the session ID in it, or, if encoding is not needed, returns the URL unchanged.
The implementation of this method includes the logic to determine whether the session ID needs to be encoded in the URL. For example, if the browser supports cookies, or session tracking is turned off, URL encoding is unnecessary. For robust session tracking, all URLs emitted by a servlet should be run through this method. Otherwise, URL rewriting cannot be used with browsers which do not support cookies.
| true |
| true |
| Servlet:JAVADOC:505 | String | javax.servlet.http.HttpServletResponse.encodeRedirectURL
(
String
)
| Encodes the specified URL for use in the sendRedirect method or, if encoding is not needed, returns the URL unchanged.
The implementation of this method includes the logic to determine whether the session ID needs to be encoded in the URL. Because the rules for making this determination can differ from those used to decide whether to encode a normal link, this method is seperate from the encodeURL method. All URLs sent to the HttpServletResponse.sendRedirect method should be run through this method. Otherwise, URL rewriting cannot be used with browsers which do not support cookies.
| true |
| true |
| Servlet:JAVADOC:506 | String | javax.servlet.http.HttpServletResponse.encodeUrl
(
String
)
|
| true | true | true |
| Servlet:JAVADOC:507 | String | javax.servlet.http.HttpServletResponse.encodeRedirectUrl
(
String
)
|
| true | true | true |
| Servlet:JAVADOC:508 | void | javax.servlet.http.HttpServletResponse.sendError
(
int
, String
)
| Sends an error response to the client using the specified status clearing the buffer.
The server defaults to creating the response to look like an HTML-formatted server error page containing the specified message, setting the content type to "text/html", leaving cookies and other headers unmodified.
| true |
| true |
| Servlet:JAVADOC:509 | void | javax.servlet.http.HttpServletResponse.sendError
(
int
, String
)
| Sends an error response to the client using the specified status clearing the buffer.
If an error-page declaration has been made for the web application corresponding to the status code passed in, it will be served back in preference to the suggested msg parameter. If the response has already been committed, this method throws an IllegalStateException. After using this method, the response should be considered to be committed and should not be written to.
| true |
| true |
| Servlet:JAVADOC:510 | void | javax.servlet.http.HttpServletResponse.sendError
(
int
, String
)
throws
IOException
| If an input or output exception occurs | true |
| false |
| Servlet:JAVADOC:511 | void | javax.servlet.http.HttpServletResponse.sendError
(
int
, String
)
throws
IllegalStateException
| If the response was committed | true |
| true |
| Servlet:JAVADOC:512 | void | javax.servlet.http.HttpServletResponse.sendError
(
int
)
| Sends an error response to the client using the specified status code and clearing the buffer.
| true |
| true |
| Servlet:JAVADOC:513 | void | javax.servlet.http.HttpServletResponse.sendError
(
int
)
throws
IOException
| If an input or output exception occurs | true |
| false |
| Servlet:JAVADOC:514 | void | javax.servlet.http.HttpServletResponse.sendError
(
int
)
throws
IllegalStateException
| If the response was committed before this method call | true |
| true |
| Servlet:JAVADOC:515 | void | javax.servlet.http.HttpServletResponse.sendRedirect
(
String
)
| Sends a temporary redirect response to the client using the specified redirect location URL.
This method can accept relative URLs; the servlet container must convert the relative URL to an absolute URL before sending the response to the client. If the location is relative without a leading '/' the container interprets it as relative to the current request URI.
| true |
| true |
| Servlet:JAVADOC:516 | void | javax.servlet.http.HttpServletResponse.sendRedirect
(
String
)
| Sends a temporary redirect response to the client using the specified redirect location URL.
If the location is relative with a leading '/' the container interprets it as relative to the servlet container root.
| true |
| true |
| Servlet:JAVADOC:518 | void | javax.servlet.http.HttpServletResponse.sendRedirect
(
String
)
throws
IOException
| If an input or output exception occurs | true |
| false |
| Servlet:JAVADOC:519 | void | javax.servlet.http.HttpServletResponse.sendRedirect
(
String
)
throws
IllegalStateException
| If the response was committed | true |
| true |
| Servlet:JAVADOC:520 | void | javax.servlet.http.HttpServletResponse.setDateHeader
(
String
, long
)
| Sets a response header with the given name and date-value.
The date is specified in terms of milliseconds since the epoch.
| true |
| true |
| Servlet:JAVADOC:521 | void | javax.servlet.http.HttpServletResponse.setDateHeader
(
String
, long
)
| Sets a response header with the given name and date-value.
If the header had already been set, the new value overwrites the previous one.
| true |
| true |
| Servlet:JAVADOC:522 | void | javax.servlet.http.HttpServletResponse.addDateHeader
(
String
, long
)
| Adds a response header with the given name and date-value.
The date is specified in terms of milliseconds since the epoch. This method allows response headers to have multiple values.
| true |
| true |
| Servlet:JAVADOC:523 | void | javax.servlet.http.HttpServletResponse.setHeader
(
String
, String
)
| Sets a response header with the given name and value. | true |
| true |
| Servlet:JAVADOC:524 | void | javax.servlet.http.HttpServletResponse.setHeader
(
String
, String
)
| Sets a response header with the given name and value.
If the header had already been set, the new value overwrites the previous one.
| true |
| true |
| Servlet:JAVADOC:525 | void | javax.servlet.http.HttpServletResponse.addHeader
(
String
, String
)
| Adds a response header with the given name and value.
This method allows response headers to have multiple values.
| true |
| true |
| Servlet:JAVADOC:526 | void | javax.servlet.http.HttpServletResponse.setIntHeader
(
String
, int
)
| Sets a response header with the given name and integer value.
If the header had already been set, the new value overwrites the previous one. The containsHeader method can be used to test for the presence of a header before setting its value.
| true |
| true |
| Servlet:JAVADOC:527 | void | javax.servlet.http.HttpServletResponse.addIntHeader
(
String
, int
)
| Adds a response header with the given name and integer value.
This method allows response headers to have multiple values.
| true |
| true |
| Servlet:JAVADOC:528 | void | javax.servlet.http.HttpServletResponse.setStatus
(
int
)
| Sets the status code for this response.
This method is used to set the return status code when there is no error (for example, for the status codes SC_OK or SC_MOVED_TEMPORARILY). The container clears the buffer and sets the Location header, preserving cookies and other headers.
| true |
| true |
| Servlet:JAVADOC:529 | void | javax.servlet.http.HttpServletResponse.setStatus
(
int
, String
)
|
| true | true | true |
| Servlet:JAVADOC:530 | String | javax.servlet.http.HttpServletRequest.getAuthType
| Returns the name of the authentication scheme used to protect the servlet.
All servlet containers support basic, form and client certificate authentication, and may additionally support digest authentication. If the servlet is not authenticated null is returned. Same as the value of the CGI variable AUTH_TYPE.
XXX
| true |
| true |
| Servlet:JAVADOC:531 | Cookie[] | javax.servlet.http.HttpServletRequest.getCookies
| Returns an array containing all of the Cookie objects the client sent with this request.
| true |
| true |
| Servlet:JAVADOC:532 | Cookie[] | javax.servlet.http.HttpServletRequest.getCookies
|
This method returns null if no cookies were sent.
| true |
| true |
| Servlet:JAVADOC:533 | long | javax.servlet.http.HttpServletRequest.getDateHeader
(
String
)
| Returns the value of the specified request header as a long value that represents a Date object.
The date is returned as the number of milliseconds since January 1, 1970 GMT. The header name is case insensitive.
| true |
| true |
| Servlet:JAVADOC:534 | long | javax.servlet.http.HttpServletRequest.getDateHeader
(
String
)
| Returns the value of the specified request header as a long value that represents a Date object.
if the request did not have a header of the specified name, this method returns -1.
| true |
| true |
| Servlet:JAVADOC:535 | long | javax.servlet.http.HttpServletRequest.getDateHeader
(
String
)
throws
IllegalArgumentException
| If the header value can't be converted to a date | true |
| true |
| Servlet:JAVADOC:536 | String | javax.servlet.http.HttpServletRequest.getHeader
(
String
)
| Returns the value of the specified request header as a String.
The header name is case insensitive.
| true |
| true |
| Servlet:JAVADOC:537 | String | javax.servlet.http.HttpServletRequest.getHeader
(
String
)
|
If the request does not include a header of the specified name, this method returns null.
| true |
| true |
| Servlet:JAVADOC:538 | Enumeration | javax.servlet.http.HttpServletRequest.getHeaders
(
String
)
| Returns all the values of the specified request header as an Enumeration of String objects.
Some headers, such as Accept-Language can be sent by clients as several headers each with a different value rather than sending the header as a comma separated list. The header name is case insensitive.
| true |
| true |
| Servlet:JAVADOC:539 | Enumeration | javax.servlet.http.HttpServletRequest.getHeaders
(
String
)
| If the request did not include any headers of the specified name, this method returns an empty Enumeration.
| true |
| true |
| Servlet:JAVADOC:540 | Enumeration | javax.servlet.http.HttpServletRequest.getHeaderNames
| Returns an enumeration of all the header names this request contains.
Some servlet containers do not allow do not allow servlets to access headers using this method, in which case this method returns null
| true |
| true |
| Servlet:JAVADOC:541 | Enumeration | javax.servlet.http.HttpServletRequest.getHeaderNames
|
If the request has no headers, this method returns an empty enumeration. Some servlet containers do not allow do not allow servlets to access headers using this method, in which case this method returns null
| true |
| false |
| Servlet:JAVADOC:542 | int | javax.servlet.http.HttpServletRequest.getIntHeader
(
String
)
| Returns the value of the specified request header as an int.
The header name is case insensitive.
| true |
| true |
| Servlet:JAVADOC:543 | int | javax.servlet.http.HttpServletRequest.getIntHeader
(
String
)
|
If the request does not have a header of the specified name, this method returns -1.
| true |
| true |
| Servlet:JAVADOC:544 | int | javax.servlet.http.HttpServletRequest.getIntHeader
(
String
)
throws
NumberFormatException
| If the header value can't be converted to an int | true |
| true |
| Servlet:JAVADOC:545 | String | javax.servlet.http.HttpServletRequest.getMethod
| Returns the name of the HTTP method with which this request was made, for example, GET, POST, or PUT.
Same as the value of the CGI variable REQUEST_METHOD.
| true |
| true |
| Servlet:JAVADOC:546 | String | javax.servlet.http.HttpServletRequest.getPathInfo
| Returns any extra path information associated with the URL the client sent when it made this request.
The extra path information follows the servlet path but precedes the query string and will start with a "/" character. This method returns null if there was no extra path information. Same as the value of the CGI variable PATH_INFO.
| true |
| true |
| Servlet:JAVADOC:547 | String | javax.servlet.http.HttpServletRequest.getPathInfo
| This method returns null if there was no extra path information.
| true |
| true |
| Servlet:JAVADOC:548 | String | javax.servlet.http.HttpServletRequest.getPathTranslated
| Returns any extra path information after the servlet name but before the query string, and translates it to a real path.
Same as the value of the CGI variable PATH_TRANSLATED. The web container does not decode this string.
| true |
| true |
| Servlet:JAVADOC:549 | String | javax.servlet.http.HttpServletRequest.getPathTranslated
|
If the URL does not have any extra path information, this method returns null or the servlet container cannot translate the virtual path to a real path for any reason (such as when the web application is executed from an archive).
| true |
| true |
| Servlet:JAVADOC:550 | String | javax.servlet.http.HttpServletRequest.getContextPath
| Returns the portion of the request URI that indicates the context of the request.
The context path always comes first in a request URI. The path starts with a "/" character but does not end with a "/" character.
It is possible that a servlet container may match a context by more than one context path. In such cases this method will return the actual context path used by the request and it may differ from the path returned by the ServletContext.getContextPath() method. The context path returned by ServletContext.getContextPath() should be considered as the prime or preferred context path of the application.
| true |
| true |
| Servlet:JAVADOC:551 | String | javax.servlet.http.HttpServletRequest.getContextPath
|
For servlets in the default (root) context, this method returns "". The container does not decode this string.
| true |
| false |
| Servlet:JAVADOC:552 | String | javax.servlet.http.HttpServletRequest.getQueryString
| Returns the query string that is contained in the request URL after the path.
Same as the value of the CGI variable QUERY_STRING.
| true |
| true |
| Servlet:JAVADOC:553 | String | javax.servlet.http.HttpServletRequest.getQueryString
| This method returns null if the URL does not have a query string.
| true |
| true |
| Servlet:JAVADOC:554 | String | javax.servlet.http.HttpServletRequest.getRemoteUser
| Returns the login of the user making this request, if the user has been authenticated, or null if the user has not been authenticated.
Whether the user name is sent with each subsequent request depends on the browser and type of authentication. Same as the value of the CGI variable REMOTE_USER.
| true |
| true |
| Servlet:JAVADOC:555 | boolean | javax.servlet.http.HttpServletRequest.isUserInRole
(
String
)
| Returns a boolean indicating whether the authenticated user is included in the specified logical "role".
Roles and role membership can be defined using deployment descriptors.
| true |
| true |
| Servlet:JAVADOC:556 | boolean | javax.servlet.http.HttpServletRequest.isUserInRole
(
String
)
|
If the user has not been authenticated, the method returns false.
| true |
| true |
| Servlet:JAVADOC:557 | Principal | javax.servlet.http.HttpServletRequest.getUserPrincipal
| Returns a java.security.Principal object containing the name of the current authenticated user.
| true |
| true |
| Servlet:JAVADOC:558 | Principal | javax.servlet.http.HttpServletRequest.getUserPrincipal
|
If the user has not been authenticated, the method returns null.
| true |
| true |
| Servlet:JAVADOC:559 | String | javax.servlet.http.HttpServletRequest.getRequestedSessionId
| Returns the session ID specified by the client.
This may not be the same as the ID of the actual session in use. For example, if the request specified an old (expired) session ID and the server has started a new session, this method gets a new session with a new ID. If the request did not specify a session ID, this method returns null.
| true |
| true |
| Servlet:JAVADOC:560 | String | javax.servlet.http.HttpServletRequest.getRequestedSessionId
|
If the request did not specify a session ID, this method returns null.
| true |
| true |
| Servlet:JAVADOC:561 | String | javax.servlet.http.HttpServletRequest.getRequestURI
| Returns the part of this request's URL from the protocol name up to the query string in the first line of the HTTP request.
The web container does not decode this String.
| true |
| true |
| Servlet:JAVADOC:562 | StringBuffer | javax.servlet.http.HttpServletRequest.getRequestURL
| Reconstructs the URL the client used to make the request.
The returned URL contains a protocol, server name, port number, and server path, but it does not include query string parameters. If this request has been forwarded using RequestDispatcher.forward(ServletRequest, ServletResponse) , the server path in the reconstructed URL must reflect the path used to obtain the RequestDispatcher, and not the server path specified by the client. Because this method returns a StringBuffer , not a string, you can modify the URL easily, for example, to append query parameters.
| true |
| true |
| Servlet:JAVADOC:563 | String | javax.servlet.http.HttpServletRequest.getServletPath
| Returns the part of this request's URL that calls the servlet.
This path starts with a "/" character and includes either the servlet name or a path to the servlet, but does not include any extra path information or a query string. Same as the value of the CGI variable SCRIPT_NAME. This method will return an empty string ("") if the servlet used to process this request was matched using the "/*" pattern.
| true |
| true |
| Servlet:JAVADOC:564 | String | javax.servlet.http.HttpServletRequest.getServletPath
|
This method will return an empty string ("") if the servlet used to process this request was matched using the "/*" pattern.
| true |
| true |
| Servlet:JAVADOC:565 | HttpSession | javax.servlet.http.HttpServletRequest.getSession
(
boolean
)
| Returns the current HttpSession associated with this request or, if if there is no current session and create is true, returns a new session.
| true |
| true |
| Servlet:JAVADOC:566 | HttpSession | javax.servlet.http.HttpServletRequest.getSession
(
boolean
)
| If create is false and the request has no valid HttpSession, this method returns null. | true |
| true |
| Servlet:JAVADOC:567 | HttpSession | javax.servlet.http.HttpServletRequest.getSession
| Returns the current session associated with this request, or if the request does not have a session, creates one.
| true |
| true |
| Servlet:JAVADOC:568 | boolean | javax.servlet.http.HttpServletRequest.isRequestedSessionIdValid
| Checks whether the requested session ID is still valid. If the client did not specify any session ID, this method returns false.
Returns: true if this request has an id for a valid session in the current session context; false otherwise
| true |
| true |
| Servlet:JAVADOC:569 | boolean | javax.servlet.http.HttpServletRequest.isRequestedSessionIdFromCookie
| Checks whether the requested session ID came in as a cookie.
| true |
| true |
| Servlet:JAVADOC:570 | boolean | javax.servlet.http.HttpServletRequest.isRequestedSessionIdFromURL
| Checks whether the requested session ID came in as part of the request URL.
| true |
| true |
| Servlet:JAVADOC:571 | boolean | javax.servlet.http.HttpServletRequest.isRequestedSessionIdFromUrl
|
| true | true | true |
| Servlet:JAVADOC:572 | Object | javax.servlet.http.HttpServletRequest.{javax.servlet.ServletRequest}.getAttribute
(
String
)
|
Returns the value of the named attribute as an Object, or null if no attribute of the given name exists.
Attributes can be set two ways. The servlet container may set attributes to make available custom information about a request. For example, for requests made using HTTPS, the attribute javax.servlet.request.X509Certificate can be used to retrieve information on the certificate of the client. Attributes can also be set programatically using . This allows information to be embedded into a request before a call. Attribute names should follow the same conventions as package names. This specification reserves names matching java.*, javax.*, and sun.*.
| true |
| true |
| Servlet:JAVADOC:573 | Enumeration | javax.servlet.http.HttpServletRequest.{javax.servlet.ServletRequest}.getAttributeNames
|
Returns an Enumeration containing the names of the attributes available to this request.
This method returns an empty Enumeration if the request has no attributes available to it.
| true |
| true |
| Servlet:JAVADOC:574 | String | javax.servlet.http.HttpServletRequest.{javax.servlet.ServletRequest}.getCharacterEncoding
|
Returns the name of the character encoding used in the body of this request.
This method returns null if the request does not specify a character encoding
| true |
| true |
| Servlet:JAVADOC:575 | int | javax.servlet.http.HttpServletRequest.{javax.servlet.ServletRequest}.getContentLength
|
Returns the length, in bytes, of the request body and made available by the input stream, or -1 if the length is not known.
For HTTP servlets, same as the value of the CGI variable CONTENT_LENGTH.
| true |
| true |
| Servlet:JAVADOC:576 | String | javax.servlet.http.HttpServletRequest.{javax.servlet.ServletRequest}.getContentType
|
Returns the MIME type of the body of the request, or null if the type is not known.
For HTTP servlets, same as the value of the CGI variable CONTENT_TYPE.
| true |
| true |
| Servlet:JAVADOC:577 | ServletInputStream | javax.servlet.http.HttpServletRequest.{javax.servlet.ServletRequest}.getInputStream
|
Retrieves the body of the request as binary data using a .
Either this method or may be called to read the body, not both.
| true |
| true |
| Servlet:JAVADOC:578 | ServletInputStream | javax.servlet.http.HttpServletRequest.{javax.servlet.ServletRequest}.getInputStream
throws
IOException
| if an input or output exception occurred | true |
| false |
| Servlet:JAVADOC:579 | ServletInputStream | javax.servlet.http.HttpServletRequest.{javax.servlet.ServletRequest}.getInputStream
throws
IllegalStateException
| if the {@link #getReader} method has already been called for this request | true |
| true |
| Servlet:JAVADOC:580 | Locale | javax.servlet.http.HttpServletRequest.{javax.servlet.ServletRequest}.getLocale
|
Returns the preferred Locale that the client will accept content in, based on the Accept-Language header.
If the client request doesn't provide an Accept-Language header, this method returns the default locale for the server.
| true |
| true |
| Servlet:JAVADOC:581 | Enumeration | javax.servlet.http.HttpServletRequest.{javax.servlet.ServletRequest}.getLocales
|
Returns an Enumeration of Locale objects indicating, in decreasing order starting with the preferred locale, the locales that are acceptable to the client based on the Accept-Language header.
If the client request doesn't provide an Accept-Language header, this method returns an Enumeration containing one Locale, the default locale for the server.
| true |
| true |
| Servlet:JAVADOC:582 | String | javax.servlet.http.HttpServletRequest.{javax.servlet.ServletRequest}.getParameter
(
String
)
|
Returns the value of a request parameter as a String, or null if the parameter does not exist.
Request parameters are extra information sent with the request. For HTTP servlets, parameters are contained in the query string or posted form data. You should only use this method when you are sure the parameter has only one value. If the parameter might have more than one value, use . If you use this method with a multivalued parameter, the value returned is equal to the first value in the array returned by getParameterValues. If the parameter data was sent in the request body, such as occurs with an HTTP POST request, then reading the body directly via or can interfere with the execution of this method.
| true |
| true |
| Servlet:JAVADOC:583 | Map | javax.servlet.http.HttpServletRequest.{javax.servlet.ServletRequest}.getParameterMap
|
Returns a java.util.Map of the parameters of this request.
Request parameters are extra information sent with the request. For HTTP servlets, parameters are contained in the query string or posted form data.
| true |
| true |
| Servlet:JAVADOC:584 | Enumeration | javax.servlet.http.HttpServletRequest.{javax.servlet.ServletRequest}.getParameterNames
|
Returns an Enumeration of String objects containing the names of the parameters contained in this request.
If the request has no parameters, the method returns an empty Enumeration.
| true |
| true |
| Servlet:JAVADOC:585 | String[] | javax.servlet.http.HttpServletRequest.{javax.servlet.ServletRequest}.getParameterValues
(
String
)
|
Returns an array of String objects containing all of the values the given request parameter has, or null if the parameter does not exist.
If the parameter has a single value, the array has a length of 1.
| true |
| true |
| Servlet:JAVADOC:586 | String | javax.servlet.http.HttpServletRequest.{javax.servlet.ServletRequest}.getProtocol
|
Returns the name and version of the protocol the request uses in the form protocol/majorVersion.minorVersion, for example, HTTP/1.1.
For HTTP servlets, the value returned is the same as the value of the CGI variable SERVER_PROTOCOL.
| true |
| true |
| Servlet:JAVADOC:587 | BufferedReader | javax.servlet.http.HttpServletRequest.{javax.servlet.ServletRequest}.getReader
|
Retrieves the body of the request as character data using a BufferedReader.
The reader translates the character data according to the character encoding used on the body. Either this method or may be called to read the body, not both.
| true |
| true |
| Servlet:JAVADOC:588 | BufferedReader | javax.servlet.http.HttpServletRequest.{javax.servlet.ServletRequest}.getReader
throws
IOException
| if an input or output exception occurred | true |
| false |
| Servlet:JAVADOC:589 | BufferedReader | javax.servlet.http.HttpServletRequest.{javax.servlet.ServletRequest}.getReader
throws
UnsupportedEncodingException
| if the character set encoding used is not supported and the text cannot be decoded | true |
| true |
| Servlet:JAVADOC:590 | BufferedReader | javax.servlet.http.HttpServletRequest.{javax.servlet.ServletRequest}.getReader
throws
IllegalStateException
| if {@link #getInputStream} method has been called on this request | true |
| true |
| Servlet:JAVADOC:591 | String | javax.servlet.http.HttpServletRequest.{javax.servlet.ServletRequest}.getRealPath
(
String
)
|
| true | true | true |
| Servlet:JAVADOC:592 | String | javax.servlet.http.HttpServletRequest.{javax.servlet.ServletRequest}.getRemoteAddr
|
Returns the Internet Protocol (IP) address of the client that sent the request.
For HTTP servlets, same as the value of the CGI variable REMOTE_ADDR.
| true |
| true |
| Servlet:JAVADOC:593 | String | javax.servlet.http.HttpServletRequest.{javax.servlet.ServletRequest}.getRemoteHost
|
Returns the fully qualified name of the client that sent the request.
If the engine cannot or chooses not to resolve the hostname (to improve performance), this method returns the dotted-string form of the IP address. For HTTP servlets, same as the value of the CGI variable REMOTE_HOST.
| true |
| true |
| Servlet:JAVADOC:594 | RequestDispatcher | javax.servlet.http.HttpServletRequest.{javax.servlet.ServletRequest}.getRequestDispatcher
(
String
)
|
Returns a object that acts as a wrapper for the resource located at the given path.
A RequestDispatcher object can be used to forward a request to the resource or to include the resource in a response. The resource can be dynamic or static. The pathname specified may be relative, although it cannot extend outside the current servlet context. If the path begins with a "/" it is interpreted as relative to the current context root. This method returns null if the servlet container cannot return a RequestDispatcher. The difference between this method and is that this method can take a relative path.
| true |
| true |
| Servlet:JAVADOC:595 | String | javax.servlet.http.HttpServletRequest.{javax.servlet.ServletRequest}.getScheme
|
Returns the name of the scheme used to make this request, for example, http, https, or ftp.
Different schemes have different rules for constructing URLs, as noted in RFC 1738.
| true |
| true |
| Servlet:JAVADOC:596 | String | javax.servlet.http.HttpServletRequest.{javax.servlet.ServletRequest}.getServerName
|
Returns the host name of the server that received the request.
For HTTP servlets, same as the value of the CGI variable SERVER_NAME.
| true |
| true |
| Servlet:JAVADOC:597 | int | javax.servlet.http.HttpServletRequest.{javax.servlet.ServletRequest}.getServerPort
|
Returns the port number on which this request was received.
For HTTP servlets, same as the value of the CGI variable SERVER_PORT.
| true |
| true |
| Servlet:JAVADOC:598 | boolean | javax.servlet.http.HttpServletRequest.{javax.servlet.ServletRequest}.isSecure
|
Returns a boolean indicating whether this request was made using a secure channel, such as HTTPS.
| true |
| true |
| Servlet:JAVADOC:599 | void | javax.servlet.http.HttpServletRequest.{javax.servlet.ServletRequest}.removeAttribute
(
String
)
|
Removes an attribute from this request.
This method is not generally needed as attributes only persist as long as the request is being handled. Attribute names should follow the same conventions as package names. Names beginning with java.*, javax.*, and com.sun.*, are reserved for use by Sun Microsystems.
| true |
| true |
| Servlet:JAVADOC:600 | void | javax.servlet.http.HttpServletRequest.{javax.servlet.ServletRequest}.setAttribute
(
String
, Object
)
|
Stores an attribute in this request.
Attributes are reset between requests. This method is most often used in conjunction with . Attribute names should follow the same conventions as package names. Names beginning with java.*, javax.*, and com.sun.*, are reserved for use by Sun Microsystems. If the value passed in is null, the effect is the same as calling .
| true |
| true |
| Servlet:JAVADOC:601 | void | javax.servlet.http.HttpServletRequest.{javax.servlet.ServletRequest}.setCharacterEncoding
(
String
)
| Overrides the name of the character encoding used in the body of this request. This method must be called prior to reading request parameters or reading input using getReader(). Otherwise, it has no effect.
| true |
| true |
| Servlet:JAVADOC:602 | void | javax.servlet.http.HttpServletRequest.{javax.servlet.ServletRequest}.setCharacterEncoding
(
String
)
throws
UnsupportedEncodingException
| if this ServletRequest is still in a state where a character encoding may be set, but the specified encoding is invalid | true |
| true |
| Servlet:JAVADOC:603 | void | javax.servlet.http.HttpServletResponse.{javax.servlet.ServletResponse}.flushBuffer
|
Forces any content in the buffer to be written to the client.
A call to this method automatically commits the response, meaning the status code and headers will be written.
| true |
| true |
| Servlet:JAVADOC:604 | void | javax.servlet.http.HttpServletResponse.{javax.servlet.ServletResponse}.flushBuffer
throws
IOException
|
| true |
| false |
| Servlet:JAVADOC:605 | int | javax.servlet.http.HttpServletResponse.{javax.servlet.ServletResponse}.getBufferSize
|
Returns the actual buffer size used for the response.
If no buffering is used, this method returns 0.
| true |
| true |
| Servlet:JAVADOC:606 | String | javax.servlet.http.HttpServletResponse.{javax.servlet.ServletResponse}.getCharacterEncoding
|
Returns the name of the charset used for the MIME body sent in this response.
If no charset has been assigned, it is implicitly set to ISO-8859-1 (Latin-1). See RFC 2047 (http://ds.internic.net/rfc/rfc2045.txt) for more information about character encoding and MIME.
| true |
| true |
| Servlet:JAVADOC:607 | String | javax.servlet.http.HttpServletResponse.{javax.servlet.ServletResponse}.getContentType
|
Returns the MIME type of the body of the request, or null if the type is not known.
For HTTP servlets, same as the value of the CGI variable CONTENT_TYPE.
| true |
| true |
| Servlet:JAVADOC:608 | Locale | javax.servlet.http.HttpServletResponse.{javax.servlet.ServletResponse}.getLocale
|
Returns the locale assigned to the response.
| true |
| true |
| Servlet:JAVADOC:609 | ServletOutputStream | javax.servlet.http.HttpServletResponse.{javax.servlet.ServletResponse}.getOutputStream
|
Returns a suitable for writing binary data in the response.
The servlet container does not encode the binary data. Calling flush() on the ServletOutputStream commits the response. Either this method or may be called to write the body, not both.
| true |
| true |
| Servlet:JAVADOC:610 | ServletOutputStream | javax.servlet.http.HttpServletResponse.{javax.servlet.ServletResponse}.getOutputStream
throws
IOException
| if an input or output exception occurred | true |
| false |
| Servlet:JAVADOC:611 | ServletOutputStream | javax.servlet.http.HttpServletResponse.{javax.servlet.ServletResponse}.getOutputStream
throws
IllegalStateException
| if the getWriter method has been called on this response | true |
| true |
| Servlet:JAVADOC:612 | PrintWriter | javax.servlet.http.HttpServletResponse.{javax.servlet.ServletResponse}.getWriter
|
Returns a PrintWriter object that can send character text to the client.
The character encoding used is the one specified in the charset= property of the method, which must be called before calling this method for the charset to take effect. If necessary, the MIME type of the response is modified to reflect the character encoding used. Calling flush() on the PrintWriter commits the response. Either this method or may be called to write the body, not both.
| true |
| true |
| Servlet:JAVADOC:613 | PrintWriter | javax.servlet.http.HttpServletResponse.{javax.servlet.ServletResponse}.getWriter
throws
IOException
| if an input or output exception occurred | true |
| false |
| Servlet:JAVADOC:614 | PrintWriter | javax.servlet.http.HttpServletResponse.{javax.servlet.ServletResponse}.getWriter
throws
UnsupportedEncodingException
| if the charset specified in setContentType cannot be used | true |
| false |
| Servlet:JAVADOC:615 | PrintWriter | javax.servlet.http.HttpServletResponse.{javax.servlet.ServletResponse}.getWriter
throws
IllegalStateException
| if the getOutputStream method has already been called for this response object | true |
| true |
| Servlet:JAVADOC:616 | boolean | javax.servlet.http.HttpServletResponse.{javax.servlet.ServletResponse}.isCommitted
|
Returns a boolean indicating if the response has been committed.
A commited response has already had its status code and headers written.
| true |
| true |
| Servlet:JAVADOC:617 | void | javax.servlet.http.HttpServletResponse.{javax.servlet.ServletResponse}.reset
|
Clears any data that exists in the buffer as well as the status code and headers.
If the response has been committed, this method throws an IllegalStateException.
| true |
| true |
| Servlet:JAVADOC:618 | void | javax.servlet.http.HttpServletResponse.{javax.servlet.ServletResponse}.reset
throws
IllegalStateException
| if the response has already been committed | true |
| true |
| Servlet:JAVADOC:619 | void | javax.servlet.http.HttpServletResponse.{javax.servlet.ServletResponse}.resetBuffer
|
Clears the content of the underlying buffer in the response without clearing headers or status code.
If the response has been committed, this method throws an IllegalStateException.
| true |
| true |
| Servlet:JAVADOC:620 | void | javax.servlet.http.HttpServletResponse.{javax.servlet.ServletResponse}.setBufferSize
(
int
)
|
Sets the preferred buffer size for the body of the response.
The servlet container will use a buffer at least as large as the size requested. The actual buffer size used can be found using getBufferSize. A larger buffer allows more content to be written before anything is actually sent, thus providing the servlet with more time to set appropriate status codes and headers. A smaller buffer decreases server memory load and allows the client to start receiving data more quickly. This method must be called before any response body content is written; if content has been written, this method throws an IllegalStateException.
| true |
| true |
| Servlet:JAVADOC:621 | void | javax.servlet.http.HttpServletResponse.{javax.servlet.ServletResponse}.setBufferSize
(
int
)
throws
IllegalStateException
| if this method is called after content has been written | true |
| true |
| Servlet:JAVADOC:622 | void | javax.servlet.http.HttpServletResponse.{javax.servlet.ServletResponse}.setCharacterEncoding
(
String
)
|
Overrides the name of the character encoding used in the body of the request.
This method must be called prior to reading request parameters or reading input using getReader().
| true |
| true |
| Servlet:JAVADOC:623 | void | javax.servlet.http.HttpServletResponse.{javax.servlet.ServletResponse}.setContentLength
(
int
)
|
Sets the length of the content body in the response In HTTP servlets, this method sets the HTTP Content-Length header.
| true |
| true |
| Servlet:JAVADOC:624 | void | javax.servlet.http.HttpServletResponse.{javax.servlet.ServletResponse}.setContentType
(
String
)
|
Sets the content type of the response being sent to the client.
The content type may include the type of character encoding used, for example, text/html; charset=ISO-8859-4. If obtaining a PrintWriter, this method should be called first.
| true |
| true |
| Servlet:JAVADOC:625 | void | javax.servlet.http.HttpServletResponse.{javax.servlet.ServletResponse}.setLocale
(
Locale
)
|
Sets the locale of the response, setting the headers (including the Content-Type's charset) as appropriate.
This method should be called before a call to . By default, the response locale is the default locale for the server.
| true |
| true |
| Servlet:JAVADOC:626 | HttpServletRequestWrapper | javax.servlet.http.HttpServletRequestWrapper.HttpServletRequestWrapper
(
HttpServletRequest
)
throws
IllegalStateException
| If the request is null. | true |
| true |
| Servlet:JAVADOC:627 | int | javax.servlet.ServletInputStream.readLine
(
byte[]
, int
, int
)
| Reads the input stream, one line at a time.
This method returns -1 if it reaches the end of the input stream before reading the maximum number of bytes.
| true |
| false |
| Servlet:JAVADOC:628 | Cookie | javax.servlet.http.Cookie.Cookie
(
String
, String
)
throws
IllegalArgumentException
| if the cookie name contains illegal characters (for example, a comma, space, or semicolon) or it is one of the tokens reserved for use by the cookie protocol
| true |
| true |
| Servlet:JAVADOC:629 | String | javax.servlet.http.HttpServletRequest.getLocalName
| Returns the host name of the Internet Protocol (IP) interface on which the request was received.
| true |
| true |
| Servlet:JAVADOC:630 | int | javax.servlet.http.HttpServletRequest.getLocalPort
| Returns the Internet Protocol (IP) port number of the interface
on which the request was received.
| true |
| true |
| Servlet:JAVADOC:631 | int | javax.servlet.http.HttpServletRequestWrapper.getLocalPort
| The default behavior of this method is to return getLocalPort() on the wrapped
request object.
| true |
| true |
| Servlet:JAVADOC:632 | String | javax.servlet.ServletRequest.getLocalName
| Returns the host name of the Internet Protocol (IP) interface on which the request was received.
| true |
| true |
| Servlet:JAVADOC:633 | String | javax.servlet.ServletRequestWrapper.getLocalName
| The default behavior of this method is to return getLocalName() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:634 | String | javax.servlet.http.HttpServletRequestWrapper.getLocalName
| The default behavior of this method is to return getLocalName() on the wrapped request object.
| true |
| true |
| Servlet:JAVADOC:635 | int | javax.servlet.ServletRequest.getLocalPort
| Returns the Internet Protocol (IP) port number of the interface
on which the request was received.
| true |
| true |
| Servlet:JAVADOC:636 | int | javax.servlet.ServletRequestWrapper.getLocalPort
| The default behavior of this method is to return getLocalPort() on the wrapped
request object.
| true |
| true |
| Servlet:JAVADOC:637 | String | javax.servlet.ServletContext.getContextPath
| Returns the context path of the web application. The context path is the portion of the request URI that is used to select the context of the request. The context path always comes first in a request URI. The path starts with a "/" character but does not end with a "/" character. For servlets in the default (root) context, this method returns "".
It is possible that a servlet container may match a context by more than one context path. In such cases getContextPath() will return the actual context path used by the request and it may differ from the path returned by this method. The context path returned by this method should be considered as the prime or preferred context path of the application.
| true |
| true |