Alphabetical Index

A B C D E F G H I J L P R S U V

A

addCookie(javax.servlet.http.Cookie) - method in class javax.servlet.http.HttpServletResponse
Adds the specified cookie to the response.
The default behavior of this method is to call addCookie(Cookie cookie) on the wrapped response object.
addDateHeader(String,long) - method in class javax.servlet.http.HttpServletResponse
Adds a response header with the given name and date-value.
addDateHeader(String,long) - method in class javax.servlet.http.HttpServletResponseWrapper
The default behavior of this method is to call addDateHeader(String name, long date) on the wrapped response object.
addHeader(String,String) - method in class javax.servlet.http.HttpServletResponse
Adds a response header with the given name and value.
addHeader(String,String) - method in class javax.servlet.http.HttpServletResponseWrapper
The default behavior of this method is to return addHeader(String name, String value) on the wrapped response object.
addIntHeader(String,int) - method in class javax.servlet.http.HttpServletResponse
Adds a response header with the given name and integer value.
addIntHeader(String,int) - method in class javax.servlet.http.HttpServletResponseWrapper
The default behavior of this method is to call addIntHeader(String name, int value) on the wrapped response object.
Notification that an attribute has been added to a session.
Notification that a new attribute was added to the servlet context.
Notification that a new attribute was added to the servlet request.
Notification that an attribute has been removed from a session.
Notification that an existing attribute has been removed from the servlet context.
Notification that an existing attribute has been removed from the servlet request.
Notification that an attribute has been replaced in a session.
Notification that an attribute on the servlet context has been replaced.
Notification that an attribute was replaced on the servlet request.

B

BASIC_AUTH - static field in class javax.servlet.http.HttpServletRequest
String identifier for Basic authentication.

C

CLIENT_CERT_AUTH - static field in class javax.servlet.http.HttpServletRequest
String identifier for Client Certificate authentication.
clone() - method in class javax.servlet.http.Cookie
Overrides the standard java.lang.Object.clone method to return a copy of this cookie.
containsHeader(String) - method in class javax.servlet.http.HttpServletResponse
Returns a boolean indicating whether the named response header has already been set.
containsHeader(String) - method in class javax.servlet.http.HttpServletResponseWrapper
The default behavior of this method is to call containsHeader(String name) on the wrapped response object.
Notification that the servlet context is about to be shut down.
Notification that the web application initialization process is starting.
Cookie - class javax.servlet.http.Cookie
Creates a cookie, a small amount of information sent by a servlet to a Web browser, saved by the browser, and later sent back to the server.
Cookie(String,String) - constructor for class javax.servlet.http.Cookie
Constructs a cookie with a specified name and value.

D

destroy() - method in class javax.servlet.Filter
Called by the web container to indicate to a filter that it is being taken out of service.
destroy() - method in class javax.servlet.GenericServlet
Called by the servlet container to indicate to a servlet that the servlet is being taken out of service.
destroy() - method in class javax.servlet.Servlet
Called by the servlet container to indicate to a servlet that the servlet is being taken out of service.
DIGEST_AUTH - static field in class javax.servlet.http.HttpServletRequest
String identifier for Digest authentication.
Called by the server (via the service method) to allow a servlet to handle a DELETE request.
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.
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.
Called by the server (via the service method) to allow a servlet to handle a GET request.
Receives an HTTP HEAD request from the protected service method and handles the request.
Called by the server (via the service method) to allow a servlet to handle a OPTIONS request.
Called by the server (via the service method) to allow a servlet to handle a POST request.
Called by the server (via the service method) to allow a servlet to handle a PUT request.
Called by the server (via the service method) to allow a servlet to handle a TRACE request.

E

encodeRedirectUrl(String) - method in class javax.servlet.http.HttpServletResponse
encodeRedirectUrl(String) - method in class javax.servlet.http.HttpServletResponseWrapper
The default behavior of this method is to return encodeRedirectUrl(String url) on the wrapped response object.
encodeUrl(String) - method in class javax.servlet.http.HttpServletResponse
encodeUrl(String) - method in class javax.servlet.http.HttpServletResponseWrapper
The default behavior of this method is to call encodeUrl(String url) on the wrapped response object.

F

Filter - interface javax.servlet.Filter
A filter is an object that performs filtering tasks on either the request to a resource (a servlet or static content), or on the response from a resource, or both.
FilterChain - interface javax.servlet.FilterChain
A FilterChain is an object provided by the servlet container to the developer giving a view into the invocation chain of a filtered request for a resource.
FilterConfig - interface javax.servlet.FilterConfig
A filter configuration object used by a servlet container to pass information to a filter during initialization.
flushBuffer() - method in class javax.servlet.ServletResponse
Forces any content in the buffer to be written to the client.
flushBuffer() - method in class javax.servlet.ServletResponseWrapper
The default behavior of this method is to call flushBuffer() on the wrapped response object.
FORM_AUTH - static field in class javax.servlet.http.HttpServletRequest
String identifier for Form authentication.
Forwards a request from a servlet to another resource (servlet, JSP file, or HTML file) on the server.

G

