Java(TM) Servlet
Servlet - 2.5
JavaDoc Assertion Detail

TotalsTotalActiveDeprecatedRemoved
# of Assertions 634594373
# of Required Assertions 634594373
# of Optional Assertions 0000

IDReturnMethod/FieldDescriptionRequiredDeprecatedTestable
Servlet:JAVADOC:1UnavailableExceptionjavax.servlet.UnavailableException.UnavailableException
( Servlet ,
String )

truetruetrue
Servlet:JAVADOC:2UnavailableExceptionjavax.servlet.UnavailableException.UnavailableException
( int ,
Servlet ,
String )

truetruetrue
Servlet:JAVADOC:3UnavailableExceptionjavax.servlet.UnavailableException.UnavailableException
( String )
Constructs a new exception with a descriptive message indicating that the servlet is permanently unavailable. true
true
Servlet:JAVADOC:4UnavailableExceptionjavax.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:5booleanjavax.servlet.UnavailableException.isPermanent
Returns a boolean indicating whether the servlet is permanently unavailable.true
true
Servlet:JAVADOC:6Servletjavax.servlet.UnavailableException.getServlet

truetruetrue
Servlet:JAVADOC:7intjavax.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:8Throwablejavax.servlet.UnavailableException.{javax.servlet.ServletException}.getRootCause
Returns the exception that caused this servlet exception. true
true
Servlet:JAVADOC:9ServletResponseWrapperjavax.servlet.ServletResponseWrapper.ServletResponseWrapper
( ServletResponse )
Creates a ServletResponse adaptor wrapping the given response object. true
true
Servlet:JAVADOC:10ServletResponsejavax.servlet.ServletResponseWrapper.getResponse
Return the wrapped ServletResponse object. true
true
Servlet:JAVADOC:11voidjavax.servlet.ServletResponseWrapper.setResponse
( ServletResponse )
Sets the response being wrapped. true
true
Servlet:JAVADOC:12voidjavax.servlet.ServletResponseWrapper.setResponse
( ServletResponse )
throws IllegalArgumentException
if the response is null.true
true
Servlet:JAVADOC:13voidjavax.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:14Stringjavax.servlet.ServletResponseWrapper.getCharacterEncoding
The default behavior of this method is to return getCharacterEncoding() on the wrapped response object. true
true
Servlet:JAVADOC:15ServletOutputStreamjavax.servlet.ServletResponseWrapper.getOutputStream
The default behavior of this method is to return getOutputStream() on the wrapped response object. true
true
Servlet:JAVADOC:16ServletOutputStreamjavax.servlet.ServletResponseWrapper.getOutputStream

throws IOException

true
false
Servlet:JAVADOC:17PrintWriterjavax.servlet.ServletResponseWrapper.getWriter
The default behavior of this method is to return getWriter() on the wrapped response object. true
true
Servlet:JAVADOC:18PrintWriterjavax.servlet.ServletResponseWrapper.getWriter

throws IOException

true
false
Servlet:JAVADOC:19voidjavax.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:20voidjavax.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:21Stringjavax.servlet.ServletResponseWrapper.getContentType
The default behavior of this method is to return getContentType() on the wrapped response object. true
true
Servlet:JAVADOC:22voidjavax.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:23intjavax.servlet.ServletResponseWrapper.getBufferSize
The default behavior of this method is to return getBufferSize() on the wrapped response object. true
true
Servlet:JAVADOC:24voidjavax.servlet.ServletResponseWrapper.flushBuffer
The default behavior of this method is to call flushBuffer() on the wrapped response object. true
true
Servlet:JAVADOC:25voidjavax.servlet.ServletResponseWrapper.flushBuffer

throws IOException

true
false
Servlet:JAVADOC:26booleanjavax.servlet.ServletResponseWrapper.isCommitted
The default behavior of this method is to return isCommitted() on the wrapped response object. true
true
Servlet:JAVADOC:27voidjavax.servlet.ServletResponseWrapper.reset
The default behavior of this method is to call reset() on the wrapped response object. true
true
Servlet:JAVADOC:28voidjavax.servlet.ServletResponseWrapper.resetBuffer
The default behavior of this method is to call resetBuffer() on the wrapped response object. true
true
Servlet:JAVADOC:29voidjavax.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:30Localejavax.servlet.ServletResponseWrapper.getLocale
The default behavior of this method is to return getLocale() on the wrapped response object. true
true
Servlet:JAVADOC:31ServletRequestWrapperjavax.servlet.ServletRequestWrapper.ServletRequestWrapper
( ServletRequest )
Creates a ServletRequest adaptor wrapping the given request object. true
true
Servlet:JAVADOC:32ServletRequestjavax.servlet.ServletRequestWrapper.getRequest
Return the wrapped request object. true
true
Servlet:JAVADOC:33voidjavax.servlet.ServletRequestWrapper.setRequest
( ServletRequest )
Sets the request object being wrapped. true
true
Servlet:JAVADOC:34voidjavax.servlet.ServletRequestWrapper.setRequest
( ServletRequest )
throws IllegalArgumentException
if the request is null.true
true
Servlet:JAVADOC:35Objectjavax.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:36Enumerationjavax.servlet.ServletRequestWrapper.getAttributeNames
The default behavior of this method is to return getAttributeNames() on the wrapped request object. true
true
Servlet:JAVADOC:37Stringjavax.servlet.ServletRequestWrapper.getCharacterEncoding
The default behavior of this method is to return getCharacterEncoding() on the wrapped request object. true
true
Servlet:JAVADOC:38voidjavax.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:39voidjavax.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 invalidtrue
true
Servlet:JAVADOC:40intjavax.servlet.ServletRequestWrapper.getContentLength
The default behavior of this method is to return getContentLength() on the wrapped request object. true
true
Servlet:JAVADOC:41Stringjavax.servlet.ServletRequestWrapper.getContentType
The default behavior of this method is to return getContentType() on the wrapped request object. true
true
Servlet:JAVADOC:42ServletInputStreamjavax.servlet.ServletRequestWrapper.getInputStream
The default behavior of this method is to return getInputStream() on the wrapped request object. true
true
Servlet:JAVADOC:43ServletInputStreamjavax.servlet.ServletRequestWrapper.getInputStream

throws IOException

true
false
Servlet:JAVADOC:44Stringjavax.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:45Mapjavax.servlet.ServletRequestWrapper.getParameterMap
The default behavior of this method is to return getParameterMap() on the wrapped request object. true
true
Servlet:JAVADOC:46Enumerationjavax.servlet.ServletRequestWrapper.getParameterNames
The default behavior of this method is to return getParameterNames() on the wrapped request object. true
true
Servlet:JAVADOC:47String[]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:48Stringjavax.servlet.ServletRequestWrapper.getProtocol
The default behavior of this method is to return getProtocol() on the wrapped request object. true
true
Servlet:JAVADOC:49Stringjavax.servlet.ServletRequestWrapper.getScheme
The default behavior of this method is to return getScheme() on the wrapped request object. true
true
Servlet:JAVADOC:50Stringjavax.servlet.ServletRequestWrapper.getServerName
The default behavior of this method is to return getServerName() on the wrapped request object. true
true
Servlet:JAVADOC:51intjavax.servlet.ServletRequestWrapper.getServerPort
The default behavior of this method is to return getServerPort() on the wrapped request object. true
true
Servlet:JAVADOC:52BufferedReaderjavax.servlet.ServletRequestWrapper.getReader
The default behavior of this method is to return getReader() on the wrapped request object. true
true
Servlet:JAVADOC:53BufferedReaderjavax.servlet.ServletRequestWrapper.getReader

throws IOException

