All Packages  Class Hierarchy

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Index of all Fields and Methods

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
Returns a copy of this object.
containsHeader(String). Method in interface javax.servlet.http.HttpServletResponse
Checks whether the response message header has a field with the specified name.
Cookie(String, String). Constructor for class javax.servlet.http.Cookie
Defines a cookie with an initial name/value pair.

D

destroy(). Method in class javax.servlet.GenericServlet
Destroys the servlet, cleaning up whatever resources are being held, and logs the destruction in the servlet log file.
destroy(). Method in interface javax.servlet.Servlet
Cleans up whatever resources are being held (e.g., memory, file handles, threads) and makes sure that any persistent state is synchronized with the servlet's current in-memory state.
doDelete(HttpServletRequest, HttpServletResponse). Method in class javax.servlet.http.HttpServlet
Performs the HTTP DELETE operation; the default implementation reports an HTTP BAD_REQUEST error.
doGet(HttpServletRequest, HttpServletResponse). Method in class javax.servlet.http.HttpServlet
Performs the HTTP GET operation; the default implementation reports an HTTP BAD_REQUEST error.
doOptions(HttpServletRequest, HttpServletResponse). Method in class javax.servlet.http.HttpServlet
Performs the HTTP OPTIONS operation; the default implementation of this method automatically determines what HTTP Options are supported.
doPost(HttpServletRequest, HttpServletResponse). Method in class javax.servlet.http.HttpServlet
Performs the HTTP POST operation; the default implementation reports an HTTP BAD_REQUEST error.
doPut(HttpServletRequest, HttpServletResponse). Method in class javax.servlet.http.HttpServlet
Performs the HTTP PUT operation; the default implementation reports an HTTP BAD_REQUEST error.
doTrace(HttpServletRequest, HttpServletResponse). Method in class javax.servlet.http.HttpServlet
Performs the HTTP TRACE operation; the default implementation of this method causes a response with a message containing all of the headers sent in the trace request.

E

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.
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
Encodes the specified URL by including the session ID in it, or, if encoding is not needed, returns the URL unchanged.
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
Used for forwarding a request from one servlet to another component within the server.

G