GenericServlet - class javax.servlet.GenericServlet
Defines a generic, protocol-independent servlet.
GenericServlet() - constructor for class javax.servlet.GenericServlet
Does nothing.
getAttribute(String) - method in class javax.servlet.http.HttpSession
Returns the object bound with the specified name in this session, or null if no object is bound under the name.
getAttribute(String) - method in class javax.servlet.ServletContext
Returns the servlet container attribute with the given name, or null if there is no attribute by that name.
getAttribute(String) - method in class javax.servlet.ServletRequest
Returns the value of the named attribute as an Object, or null if no attribute of the given name exists.
getAttribute(String) - method in class javax.servlet.ServletRequestWrapper
The default behavior of this method is to call getAttribute(String name) on the wrapped request object.
getAttributeNames() - method in class javax.servlet.http.HttpSession
Returns an Enumeration of String objects containing the names of all the objects bound to this session.
getAttributeNames() - method in class javax.servlet.ServletContext
Returns an Enumeration containing the attribute names available within this servlet context.
getAttributeNames() - method in class javax.servlet.ServletRequest
Returns an Enumeration containing the names of the attributes available to this request.
getAttributeNames() - method in class javax.servlet.ServletRequestWrapper
The default behavior of this method is to return getAttributeNames() on the wrapped request object.
getAuthType() - method in class javax.servlet.http.HttpServletRequest
Returns the name of the authentication scheme used to protect the servlet.
getAuthType() - method in class javax.servlet.http.HttpServletRequestWrapper
The default behavior of this method is to return getAuthType() on the wrapped request object.
getBufferSize() - method in class javax.servlet.ServletResponse
Returns the actual buffer size used for the response.
getBufferSize() - method in class javax.servlet.ServletResponseWrapper
The default behavior of this method is to return getBufferSize() on the wrapped response object.
getCharacterEncoding() - method in class javax.servlet.ServletRequest
Returns the name of the character encoding used in the body of this request.
getCharacterEncoding() - method in class javax.servlet.ServletRequestWrapper
The default behavior of this method is to return getCharacterEncoding() on the wrapped request object.
getCharacterEncoding() - method in class javax.servlet.ServletResponse
Returns the name of the character encoding (MIME charset) used for the body sent in this response.
getCharacterEncoding() - method in class javax.servlet.ServletResponseWrapper
The default behavior of this method is to return getCharacterEncoding() on the wrapped response object.
getComment() - method in class javax.servlet.http.Cookie
Returns the comment describing the purpose of this cookie, or null if the cookie has no comment.
getContentLength() - method in class javax.servlet.ServletRequest
Returns the length, in bytes, of the request body and made available by the input stream, or -1 if the length is not known.
getContentLength() - method in class javax.servlet.ServletRequestWrapper
The default behavior of this method is to return getContentLength() on the wrapped request object.
getContentType() - method in class javax.servlet.ServletRequest
Returns the MIME type of the body of the request, or null if the type is not known.
getContentType() - method in class javax.servlet.ServletRequestWrapper
The default behavior of this method is to return getContentType() on the wrapped request object.
getContentType() - method in class javax.servlet.ServletResponse
Returns the content type used for the MIME body sent in this response.
getContentType() - method in class javax.servlet.ServletResponseWrapper
The default behavior of this method is to return getContentType() on the wrapped response object.
getContext(String) - method in class javax.servlet.ServletContext
Returns a ServletContext object that corresponds to a specified URL on the server.
getContextPath() - method in class javax.servlet.http.HttpServletRequest
Returns the portion of the request URI that indicates the context of the request.
getContextPath() - method in class javax.servlet.http.HttpServletRequestWrapper
The default behavior of this method is to return getContextPath() on the wrapped request object.
getCookies() - method in class javax.servlet.http.HttpServletRequest
Returns an array containing all of the Cookie objects the client sent with this request.
getCookies() - method in class javax.servlet.http.HttpServletRequestWrapper
The default behavior of this method is to return getCookies() on the wrapped request object.
getCreationTime() - method in class javax.servlet.http.HttpSession
Returns the time when this session was created, measured in milliseconds since midnight January 1, 1970 GMT.
getDateHeader(String) - method in class javax.servlet.http.HttpServletRequest
Returns the value of the specified request header as a long value that represents a Date object.
getDateHeader(String) - method in class javax.servlet.http.HttpServletRequestWrapper
The default behavior of this method is to return getDateHeader(String name) on the wrapped request object.
getDomain() - method in class javax.servlet.http.Cookie
Returns the domain name set for this cookie.
getFilterName() - method in class javax.servlet.FilterConfig
Returns the filter-name of this filter as defined in the deployment descriptor.
getHeader(String) - method in class javax.servlet.http.HttpServletRequest
Returns the value of the specified request header as a String.
getHeader(String) - method in class javax.servlet.http.HttpServletRequestWrapper
The default behavior of this method is to return getHeader(String name) on the wrapped request object.
getHeaderNames() - method in class javax.servlet.http.HttpServletRequest
Returns an enumeration of all the header names this request contains.
getHeaderNames() - method in class javax.servlet.http.HttpServletRequestWrapper
The default behavior of this method is to return getHeaderNames() on the wrapped request object.
getHeaders(String) - method in class javax.servlet.http.HttpServletRequest
Returns all the values of the specified request header as an Enumeration of String objects.
getHeaders(String) - method in class javax.servlet.http.HttpServletRequestWrapper
The default behavior of this method is to return getHeaders(String name) on the wrapped request object.
getId() - method in class javax.servlet.http.HttpSession
Returns a string containing the unique identifier assigned to this session.
getIds() - method in class javax.servlet.http.HttpSessionContext
getInitParameter(String) - method in class javax.servlet.FilterConfig
Returns a String containing the value of the named initialization parameter, or null if the parameter does not exist.
getInitParameter(String) - method in class javax.servlet.GenericServlet
Returns a String containing the value of the named initialization parameter, or null if the parameter does not exist.
getInitParameter(String) - method in class javax.servlet.ServletConfig
Returns a String containing the value of the named initialization parameter, or null if the parameter does not exist.
getInitParameter(String) - method in class javax.servlet.ServletContext
Returns a String containing the value of the named context-wide initialization parameter, or null if the parameter does not exist.
getInitParameterNames() - method in class javax.servlet.FilterConfig
Returns the names of the filter's initialization parameters as an Enumeration of String objects, or an empty Enumeration if the filter has no initialization parameters.
getInitParameterNames() - method in class javax.servlet.GenericServlet
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.
getInitParameterNames() - method in class javax.servlet.ServletConfig
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.
getInitParameterNames() - method in class javax.servlet.ServletContext
Returns the names of the context's initialization parameters as an Enumeration of String objects, or an empty Enumeration if the context has no initialization parameters.
getInputStream() - method in class javax.servlet.ServletRequest
Retrieves the body of the request as binary data using a ServletInputStream.
getInputStream() - method in class javax.servlet.ServletRequestWrapper
The default behavior of this method is to return getInputStream() on the wrapped request object.
getIntHeader(String) - method in class javax.servlet.http.HttpServletRequest
Returns the value of the specified request header as an int.
getIntHeader(String) - method in class javax.servlet.http.HttpServletRequestWrapper
The default behavior of this method is to return getIntHeader(String name) on the wrapped request object.
getLastAccessedTime() - method in class javax.servlet.http.HttpSession
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 received the request.
Returns the time the HttpServletRequest object was last modified, in milliseconds since midnight January 1, 1970 GMT.
getLocalAddr() - method in class javax.servlet.ServletRequest
Returns the Internet Protocol (IP) address of the interface on which the request was received.
getLocalAddr() - method in class javax.servlet.ServletRequestWrapper
The default behavior of this method is to return getLocalAddr() on the wrapped request object.
getLocale() - method in class javax.servlet.ServletRequest
Returns the preferred Locale that the client will accept content in, based on the Accept-Language header.
getLocale() - method in class javax.servlet.ServletRequestWrapper
The default behavior of this method is to return getLocale() on the wrapped request object.
getLocale() - method in class javax.servlet.ServletResponse
Returns the locale specified for this response using the setLocale(Locale) method.
getLocale() - method in class javax.servlet.ServletResponseWrapper
The default behavior of this method is to return getLocale() on the wrapped response object.
getLocales() - method in class javax.servlet.ServletRequest
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.
getLocales() - method in class javax.servlet.ServletRequestWrapper
The default behavior of this method is to return getLocales() on the wrapped request object.
getLocalName() - method in class javax.servlet.ServletRequest
Returns the host name of the Internet Protocol (IP) interface on which the request was received.
getLocalName() - method in class javax.servlet.ServletRequestWrapper
The default behavior of this method is to return getLocalName() on the wrapped request object.
getLocalPort() - method in class javax.servlet.ServletRequest
Returns the Internet Protocol (IP) port number of the interface on which the request was received.
getLocalPort() - method in class javax.servlet.ServletRequestWrapper
The default behavior of this method is to return getLocalPort() on the wrapped request object.
getMajorVersion() - method in class javax.servlet.ServletContext
Returns the major version of the Java Servlet API that this servlet container supports.
getMaxAge() - method in class javax.servlet.http.Cookie
Returns the maximum age of the cookie, specified in seconds, By default, -1 indicating the cookie will persist until browser shutdown.
getMaxInactiveInterval() - method in class javax.servlet.http.HttpSession
Returns the maximum time interval, in seconds, that the servlet container will keep this session open between client accesses.
getMethod() - method in class javax.servlet.http.HttpServletRequest
Returns the name of the HTTP method with which this request was made, for example, GET, POST, or PUT.
getMethod() - method in class javax.servlet.http.HttpServletRequestWrapper
The default behavior of this method is to return getMethod() on the wrapped request object.
getMimeType(String) - method in class javax.servlet.ServletContext
Returns the MIME type of the specified file, or null if the MIME type is not known.
getMinorVersion() - method in class javax.servlet.ServletContext
Returns the minor version of the Servlet API that this servlet container supports.
getName() - method in class javax.servlet.http.Cookie
Returns the name of the cookie.
getName() - method in class javax.servlet.http.HttpSessionBindingEvent
Returns the name with which the attribute is bound to or unbound from the session.
getName() - method in class javax.servlet.ServletContextAttributeEvent
Return the name of the attribute that changed on the ServletContext.
getName() - method in class javax.servlet.ServletRequestAttributeEvent
Return the name of the attribute that changed on the ServletRequest.
getNamedDispatcher(String) - method in class javax.servlet.ServletContext
Returns a RequestDispatcher object that acts as a wrapper for the named servlet.
getOutputStream() - method in class javax.servlet.ServletResponse
Returns a ServletOutputStream suitable for writing binary data in the response.
getOutputStream() - method in class javax.servlet.ServletResponseWrapper
The default behavior of this method is to return getOutputStream() on the wrapped response object.
getParameter(String) - method in class javax.servlet.ServletRequest
Returns the value of a request parameter as a String, or null if the parameter does not exist.
getParameter(String) - method in class javax.servlet.ServletRequestWrapper
The default behavior of this method is to return getParameter(String name) on the wrapped request object.
getParameterMap() - method in class javax.servlet.ServletRequest
Returns a java.util.Map of the parameters of this request.
getParameterMap() - method in class javax.servlet.ServletRequestWrapper
The default behavior of this method is to return getParameterMap() on the wrapped request object.
getParameterNames() - method in class javax.servlet.ServletRequest
Returns an Enumeration of String objects containing the names of the parameters contained in this request.
getParameterNames() - method in class javax.servlet.ServletRequestWrapper
The default behavior of this method is to return getParameterNames() on the wrapped request object.
getParameterValues(String) - method in class javax.servlet.ServletRequest
Returns an array of String objects containing all of the values the given request parameter has, or null if the parameter does not exist.
getParameterValues(String) - method in class javax.servlet.ServletRequestWrapper
The default behavior of this method is to return getParameterValues(String name) on the wrapped request object.
getPath() - method in class javax.servlet.http.Cookie
Returns the path on the server to which the browser returns this cookie.
getPathInfo() - method in class javax.servlet.http.HttpServletRequest
Returns any extra path information associated with the URL the client sent when it made this request.
getPathInfo() - method in class javax.servlet.http.HttpServletRequestWrapper
The default behavior of this method is to return getPathInfo() on the wrapped request object.
getPathTranslated() - method in class javax.servlet.http.HttpServletRequest
Returns any extra path information after the servlet name but before the query string, and translates it to a real path.
getPathTranslated() - method in class javax.servlet.http.HttpServletRequestWrapper
The default behavior of this method is to return getPathTranslated() on the wrapped request object.
getProtocol() - method in class javax.servlet.ServletRequest
Returns the name and version of the protocol the request uses in the form protocol/majorVersion.minorVersion, for example, HTTP/1.1.
getProtocol() - method in class javax.servlet.ServletRequestWrapper
The default behavior of this method is to return getProtocol() on the wrapped request object.
getQueryString() - method in class javax.servlet.http.HttpServletRequest
Returns the query string that is contained in the request URL after the path.
getQueryString() - method in class javax.servlet.http.HttpServletRequestWrapper
The default behavior of this method is to return getQueryString() on the wrapped request object.
getReader() - method in class javax.servlet.ServletRequest
Retrieves the body of the request as character data using a BufferedReader.
getReader() - method in class javax.servlet.ServletRequestWrapper
The default behavior of this method is to return getReader() on the wrapped request object.
getRealPath(String) - method in class javax.servlet.ServletContext
Returns a String containing the real path for a given virtual path.
getRealPath(String) - method in class javax.servlet.ServletRequest
getRealPath(String) - method in class javax.servlet.ServletRequestWrapper
The default behavior of this method is to return getRealPath(String path) on the wrapped request object.
getRemoteAddr() - method in class javax.servlet.ServletRequest
Returns the Internet Protocol (IP) address of the client or last proxy that sent the request.
getRemoteAddr() - method in class javax.servlet.ServletRequestWrapper
The default behavior of this method is to return getRemoteAddr() on the wrapped request object.
getRemoteHost() - method in class javax.servlet.ServletRequest
Returns the fully qualified name of the client or the last proxy that sent the request.
getRemoteHost() - method in class javax.servlet.ServletRequestWrapper
The default behavior of this method is to return getRemoteHost() on the wrapped request object.
getRemotePort() - method in class javax.servlet.ServletRequest
Returns the Internet Protocol (IP) source port of the client or last proxy that sent the request.
getRemotePort() - method in class javax.servlet.ServletRequestWrapper
The default behavior of this method is to return getRemotePort() on the wrapped request object.
getRemoteUser() - method in class javax.servlet.http.HttpServletRequest
Returns the login of the user making this request, if the user has been authenticated, or null if the user has not been authenticated.
getRemoteUser() - method in class javax.servlet.http.HttpServletRequestWrapper
The default behavior of this method is to return getRemoteUser() on the wrapped request object.
getRequest() - method in class javax.servlet.ServletRequestWrapper
Return the wrapped request object.
getRequestDispatcher(String) - method in class javax.servlet.ServletContext
Returns a RequestDispatcher object that acts as a wrapper for the resource located at the given path.
getRequestDispatcher(String) - method in class javax.servlet.ServletRequest
Returns a RequestDispatcher object that acts as a wrapper for the resource located at the given path.
getRequestDispatcher(String) - method in class javax.servlet.ServletRequestWrapper
The default behavior of this method is to return getRequestDispatcher(String path) on the wrapped request object.
getRequestedSessionId() - method in class javax.servlet.http.HttpServletRequest
Returns the session ID specified by the client.
getRequestedSessionId() - method in class javax.servlet.http.HttpServletRequestWrapper
The default behavior of this method is to return getRequestedSessionId() on the wrapped request object.
getRequestURI() - method in class javax.servlet.http.HttpServletRequest
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.
getRequestURI() - method in class javax.servlet.http.HttpServletRequestWrapper
The default behavior of this method is to return getRequestURI() on the wrapped request object.
getRequestURL() - method in class javax.servlet.http.HttpServletRequest
Reconstructs the URL the client used to make the request.
getRequestURL() - method in class javax.servlet.http.HttpServletRequestWrapper
The default behavior of this method is to return getRequestURL() on the wrapped request object.
getRequestURL(javax.servlet.http.HttpServletRequest) - static method in class javax.servlet.http.HttpUtils
Reconstructs the URL the client used to make the request, using information in the HttpServletRequest object.
getResource(String) - method in class javax.servlet.ServletContext
Returns a URL to the resource that is mapped to a specified path.
getResourceAsStream(String) - method in class javax.servlet.ServletContext
Returns the resource located at the named path as an InputStream object.
getResourcePaths(String) - method in class javax.servlet.ServletContext
Returns a directory-like listing of all the paths to resources within the web application whose longest sub-path matches the supplied path argument.
getResponse() - method in class javax.servlet.ServletResponseWrapper
Return the wrapped ServletResponse object.
getRootCause() - method in class javax.servlet.ServletException
Returns the exception that caused this servlet exception.
getScheme() - method in class javax.servlet.ServletRequest
Returns the name of the scheme used to make this request, for example, http, https, or ftp.
getScheme() - method in class javax.servlet.ServletRequestWrapper
The default behavior of this method is to return getScheme() on the wrapped request object.
getSecure() - method in class javax.servlet.http.Cookie
Returns true if the browser is sending cookies only over a secure protocol, or false if the browser can send cookies using any protocol.
getServerInfo() - method in class javax.servlet.ServletContext
Returns the name and version of the servlet container on which the servlet is running.
getServerName() - method in class javax.servlet.ServletRequest
Returns the host name of the server to which the request was sent.
getServerName() - method in class javax.servlet.ServletRequestWrapper
The default behavior of this method is to return getServerName() on the wrapped request object.
getServerPort() - method in class javax.servlet.ServletRequest
Returns the port number to which the request was sent.
getServerPort() - method in class javax.servlet.ServletRequestWrapper
The default behavior of this method is to return getServerPort() on the wrapped request object.
getServlet() - method in class javax.servlet.UnavailableException
getServlet(String) - method in class javax.servlet.ServletContext
getServletConfig() - method in class javax.servlet.GenericServlet
Returns this servlet's ServletConfig object.
getServletConfig() - method in class javax.servlet.Servlet
Returns a ServletConfig object, which contains initialization and startup parameters for this servlet.
getServletContext() - method in class javax.servlet.FilterConfig
Returns a reference to the ServletContext in which the caller is executing.
getServletContext() - method in class javax.servlet.GenericServlet
Returns a reference to the ServletContext in which this servlet is running.
getServletContext() - method in class javax.servlet.http.HttpSession
Returns the ServletContext to which this session belongs.
getServletContext() - method in class javax.servlet.ServletConfig
Returns a reference to the ServletContext in which the caller is executing.
getServletContext() - method in class javax.servlet.ServletContextEvent
Return the ServletContext that changed.
getServletContext() - method in class javax.servlet.ServletRequestEvent
Returns the ServletContext of this web application.
getServletContextName() - method in class javax.servlet.ServletContext
Returns the name of this web application corresponding to this ServletContext as specified in the deployment descriptor for this web application by the display-name element.
getServletInfo() - method in class javax.servlet.GenericServlet
Returns information about the servlet, such as author, version, and copyright.
getServletInfo() - method in class javax.servlet.Servlet
Returns information about the servlet, such as author, version, and copyright.
getServletName() - method in class javax.servlet.GenericServlet
Returns the name of this servlet instance.
getServletName() - method in class javax.servlet.ServletConfig
Returns the name of this servlet instance.
getServletNames() - method in class javax.servlet.ServletContext
getServletPath() - method in class javax.servlet.http.HttpServletRequest
Returns the part of this request's URL that calls the servlet.
getServletPath() - method in class javax.servlet.http.HttpServletRequestWrapper
The default behavior of this method is to return getServletPath() on the wrapped request object.
getServletRequest() - method in class javax.servlet.ServletRequestEvent
Returns the ServletRequest that is changing.
getServlets() - method in class javax.servlet.ServletContext
getSession() - method in class javax.servlet.http.HttpServletRequest
Returns the current session associated with this request, or if the request does not have a session, creates one.
getSession() - method in class javax.servlet.http.HttpServletRequestWrapper
The default behavior of this method is to return getSession() on the wrapped request object.
getSession() - method in class javax.servlet.http.HttpSessionBindingEvent
Return the session that changed.
getSession() - method in class javax.servlet.http.HttpSessionEvent
Return the session that changed.
getSession(boolean) - method in class javax.servlet.http.HttpServletRequest
Returns the current HttpSession associated with this request or, if there is no current session and create is true, returns a new session.
getSession(boolean) - method in class javax.servlet.http.HttpServletRequestWrapper
The default behavior of this method is to return getSession(boolean create) on the wrapped request object.
getSession(String) - method in class javax.servlet.http.HttpSessionContext
getSessionContext() - method in class javax.servlet.http.HttpSession
getUnavailableSeconds() - method in class javax.servlet.UnavailableException
Returns the number of seconds the servlet expects to be temporarily unavailable.
getUserPrincipal() - method in class javax.servlet.http.HttpServletRequest
Returns a java.security.Principal object containing the name of the current authenticated user.
getUserPrincipal() - method in class javax.servlet.http.HttpServletRequestWrapper
The default behavior of this method is to return getUserPrincipal() on the wrapped request object.
getValue() - method in class javax.servlet.http.Cookie
Returns the value of the cookie.
getValue() - method in class javax.servlet.http.HttpSessionBindingEvent
Returns the value of the attribute that has been added, removed or replaced.
getValue() - method in class javax.servlet.ServletContextAttributeEvent
Returns the value of the attribute that has been added, removed, or replaced.
getValue() - method in class javax.servlet.ServletRequestAttributeEvent
Returns the value of the attribute that has been added, removed or replaced.
getValue(String) - method in class javax.servlet.http.HttpSession
getValueNames() - method in class javax.servlet.http.HttpSession
getVersion() - method in class javax.servlet.http.Cookie
Returns the version of the protocol this cookie complies with.
getWriter() - method in class javax.servlet.ServletResponse
Returns a PrintWriter object that can send character text to the client.
getWriter() - method in class javax.servlet.ServletResponseWrapper
The default behavior of this method is to return getWriter() on the wrapped response object.