true
false
Servlet:JAVADOC:54Stringjavax.servlet.ServletRequestWrapper.getRemoteAddr
The default behavior of this method is to return getRemoteAddr() on the wrapped request object. true
true
Servlet:JAVADOC:55Stringjavax.servlet.ServletRequestWrapper.getRemoteHost
The default behavior of this method is to return getRemoteHost() on the wrapped request object. true
true
Servlet:JAVADOC:56voidjavax.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:57voidjavax.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:58Localejavax.servlet.ServletRequestWrapper.getLocale
The default behavior of this method is to return getLocale() on the wrapped request object. true
true
Servlet:JAVADOC:59Enumerationjavax.servlet.ServletRequestWrapper.getLocales
The default behavior of this method is to return getLocales() on the wrapped request object. true
true
Servlet:JAVADOC:60booleanjavax.servlet.ServletRequestWrapper.isSecure
The default behavior of this method is to return isSecure() on the wrapped request object. true
true
Servlet:JAVADOC:61RequestDispatcherjavax.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:62Stringjavax.servlet.ServletRequestWrapper.getRealPath
( String )
The default behavior of this method is to return getRealPath(String path) on the wrapped request object. truetruetrue
Servlet:JAVADOC:63ServletRequestEventjavax.servlet.ServletRequestEvent.ServletRequestEvent
( ServletContext ,
ServletRequest )
Construct a ServletRequestEvent from the given context. true
true
Servlet:JAVADOC:64ServletRequestjavax.servlet.ServletRequestEvent.getServletRequest
Return the ServletRequest that changed. true
true
Servlet:JAVADOC:65ServletContextjavax.servlet.ServletRequestEvent.getServletContext
Return the ServletContext that changed. true
true
Servlet:JAVADOC:66ServletRequestAttributeEventjavax.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:67Stringjavax.servlet.ServletRequestAttributeEvent.getName
Return the name of the attribute that changed on the ServletRequest. true
true
Servlet:JAVADOC:68Objectjavax.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:69Objectjavax.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:70Objectjavax.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:71ServletRequestjavax.servlet.ServletRequestAttributeEvent.{javax.servlet.ServletRequestEvent}.getRequest
Return the ServletRequest that changed. true
true
Servlet:JAVADOC:72ServletContextjavax.servlet.ServletRequestAttributeEvent.{javax.servlet.ServletRequestEvent}.getServletContext
Return the ServletContext that changed. true
true
Servlet:JAVADOC:73voidjavax.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:74voidjavax.servlet.ServletOutputStream.print
( String )
throws IOException
if an input or output exception occurredtrue
false
Servlet:JAVADOC:75voidjavax.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:76voidjavax.servlet.ServletOutputStream.print
( boolean )
throws IOException
if an input or output exception occurredtrue
false
Servlet:JAVADOC:77voidjavax.servlet.ServletOutputStream.print
( char )
Writes a character to the client, with no carriage return-line feed (CRLF) at the end. true
true
Servlet:JAVADOC:78voidjavax.servlet.ServletOutputStream.print
( char )
throws IOException
if an input or output exception occurredtrue
false
Servlet:JAVADOC:79voidjavax.servlet.ServletOutputStream.print
( int )
Writes an int to the client, with no carriage return-line feed (CRLF) at the end. true
true
Servlet:JAVADOC:80voidjavax.servlet.ServletOutputStream.print
( int )
throws IOException
if an input or output exception occurredtrue
false
Servlet:JAVADOC:81voidjavax.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:82voidjavax.servlet.ServletOutputStream.print
( long )
throws IOException
if an input or output exception occurredtrue
false
Servlet:JAVADOC:83voidjavax.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:84voidjavax.servlet.ServletOutputStream.print
( float )
throws IOException
if an input or output exception occurredtrue
false
Servlet:JAVADOC:85voidjavax.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:86voidjavax.servlet.ServletOutputStream.print
( double )
throws IOException
if an input or output exception occurredtrue
false
Servlet:JAVADOC:87voidjavax.servlet.ServletOutputStream.println
Writes a carriage return-line feed (CRLF) to the client. true
true
Servlet:JAVADOC:88voidjavax.servlet.ServletOutputStream.println

throws IOException
if an input or output exception occurredtrue
false
Servlet:JAVADOC:89voidjavax.servlet.ServletOutputStream.println
( String )
Writes a String to the client, followed by a carriage return-line feed (CRLF). true
true
Servlet:JAVADOC:90voidjavax.servlet.ServletOutputStream.println
( String )
throws IOException
if an input or output exception occurredtrue
false
Servlet:JAVADOC:91voidjavax.servlet.ServletOutputStream.println
( boolean )
Writes a boolean value to the client, followed by a carriage return-line feed (CRLF). true
true
Servlet:JAVADOC:92voidjavax.servlet.ServletOutputStream.println
( boolean )
throws IOException
if an input or output exception occurredtrue
false
Servlet:JAVADOC:93voidjavax.servlet.ServletOutputStream.println
( char )
Writes a character to the client, followed by a carriage return-line feed (CRLF). true
true
Servlet:JAVADOC:94voidjavax.servlet.ServletOutputStream.println
( char )
throws IOException
if an input or output exception occurredtrue
false
Servlet:JAVADOC:95voidjavax.servlet.ServletOutputStream.println
( int )
Writes an int to the client, followed by a carriage return-line feed (CRLF) character. true
true
Servlet:JAVADOC:96voidjavax.servlet.ServletOutputStream.println
( int )
throws IOException
if an input or output exception occurredtrue
false
Servlet:JAVADOC:97voidjavax.servlet.ServletOutputStream.println
( long )
Writes a long value to the client, followed by a carriage return-line feed (CRLF). true
true
Servlet:JAVADOC:98voidjavax.servlet.ServletOutputStream.println
( long )
throws IOException
if an input or output exception occurredtrue
false
Servlet:JAVADOC:99voidjavax.servlet.ServletOutputStream.println
( float )
Writes a float value to the client, followed by a carriage return-line feed (CRLF). true
true
Servlet:JAVADOC:100voidjavax.servlet.ServletOutputStream.println
( float )
throws IOException
if an input or output exception occurredtrue
false
Servlet:JAVADOC:101voidjavax.servlet.ServletOutputStream.println
( double )
Writes a double value to the client, followed by a carriage return-line feed (CRLF). true
true
Servlet:JAVADOC:102voidjavax.servlet.ServletOutputStream.println
( double )
throws IOException
if an input or output exception occurredtrue
false
Servlet:JAVADOC:103intjavax.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:104intjavax.servlet.ServletInputStream.readLine
( byte[] ,
int ,
int )
throws IOException
if an input or output exception has occurredtrue
false
Servlet:JAVADOC:105ServletExceptionjavax.servlet.ServletException.ServletException
Constructs a new servlet exception. true
true
Servlet:JAVADOC:106ServletExceptionjavax.servlet.ServletException.ServletException
( String )
Constructs a new servlet exception with the specified message. true
true
Servlet:JAVADOC:107ServletExceptionjavax.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:108ServletExceptionjavax.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:109Throwablejavax.servlet.ServletException.getRootCause
Returns the exception that caused this servlet exception. true
true
Servlet:JAVADOC:110ServletContextEventjavax.servlet.ServletContextEvent.ServletContextEvent
( ServletContext )
Construct a ServletContextEvent from the given context. true
true
Servlet:JAVADOC:111ServletContextjavax.servlet.ServletContextEvent.getServletContext
Return the ServletContext that changed. true
true
Servlet:JAVADOC:112ServletContextAttributeEventjavax.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:113Stringjavax.servlet.ServletContextAttributeEvent.getName
Return the name of the attribute that changed on the ServletContext. true
true
Servlet:JAVADOC:114Objectjavax.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:115Objectjavax.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:116Objectjavax.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:117ServletContextjavax.servlet.ServletContextAttributeEvent.{javax.servlet.ServletContextEvent}.getServletContext
Return the ServletContext that changed. true
true
Servlet:JAVADOC:118GenericServletjavax.servlet.GenericServlet.GenericServlet
Does nothing. All of the servlet initialization is done by one of the init methods. true
false
Servlet:JAVADOC:119voidjavax.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:120Stringjavax.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:121Stringjavax.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:122Enumerationjavax.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:123Enumerationjavax.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:124ServletConfigjavax.servlet.GenericServlet.getServletConfig
Returns this servlet's object. true
true
Servlet:JAVADOC:125ServletContextjavax.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:126Stringjavax.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:127voidjavax.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:128voidjavax.servlet.GenericServlet.init
( ServletConfig )
throws ServletException
if an exception occurs that interrupts the servlet's normal operationtrue
true
Servlet:JAVADOC:129voidjavax.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:130voidjavax.servlet.GenericServlet.init

