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

A

addCookie(Cookie) - Method in interface javax.servlet.http.HttpServletResponse
Adds the specified cookie to the response.

C

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 interface javax.servlet.http.HttpServletResponse
Checks whether the response message header has a field with the specified name.
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 when the client accesses the same Web page.
Cookie(String, String) - Constructor for class javax.servlet.http.Cookie
Constructs a cookie with a specified name and value.

D

destroy() - Method in interface javax.servlet.Servlet
Removes the servlet from service after all threads within its service method have exited or a timeout period has passed.
destroy() - Method in class javax.servlet.GenericServlet
Destroys the servlet, cleaning up whatever resources are being held.
doDelete(HttpServletRequest, HttpServletResponse) - Method in class javax.servlet.http.HttpServlet
Receives an HTTP DELETE request from the protected service method and handles the request.
doGet(HttpServletRequest, HttpServletResponse) - Method in class javax.servlet.http.HttpServlet
Receives an HTTP GET request from the protected service method and handles the request.
doOptions(HttpServletRequest, HttpServletResponse) - Method in class javax.servlet.http.HttpServlet
Receives an HTTP OPTIONS request from the protected service method and handles the request.
doPost(HttpServletRequest, HttpServletResponse) - Method in class javax.servlet.http.HttpServlet
Receives an HTTP POST request from the protected service method and handles the request.
doPut(HttpServletRequest, HttpServletResponse) - Method in class javax.servlet.http.HttpServlet
Receives an HTTP PUT request from the protected service method and handles the request.
doTrace(HttpServletRequest, HttpServletResponse) - Method in class javax.servlet.http.HttpServlet
Receives an HTTP TRACE request from the protected service method and handles the request.

E

encodeRedirectUrl(String) - Method in interface javax.servlet.http.HttpServletResponse
Deprecated. Use encodeRedirectURL(String url)
encodeRedirectURL(String) - Method in interface javax.servlet.http.HttpServletResponse
Encodes the specified URL for use in the sendRedirect method or, if encoding is not needed, returns the URL unchanged.
encodeUrl(String) - Method in interface javax.servlet.http.HttpServletResponse
Deprecated. Use encodeURL(String url)
encodeURL(String) - Method in interface javax.servlet.http.HttpServletResponse
Encodes the specified URL by including the session ID in it, or, if encoding is not needed, returns the URL unchanged.

F