H

HttpServlet - class javax.servlet.http.HttpServlet
Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site.
HttpServlet() - constructor for class javax.servlet.http.HttpServlet
Does nothing, because this is an abstract class.
HttpServletRequest - interface javax.servlet.http.HttpServletRequest
Extends the ServletRequest interface to provide request information for HTTP servlets.
Provides a convenient implementation of the HttpServletRequest interface that can be subclassed by developers wishing to adapt the request to a Servlet.
Constructs a request object wrapping the given request.
HttpServletResponse - interface javax.servlet.http.HttpServletResponse
Extends the ServletResponse interface to provide HTTP-specific functionality in sending a response.
Provides a convenient implementation of the HttpServletResponse interface that can be subclassed by developers wishing to adapt the response from a Servlet.
Constructs a response adaptor wrapping the given response.
HttpSession - interface javax.servlet.http.HttpSession
Provides a way to identify a user across more than one page request or visit to a Web site and to store information about that user.
Objects that are bound to a session may listen to container events notifying them that sessions will be passivated and that session will be activated.
This listener interface can be implemented in order to get notifications of changes to the attribute lists of sessions within this web application.
Events of this type are either sent to an object that implements HttpSessionBindingListener when it is bound or unbound from a session, or to a HttpSessionAttributeListener that has been configured in the deployment descriptor when any attribute is bound, unbound or replaced in a session.
Constructs an event that notifies an object that it has been bound to or unbound from a session.
Constructs an event that notifies an object that it has been bound to or unbound from a session.
Causes an object to be notified when it is bound to or unbound from a session.
HttpSessionContext - interface javax.servlet.http.HttpSessionContext
HttpSessionEvent - class javax.servlet.http.HttpSessionEvent
This is the class representing event notifications for changes to sessions within a web application.
HttpSessionEvent(javax.servlet.http.HttpSession) - constructor for class javax.servlet.http.HttpSessionEvent
Construct a session event from the given source.
HttpSessionListener - interface javax.servlet.http.HttpSessionListener
Implementations of this interface are notified of changes to the list of active sessions in a web application.
HttpUtils - class javax.servlet.http.HttpUtils
HttpUtils() - constructor for class javax.servlet.http.HttpUtils
Constructs an empty HttpUtils object.