throws ServletException
if an exception occurs that interrupts the servlet's normal operationtrue
true
Servlet:JAVADOC:131voidjavax.servlet.GenericServlet.log
( String )
Writes the specified message to a servlet log file, prepended by the servlet's name. true
false
Servlet:JAVADOC:132voidjavax.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:133voidjavax.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:134voidjavax.servlet.GenericServlet.service
( ServletRequest ,
ServletResponse )
throws ServletException
if an exception occurs that interferes with the servlet's normal operation occurredtrue
false
Servlet:JAVADOC:135voidjavax.servlet.GenericServlet.service
( ServletRequest ,
ServletResponse )
throws IOException
if an input or output exception occurstrue
false
Servlet:JAVADOC:136Stringjavax.servlet.GenericServlet.getServletName
Returns the name of this servlet instance. true
true
Servlet:JAVADOC:137Stringjavax.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:138Stringjavax.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:139voidjavax.servlet.ServletResponse.setCharacterEncoding
( String )
Overrides the name of the character encoding used in the body of the request. true
true
Servlet:JAVADOC:140ServletOutputStreamjavax.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:141ServletOutputStreamjavax.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:142ServletOutputStreamjavax.servlet.ServletResponse.getOutputStream

throws IOException
if an input or output exception occurredtrue
false
Servlet:JAVADOC:143ServletOutputStreamjavax.servlet.ServletResponse.getOutputStream

throws IllegalStateException
if the getWriter method has been called on this responsetrue
true
Servlet:JAVADOC:144PrintWriterjavax.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:145PrintWriterjavax.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:146PrintWriterjavax.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:147PrintWriterjavax.servlet.ServletResponse.getWriter

throws IOException
if an input or output exception occurredtrue
false
Servlet:JAVADOC:148PrintWriterjavax.servlet.ServletResponse.getWriter

throws UnsupportedEncodingException
if the charset specified in setContentType cannot be usedtrue
false
Servlet:JAVADOC:149PrintWriterjavax.servlet.ServletResponse.getWriter

throws IllegalStateException
if the getOutputStream method has already been called for this response objecttrue
true
Servlet:JAVADOC:150voidjavax.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:151voidjavax.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:152Stringjavax.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:153Stringjavax.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:154voidjavax.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:155voidjavax.servlet.ServletResponse.setBufferSize
( int )
throws IllegalStateException
If setBufferSize is called after content has been writtentrue
true
Servlet:JAVADOC:156intjavax.servlet.ServletResponse.getBufferSize
Returns the actual buffer size used for the response. true
true
Servlet:JAVADOC:157intjavax.servlet.ServletResponse.getBufferSize
If no buffering is used, this method returns 0. true
true
Servlet:JAVADOC:158voidjavax.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:159voidjavax.servlet.ServletResponse.flushBuffer

throws IOException

true
false
Servlet:JAVADOC:160voidjavax.servlet.ServletResponse.resetBuffer
Clears the content of the underlying buffer in the response without clearing headers or status code.true
true
Servlet:JAVADOC:161booleanjavax.servlet.ServletResponse.isCommitted
Returns a boolean indicating if the response has been committed.true
true
Servlet:JAVADOC:162voidjavax.servlet.ServletResponse.reset
Clears any data that exists in the buffer as well as the status code and headers.true
true
Servlet:JAVADOC:163voidjavax.servlet.ServletResponse.reset

throws IllegalStateException
if the response has already been committedtrue
true
Servlet:JAVADOC:164voidjavax.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:166Localejavax.servlet.ServletResponse.getLocale
Returns the locale assigned to the response. true
true
Servlet:JAVADOC:167voidjavax.servlet.ServletRequestListener.requestDestroyed
( ServletRequestEvent )
Notification that the servlet request is about to go out of scope. true
true
Servlet:JAVADOC:168voidjavax.servlet.ServletRequestListener.requestInitialized
( ServletRequestEvent )
Notification that the servlet request is about to go into scope. true
true
Servlet:JAVADOC:169voidjavax.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:170voidjavax.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:171voidjavax.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:172Objectjavax.servlet.ServletRequest.getAttribute
( String )
Returns the value of the named attribute as an Object. true
true
Servlet:JAVADOC:173Objectjavax.servlet.ServletRequest.getAttribute
( String )
Returns null if no attribute of the given name exists. true
true
Servlet:JAVADOC:174Enumerationjavax.servlet.ServletRequest.getAttributeNames
Returns an Enumeration containing the names of the attributes available to this request. true
true
Servlet:JAVADOC:175Enumerationjavax.servlet.ServletRequest.getAttributeNames
Returns an empty Enumeration if the request has no attributes available to it. true
true
Servlet:JAVADOC:176Stringjavax.servlet.ServletRequest.getCharacterEncoding
Returns the name of the character encoding used in the body of this request. true
true
Servlet:JAVADOC:177Stringjavax.servlet.ServletRequest.getCharacterEncoding
Returns null if the request does not specify a character encoding true
true
Servlet:JAVADOC:178voidjavax.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:179voidjavax.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 invalidtrue
true
Servlet:JAVADOC:180intjavax.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:181intjavax.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:182Stringjavax.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:183Stringjavax.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:184ServletInputStreamjavax.servlet.ServletRequest.getInputStream
Retrieves the body of the request as binary data using a ServletInputStream. true
true
Servlet:JAVADOC:185ServletInputStreamjavax.servlet.ServletRequest.getInputStream

throws IOException
if an input or output exception occurredtrue
false
Servlet:JAVADOC:186ServletInputStreamjavax.servlet.ServletRequest.getInputStream

throws IllegalStateException
if the getReader method has already been called for this requesttrue
true
Servlet:JAVADOC:187Stringjavax.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:188Stringjavax.servlet.ServletRequest.getParameter
( String )
Returns null if the parameter does not exist. true
true
Servlet:JAVADOC:189Enumerationjavax.servlet.ServletRequest.getParameterNames
Returns an Enumeration of String objects containing the names of the parameters contained in this request. true
true
Servlet:JAVADOC:190Enumerationjavax.servlet.ServletRequest.getParameterNames
If the request has no parameters, the method returns an empty Enumeration. true
true
Servlet:JAVADOC:191String[]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:192String[]javax.servlet.ServletRequest.getParameterValues
( String )
Returns null if the parameter does not exist. true
true
Servlet:JAVADOC:193Mapjavax.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:194Stringjavax.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:195Stringjavax.servlet.ServletRequest.getScheme
Returns the name of the scheme used to make this request, for example, http, https, or ftp. true
true
Servlet:JAVADOC:196Stringjavax.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:197intjavax.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:198BufferedReaderjavax.servlet.ServletRequest.getReader
Retrieves the body of the request as character data using a BufferedReader. true
true
Servlet:JAVADOC:199BufferedReaderjavax.servlet.ServletRequest.getReader

throws IOException
if an input or output exception occurredtrue
false
Servlet:JAVADOC:200BufferedReaderjavax.servlet.ServletRequest.getReader

throws UnsupportedEncodingException
if the character set encoding used is not supported and the text cannot be decodedtrue
true
Servlet:JAVADOC:201BufferedReaderjavax.servlet.ServletRequest.getReader