GenericServlet(). Constructor for class javax.servlet.GenericServlet
The default constructor does no work.
getAttribute(String). Method in interface javax.servlet.ServletContext
Returns the value of the named attribute of the network service, or null if the attribute does not exist.
getAttribute(String). Method in interface javax.servlet.ServletRequest
Returns the value of the named attribute of the request, or null if the attribute does not exist.
getAttributeNames(). Method in interface javax.servlet.ServletContext
Returns an enumeration of the attribute names present in the network service.
getAttributeNames(). Method in interface javax.servlet.ServletRequest
Returns an enumeration of attribute names contained in this request.
getAuthType(). Method in interface javax.servlet.http.HttpServletRequest
Gets the authentication scheme of this request.
getCharacterEncoding(). Method in interface javax.servlet.ServletRequest
Returns the character set encoding for the input of this request.
getCharacterEncoding(). Method in interface javax.servlet.ServletResponse
Returns the character set encoding used for this MIME body.
getComment(). Method in class javax.servlet.http.Cookie
Returns the comment describing the purpose of this cookie, or null if no such comment has been defined.
getContentLength(). Method in interface javax.servlet.ServletRequest
Returns the size of the request entity data, or -1 if not known.
getContentType(). Method in interface javax.servlet.ServletRequest
Returns the Internet Media Type of the request entity data, or null if not known.
getContext(String). Method in interface javax.servlet.ServletContext
Returns the ServletContext object for a particular uripath, or null if there is not a ServletContext for the particular path available or visible to this servlet.
getCookies(). Method in interface javax.servlet.http.HttpServletRequest
Gets the array of cookies found in this request.
getCreationTime(). Method in interface javax.servlet.http.HttpSession
Returns the time at which this session representation was created, in milliseconds since midnight, January 1, 1970 UTC.
getDateHeader(String). Method in interface javax.servlet.http.HttpServletRequest
Gets the value of the requested date header field of this request.
getDomain(). Method in class javax.servlet.http.Cookie
Returns the domain of this cookie.
getHeader(String). Method in interface javax.servlet.http.HttpServletRequest
Gets the value of the requested header field of this request.
getHeaderNames(). Method in interface javax.servlet.http.HttpServletRequest
Gets the header names for this request.
getId(). Method in interface javax.servlet.http.HttpSession
Returns the identifier assigned to this session.
getIds(). Method in interface javax.servlet.http.HttpSessionContext
This method is deprecated and retained only for binary compatibility.
getInitParameter(String). Method in class javax.servlet.GenericServlet
Returns a string containing the value of the named initialization parameter, or null if the requested parameter does not exist.
getInitParameter(String). Method in interface javax.servlet.ServletConfig
Returns a string containing the value of the named initialization parameter of the servlet, or null if the parameter does not exist.
getInitParameterNames(). Method in class javax.servlet.GenericServlet
Returns the names of the initialization parameters for this servlet as an enumeration of Strings, or an empty enumeration if there are no initialization parameters.
getInitParameterNames(). Method in interface javax.servlet.ServletConfig
Returns the names of the servlet's initialization parameters as an enumeration of strings, or an empty enumeration if there are no initialization parameters.
getInputStream(). Method in interface javax.servlet.ServletRequest
Returns an input stream for reading binary data in the request body.
getIntHeader(String). Method in interface javax.servlet.http.HttpServletRequest
Gets the value of the specified integer header field of this request.
getLastAccessedTime(). Method in interface javax.servlet.http.HttpSession
Returns the last time the client sent a request carrying the identifier assigned to the session.
getLastModified(HttpServletRequest). Method in class javax.servlet.http.HttpServlet
Gets the time the requested entity was last modified; the default implementation returns a negative number, indicating that the modification time is unknown and hence should not be used for conditional GET operations or for other cache control operations as this implementation will always return the contents.
getMajorVersion(). Method in interface javax.servlet.ServletContext
Returns the major version of the servlet API that this context supports.
getMaxAge(). Method in class javax.servlet.http.Cookie
Returns the maximum specified age of the cookie.
getMaxInactiveInterval(). Method in interface javax.servlet.http.HttpSession
getMethod(). Method in interface javax.servlet.http.HttpServletRequest
Gets the HTTP method (for example, GET, POST, PUT) with which this request was made.
getMimeType(String). Method in interface javax.servlet.ServletContext
Returns the mime type of the specified file, or null if not known.
getMinorVersion(). Method in interface javax.servlet.ServletContext
Returns the minor version of the servlet API that this context 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 to which the object is being bound or the name from which the object is being unbound.
getOutputStream(). Method in interface javax.servlet.ServletResponse
Returns an output stream for writing binary response data.
getParameter(String). Method in interface javax.servlet.ServletRequest
Returns a string containing the lone value of the specified parameter, or null if the parameter does not exist.
getParameterNames(). Method in interface javax.servlet.ServletRequest
Returns the parameter names for this request as an enumeration of strings, or an empty enumeration if there are no parameters or the input stream is empty.
getParameterValues(String). Method in interface javax.servlet.ServletRequest
Returns the values of the specified parameter for the request as an array of strings, or null if the named parameter does not exist.
getPath(). Method in class javax.servlet.http.Cookie
Returns the prefix of all URLs for which this cookie is targetted.
getPathInfo(). Method in interface javax.servlet.http.HttpServletRequest
Gets any optional extra path information following the servlet path of this request's URI, but immediately preceding its query string.
getPathTranslated(). Method in interface javax.servlet.http.HttpServletRequest
Gets any optional extra path information following the servlet path of this request's URI, but immediately preceding its query string, and translates it to a real path.
getProtocol(). Method in interface javax.servlet.ServletRequest
Returns the protocol and version of the request as a string of the form <protocol>/<major version>.<minor version>.
getQueryString(). Method in interface javax.servlet.http.HttpServletRequest
Gets any query string that is part of the HTTP request URI.
getReader(). Method in interface javax.servlet.ServletRequest
Returns a buffered reader for reading text in the request body.
getRealPath(String). Method in interface javax.servlet.ServletContext
Applies alias rules to the specified virtual path and returns the corresponding real path.
getRealPath(String). Method in interface javax.servlet.ServletRequest
Applies alias rules to the specified virtual path and returns the corresponding real path, or null if the translation can not be performed for any reason.
getRemoteAddr(). Method in interface javax.servlet.ServletRequest
Returns the IP address of the agent that sent the request.
getRemoteHost(). Method in interface javax.servlet.ServletRequest
Returns the fully qualified host name of the agent that sent the request.
getRemoteUser(). Method in interface javax.servlet.http.HttpServletRequest
Gets the name of the user making this request.
getRequestDispatcher(String). Method in interface javax.servlet.ServletContext
Returns a request dispatcher to a server component accessible via a URL path.
getRequestedSessionId(). Method in interface javax.servlet.http.HttpServletRequest
Gets the session id specified with this request.
getRequestURI(). Method in interface javax.servlet.http.HttpServletRequest
Gets, from the first line of the HTTP request, the part of this request's URI that is to the left of any query string.
getRequestURL(HttpServletRequest). Static method in class javax.servlet.http.HttpUtils
Reconstructs the URL used by the client used to make the request.
getResource(String). Method in interface javax.servlet.ServletContext
Returns a URL object allowing access to any content resource requested.
getResourceAsStream(String). Method in interface javax.servlet.ServletContext
Returns an input stream to the given content resource path, or null if not found.
getRootCause(). Method in class javax.servlet.ServletException
Returns the root cause of this exception.
getScheme(). Method in interface javax.servlet.ServletRequest
Returns the scheme of the URL used in this request, for example "http", "https", or "ftp".
getSecure(). Method in class javax.servlet.http.Cookie
Returns the value of the 'secure' flag.
getServerInfo(). Method in interface javax.servlet.ServletContext
Returns the name and version of the network service under 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
This method has been deprecated and only remains to preserve binary compatibility.
getServletConfig(). Method in class javax.servlet.GenericServlet
Returns a servletConfig object containing any startup configuration information for this servlet.
getServletConfig(). Method in interface javax.servlet.Servlet
Returns a servlet config object, which contains any initialization parameters and startup configuration for this servlet.
getServletContext(). Method in class javax.servlet.GenericServlet
Returns a ServletContext object, which contains information about the network service in which the servlet is running.
getServletContext(). Method in interface javax.servlet.ServletConfig
Returns the context for the servlet.
getServletInfo(). Method in class javax.servlet.GenericServlet
Returns a string that contains information about the servlet, such as its author, version, and copyright.
getServletInfo(). Method in interface javax.servlet.Servlet
Returns a string containing information about the servlet, such as its author, version, and copyright.
getServletNames(). Method in interface javax.servlet.ServletContext
This method has been deprecated and only remains to preserve binary compatibility.
getServletPath(). Method in interface javax.servlet.http.HttpServletRequest
Gets the part of this request's URI that refers to the servlet being invoked.
getServlets(). Method in interface javax.servlet.ServletContext
This method has been deprecated and only remains to preserve binary compatibility.
getSession(). Method in interface javax.servlet.http.HttpServletRequest
Gets the current valid session associated with this request, if create is false or, if necessary, creates a new session for the request.
getSession(). Method in class javax.servlet.http.HttpSessionBindingEvent
Returns the session into which the listener is being bound or from which the listener is being unbound.
getSession(boolean). Method in interface javax.servlet.http.HttpServletRequest
Gets the current valid session associated with this request, if create is false or, if necessary, creates a new session for the request, if create is true.
getSession(String). Method in interface javax.servlet.http.HttpSessionContext
This method is deprecated and retained only for binary compatibility.
getSessionContext(). Method in interface javax.servlet.http.HttpSession
Returns the context in which this session is bound.
getUnavailableSeconds(). Method in class javax.servlet.UnavailableException
Returns the amount of time 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 to the given name in the session's application layer data.
getValueNames(). Method in interface javax.servlet.http.HttpSession
Returns an array of the names of all the application layer data objects bound into the session.
getVersion(). Method in class javax.servlet.http.Cookie
Returns the version of the cookie.
getWriter(). Method in interface javax.servlet.ServletResponse
Returns a print writer for writing formatted text responses.