I

Includes the content of a resource (servlet, JSP page, HTML file) in the response.
init() - method in class javax.servlet.GenericServlet
A convenience method which can be overridden so that there's no need to call super.init(config).
init(javax.servlet.FilterConfig) - method in class javax.servlet.Filter
Called by the web container to indicate to a filter that it is being placed into service.
init(javax.servlet.ServletConfig) - method in class javax.servlet.GenericServlet
Called by the servlet container to indicate to a servlet that the servlet is being placed into service.
init(javax.servlet.ServletConfig) - method in class javax.servlet.Servlet
Called by the servlet container to indicate to a servlet that the servlet is being placed into service.
invalidate() - method in class javax.servlet.http.HttpSession
Invalidates this session then unbinds any objects bound to it.
isCommitted() - method in class javax.servlet.ServletResponse
Returns a boolean indicating if the response has been committed.
isCommitted() - method in class javax.servlet.ServletResponseWrapper
The default behavior of this method is to return isCommitted() on the wrapped response object.
isNew() - method in class javax.servlet.http.HttpSession
Returns true if the client does not yet know about the session or if the client chooses not to join the session.
isPermanent() - method in class javax.servlet.UnavailableException
Returns a boolean indicating whether the servlet is permanently unavailable.
isRequestedSessionIdFromCookie() - method in class javax.servlet.http.HttpServletRequest
Checks whether the requested session ID came in as a cookie.
isRequestedSessionIdFromCookie() - method in class javax.servlet.http.HttpServletRequestWrapper
The default behavior of this method is to return isRequestedSessionIdFromCookie() on the wrapped request object.
isRequestedSessionIdFromUrl() - method in class javax.servlet.http.HttpServletRequest
isRequestedSessionIdFromUrl() - method in class javax.servlet.http.HttpServletRequestWrapper
The default behavior of this method is to return isRequestedSessionIdFromUrl() on the wrapped request object.
isRequestedSessionIdValid() - method in class javax.servlet.http.HttpServletRequest
Checks whether the requested session ID is still valid.
isRequestedSessionIdValid() - method in class javax.servlet.http.HttpServletRequestWrapper
The default behavior of this method is to return isRequestedSessionIdValid() on the wrapped request object.
isSecure() - method in class javax.servlet.ServletRequest
Returns a boolean indicating whether this request was made using a secure channel, such as HTTPS.
isSecure() - method in class javax.servlet.ServletRequestWrapper
The default behavior of this method is to return isSecure() on the wrapped request object.
isUserInRole(String) - method in class javax.servlet.http.HttpServletRequest
Returns a boolean indicating whether the authenticated user is included in the specified logical "role".
isUserInRole(String) - method in class javax.servlet.http.HttpServletRequestWrapper
The default behavior of this method is to return isUserInRole(String role) on the wrapped request object.