throws IllegalStateException
if getInputStream method has been called on this requesttrue
true
Servlet:JAVADOC:202Stringjavax.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:203Stringjavax.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:204voidjavax.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:205voidjavax.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:206Localejavax.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:207Localejavax.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:208Enumerationjavax.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:209Enumerationjavax.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:210booleanjavax.servlet.ServletRequest.isSecure
Returns a boolean indicating whether this request was made using a secure channel, such as HTTPS. true
true
Servlet:JAVADOC:211RequestDispatcherjavax.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:212RequestDispatcherjavax.servlet.ServletRequest.getRequestDispatcher
( String )
This method returns null if the servlet container cannot return a RequestDispatcher. true
false
Servlet:JAVADOC:213Stringjavax.servlet.ServletRequest.getRealPath
( String )

truetruetrue
Servlet:JAVADOC:214voidjavax.servlet.ServletContextListener.contextInitialized
( ServletContextEvent )
Notification that the web application is ready to process requests. true
true
Servlet:JAVADOC:215voidjavax.servlet.ServletContextListener.contextDestroyed
( ServletContextEvent )
Notification that the servlet context is about to be shut down. true
false
Servlet:JAVADOC:216voidjavax.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:217voidjavax.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:218voidjavax.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:219ServletContextjavax.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:220intjavax.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:221intjavax.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:222Stringjavax.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:223Stringjavax.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:224Setjavax.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:225URLjavax.servlet.ServletContext.getResource
( String )
This method returns null if no resource is mapped to the pathname. true
true
Servlet:JAVADOC:226URLjavax.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:227URLjavax.servlet.ServletContext.getResource
( String )
throws MalformedURLException
if the pathname is not given in the correct formtrue
true
Servlet:JAVADOC:228InputStreamjavax.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:229InputStreamjavax.servlet.ServletContext.getResourceAsStream
( String )
This method returns null if no resource exists at the specified path. true
true
Servlet:JAVADOC:230RequestDispatcherjavax.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:231RequestDispatcherjavax.servlet.ServletContext.getRequestDispatcher
( String )
This method returns null if the ServletContext cannot return a RequestDispatcher. true
false
Servlet:JAVADOC:232RequestDispatcherjavax.servlet.ServletContext.getNamedDispatcher
( String )
Returns a object that acts as a wrapper for the named servlet. true
true
Servlet:JAVADOC:233RequestDispatcherjavax.servlet.ServletContext.getNamedDispatcher
( String )
This method returns null if the ServletContext cannot return a RequestDispatcher for any reason. true
true
Servlet:JAVADOC:234Servletjavax.servlet.ServletContext.getServlet
( String )

truetruetrue
Servlet:JAVADOC:235Servletjavax.servlet.ServletContext.getServlet
( String )
throws ServletException

truetruetrue
Servlet:JAVADOC:236Enumerationjavax.servlet.ServletContext.getServlets

truetruetrue
Servlet:JAVADOC:237Enumerationjavax.servlet.ServletContext.getServletNames

truetruetrue
Servlet:JAVADOC:238voidjavax.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:239voidjavax.servlet.ServletContext.log
( Exception ,
String )

truetruetrue
Servlet:JAVADOC:240voidjavax.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:241Stringjavax.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:242Stringjavax.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:243Stringjavax.servlet.ServletContext.getInitParameter
( String )
Returns a String containing the value of the named context-wide initialization parameter. true
true
Servlet:JAVADOC:244Stringjavax.servlet.ServletContext.getInitParameter
( String )
Returns null if the parameter does not exist. true
true
Servlet:JAVADOC:245Enumerationjavax.servlet.ServletContext.getInitParameterNames
Returns the names of the context's initialization parameters as an Enumeration of String objects. true
true
Servlet:JAVADOC:246Enumerationjavax.servlet.ServletContext.getInitParameterNames
Returns an empty Enumeration if the context has no initialization parameters. true
true
Servlet:JAVADOC:247Objectjavax.servlet.ServletContext.getAttribute
( String )
Returns the servlet container attribute with the given name.true
true
Servlet:JAVADOC:248Objectjavax.servlet.ServletContext.getAttribute
( String )
Returns null if there is no attribute by that name.true
true
Servlet:JAVADOC:249Enumerationjavax.servlet.ServletContext.getAttributeNames
Returns an Enumeration containing the attribute names available within this servlet context. true
true
Servlet:JAVADOC:250voidjavax.servlet.ServletContext.setAttribute
( String ,
Object )
Binds an object to a given attribute name in this servlet context. true
true
Servlet:JAVADOC:251voidjavax.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:252voidjavax.servlet.ServletContext.setAttribute
( String ,
Object )
If listeners are configured on the ServletContext the container notifies them accordingly. true
true
Servlet:JAVADOC:253voidjavax.servlet.ServletContext.setAttribute
( String ,
Object )
If a null value is passed, the effect is the same as calling removeAttribute(). true
true
Servlet:JAVADOC:254voidjavax.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:255voidjavax.servlet.ServletContext.removeAttribute
( String )
If listeners are configured on the ServletContext the container notifies them accordingly. true
true
Servlet:JAVADOC:256Stringjavax.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:257Stringjavax.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:258ServletContextjavax.servlet.ServletConfig.getServletContext
Returns a reference to the ServletContext in which the caller is executing. true
true
Servlet:JAVADOC:259Stringjavax.servlet.ServletConfig.getInitParameter
( String )
Returns a String containing the value of the named initialization parameter. true
true
Servlet:JAVADOC:260Stringjavax.servlet.ServletConfig.getInitParameter
( String )
Returns null if the parameter does not exist. true
true
Servlet:JAVADOC:261Enumerationjavax.servlet.ServletConfig.getInitParameterNames
Returns the names of the servlet's initialization parameters as an Enumeration of String objects. true
true
Servlet:JAVADOC:262Enumerationjavax.servlet.ServletConfig.getInitParameterNames
Returns an empty Enumeration if the servlet has no initialization parameters. true
true
Servlet:JAVADOC:263voidjavax.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:265voidjavax.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 operationtrue
true
Servlet:JAVADOC:266ServletConfigjavax.servlet.Servlet.getServletConfig
Returns a ServletConfig object, which contains initialization and startup parameters for this servlet. true
true
Servlet:JAVADOC:267voidjavax.servlet.Servlet.service
( ServletRequest ,
ServletResponse )
Called by the servlet container to allow the servlet to respond to a request. true
true
Servlet:JAVADOC:268voidjavax.servlet.Servlet.service
( ServletRequest ,
ServletResponse )
throws ServletException
if an exception occurs that interferes with the servlet's normal operationtrue
true
Servlet:JAVADOC:269voidjavax.servlet.Servlet.service
( ServletRequest ,
ServletResponse )
throws IOException
if an input or output exception occurstrue
false
Servlet:JAVADOC:270Stringjavax.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:271voidjavax.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:272voidjavax.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:273voidjavax.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:274voidjavax.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:275voidjavax.servlet.RequestDispatcher.forward
( ServletRequest ,
ServletResponse )
throws ServletException
if the target resource throws this exceptiontrue
true
Servlet:JAVADOC:276voidjavax.servlet.RequestDispatcher.forward
( ServletRequest ,
ServletResponse )
throws IOException
if the target resource throws this exceptiontrue
true
Servlet:JAVADOC:277voidjavax.servlet.RequestDispatcher.forward
( ServletRequest ,
ServletResponse )
throws IllegalStateException
if the response was already committedtrue
true
Servlet:JAVADOC:278voidjavax.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:279voidjavax.servlet.RequestDispatcher.include
( ServletRequest ,
ServletResponse )
throws ServletException
if the included resource throws this exceptiontrue
true
Servlet:JAVADOC:280voidjavax.servlet.RequestDispatcher.include
( ServletRequest ,
ServletResponse )
throws IOException
if the included resource throws this exceptiontrue
true
Servlet:JAVADOC:281Stringjavax.servlet.FilterConfig.getFilterName
Returns the filter-name of this filter as defined in the deployment descriptor. true
true
Servlet:JAVADOC:282ServletContextjavax.servlet.FilterConfig.getServletContext
Returns a reference to the ServletContext in which the caller is executing. true
true
Servlet:JAVADOC:283Stringjavax.servlet.FilterConfig.getInitParameter
( String )
Returns a String containing the value of the named initialization parameter. true
true
Servlet:JAVADOC:284Stringjavax.servlet.FilterConfig.getInitParameter
( String )
Returns null if the parameter does not exist. true
true
Servlet:JAVADOC:285Enumerationjavax.servlet.FilterConfig.getInitParameterNames
Returns the names of the servlet's initialization parameters as an Enumeration of String objects. true
true
Servlet:JAVADOC:286Enumerationjavax.servlet.FilterConfig.getInitParameterNames
Returns an empty Enumeration if the servlet has no initialization parameters. true
true
Servlet:JAVADOC:287voidjavax.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:288voidjavax.servlet.FilterChain.doFilter
( ServletRequest ,
ServletResponse )
throws IOException