forward(ServletRequest, ServletResponse) - Method in interface javax.servlet.RequestDispatcher
Forwards a ServletRequest object from this servlet to a 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, because this is an abstract class.
getAttribute(String) - Method in interface javax.servlet.ServletContext
Returns the servlet engine attribute with the given name, or null if there is none.
getAttribute(String) - Method in interface javax.servlet.ServletRequest
Returns the value of the named attribute as an Object.
getAttributeNames() - Method in interface javax.servlet.ServletContext
Returns an Enumeration containing the attribute names available within this servlet context.
getAttributeNames() - Method in interface javax.servlet.ServletRequest
Returns an Enumeration containing the names of the attributes available to this request.
getAuthType() - Method in interface javax.servlet.http.HttpServletRequest
Returns the name of the authentication scheme the server uses, for example, "BASIC" or "SSL," or null if the server does not have an authentication scheme.
getCharacterEncoding() - Method in interface javax.servlet.ServletResponse
Returns the name of the character set encoding used for the MIME body sent by this response.
getCharacterEncoding() - Method in interface javax.servlet.ServletRequest
Returns the name of the character encoding style used in this request.
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 interface javax.servlet.ServletRequest
Returns the length, in bytes, of the content contained in the request and sent by way of the input stream or -1 if the length is not known.
getContentType() - Method in interface javax.servlet.ServletRequest
Returns the MIME type of the content of the request, or null if the type is not known.
getContext(String) - Method in interface javax.servlet.ServletContext
Returns a ServletContext object that corresponds to a specified URL on the server.
getCookies() - Method in interface javax.servlet.http.HttpServletRequest
Returns an array containing all of the Cookie objects the browser sent with this request.
getCreationTime() - Method in interface 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 interface javax.servlet.http.HttpServletRequest
Returns the value of the specified request header as a long value that represents a Date object.
getDomain() - Method in class javax.servlet.http.Cookie
Returns the domain name set for this cookie.
getHeader(String) - Method in interface javax.servlet.http.HttpServletRequest
Returns the value of the specified request header as a String.
getHeaderNames() - Method in interface javax.servlet.http.HttpServletRequest
Returns an enumeration of all the header names this request contains.
getId() - Method in interface javax.servlet.http.HttpSession
Returns a string containing the unique identifier assigned to this session.
getIds() - Method in interface javax.servlet.http.HttpSessionContext
Deprecated. As of Java Servlet API 2.1 with no replacement. This method must return an empty enumeration and will be removed in a future version of this API.
getInitParameter(String) - Method in interface 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.GenericServlet
Returns a String containing the value of the named initialization parameter.
getInitParameterNames() - Method in interface 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.GenericServlet
Returns the names of the initialization parameters for this servlet as an enumeration of String objects.
getInputStream() - Method in interface javax.servlet.ServletRequest
Retrieves binary data from the body of the request as a ServletInputStream, which gives you the ability to read one line at a time.
getIntHeader(String) - Method in interface javax.servlet.http.HttpServletRequest
Returns the value of the specified request header as an integer.
getLastAccessedTime() - Method in interface 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.
getLastModified(HttpServletRequest) - Method in class javax.servlet.http.HttpServlet
Returns the time the HttpServletRequest object was last modified, in milliseconds since midnight January 1, 1970 GMT.
getMajorVersion() - Method in interface javax.servlet.ServletContext
Returns the major version of the Java Servlet API that this Web server supports.
getMaxAge() - Method in class javax.servlet.http.Cookie
Returns the maximum age of the cookie, specified in seconds.
getMaxInactiveInterval() - Method in interface javax.servlet.http.HttpSession
Returns the maximum time interval, in seconds, that the servlet engine will keep this session open between client requests.
getMethod() - Method in interface javax.servlet.http.HttpServletRequest
Returns the name of the HTTP method with which this request was made, for example, GET, POST, or PUT.
getMimeType(String) - Method in interface javax.servlet.ServletContext
Returns the MIME type of the specified file, or null if the MIME type is not known.
getMinorVersion() - Method in interface javax.servlet.ServletContext
Returns the minor version of the Servlet API that this Web server supports.
getName() - Method in class javax.servlet.http.HttpSessionBindingEvent
Returns the name with which the object is bound to or unbound from the session.
getName() - Method in class javax.servlet.http.Cookie
Returns the name of the cookie.
getOutputStream() - Method in interface javax.servlet.ServletResponse
Returns a ServletOutputStream suitable for writing binary data in the response.
getParameter(String) - Method in interface javax.servlet.ServletRequest
Returns the value of a request parameter as a String, or null if the parameter does not exist.
getParameterNames() - Method in interface javax.servlet.ServletRequest
Returns an Enumeration of String objects containing the names of the parameters contained in this request.
getParameterValues(String) - Method in interface 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.
getPath() - Method in class javax.servlet.http.Cookie
Returns the paths (that is, URIs) on the server to which the browser returns this cookie.
getPathInfo() - Method in interface javax.servlet.http.HttpServletRequest
Returns any extra path information associated with the URL the client sent when it made this request.
getPathTranslated() - Method in interface 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.
getProtocol() - Method in interface 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.
getQueryString() - Method in interface javax.servlet.http.HttpServletRequest
Returns the query string that is contained in the request URL after the path.
getReader() - Method in interface javax.servlet.ServletRequest
Returns the body of the request as a BufferedReader that translates character set encodings.
getRealPath(String) - Method in interface javax.servlet.ServletContext
Returns a String containing the real path that corresponds to a virtual path.
getRealPath(String) - Method in interface javax.servlet.ServletRequest
Deprecated. As of Version 2.1 of the Java Servlet API, use ServletContext.getRealPath(java.lang.String) instead.
getRemoteAddr() - Method in interface javax.servlet.ServletRequest
Returns the Internet Protocol (IP) address of the client that sent the request.
getRemoteHost() - Method in interface javax.servlet.ServletRequest
Returns the fully qualified name of the client that sent the request.
getRemoteUser() - Method in interface javax.servlet.http.HttpServletRequest
Returns the name of the user making this request, if the user has logged in using HTTP authentication.
getRequestDispatcher(String) - Method in interface javax.servlet.ServletContext
Returns a RequestDispatcher object that acts as a wrapper for the resource located at the named path.
getRequestedSessionId() - Method in interface javax.servlet.http.HttpServletRequest
Returns the session ID specified by the client.
getRequestURI() - Method in interface 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.
getRequestURL(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 interface javax.servlet.ServletContext
Returns the resource that is mapped to a specified path.
getResourceAsStream(String) - Method in interface javax.servlet.ServletContext
Returns the resource located at the named path as an InputStream object.
getRootCause() - Method in class javax.servlet.ServletException
Returns the Throwable system exception that makes this servlet exception necessary.
getScheme() - Method in interface javax.servlet.ServletRequest
Returns the name of the scheme used to make this request, for example, http, https, or ftp.
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 use a standard protocol.
getServerInfo() - Method in interface javax.servlet.ServletContext
Returns the name and version of the servlet engine on which the servlet is running.
getServerName() - Method in interface javax.servlet.ServletRequest
Returns the host name of the server that received the request.
getServerPort() - Method in interface javax.servlet.ServletRequest
Returns the port number on which this request was received.
getServlet() - Method in class javax.servlet.UnavailableException
Returns the servlet that is reporting its unavailability.
getServlet(String) - Method in interface javax.servlet.ServletContext
Deprecated. As of Java Servlet API 2.1, with no replacement.

This method was originally defined to retrieve a servlet from a ServletContext. In this version, this method always returns null and remains only to preserve binary compatibility. This method will be permanently removed in a future version of the Java Servlet API.

getServletConfig() - Method in interface javax.servlet.Servlet
Returns a ServletConfig object, which contains initialization and startup parameters for this servlet.
getServletConfig() - Method in class javax.servlet.GenericServlet
Returns a ServletConfig object, which gives a servlet its initialization parameters.
getServletContext() - Method in interface javax.servlet.ServletConfig
Returns the ServletContext object that the server has passed to this servlet.
getServletContext() - Method in class javax.servlet.GenericServlet
Returns a ServletContext object, which contains information about the servlet engine on which the servlet is running.
getServletInfo() - Method in interface javax.servlet.Servlet
Returns information about the servlet, such as author, version, and copyright.
getServletInfo() - Method in class javax.servlet.GenericServlet
Returns a String that contains information about the servlet such as its author, version, and copyright information.
getServletNames() - Method in interface javax.servlet.ServletContext
Deprecated. As of Java Servlet API 2.1, with no replacement.

This method was originally defined to return an Enumeration of all the servlet names known to this context. In this version, this method always returns an empty Enumeration and remains only to preserve binary compatibility. This method will be permanently removed in a future version of the Java Servlet API.

getServletPath() - Method in interface javax.servlet.http.HttpServletRequest
Returns the part of this request's URL that calls the servlet.
getServlets() - Method in interface javax.servlet.ServletContext
Deprecated. As of Java Servlet API 2.0, with no replacement.

This method was originally defined to return an Enumeration of all the servlets known to this servlet context. In this version, this method always returns an empty enumeration and remains only to preserve binary compatibility. This method will be permanently removed in a future version of the Java Servlet API.

getSession() - Method in interface 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.HttpSessionBindingEvent
Returns the session to or from which the object is bound or unbound.
getSession(boolean) - Method in interface javax.servlet.http.HttpServletRequest
Returns the current HttpSession associated with this request or, if necessary, creates a new session for the request.
getSession(String) - Method in interface javax.servlet.http.HttpSessionContext
Deprecated. As of Java Servlet API 2.1 with no replacement. This method must return null and will be removed in a future version of this API.
getSessionContext() - Method in interface javax.servlet.http.HttpSession
Deprecated. As of Version 2.1, this method is deprecated and has no replacement. It will be removed in a future version of the Java Servlet API.
getUnavailableSeconds() - Method in class javax.servlet.UnavailableException
Returns the number of seconds the servlet expects to be temporarily unavailable.
getValue() - Method in class javax.servlet.http.Cookie
Returns the value of the cookie.
getValue(String) - Method in interface javax.servlet.http.HttpSession
Returns the object bound with the specified name in this session or null if no object of that name exists.
getValueNames() - Method in interface javax.servlet.http.HttpSession
Returns an array containing the names of all the objects bound to this session.
getVersion() - Method in class javax.servlet.http.Cookie
Returns the version of the protocol this cookie complies with.
getWriter() - Method in interface javax.servlet.ServletResponse
Returns a PrintWriter object that you can use to send character text to the client.

H

HttpServlet - class javax.servlet.http.HttpServlet.
Provides an abstract class that you can subclass to create an HTTP servlet, which receives requests from and sends responses to 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 additional functionality for the request object that is passed to an HTTP servlet.
HttpServletResponse - interface javax.servlet.http.HttpServletResponse.
Defines an HTTP servlet response that a servlet running on a Web server sends to a client using HTTP.
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.
HttpSessionBindingEvent - class javax.servlet.http.HttpSessionBindingEvent.
Sent by a session to an object that implements HttpSessionBindingListener when the object is bound to or unbound from the session.
HttpSessionBindingEvent(HttpSession, String) - Constructor for class javax.servlet.http.HttpSessionBindingEvent
Constructs an event that notifies an object that it has been bound to or unbound from a session.
HttpSessionBindingListener - interface javax.servlet.http.HttpSessionBindingListener.
Causes an object to be notified when it is bound to or unbound from a session.
HttpSessionContext - interface javax.servlet.http.HttpSessionContext.
Deprecated. As of Java(tm) Servlet API 2.1 for security reasons, with no replacement. This interface will be removed in a future version of this API.
HttpUtils - class javax.servlet.http.HttpUtils.
Provides a collection of methods that are useful in writing HTTP servlets.
HttpUtils() - Constructor for class javax.servlet.http.HttpUtils
Constructs an empty HttpUtils object.

I

include(ServletRequest, ServletResponse) - Method in interface javax.servlet.RequestDispatcher
Includes the content a resource (servlet, JSP page, HTML file) on the Web server generates in the response this servlet sends to another servlet.
init() - Method in class javax.servlet.GenericServlet
Acts as a convenience method, so that you do not have to store a ServletConfig object to use as a parameter.
init(ServletConfig) - Method in interface javax.servlet.Servlet
Initializes the servlet and places it into service.
init(ServletConfig) - Method in class javax.servlet.GenericServlet
Initializes this servlet.
invalidate() - Method in interface javax.servlet.http.HttpSession
Invalidates this session and unbinds any objects bound to it.
isNew() - Method in interface javax.servlet.http.HttpSession
Returns true if the Web server has created a session but the client has not yet joined.
isPermanent() - Method in class javax.servlet.UnavailableException
Returns a boolean primitive type indicating whether the servlet is permanently unavailable.
isRequestedSessionIdFromCookie() - Method in interface javax.servlet.http.HttpServletRequest
Checks whether the session ID this request submitted came in as a cookie, rather than from the HttpServletRequest.getSession(boolean) method.
isRequestedSessionIdFromUrl() - Method in interface javax.servlet.http.HttpServletRequest
Deprecated. As of Version 2.1 of the Java Servlet API, use HttpServletRequest.isRequestedSessionIdFromURL() instead.
isRequestedSessionIdFromURL() - Method in interface javax.servlet.http.HttpServletRequest
Checks whether the session ID this request submitted came in as part of the request URL, rather than from the HttpServletRequest.getSession(boolean) method.
isRequestedSessionIdValid() - Method in interface javax.servlet.http.HttpServletRequest
Checks whether this request has a valid session in the current session context (which is a HttpSessionContext).

J

javax.servlet - package javax.servlet
 
javax.servlet.http - package javax.servlet.http
 

L

log(Exception, String) - Method in interface javax.servlet.ServletContext
Deprecated. As of Java Servlet API 2.1, use ServletContext.log(String message, Throwable throwable) instead.

This method was originally defined to write an exception's stack trace and an explanatory error message to the servlet log file.

log(String) - Method in interface javax.servlet.ServletContext
Writes the specified message to a servlet log file, which is usually an event log.
log(String) - Method in class javax.servlet.GenericServlet
Writes the servlet class name and a servlet exception message to the servlet log file.
log(String, Throwable) - Method in interface javax.servlet.ServletContext
Writes the stack trace and an explanatory message for a given Throwable exception to the servlet log file.
log(String, Throwable) - Method in class javax.servlet.GenericServlet
Writes a system exception message to the servlet log file.

P

parsePostData(int, 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) character 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) character 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) character at the end.
print(int) - Method in class javax.servlet.ServletOutputStream
Writes an integer to the client, with no carriage return-line feed (CRLF) character 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) character 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) character 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) character.
println(char) - Method in class javax.servlet.ServletOutputStream
Writes a character to the client, followed by a carriage return-line feed (CRLF) character.
println(double) - Method in class javax.servlet.ServletOutputStream
Writes a double value to the client, followed by a carriage return-line feed (CRLF) character.
println(float) - Method in class javax.servlet.ServletOutputStream
Writes a float value to the client, followed by a carriage return-line feed (CRLF) character.
println(int) - Method in class javax.servlet.ServletOutputStream
Writes an integer 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) character.
println(String) - Method in class javax.servlet.ServletOutputStream
Writes a String to the client, followed by a carriage return-line feed (CRLF) character.
putValue(String, Object) - Method in interface javax.servlet.http.HttpSession
Binds an object to this session, using the name specified.