J

javax.servlet - package
The javax.servlet package contains a number of classes and interfaces that describe and define the contracts between a servlet class and the runtime environment provided for an instance of such a class by a conforming servlet container.
The javax.servlet.http package contains a number of classes and interfaces that describe and define the contracts between a servlet class running under the HTTP protocol and the runtime environment provided for an instance of such a class by a conforming servlet container.

L

log(Exception,String) - method in class javax.servlet.ServletContext
log(String) - method in class javax.servlet.GenericServlet
Writes the specified message to a servlet log file, prepended by the servlet's name.
log(String) - method in class javax.servlet.ServletContext
Writes the specified message to a servlet log file, usually an event log.
log(String,Throwable) - method in class javax.servlet.GenericServlet
Writes an explanatory message and a stack trace for a given Throwable exception to the servlet log file, prepended by the servlet's name.
log(String,Throwable) - method in class javax.servlet.ServletContext
Writes an explanatory message and a stack trace for a given Throwable exception to the servlet log file.

P

parsePostData(int,javax.servlet.ServletInputStream) - static method in class javax.servlet.http.HttpUtils
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.
parseQueryString(String) - static method in class javax.servlet.http.HttpUtils
Parses a query string passed from the client to the server and builds a HashTable object with key-value pairs.
print(boolean) - method in class javax.servlet.ServletOutputStream
Writes a boolean value to the client, with no carriage return-line feed (CRLF) character at the end.
print(char) - method in class javax.servlet.ServletOutputStream
Writes a character to the client, with no carriage return-line feed (CRLF) at the end.
print(double) - method in class javax.servlet.ServletOutputStream
Writes a double value to the client, with no carriage return-line feed (CRLF) at the end.
print(float) - method in class javax.servlet.ServletOutputStream
Writes a float value to the client, with no carriage return-line feed (CRLF) at the end.
print(int) - method in class javax.servlet.ServletOutputStream
Writes an int to the client, with no carriage return-line feed (CRLF) at the end.
print(long) - method in class javax.servlet.ServletOutputStream
Writes a long value to the client, with no carriage return-line feed (CRLF) at the end.
print(String) - method in class javax.servlet.ServletOutputStream
Writes a String to the client, without a carriage return-line feed (CRLF) character at the end.
println() - method in class javax.servlet.ServletOutputStream
Writes a carriage return-line feed (CRLF) to the client.
println(boolean) - method in class javax.servlet.ServletOutputStream
Writes a boolean value to the client, followed by a carriage return-line feed (CRLF).
println(char) - method in class javax.servlet.ServletOutputStream
Writes a character to the client, followed by a carriage return-line feed (CRLF).
println(double) - method in class javax.servlet.ServletOutputStream
Writes a double value to the client, followed by a carriage return-line feed (CRLF).
println(float) - method in class javax.servlet.ServletOutputStream
Writes a float value to the client, followed by a carriage return-line feed (CRLF).
println(int) - method in class javax.servlet.ServletOutputStream
Writes an int to the client, followed by a carriage return-line feed (CRLF) character.
println(long) - method in class javax.servlet.ServletOutputStream
Writes a long value to the client, followed by a carriage return-line feed (CRLF).
println(String) - method in class javax.servlet.ServletOutputStream
Writes a String to the client, followed by a carriage return-line feed (CRLF).
putValue(String,Object) - method in class javax.servlet.http.HttpSession