true
false
Servlet:JAVADOC:289voidjavax.servlet.FilterChain.doFilter
( ServletRequest ,
ServletResponse )
throws ServletException

true
false
Servlet:JAVADOC:290voidjavax.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:291voidjavax.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:292voidjavax.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:293voidjavax.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:294voidjavax.servlet.Filter.doFilter
( ServletRequest ,
ServletResponse ,
FilterChain )
throws IOException

true
false
Servlet:JAVADOC:295voidjavax.servlet.Filter.doFilter
( ServletRequest ,
ServletResponse ,
FilterChain )
throws ServletException

true
false
Servlet:JAVADOC:296voidjavax.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:297HttpUtilsjavax.servlet.http.HttpUtils.HttpUtils
Constructs an empty HttpUtils object. truetruetrue
Servlet:JAVADOC:298Hashtablejavax.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. truetruetrue
Servlet:JAVADOC:299Hashtablejavax.servlet.http.HttpUtils.parseQueryString
( String )
throws IllegalArgumentException
if the query string is invalidtruetruetrue
Servlet:JAVADOC:300Hashtablejavax.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. truetruetrue
Servlet:JAVADOC:301Hashtablejavax.servlet.http.HttpUtils.parsePostData
( int ,
ServletInputStream )
throws IllegalArgumentException
if the data sent by the POST method is invalidtruetruetrue
Servlet:JAVADOC:302StringBufferjavax.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. truetruetrue
Servlet:JAVADOC:303HttpSessionEventjavax.servlet.http.HttpSessionEvent.HttpSessionEvent
( HttpSession )
Construct a session event from the given source. true
true
Servlet:JAVADOC:304HttpSessionjavax.servlet.http.HttpSessionEvent.getSession
Return the session that changed. true
true
Servlet:JAVADOC:305HttpSessionBindingEventjavax.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:306HttpSessionBindingEventjavax.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:307HttpSessionjavax.servlet.http.HttpSessionBindingEvent.getSession
Return the session that changed. true
true
Servlet:JAVADOC:308Stringjavax.servlet.http.HttpSessionBindingEvent.getName
Returns the name with which the attribute is bound to or unbound from the session. true
true
Servlet:JAVADOC:309Objectjavax.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:310Objectjavax.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:311Objectjavax.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:312HttpSessionjavax.servlet.http.HttpSessionBindingEvent.{javax.servlet.http.HttpSessionEvent}.getSession
Return the session that changed. true
false
Servlet:JAVADOC:313HttpServletResponseWrapperjavax.servlet.http.HttpServletResponseWrapper.HttpServletResponseWrapper
( HttpServletResponse )
Constructs a response adaptor wrapping the given response. true
true
Servlet:JAVADOC:314voidjavax.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:315booleanjavax.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:316Stringjavax.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:317Stringjavax.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:318Stringjavax.servlet.http.HttpServletResponseWrapper.encodeUrl
( String )
The default behavior of this method is to call encodeUrl(String url) on the wrapped response object. truetruetrue
Servlet:JAVADOC:319Stringjavax.servlet.http.HttpServletResponseWrapper.encodeRedirectUrl
( String )
The default behavior of this method is to return encodeRedirectUrl(String url) on the wrapped response object. truetruetrue
Servlet:JAVADOC:320voidjavax.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:321voidjavax.servlet.http.HttpServletResponseWrapper.sendError
( int ,
String )
throws IOException

true
false
Servlet:JAVADOC:322voidjavax.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:323voidjavax.servlet.http.HttpServletResponseWrapper.sendError
( int )
throws IOException

true
false
Servlet:JAVADOC:324voidjavax.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:325voidjavax.servlet.http.HttpServletResponseWrapper.sendRedirect
( String )
throws IOException

true
false
Servlet:JAVADOC:326voidjavax.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:327voidjavax.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:328voidjavax.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:329voidjavax.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:330voidjavax.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:331voidjavax.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:332voidjavax.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:333voidjavax.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. truetruetrue
Servlet:JAVADOC:334ServletResponsejavax.servlet.http.HttpServletResponseWrapper.{javax.servlet.ServletResponseWrapper}.getResponse
Return the wrapped ServletResponse object. true
true
Servlet:JAVADOC:335voidjavax.servlet.http.HttpServletResponseWrapper.{javax.servlet.ServletResponseWrapper}.setResponse
( ServletResponse )
Sets the response being wrapped. true
true
Servlet:JAVADOC:336voidjavax.servlet.http.HttpServletResponseWrapper.setResponse
( ServletResponse )
throws IllegalArgumentException
if the response is null.true
true
Servlet:JAVADOC:337voidjavax.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:338Stringjavax.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:339ServletOutputStreamjavax.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:340ServletOutputStreamjavax.servlet.http.HttpServletResponseWrapper.getOutputStream

throws IOException

true
false
Servlet:JAVADOC:341PrintWriterjavax.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:342PrintWriterjavax.servlet.http.HttpServletResponseWrapper.getWriter

throws IOException

true
false
Servlet:JAVADOC:343voidjavax.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:344voidjavax.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:345Stringjavax.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:346voidjavax.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:347intjavax.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:348voidjavax.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:349voidjavax.servlet.http.HttpServletResponseWrapper.flushBuffer

throws IOException