H

HttpServlet(). Constructor for class javax.servlet.http.HttpServlet
The default constructor does nothing.
HttpSessionBindingEvent(HttpSession, String). Constructor for class javax.servlet.http.HttpSessionBindingEvent
Constructs a new HttpSessionBindingEvent
HttpUtils(). Constructor for class javax.servlet.http.HttpUtils
Creates an empty HttpUtils object.

I

include(ServletRequest, ServletResponse). Method in interface javax.servlet.RequestDispatcher
Includes the generated response from the target resource into the current response.
init(). Method in class javax.servlet.GenericServlet
This method is provided as a convenience so that servlet writers do not have to worry about storing the ServletConfig object.
init(ServletConfig). Method in class javax.servlet.GenericServlet
Initializes the servlet and logs the initialization.
init(ServletConfig). Method in interface javax.servlet.Servlet
Initializes the servlet.
invalidate(). Method in interface javax.servlet.http.HttpSession
Causes this representation of the session to be invalidated and removed from its context.
isNew(). Method in interface javax.servlet.http.HttpSession
A session is considered to be "new" if it has been created by the server, but the client has not yet acknowledged joining the session.
isPermanent(). Method in class javax.servlet.UnavailableException
Returns true if the servlet is "permanently" unavailable, indicating that the service administrator must take some corrective action to make the servlet be usable.
isRequestedSessionIdFromCookie(). Method in interface javax.servlet.http.HttpServletRequest
Checks whether the session id specified by this request came in as a cookie.
isRequestedSessionIdFromUrl(). Method in interface javax.servlet.http.HttpServletRequest
Checks whether the session id specified by this request came in as part of the URL.
isRequestedSessionIdFromURL(). Method in interface javax.servlet.http.HttpServletRequest
Checks whether the session id specified by this request came in as part of the URL.
isRequestedSessionIdValid(). Method in interface javax.servlet.http.HttpServletRequest
Checks whether this request is associated with a session that is valid in the current session context.