R

readLine(byte[],int,int) - method in class javax.servlet.ServletInputStream
Reads the input stream, one line at a time.
removeAttribute(String) - method in class javax.servlet.http.HttpSession
Removes the object bound with the specified name from this session.
removeAttribute(String) - method in class javax.servlet.ServletContext
Removes the attribute with the given name from the servlet context.
removeAttribute(String) - method in class javax.servlet.ServletRequest
Removes an attribute from this request.
removeAttribute(String) - method in class javax.servlet.ServletRequestWrapper
The default behavior of this method is to call removeAttribute(String name) on the wrapped request object.
removeValue(String) - method in class javax.servlet.http.HttpSession
The request is about to go out of scope of the web application.
RequestDispatcher - interface javax.servlet.RequestDispatcher
Defines an object that receives requests from the client and sends them to any resource (such as a servlet, HTML file, or JSP file) on the server.
The request is about to come into scope of the web application.
reset() - method in class javax.servlet.ServletResponse
Clears any data that exists in the buffer as well as the status code and headers.
reset() - method in class javax.servlet.ServletResponseWrapper
The default behavior of this method is to call reset() on the wrapped response object.
resetBuffer() - method in class javax.servlet.ServletResponse
Clears the content of the underlying buffer in the response without clearing headers or status code.
resetBuffer() - method in class javax.servlet.ServletResponseWrapper
The default behavior of this method is to call resetBuffer() on the wrapped response object.

S