true
false
Servlet:JAVADOC:350booleanjavax.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:351voidjavax.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:352voidjavax.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:353voidjavax.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:354Localejavax.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:355HttpServletRequestWrapperjavax.servlet.http.HttpServletRequestWrapper.HttpServletRequestWrapper
( HttpServletRequest )
Constructs a request object wrapping the given request. true
true
Servlet:JAVADOC:356Stringjavax.servlet.http.HttpServletRequestWrapper.getAuthType
The default behavior of this method is to return getAuthType() on the wrapped request object. true
true
Servlet:JAVADOC:357Cookie[]javax.servlet.http.HttpServletRequestWrapper.getCookies
The default behavior of this method is to return getCookies() on the wrapped request object. true
true
Servlet:JAVADOC:358longjavax.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:359Stringjavax.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:360Enumerationjavax.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:361Enumerationjavax.servlet.http.HttpServletRequestWrapper.getHeaderNames
The default behavior of this method is to return getHeaderNames() on the wrapped request object. true
true
Servlet:JAVADOC:362intjavax.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:363Stringjavax.servlet.http.HttpServletRequestWrapper.getMethod
The default behavior of this method is to return getMethod() on the wrapped request object. true
true
Servlet:JAVADOC:364Stringjavax.servlet.http.HttpServletRequestWrapper.getPathInfo
The default behavior of this method is to return getPathInfo() on the wrapped request object. true
true
Servlet:JAVADOC:365Stringjavax.servlet.http.HttpServletRequestWrapper.getPathTranslated
The default behavior of this method is to return getPathTranslated() on the wrapped request object. true
true
Servlet:JAVADOC:366Stringjavax.servlet.http.HttpServletRequestWrapper.getContextPath
The default behavior of this method is to return getContextPath() on the wrapped request object. true
true
Servlet:JAVADOC:367Stringjavax.servlet.http.HttpServletRequestWrapper.getQueryString
The default behavior of this method is to return getQueryString() on the wrapped request object. true
true
Servlet:JAVADOC:368Stringjavax.servlet.http.HttpServletRequestWrapper.getRemoteUser
The default behavior of this method is to return getRemoteUser() on the wrapped request object. true
true
Servlet:JAVADOC:369booleanjavax.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:370Principaljavax.servlet.http.HttpServletRequestWrapper.getUserPrincipal
The default behavior of this method is to return getUserPrincipal() on the wrapped request object. true
true
Servlet:JAVADOC:371Stringjavax.servlet.http.HttpServletRequestWrapper.getRequestedSessionId
The default behavior of this method is to return getRequestedSessionId() on the wrapped request object. true
true
Servlet:JAVADOC:372Stringjavax.servlet.http.HttpServletRequestWrapper.getRequestURI
The default behavior of this method is to return getRequestURI() on the wrapped request object. true
true
Servlet:JAVADOC:373StringBufferjavax.servlet.http.HttpServletRequestWrapper.getRequestURL
The default behavior of this method is to return getRequestURL() on the wrapped request object. true
true
Servlet:JAVADOC:374Stringjavax.servlet.http.HttpServletRequestWrapper.getServletPath
The default behavior of this method is to return getServletPath() on the wrapped request object. true
true
Servlet:JAVADOC:375HttpSessionjavax.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:376HttpSessionjavax.servlet.http.HttpServletRequestWrapper.getSession
The default behavior of this method is to return getSession() on the wrapped request object. true
true
Servlet:JAVADOC:377booleanjavax.servlet.http.HttpServletRequestWrapper.isRequestedSessionIdValid
The default behavior of this method is to return isRequestedSessionIdValid() on the wrapped request object. true
true
Servlet:JAVADOC:378booleanjavax.servlet.http.HttpServletRequestWrapper.isRequestedSessionIdFromCookie
The default behavior of this method is to return isRequestedSessionIdFromCookie() on the wrapped request object. true
true
Servlet:JAVADOC:379booleanjavax.servlet.http.HttpServletRequestWrapper.isRequestedSessionIdFromURL
The default behavior of this method is to return isRequestedSessionIdFromURL() on the wrapped request object. true
true
Servlet:JAVADOC:380booleanjavax.servlet.http.HttpServletRequestWrapper.isRequestedSessionIdFromUrl
The default behavior of this method is to return isRequestedSessionIdFromUrl() on the wrapped request object. truetruetrue
Servlet:JAVADOC:381ServletRequestjavax.servlet.http.HttpServletRequestWrapper.{javax.servlet.ServletRequestWrapper}.getRequest
Return the wrapped request object. true
true
Servlet:JAVADOC:382voidjavax.servlet.http.HttpServletRequestWrapper.{javax.servlet.ServletRequestWrapper}.setRequest
( ServletRequest )
Sets the request object being wrapped. true
true
Servlet:JAVADOC:383voidjavax.servlet.http.HttpServletRequestWrapper.setRequest
( ServletRequest )
throws IllegalArgumentException
if the request is null.true
true
Servlet:JAVADOC:384Objectjavax.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:385Enumerationjavax.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:386Stringjavax.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:387voidjavax.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:388voidjavax.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 invalidtrue
true
Servlet:JAVADOC:389intjavax.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:390Stringjavax.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:391ServletInputStreamjavax.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:392ServletInputStreamjavax.servlet.http.HttpServletRequestWrapper.getInputStream

throws IOException

true
false
Servlet:JAVADOC:393Stringjavax.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:394Mapjavax.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:395Enumerationjavax.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:396String[]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:397Stringjavax.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:398Stringjavax.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:399Stringjavax.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:400intjavax.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:401BufferedReaderjavax.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:402BufferedReaderjavax.servlet.http.HttpServletRequestWrapper.getReader

throws IOException

true
false
Servlet:JAVADOC:403Stringjavax.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:404Stringjavax.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:405voidjavax.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:406voidjavax.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:407Localejavax.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:408Enumerationjavax.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:409booleanjavax.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:410RequestDispatcherjavax.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:411Stringjavax.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. truetruetrue
Servlet:JAVADOC:412HttpServletjavax.servlet.http.HttpServlet.HttpServlet
Does nothing, because this is an abstract class. true
false
Servlet:JAVADOC:413voidjavax.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:414voidjavax.servlet.http.HttpServlet.service
( ServletRequest ,
ServletResponse )
throws ServletException
if the request for the TRACE cannot be handledtrue
false
Servlet:JAVADOC:415voidjavax.servlet.http.HttpServlet.service
( ServletRequest ,
ServletResponse )
throws IOException
if an input or output error occurs while the servlet is handling the TRACE requesttrue
false
Servlet:JAVADOC:416voidjavax.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:417Stringjavax.servlet.http.HttpServlet.{javax.servlet.GenericServlet}.getInitParameter
( String )
Returns a String containing the value of the named initialization parameter. true
true
Servlet:JAVADOC:418Stringjavax.servlet.http.HttpServlet.{javax.servlet.GenericServlet}.getInitParameter
( String )
Returns null if the parameter does not exist. true
true
Servlet:JAVADOC:419Enumerationjavax.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:420Enumerationjavax.servlet.http.HttpServlet.{javax.servlet.GenericServlet}.getInitParameterNames
Returns an empty Enumeration if the servlet has no initialization parameters. true
true
Servlet:JAVADOC:421ServletConfigjavax.servlet.http.HttpServlet.{javax.servlet.GenericServlet}.getServletConfig
Returns this servlet's ServletConfig object. true
true
Servlet:JAVADOC:422ServletContextjavax.servlet.http.HttpServlet.{javax.servlet.GenericServlet}.getServletContext
Returns a reference to the ServletContext in which this servlet is running. true
true
Servlet:JAVADOC:423Stringjavax.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:424voidjavax.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:425voidjavax.servlet.http.HttpServlet.init
( ServletConfig )
throws ServletException
if an exception occurs that interrupts the servlet's normal operationtrue
false
Servlet:JAVADOC:426voidjavax.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:427voidjavax.servlet.http.HttpServlet.init

throws ServletException
if an exception occurs that interrupts the servlet's normal operationtrue
false
Servlet:JAVADOC:428voidjavax.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:429voidjavax.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:430voidjavax.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:431voidjavax.servlet.http.HttpServlet.service
( ServletRequest ,
ServletResponse )
throws ServletException
if an exception occurs that interferes with the servlet's normal operation occurredtrue
false
Servlet:JAVADOC:432voidjavax.servlet.http.HttpServlet.service
( ServletRequest ,
ServletResponse )
throws IOException
if an input or output exception occurstrue
false
Servlet:JAVADOC:433Stringjavax.servlet.http.HttpServlet.{javax.servlet.GenericServlet}.getServletName
Returns the name of this servlet instance. true
true
Servlet:JAVADOC:434Cookiejavax.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:435voidjavax.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:436Stringjavax.servlet.http.Cookie.getComment
Returns the comment describing the purpose of this cookie. true
true
Servlet:JAVADOC:437Stringjavax.servlet.http.Cookie.getComment
Returns null if the cookie has no comment. true
true
Servlet:JAVADOC:438voidjavax.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:439Stringjavax.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:440voidjavax.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:441voidjavax.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:442voidjavax.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:443intjavax.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:444voidjavax.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:445Stringjavax.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:446voidjavax.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:447booleanjavax.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:448Stringjavax.servlet.http.Cookie.getName
Returns the name of the cookie. The name cannot be changed after creation. true
true
Servlet:JAVADOC:449voidjavax.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:450Stringjavax.servlet.http.Cookie.getValue
Returns the value of the cookie. true
true
Servlet:JAVADOC:451intjavax.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:452voidjavax.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:453Objectjavax.servlet.http.Cookie.clone
Overrides the standard java.lang.Object.clone method to return a copy of this cookie. true
true
Servlet:JAVADOC:454voidjavax.servlet.http.HttpSessionListener.sessionCreated
( HttpSessionEvent )
Notification that a session was created. true
true
Servlet:JAVADOC:455voidjavax.servlet.http.HttpSessionListener.sessionDestroyed
( HttpSessionEvent )
Notification that a session was invalidated. true
true
Servlet:JAVADOC:456HttpSessionjavax.servlet.http.HttpSessionContext.getSession
( String )