R

readLine(byte[], int, int) - Method in class javax.servlet.ServletInputStream
Reads the input stream, one line at a time.
removeAttribute(String) - Method in interface javax.servlet.ServletContext
Removes the attribute with the given name from the servlet context.
removeValue(String) - Method in interface javax.servlet.http.HttpSession
Removes the object bound with the specified name from this session.
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.

S

SC_ACCEPTED - Static variable in interface javax.servlet.http.HttpServletResponse
Status code (202) indicating that a request was accepted for processing, but was not completed.
SC_BAD_GATEWAY - Static variable in interface 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 variable in interface javax.servlet.http.HttpServletResponse
Status code (400) indicating the request sent by the client was syntactically incorrect.
SC_CONFLICT - Static variable in interface 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 variable in interface javax.servlet.http.HttpServletResponse
Status code (100) indicating the client can continue.
SC_CREATED - Static variable in interface javax.servlet.http.HttpServletResponse
Status code (201) indicating the request succeeded and created a new resource on the server.
SC_FORBIDDEN - Static variable in interface javax.servlet.http.HttpServletResponse
Status code (403) indicating the server understood the request but refused to fulfill it.
SC_GATEWAY_TIMEOUT - Static variable in interface 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 variable in interface 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 variable in interface 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 variable in interface 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 variable in interface javax.servlet.http.HttpServletResponse
Status code (411) indicating that the request cannot be handled without a defined Content-Length.
SC_METHOD_NOT_ALLOWED - Static variable in interface 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 variable in interface 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 variable in interface 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 variable in interface 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 variable in interface 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 variable in interface 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 variable in interface 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 headerssent in the request.
SC_NOT_FOUND - Static variable in interface javax.servlet.http.HttpServletResponse
Status code (404) indicating that the requested resource is not available.
SC_NOT_IMPLEMENTED - Static variable in interface 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 variable in interface 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 variable in interface javax.servlet.http.HttpServletResponse
Status code (200) indicating the request succeeded normally.
SC_PARTIAL_CONTENT - Static variable in interface javax.servlet.http.HttpServletResponse
Status code (206) indicating that the server has fulfilled the partial GET request for the resource.
SC_PAYMENT_REQUIRED - Static variable in interface javax.servlet.http.HttpServletResponse
Status code (402) reserved for future use.
SC_PRECONDITION_FAILED - Static variable in interface 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 variable in interface javax.servlet.http.HttpServletResponse
Status code (407) indicating that the client MUST first authenticate itself with the proxy.
SC_REQUEST_ENTITY_TOO_LARGE - Static variable in interface 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 variable in interface javax.servlet.http.HttpServletResponse
Status code (408) indicating that the client did not produce a requestwithin the time that the server was prepared to wait.
SC_REQUEST_URI_TOO_LONG - Static variable in interface 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_RESET_CONTENT - Static variable in interface 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 variable in interface 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 variable in interface 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 variable in interface javax.servlet.http.HttpServletResponse
Status code (101) indicating the server is switching protocols according to Upgrade header.
SC_UNAUTHORIZED - Static variable in interface javax.servlet.http.HttpServletResponse
Status code (401) indicating that the request requires HTTP authentication.
SC_UNSUPPORTED_MEDIA_TYPE - Static variable in interface 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 variable in interface 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 interface javax.servlet.http.HttpServletResponse
Sends an error response to the client using the specified status code and a default message.
sendError(int, String) - Method in interface javax.servlet.http.HttpServletResponse
Sends an error response to the client using the specified status code and descriptive message.
sendRedirect(String) - Method in interface javax.servlet.http.HttpServletResponse
Sends a temporary redirect response to the client using the specified redirect location URL.
service(HttpServletRequest, HttpServletResponse) - Method in class javax.servlet.http.HttpServlet
Receives standard HTTP requests from the public service method and dispatches them to the doxxx methods defined in this class.
service(ServletRequest, ServletResponse) - Method in interface javax.servlet.Servlet
Allows the servlet to respond to a request after the servlet has been initialized with the init method.
service(ServletRequest, ServletResponse) - Method in class javax.servlet.GenericServlet
Carries out a single request from the client.
service(ServletRequest, ServletResponse) - Method in class javax.servlet.http.HttpServlet
Dispatches client requests to the protected service method.
Servlet - interface javax.servlet.Servlet.
Defines methods that all servlets must implement.
ServletConfig - interface javax.servlet.ServletConfig.
Defines a servlet configuration object, which a servlet engine uses to pass information to a servlet in order to initialize the servlet.
ServletContext - interface javax.servlet.ServletContext.
Defines a set of methods that a servlet uses to communicate with a servlet engine, for example, to get the MIME type of a file, locate other servlets running on the server, or write to a servlet log file.
ServletException - exception javax.servlet.ServletException.
Defines a general exception a servlet throws 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 message you specify.
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 another exception that interfered with its normal operation.
ServletException(Throwable) - Constructor for class javax.servlet.ServletException
Constructs a new servlet exception as a result of a system exception and uses the localized system exception message.
ServletInputStream - class javax.servlet.ServletInputStream.
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.
ServletOutputStream - class javax.servlet.ServletOutputStream.
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 that a servlet engine uses to give a servlet information about a client request.
ServletResponse - interface javax.servlet.ServletResponse.
Sends MIME-encoded data from the servlet to the client.
setAttribute(String, Object) - Method in interface javax.servlet.ServletContext
Gives an attribute a name in this servlet context.
setAttribute(String, Object) - Method in interface javax.servlet.ServletRequest
Stores an attribute in the context of this request.
setComment(String) - Method in class javax.servlet.http.Cookie
Specifies a comment that describes a cookie's purpose.
setContentLength(int) - Method in interface javax.servlet.ServletResponse
Sets the length of the content the server returns to the client.
setContentType(String) - Method in interface javax.servlet.ServletResponse
Sets the content type of the response the server sends to the client.
setDateHeader(String, long) - Method in interface javax.servlet.http.HttpServletResponse
Adds a field to the response header with the given name and date-valued field.
setDomain(String) - Method in class javax.servlet.http.Cookie
Specifies the domain within which this cookie should be presented.
setHeader(String, String) - Method in interface javax.servlet.http.HttpServletResponse
Adds a field to the response header with the given name and value.
setIntHeader(String, int) - Method in interface javax.servlet.http.HttpServletResponse
Adds a field to the response header with the given name and integer value.
setMaxAge(int) - Method in class javax.servlet.http.Cookie
Sets the maximum age of the cookie in seconds.
setMaxInactiveInterval(int) - Method in interface javax.servlet.http.HttpSession
Specifies the maximum length of time, in seconds, that the servlet engine keeps this session if no user requests have been made of the session.
setPath(String) - Method in class javax.servlet.http.Cookie
Specifies a path for the cookie, which is the set of URIs (Universal Resource Identifiers, the part of an URL that represents the server path) to which the client should return the cookie.
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 interface javax.servlet.http.HttpServletResponse
Sets the status code for this response.
setStatus(int, String) - Method in interface javax.servlet.http.HttpServletResponse
Deprecated. ambiguous meaning. To send an error with a description page, use sendError(int sc, String msg);
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

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

V

valueBound(HttpSessionBindingEvent) - Method in interface javax.servlet.http.HttpSessionBindingListener
Notifies the object that is being bound to a session and identifies the session.
valueUnbound(HttpSessionBindingEvent) - Method in interface javax.servlet.http.HttpSessionBindingListener
Notifies the object that is being unbound from a session and identifies the session.

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