SC_ACCEPTED - static field in class javax.servlet.http.HttpServletResponse
Status code (202) indicating that a request was accepted for processing, but was not completed.
SC_BAD_GATEWAY - static field in class javax.servlet.http.HttpServletResponse
Status code (502) indicating that the HTTP server received an invalid response from a server it consulted when acting as a proxy or gateway.
SC_BAD_REQUEST - static field in class javax.servlet.http.HttpServletResponse
Status code (400) indicating the request sent by the client was syntactically incorrect.
SC_CONFLICT - static field in class javax.servlet.http.HttpServletResponse
Status code (409) indicating that the request could not be completed due to a conflict with the current state of the resource.
SC_CONTINUE - static field in class javax.servlet.http.HttpServletResponse
Status code (100) indicating the client can continue.
SC_CREATED - static field in class javax.servlet.http.HttpServletResponse
Status code (201) indicating the request succeeded and created a new resource on the server.
SC_EXPECTATION_FAILED - static field in class javax.servlet.http.HttpServletResponse
Status code (417) indicating that the server could not meet the expectation given in the Expect request header.
SC_FORBIDDEN - static field in class javax.servlet.http.HttpServletResponse
Status code (403) indicating the server understood the request but refused to fulfill it.
SC_FOUND - static field in class javax.servlet.http.HttpServletResponse
Status code (302) indicating that the resource reside temporarily under a different URI.
SC_GATEWAY_TIMEOUT - static field in class javax.servlet.http.HttpServletResponse
Status code (504) indicating that the server did not receive a timely response from the upstream server while acting as a gateway or proxy.
SC_GONE - static field in class javax.servlet.http.HttpServletResponse
Status code (410) indicating that the resource is no longer available at the server and no forwarding address is known.
SC_HTTP_VERSION_NOT_SUPPORTED - static field in class javax.servlet.http.HttpServletResponse
Status code (505) indicating that the server does not support or refuses to support the HTTP protocol version that was used in the request message.
SC_INTERNAL_SERVER_ERROR - static field in class javax.servlet.http.HttpServletResponse
Status code (500) indicating an error inside the HTTP server which prevented it from fulfilling the request.
SC_LENGTH_REQUIRED - static field in class javax.servlet.http.HttpServletResponse
Status code (411) indicating that the request cannot be handled without a defined Content-Length.
SC_METHOD_NOT_ALLOWED - static field in class javax.servlet.http.HttpServletResponse
Status code (405) indicating that the method specified in the Request-Line is not allowed for the resource identified by the Request-URI.
SC_MOVED_PERMANENTLY - static field in class javax.servlet.http.HttpServletResponse
Status code (301) indicating that the resource has permanently moved to a new location, and that future references should use a new URI with their requests.
SC_MOVED_TEMPORARILY - static field in class javax.servlet.http.HttpServletResponse
Status code (302) indicating that the resource has temporarily moved to another location, but that future references should still use the original URI to access the resource.
SC_MULTIPLE_CHOICES - static field in class javax.servlet.http.HttpServletResponse
Status code (300) indicating that the requested resource corresponds to any one of a set of representations, each with its own specific location.
SC_NO_CONTENT - static field in class javax.servlet.http.HttpServletResponse
Status code (204) indicating that the request succeeded but that there was no new information to return.
SC_NON_AUTHORITATIVE_INFORMATION - static field in class javax.servlet.http.HttpServletResponse
Status code (203) indicating that the meta information presented by the client did not originate from the server.
SC_NOT_ACCEPTABLE - static field in class javax.servlet.http.HttpServletResponse
Status code (406) indicating that the resource identified by the request is only capable of generating response entities which have content characteristics not acceptable according to the accept headers sent in the request.
SC_NOT_FOUND - static field in class javax.servlet.http.HttpServletResponse
Status code (404) indicating that the requested resource is not available.
SC_NOT_IMPLEMENTED - static field in class javax.servlet.http.HttpServletResponse
Status code (501) indicating the HTTP server does not support the functionality needed to fulfill the request.
SC_NOT_MODIFIED - static field in class javax.servlet.http.HttpServletResponse
Status code (304) indicating that a conditional GET operation found that the resource was available and not modified.
SC_OK - static field in class javax.servlet.http.HttpServletResponse
Status code (200) indicating the request succeeded normally.
SC_PARTIAL_CONTENT - static field in class javax.servlet.http.HttpServletResponse
Status code (206) indicating that the server has fulfilled the partial GET request for the resource.
SC_PAYMENT_REQUIRED - static field in class javax.servlet.http.HttpServletResponse
Status code (402) reserved for future use.
SC_PRECONDITION_FAILED - static field in class javax.servlet.http.HttpServletResponse
Status code (412) indicating that the precondition given in one or more of the request-header fields evaluated to false when it was tested on the server.
SC_PROXY_AUTHENTICATION_REQUIRED - static field in class javax.servlet.http.HttpServletResponse
Status code (407) indicating that the client MUST first authenticate itself with the proxy.
SC_REQUEST_ENTITY_TOO_LARGE - static field in class javax.servlet.http.HttpServletResponse
Status code (413) indicating that the server is refusing to process the request because the request entity is larger than the server is willing or able to process.
SC_REQUEST_TIMEOUT - static field in class javax.servlet.http.HttpServletResponse
Status code (408) indicating that the client did not produce a request within the time that the server was prepared to wait.
SC_REQUEST_URI_TOO_LONG - static field in class javax.servlet.http.HttpServletResponse
Status code (414) indicating that the server is refusing to service the request because the Request-URI is longer than the server is willing to interpret.
SC_REQUESTED_RANGE_NOT_SATISFIABLE - static field in class javax.servlet.http.HttpServletResponse
Status code (416) indicating that the server cannot serve the requested byte range.
SC_RESET_CONTENT - static field in class javax.servlet.http.HttpServletResponse
Status code (205) indicating that the agent SHOULD reset the document view which caused the request to be sent.
SC_SEE_OTHER - static field in class javax.servlet.http.HttpServletResponse
Status code (303) indicating that the response to the request can be found under a different URI.
SC_SERVICE_UNAVAILABLE - static field in class javax.servlet.http.HttpServletResponse
Status code (503) indicating that the HTTP server is temporarily overloaded, and unable to handle the request.
SC_SWITCHING_PROTOCOLS - static field in class javax.servlet.http.HttpServletResponse
Status code (101) indicating the server is switching protocols according to Upgrade header.
SC_TEMPORARY_REDIRECT - static field in class javax.servlet.http.HttpServletResponse
Status code (307) indicating that the requested resource resides temporarily under a different URI.
SC_UNAUTHORIZED - static field in class javax.servlet.http.HttpServletResponse
Status code (401) indicating that the request requires HTTP authentication.
SC_UNSUPPORTED_MEDIA_TYPE - static field in class javax.servlet.http.HttpServletResponse
Status code (415) indicating that the server is refusing to service the request because the entity of the request is in a format not supported by the requested resource for the requested method.
SC_USE_PROXY - static field in class javax.servlet.http.HttpServletResponse
Status code (305) indicating that the requested resource MUST be accessed through the proxy given by the Location field.
sendError(int) - method in class javax.servlet.http.HttpServletResponse
Sends an error response to the client using the specified status code and clearing the buffer.
sendError(int) - method in class javax.servlet.http.HttpServletResponseWrapper
The default behavior of this method is to call sendError(int sc) on the wrapped response object.
sendError(int,String) - method in class javax.servlet.http.HttpServletResponse
Sends an error response to the client using the specified status.
sendError(int,String) - method in class javax.servlet.http.HttpServletResponseWrapper
The default behavior of this method is to call sendError(int sc, String msg) on the wrapped response object.
sendRedirect(String) - method in class javax.servlet.http.HttpServletResponse
Sends a temporary redirect response to the client using the specified redirect location URL.
sendRedirect(String) - method in class javax.servlet.http.HttpServletResponseWrapper
The default behavior of this method is to return sendRedirect(String location) on the wrapped response object.
Receives standard HTTP requests from the public service method and dispatches them to the doXXX methods defined in this class.
Called by the servlet container to allow the servlet to respond to a request.
Dispatches client requests to the protected service method.
Called by the servlet container to allow the servlet to respond to a request.
Servlet - interface javax.servlet.Servlet
Defines methods that all servlets must implement.
ServletConfig - interface javax.servlet.ServletConfig
A servlet configuration object used by a servlet container to pass information to a servlet during initialization.
ServletContext - interface javax.servlet.ServletContext
Defines a set of methods that a servlet uses to communicate with its servlet container, for example, to get the MIME type of a file, dispatch requests, or write to a log file.
This is the event class for notifications about changes to the attributes of the servlet context of a web application.
Construct a ServletContextAttributeEvent from the given context for the given attribute name and attribute value.
Implementations of this interface receive notifications of changes to the attribute list on the servlet context of a web application.
This is the event class for notifications about changes to the servlet context of a web application.
Construct a ServletContextEvent from the given context.
Implementations of this interface receive notifications about changes to the servlet context of the web application they are part of.
ServletException - class javax.servlet.ServletException
Defines a general exception a servlet can throw when it encounters difficulty.
ServletException() - constructor for class javax.servlet.ServletException
Constructs a new servlet exception.
ServletException(String) - constructor for class javax.servlet.ServletException
Constructs a new servlet exception with the specified message.
ServletException(String,Throwable) - constructor for class javax.servlet.ServletException
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.
ServletException(Throwable) - constructor for class javax.servlet.ServletException
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.
Provides an input stream for reading binary data from a client request, including an efficient readLine method for reading data one line at a time.
ServletInputStream() - constructor for class javax.servlet.ServletInputStream
Does nothing, because this is an abstract class.
Provides an output stream for sending binary data to the client.
ServletOutputStream() - constructor for class javax.servlet.ServletOutputStream
Does nothing, because this is an abstract class.
ServletRequest - interface javax.servlet.ServletRequest
Defines an object to provide client request information to a servlet.
This is the event class for notifications of changes to the attributes of the servlet request in an application.
Construct a ServletRequestAttributeEvent giving the servlet context of this web application, the ServletRequest whose attributes are changing and the name and value of the attribute.
A ServletRequestAttributeListener can be implemented by the developer interested in being notified of request attribute changes.
Events of this kind indicate lifecycle events for a ServletRequest.
Construct a ServletRequestEvent for the given ServletContext and ServletRequest.
A ServletRequestListener can be implemented by the developer interested in being notified of requests coming in and out of scope in a web component.
Provides a convenient implementation of the ServletRequest interface that can be subclassed by developers wishing to adapt the request to a Servlet.
Creates a ServletRequest adaptor wrapping the given request object.
ServletResponse - interface javax.servlet.ServletResponse
Defines an object to assist a servlet in sending a response to the client.
Provides a convenient implementation of the ServletResponse interface that can be subclassed by developers wishing to adapt the response from a Servlet.
Creates a ServletResponse adaptor wrapping the given response object.
Notification that a session was created.
Notification that a session is about to be invalidated.
Notification that the session has just been activated.
Notification that the session is about to be passivated.
setAttribute(String,Object) - method in class javax.servlet.http.HttpSession
Binds an object to this session, using the name specified.
setAttribute(String,Object) - method in class javax.servlet.ServletContext
Binds an object to a given attribute name in this servlet context.
setAttribute(String,Object) - method in class javax.servlet.ServletRequest
Stores an attribute in this request.
setAttribute(String,Object) - method in class javax.servlet.ServletRequestWrapper
The default behavior of this method is to return setAttribute(String name, Object o) on the wrapped request object.
setBufferSize(int) - method in class javax.servlet.ServletResponse
Sets the preferred buffer size for the body of the response.
setBufferSize(int) - method in class javax.servlet.ServletResponseWrapper
The default behavior of this method is to call setBufferSize(int size) on the wrapped response object.
setCharacterEncoding(String) - method in class javax.servlet.ServletRequest
Overrides the name of the character encoding used in the body of this request.
setCharacterEncoding(String) - method in class javax.servlet.ServletRequestWrapper
The default behavior of this method is to set the character encoding on the wrapped request object.
setCharacterEncoding(String) - method in class javax.servlet.ServletResponse
Sets the character encoding (MIME charset) of the response being sent to the client, for example, to UTF-8.
The default behavior of this method is to call setCharacterEncoding(String charset) on the wrapped response object.
setComment(String) - method in class javax.servlet.http.Cookie
Specifies a comment that describes a cookie's purpose.
setContentLength(int) - method in class javax.servlet.ServletResponse
Sets the length of the content body in the response In HTTP servlets, this method sets the HTTP Content-Length header.
setContentLength(int) - method in class javax.servlet.ServletResponseWrapper
The default behavior of this method is to call setContentLength(int len) on the wrapped response object.
setContentType(String) - method in class javax.servlet.ServletResponse
Sets the content type of the response being sent to the client, if the response has not been committed yet.
setContentType(String) - method in class javax.servlet.ServletResponseWrapper
The default behavior of this method is to call setContentType(String type) on the wrapped response object.
setDateHeader(String,long) - method in class javax.servlet.http.HttpServletResponse
Sets a response header with the given name and date-value.
setDateHeader(String,long) - method in class javax.servlet.http.HttpServletResponseWrapper
The default behavior of this method is to call setDateHeader(String name, long date) on the wrapped response object.
setDomain(String) - method in class javax.servlet.http.Cookie
Specifies the domain within which this cookie should be presented.
setHeader(String,String) - method in class javax.servlet.http.HttpServletResponse
Sets a response header with the given name and value.
setHeader(String,String) - method in class javax.servlet.http.HttpServletResponseWrapper
The default behavior of this method is to return setHeader(String name, String value) on the wrapped response object.
setIntHeader(String,int) - method in class javax.servlet.http.HttpServletResponse
Sets a response header with the given name and integer value.
setIntHeader(String,int) - method in class javax.servlet.http.HttpServletResponseWrapper
The default behavior of this method is to call setIntHeader(String name, int value) on the wrapped response object.
setLocale(Locale) - method in class javax.servlet.ServletResponse
Sets the locale of the response, if the response has not been committed yet.
setLocale(Locale) - method in class javax.servlet.ServletResponseWrapper
The default behavior of this method is to call setLocale(Locale loc) on the wrapped response object.
setMaxAge(int) - method in class javax.servlet.http.Cookie
Sets the maximum age of the cookie in seconds.
setMaxInactiveInterval(int) - method in class javax.servlet.http.HttpSession
Specifies the time, in seconds, between client requests before the servlet container will invalidate this session.
setPath(String) - method in class javax.servlet.http.Cookie
Specifies a path for the cookie to which the client should return the cookie.
Sets the request object being wrapped.
Sets the response being wrapped.
setSecure(boolean) - method in class javax.servlet.http.Cookie
Indicates to the browser whether the cookie should only be sent using a secure protocol, such as HTTPS or SSL.
setStatus(int) - method in class javax.servlet.http.HttpServletResponse
Sets the status code for this response.
setStatus(int) - method in class javax.servlet.http.HttpServletResponseWrapper
The default behavior of this method is to call setStatus(int sc) on the wrapped response object.
setStatus(int,String) - method in class javax.servlet.http.HttpServletResponse
setStatus(int,String) - method in class javax.servlet.http.HttpServletResponseWrapper
The default behavior of this method is to call setStatus(int sc, String sm) on the wrapped response object.
setValue(String) - method in class javax.servlet.http.Cookie
Assigns a new value to a cookie after the cookie is created.
setVersion(int) - method in class javax.servlet.http.Cookie
Sets the version of the cookie protocol this cookie complies with.
SingleThreadModel - interface javax.servlet.SingleThreadModel
Ensures that servlets handle only one request at a time.

U

Defines an exception that a servlet or filter throws to indicate that it is permanently or temporarily unavailable.
UnavailableException(String) - constructor for class javax.servlet.UnavailableException
Constructs a new exception with a descriptive message indicating that the servlet is permanently unavailable.
UnavailableException(String,int) - constructor for class javax.servlet.UnavailableException
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.

V

Notifies the object that it is being bound to a session and identifies the session.
Notifies the object that it is being unbound from a session and identifies the session.

Copyright © 1999-2002 The Apache Software Foundation. All Rights Reserved.