truetruetrue
Servlet:JAVADOC:457Enumerationjavax.servlet.http.HttpSessionContext.getIds

truetruetrue
Servlet:JAVADOC:458voidjavax.servlet.http.HttpSessionBindingListener.valueBound
( HttpSessionBindingEvent )
Notifies the object that it is being bound to a session and identifies the session. true
true
Servlet:JAVADOC:459voidjavax.servlet.http.HttpSessionBindingListener.valueUnbound
( HttpSessionBindingEvent )
Notifies the object that it is being unbound from a session and identifies the session. true
true
Servlet:JAVADOC:460voidjavax.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:461voidjavax.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:462voidjavax.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:463voidjavax.servlet.http.HttpSessionActivationListener.sessionWillPassivate
( HttpSessionEvent )
Notification that the session is about to be passivated. true
false
Servlet:JAVADOC:464voidjavax.servlet.http.HttpSessionActivationListener.sessionDidActivate
( HttpSessionEvent )
Notification that the session has just been activated. true
false
Servlet:JAVADOC:465longjavax.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:466longjavax.servlet.http.HttpSession.getCreationTime

throws IllegalStateException
if this method is called on an invalidated sessiontrue
true
Servlet:JAVADOC:467Stringjavax.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:469longjavax.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:470longjavax.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:471longjavax.servlet.http.HttpSession.getLastAccessedTime

throws IllegalStateException
if this method is called on an invalidated sessiontrue
true
Servlet:JAVADOC:472ServletContextjavax.servlet.http.HttpSession.getServletContext
Returns the ServletContext to which this session belongs. true
true
Servlet:JAVADOC:473voidjavax.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:474intjavax.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:475HttpSessionContextjavax.servlet.http.HttpSession.getSessionContext

truetruetrue
Servlet:JAVADOC:476Objectjavax.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:477Objectjavax.servlet.http.HttpSession.getAttribute
( String )
throws IllegalStateException
if this method is called on an invalidated sessiontrue
true
Servlet:JAVADOC:478Objectjavax.servlet.http.HttpSession.getValue
( String )

truetruetrue
Servlet:JAVADOC:479Objectjavax.servlet.http.HttpSession.getValue
( String )
throws IllegalStateException
if this method is called on an invalidated sessiontruetruetrue
Servlet:JAVADOC:480Enumerationjavax.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:481Enumerationjavax.servlet.http.HttpSession.getAttributeNames

throws IllegalStateException
if this method is called on an invalidated sessiontrue
true
Servlet:JAVADOC:482String[]javax.servlet.http.HttpSession.getValueNames

truetruetrue
Servlet:JAVADOC:483String[]javax.servlet.http.HttpSession.getValueNames

throws IllegalStateException
if this method is called on an invalidated sessiontruetruetrue
Servlet:JAVADOC:484voidjavax.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:485voidjavax.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:486voidjavax.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:487voidjavax.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:488voidjavax.servlet.http.HttpSession.setAttribute
( String ,
Object )
throws IllegalStateException
if this method is called on an invalidated sessiontrue
true
Servlet:JAVADOC:489voidjavax.servlet.http.HttpSession.putValue
( String ,
Object )

truetruetrue
Servlet:JAVADOC:490voidjavax.servlet.http.HttpSession.putValue
( String ,
Object )
throws IllegalStateException
if this method is called on an invalidated sessiontruetruetrue
Servlet:JAVADOC:491voidjavax.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:492voidjavax.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:493voidjavax.servlet.http.HttpSession.removeAttribute
( String )
throws IllegalStateException
if this method is called on an invalidated sessiontrue
true
Servlet:JAVADOC:494voidjavax.servlet.http.HttpSession.removeValue
( String )

truetruetrue
Servlet:JAVADOC:495voidjavax.servlet.http.HttpSession.removeValue
( String )
throws IllegalStateException
if this method is called on an invalidated sessiontruetruetrue
Servlet:JAVADOC:496voidjavax.servlet.http.HttpSession.invalidate
Invalidates this session then unbinds any objects bound to it. true
true
Servlet:JAVADOC:497voidjavax.servlet.http.HttpSession.invalidate

throws IllegalStateException
if this method is called on an already invalidated sessiontrue
true
Servlet:JAVADOC:498booleanjavax.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:499booleanjavax.servlet.http.HttpSession.isNew

throws IllegalStateException
if this method is called on an already invalidated sessiontrue
true
Servlet:JAVADOC:502voidjavax.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:503booleanjavax.servlet.http.HttpServletResponse.containsHeader
( String )
Returns a boolean indicating whether the named response header has already been set. true
true
Servlet:JAVADOC:504Stringjavax.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:505Stringjavax.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:506Stringjavax.servlet.http.HttpServletResponse.encodeUrl
( String )

truetruetrue
Servlet:JAVADOC:507Stringjavax.servlet.http.HttpServletResponse.encodeRedirectUrl
( String )

truetruetrue
Servlet:JAVADOC:508voidjavax.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:509voidjavax.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:510voidjavax.servlet.http.HttpServletResponse.sendError
( int ,
String )
throws IOException
If an input or output exception occurstrue
false
Servlet:JAVADOC:511voidjavax.servlet.http.HttpServletResponse.sendError
( int ,
String )
throws IllegalStateException
If the response was committedtrue
true
Servlet:JAVADOC:512voidjavax.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:513voidjavax.servlet.http.HttpServletResponse.sendError
( int )
throws IOException
If an input or output exception occurstrue
false
Servlet:JAVADOC:514voidjavax.servlet.http.HttpServletResponse.sendError
( int )
throws IllegalStateException
If the response was committed before this method calltrue
true
Servlet:JAVADOC:515voidjavax.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:516voidjavax.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:518voidjavax.servlet.http.HttpServletResponse.sendRedirect
( String )
throws IOException
If an input or output exception occurstrue
false
Servlet:JAVADOC:519voidjavax.servlet.http.HttpServletResponse.sendRedirect
( String )
throws IllegalStateException
If the response was committedtrue
true
Servlet:JAVADOC:520voidjavax.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:521voidjavax.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:522voidjavax.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:523voidjavax.servlet.http.HttpServletResponse.setHeader
( String ,
String )
Sets a response header with the given name and value.true
true
Servlet:JAVADOC:524voidjavax.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:525voidjavax.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:526voidjavax.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:527voidjavax.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:528voidjavax.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:529voidjavax.servlet.http.HttpServletResponse.setStatus
( int ,
String )