L

log(Exception, String). Method in class javax.servlet.GenericServlet
Logs the message with the cause of the exception
log(Exception, String). Method in interface javax.servlet.ServletContext
Write the stacktrace and the given message string to the servlet log file.
log(String). Method in class javax.servlet.GenericServlet
Writes the class name of the servlet and the given message to the servlet log file.
log(String). Method in interface javax.servlet.ServletContext
Writes the given message string to the servlet log file.
log(String, Throwable). Method in class javax.servlet.GenericServlet
Logs the message with the root cause
log(String, Throwable). Method in interface javax.servlet.ServletContext
Write the given message and stacktrace to the servlet log.

P

parsePostData(int, ServletInputStream). Static method in class javax.servlet.http.HttpUtils
Parses FORM data that is posted 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 and builds a hashtable of key-value pairs, where the values are arrays of strings.
print(boolean). Method in class javax.servlet.ServletOutputStream
Prints the boolean provided.
print(char). Method in class javax.servlet.ServletOutputStream
Prints the character provided.
print(double). Method in class javax.servlet.ServletOutputStream
Prints the double provided.
print(float). Method in class javax.servlet.ServletOutputStream
Prints the float provided.
print(int). Method in class javax.servlet.ServletOutputStream
Prints the integer provided.
print(long). Method in class javax.servlet.ServletOutputStream
Prints the long provided.
print(String). Method in class javax.servlet.ServletOutputStream
Prints the string provided.
println(). Method in class javax.servlet.ServletOutputStream
Prints a CRLF.
println(boolean). Method in class javax.servlet.ServletOutputStream
Prints the boolean provided, followed by a CRLF.
println(char). Method in class javax.servlet.ServletOutputStream
Prints the character provided, followed by a CRLF.
println(double). Method in class javax.servlet.ServletOutputStream
Prints the double provided, followed by a CRLF.
println(float). Method in class javax.servlet.ServletOutputStream
Prints the float provided, followed by a CRLF.
println(int). Method in class javax.servlet.ServletOutputStream
Prints the integer provided, followed by a CRLF.
println(long). Method in class javax.servlet.ServletOutputStream
Prints the long provided, followed by a CRLF.
println(String). Method in class javax.servlet.ServletOutputStream
Prints the string provided, followed by a CRLF.
putValue(String, Object). Method in interface javax.servlet.http.HttpSession
Binds the specified object into the session's application layer data with the given name.