truetruetrue
Servlet:JAVADOC:530Stringjavax.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:531Cookie[]javax.servlet.http.HttpServletRequest.getCookies
Returns an array containing all of the Cookie objects the client sent with this request. true
true
Servlet:JAVADOC:532Cookie[]javax.servlet.http.HttpServletRequest.getCookies
This method returns null if no cookies were sent. true
true
Servlet:JAVADOC:533longjavax.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:534longjavax.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:535longjavax.servlet.http.HttpServletRequest.getDateHeader
( String )
throws IllegalArgumentException
If the header value can't be converted to a datetrue
true
Servlet:JAVADOC:536Stringjavax.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:537Stringjavax.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:538Enumerationjavax.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:539Enumerationjavax.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:540Enumerationjavax.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:541Enumerationjavax.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:542intjavax.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:543intjavax.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:544intjavax.servlet.http.HttpServletRequest.getIntHeader
( String )
throws NumberFormatException
If the header value can't be converted to an inttrue
true
Servlet:JAVADOC:545Stringjavax.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:546Stringjavax.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:547Stringjavax.servlet.http.HttpServletRequest.getPathInfo
This method returns null if there was no extra path information. true
true
Servlet:JAVADOC:548Stringjavax.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:549Stringjavax.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:550Stringjavax.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:551Stringjavax.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:552Stringjavax.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:553Stringjavax.servlet.http.HttpServletRequest.getQueryString
This method returns null if the URL does not have a query string. true
true
Servlet:JAVADOC:554Stringjavax.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:555booleanjavax.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:556booleanjavax.servlet.http.HttpServletRequest.isUserInRole
( String )
If the user has not been authenticated, the method returns false. true
true
Servlet:JAVADOC:557Principaljavax.servlet.http.HttpServletRequest.getUserPrincipal
Returns a java.security.Principal object containing the name of the current authenticated user. true
true
Servlet:JAVADOC:558Principaljavax.servlet.http.HttpServletRequest.getUserPrincipal
If the user has not been authenticated, the method returns null. true
true
Servlet:JAVADOC:559Stringjavax.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:560Stringjavax.servlet.http.HttpServletRequest.getRequestedSessionId
If the request did not specify a session ID, this method returns null. true
true
Servlet:JAVADOC:561Stringjavax.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:562StringBufferjavax.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:563Stringjavax.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:564Stringjavax.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:565HttpSessionjavax.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:566HttpSessionjavax.servlet.http.HttpServletRequest.getSession
( boolean )
If create is false and the request has no valid HttpSession, this method returns null. true
true
Servlet:JAVADOC:567HttpSessionjavax.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:568booleanjavax.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:569booleanjavax.servlet.http.HttpServletRequest.isRequestedSessionIdFromCookie
Checks whether the requested session ID came in as a cookie. true
true
Servlet:JAVADOC:570booleanjavax.servlet.http.HttpServletRequest.isRequestedSessionIdFromURL
Checks whether the requested session ID came in as part of the request URL. true
true
Servlet:JAVADOC:571booleanjavax.servlet.http.HttpServletRequest.isRequestedSessionIdFromUrl

truetruetrue
Servlet:JAVADOC:572Objectjavax.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:573Enumerationjavax.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:574Stringjavax.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:575intjavax.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:576Stringjavax.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:577ServletInputStreamjavax.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:578ServletInputStreamjavax.servlet.http.HttpServletRequest.{javax.servlet.ServletRequest}.getInputStream

throws IOException
if an input or output exception occurredtrue
false
Servlet:JAVADOC:579ServletInputStreamjavax.servlet.http.HttpServletRequest.{javax.servlet.ServletRequest}.getInputStream

throws IllegalStateException
if the {@link #getReader} method has already been called for this requesttrue
true
Servlet:JAVADOC:580Localejavax.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:581Enumerationjavax.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:582Stringjavax.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:583Mapjavax.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:584Enumerationjavax.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:585String[]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:586Stringjavax.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:587BufferedReaderjavax.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:588BufferedReaderjavax.servlet.http.HttpServletRequest.{javax.servlet.ServletRequest}.getReader

throws IOException
if an input or output exception occurredtrue
false
Servlet:JAVADOC:589BufferedReaderjavax.servlet.http.HttpServletRequest.{javax.servlet.ServletRequest}.getReader

throws UnsupportedEncodingException
if the character set encoding used is not supported and the text cannot be decodedtrue
true
Servlet:JAVADOC:590BufferedReaderjavax.servlet.http.HttpServletRequest.{javax.servlet.ServletRequest}.getReader

throws IllegalStateException
if {@link #getInputStream} method has been called on this requesttrue
true
Servlet:JAVADOC:591Stringjavax.servlet.http.HttpServletRequest.{javax.servlet.ServletRequest}.getRealPath
( String )

truetruetrue
Servlet:JAVADOC:592Stringjavax.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:593Stringjavax.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:594RequestDispatcherjavax.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:595Stringjavax.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:596Stringjavax.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:597intjavax.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:598booleanjavax.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:599voidjavax.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:600voidjavax.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:601voidjavax.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:602voidjavax.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 invalidtrue
true
Servlet:JAVADOC:603voidjavax.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:604voidjavax.servlet.http.HttpServletResponse.{javax.servlet.ServletResponse}.flushBuffer

throws IOException

true
false
Servlet:JAVADOC:605intjavax.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:606Stringjavax.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:607Stringjavax.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:608Localejavax.servlet.http.HttpServletResponse.{javax.servlet.ServletResponse}.getLocale
Returns the locale assigned to the response. true
true
Servlet:JAVADOC:609ServletOutputStreamjavax.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:610ServletOutputStreamjavax.servlet.http.HttpServletResponse.{javax.servlet.ServletResponse}.getOutputStream

throws IOException
if an input or output exception occurredtrue
false
Servlet:JAVADOC:611ServletOutputStreamjavax.servlet.http.HttpServletResponse.{javax.servlet.ServletResponse}.getOutputStream

throws IllegalStateException
if the getWriter method has been called on this responsetrue
true
Servlet:JAVADOC:612PrintWriterjavax.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:613PrintWriterjavax.servlet.http.HttpServletResponse.{javax.servlet.ServletResponse}.getWriter

throws IOException
if an input or output exception occurredtrue
false
Servlet:JAVADOC:614PrintWriterjavax.servlet.http.HttpServletResponse.{javax.servlet.ServletResponse}.getWriter

throws UnsupportedEncodingException
if the charset specified in setContentType cannot be usedtrue
false
Servlet:JAVADOC:615PrintWriterjavax.servlet.http.HttpServletResponse.{javax.servlet.ServletResponse}.getWriter

throws IllegalStateException
if the getOutputStream method has already been called for this response objecttrue
true
Servlet:JAVADOC:616booleanjavax.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:617voidjavax.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:618voidjavax.servlet.http.HttpServletResponse.{javax.servlet.ServletResponse}.reset

throws IllegalStateException
if the response has already been committedtrue
true
Servlet:JAVADOC:619voidjavax.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:620voidjavax.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:621voidjavax.servlet.http.HttpServletResponse.{javax.servlet.ServletResponse}.setBufferSize
( int )
throws IllegalStateException
if this method is called after content has been writtentrue
true
Servlet:JAVADOC:622voidjavax.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:623voidjavax.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:624voidjavax.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:625voidjavax.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:626HttpServletRequestWrapperjavax.servlet.http.HttpServletRequestWrapper.HttpServletRequestWrapper
( HttpServletRequest )
throws IllegalStateException
If the request is null.true
true
Servlet:JAVADOC:627intjavax.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:628Cookiejavax.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:629Stringjavax.servlet.http.HttpServletRequest.getLocalName
Returns the host name of the Internet Protocol (IP) interface on which the request was received. true
true
Servlet:JAVADOC:630intjavax.servlet.http.HttpServletRequest.getLocalPort
Returns the Internet Protocol (IP) port number of the interface on which the request was received. true
true
Servlet:JAVADOC:631intjavax.servlet.http.HttpServletRequestWrapper.getLocalPort
The default behavior of this method is to return getLocalPort() on the wrapped request object. true
true
Servlet:JAVADOC:632Stringjavax.servlet.ServletRequest.getLocalName
Returns the host name of the Internet Protocol (IP) interface on which the request was received. true
true
Servlet:JAVADOC:633Stringjavax.servlet.ServletRequestWrapper.getLocalName
The default behavior of this method is to return getLocalName() on the wrapped request object. true
true
Servlet:JAVADOC:634Stringjavax.servlet.http.HttpServletRequestWrapper.getLocalName
The default behavior of this method is to return getLocalName() on the wrapped request object. true
true
Servlet:JAVADOC:635intjavax.servlet.ServletRequest.getLocalPort
Returns the Internet Protocol (IP) port number of the interface on which the request was received. true
true
Servlet:JAVADOC:636intjavax.servlet.ServletRequestWrapper.getLocalPort
The default behavior of this method is to return getLocalPort() on the wrapped request object. true
true
Servlet:JAVADOC:637Stringjavax.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