R

readLine(byte[], int, int). Method in class javax.servlet.ServletInputStream
Starting at the specified offset, reads into the given array of bytes until all requested bytes have been read or a '\n' is encountered, in which case the '\n' is read into the array as well.
removeAttribute(String). Method in interface javax.servlet.ServletContext
Removes the attribute from the context that is bound to a particular name.
removeValue(String). Method in interface javax.servlet.http.HttpSession
Removes the object bound to the given name in the session's application layer data.

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
This is an HTTP-specific version of the Servlet.service method, which accepts HTTP specific parameters.
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
Implements the high level Servlet.service method by delegating to the HTTP-specific service method.
service(ServletRequest, ServletResponse). Method in interface javax.servlet.Servlet
Carries out a single request from the client.
ServletException(). Constructor for class javax.servlet.ServletException
Constructs a new ServletException.
ServletException(String). Constructor for class javax.servlet.ServletException
Constructs a new ServletException with the specified message.
ServletException(String, Throwable). Constructor for class javax.servlet.ServletException
Constructs a new ServletException with the specified message and root cause.
ServletInputStream(). Constructor for class javax.servlet.ServletInputStream
The default constructor does no work.
ServletOutputStream(). Constructor for class javax.servlet.ServletOutputStream
The default constructor does no work.
setAttribute(String, Object). Method in interface javax.servlet.ServletContext
This method stores an attribute in the servlet context.
setAttribute(String, Object). Method in interface javax.servlet.ServletRequest
This method stores an attribute in the request context; these attributes will be reset between requests.
setComment(String). Method in class javax.servlet.http.Cookie
If a user agent (web browser) presents this cookie to a user, the cookie's purpose will be described using this comment.
setContentLength(int). Method in interface javax.servlet.ServletResponse
Sets the content length for this response.
setContentType(String). Method in interface javax.servlet.ServletResponse
Sets the content type for this response.
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
This cookie should be presented only to hosts satisfying this domain name pattern.
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.
setMaxInactiveInterval(int). Method in interface javax.servlet.http.HttpSession
Sets the maximum interval between requests that this session will be kept by the host server.
setPath(String). Method in class javax.servlet.http.Cookie
This cookie should be presented only with requests beginning with this URL.
setSecure(boolean). Method in class javax.servlet.http.Cookie
Indicates to the user agent that the cookie should only be sent using a secure protocol (https).
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
Sets the status code and message for this response.
setValue(String). Method in class javax.servlet.http.Cookie
Sets the value of the cookie.
setVersion(int). Method in class javax.servlet.http.Cookie
Sets the version of the cookie protocol used when this cookie saves itself.

U

UnavailableException(int, Servlet, String). Constructor for class javax.servlet.UnavailableException
Constructs a new exception with the specified 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 the specified descriptive message, indicating that the servlet is permanently unavailable.

V

valueBound(HttpSessionBindingEvent). Method in interface javax.servlet.http.HttpSessionBindingListener
Notifies the listener that it is being bound into a session.
valueUnbound(HttpSessionBindingEvent). Method in interface javax.servlet.http.HttpSessionBindingListener
Notifies the listener that it is being unbound from a session.