- GenericServlet - Class in javax.servlet
-
Defines a generic, protocol-independent servlet.
- GenericServlet() - Constructor for class javax.servlet.GenericServlet
-
Does nothing.
- getAsyncContext() - Method in class javax.servlet.AsyncEvent
-
- getAsyncContext() - Method in interface javax.servlet.ServletRequest
-
- getAsyncContext() - Method in class javax.servlet.ServletRequestWrapper
-
The default behavior of this method is to return getAsyncContext() on the
wrapped request object.
- getAttribute(String) - Method in interface 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 interface 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 interface 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 interface javax.servlet.http.HttpSession
-
Returns an Enumeration
of String
objects
containing the names of all the objects bound to this session.
- 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.
- 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 interface 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.
- getBuffer() - Method in interface javax.servlet.descriptor.JspPropertyGroupDescriptor
-
- getBufferSize() - Method in interface 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 interface 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 interface 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.
- getClassLoader() - Method in interface javax.servlet.ServletContext
-
- getClassName() - Method in interface javax.servlet.Registration
-
- 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.
- getComment() - Method in interface javax.servlet.SessionCookieConfig
-
- getContentLength() - Method in interface 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 interface javax.servlet.http.Part
-
Obtain the content type passed by the browser or null
if not
defined.
- getContentType() - Method in interface 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 interface 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 interface javax.servlet.ServletContext
-
Returns a ServletContext
object that corresponds to a
specified URL on the server.
- getContextPath() - Method in interface 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.
- getContextPath() - Method in interface javax.servlet.ServletContext
-
- getCookies() - Method in interface 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 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.
- 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.
- getDefaultContentType() - Method in interface javax.servlet.descriptor.JspPropertyGroupDescriptor
-
- getDefaultSessionTrackingModes() - Method in interface javax.servlet.ServletContext
-
- getDeferredSyntaxAllowedAsLiteral() - Method in interface javax.servlet.descriptor.JspPropertyGroupDescriptor
-
- getDispatcherType() - Method in interface javax.servlet.ServletRequest
-
- getDispatcherType() - Method in class javax.servlet.ServletRequestWrapper
-
The default behavior of this method is to call getDispatcherType() on the
wrapped request object.
- getDomain() - Method in class javax.servlet.http.Cookie
-
Returns the domain name set for this cookie.
- getDomain() - Method in interface javax.servlet.SessionCookieConfig
-
- getEffectiveMajorVersion() - Method in interface javax.servlet.ServletContext
-
- getEffectiveMinorVersion() - Method in interface javax.servlet.ServletContext
-
- getEffectiveSessionTrackingModes() - Method in interface javax.servlet.ServletContext
-
- getElIgnored() - Method in interface javax.servlet.descriptor.JspPropertyGroupDescriptor
-
- getEmptyRoleSemantic() - Method in class javax.servlet.HttpConstraintElement
-
- getErrorOnUndeclaredNamespace() - Method in interface javax.servlet.descriptor.JspPropertyGroupDescriptor
-
- getFileSizeThreshold() - Method in class javax.servlet.MultipartConfigElement
-
- getFilterName() - Method in interface javax.servlet.FilterConfig
-
Returns the filter-name of this filter as defined in the deployment
descriptor.
- getFilterRegistration(String) - Method in interface javax.servlet.ServletContext
-
- getFilterRegistrations() - Method in interface javax.servlet.ServletContext
-
- getHeader(String) - Method in interface 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.
- getHeader(String) - Method in interface javax.servlet.http.HttpServletResponse
-
Return the value for the specified header, or null
if this
header has not been set.
- getHeader(String) - Method in class javax.servlet.http.HttpServletResponseWrapper
-
Return the value for the specified header, or null
if this
header has not been set.
- getHeader(String) - Method in interface javax.servlet.http.Part
-
Obtains the value of the specified part header as a String.
- getHeaderNames() - Method in interface 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.
- getHeaderNames() - Method in interface javax.servlet.http.HttpServletResponse
-
Return an Iterable of all the header names set for this response.
- getHeaderNames() - Method in class javax.servlet.http.HttpServletResponseWrapper
-
Return an Iterable of all the header names set for this response.
- getHeaderNames() - Method in interface javax.servlet.http.Part
-
Returns a Collection of all the header names provided for this part.
- getHeaders(String) - Method in interface 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.
- getHeaders(String) - Method in interface javax.servlet.http.HttpServletResponse
-
Return a Collection of all the header values associated with the
specified header name.
- getHeaders(String) - Method in class javax.servlet.http.HttpServletResponseWrapper
-
Return a Collection of all the header values associated with the
specified header name.
- getHeaders(String) - Method in interface javax.servlet.http.Part
-
Obtain all the values of the specified part header.
- getHttpMethodConstraints() - Method in class javax.servlet.ServletSecurityElement
-
- 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.
- getIncludeCodas() - Method in interface javax.servlet.descriptor.JspPropertyGroupDescriptor
-
- getIncludePreludes() - Method in interface javax.servlet.descriptor.JspPropertyGroupDescriptor
-
- getInitParameter(String) - Method in interface 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 interface javax.servlet.Registration
-
- 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 interface 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 interface 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 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 interface 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.
- getInitParameters() - Method in interface javax.servlet.Registration
-
- getInputStream() - Method in interface javax.servlet.http.Part
-
Obtain an InputStream
that can be used to retrieve the
contents of the file.
- getInputStream() - Method in interface javax.servlet.ServletRequest
-
- 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 interface 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.
- getIsXml() - Method in interface javax.servlet.descriptor.JspPropertyGroupDescriptor
-
- getJspConfigDescriptor() - Method in interface javax.servlet.ServletContext
-
- getJspPropertyGroups() - Method in interface javax.servlet.descriptor.JspConfigDescriptor
-
- 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, and marked by the time the container received the request.
- 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.
- getLocalAddr() - Method in interface 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 interface 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 interface javax.servlet.ServletResponse
-
- 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 interface 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 interface 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 interface 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.
- getLocation() - Method in class javax.servlet.MultipartConfigElement
-
- getMajorVersion() - Method in interface javax.servlet.ServletContext
-
Returns the major version of the Java Servlet API that this servlet
container supports.
- getMappings() - Method in interface javax.servlet.ServletRegistration
-
- 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.
- getMaxAge() - Method in interface javax.servlet.SessionCookieConfig
-
- getMaxFileSize() - Method in class javax.servlet.MultipartConfigElement
-
- getMaxInactiveInterval() - Method in interface javax.servlet.http.HttpSession
-
Returns the maximum time interval, in seconds, that the servlet container
will keep this session open between client accesses.
- getMaxRequestSize() - Method in class javax.servlet.MultipartConfigElement
-
- 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.
- getMethod() - Method in class javax.servlet.http.HttpServletRequestWrapper
-
The default behavior of this method is to return getMethod() on the
wrapped request object.
- getMethodName() - Method in class javax.servlet.HttpMethodConstraintElement
-
- getMethodNames() - Method in class javax.servlet.ServletSecurityElement
-
- 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 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 interface javax.servlet.http.Part
-
Obtain the name of the field in the multipart form corresponding to this
part.
- getName() - Method in interface javax.servlet.Registration
-
- 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.
- getName() - Method in interface javax.servlet.SessionCookieConfig
-
- getNamedDispatcher(String) - Method in interface javax.servlet.ServletContext
-
- getOutputStream() - Method in interface javax.servlet.ServletResponse
-
- getOutputStream() - Method in class javax.servlet.ServletResponseWrapper
-
The default behavior of this method is to return getOutputStream() on the
wrapped response object.
- getPageEncoding() - Method in interface javax.servlet.descriptor.JspPropertyGroupDescriptor
-
- 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.
- 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 interface 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 interface 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 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.
- 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.
- getPart(String) - Method in interface javax.servlet.http.HttpServletRequest
-
Gets the named Part or null if the Part does not exist.
- getPart(String) - Method in class javax.servlet.http.HttpServletRequestWrapper
-
Gets the named Part or null if the Part does not exist.
- getParts() - Method in interface javax.servlet.http.HttpServletRequest
-
Return a collection of all uploaded Parts.
- getParts() - Method in class javax.servlet.http.HttpServletRequestWrapper
-
Return a collection of all uploaded Parts.
- getPath() - Method in class javax.servlet.http.Cookie
-
Returns the path on the server to which the browser returns this cookie.
- getPath() - Method in interface javax.servlet.SessionCookieConfig
-
- 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.
- 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 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.
- 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 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.
- 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 interface 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 interface 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 interface javax.servlet.ServletContext
-
Returns a String
containing the real path for a given
virtual path.
- getRealPath(String) - Method in interface javax.servlet.ServletRequest
-
- getRealPath(String) - Method in class javax.servlet.ServletRequestWrapper
-
Deprecated.
As of Version 3.0 of the Java Servlet API
- getRemoteAddr() - Method in interface 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 interface 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 interface 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 interface 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 interface javax.servlet.AsyncContext
-
- getRequest() - Method in class javax.servlet.ServletRequestWrapper
-
Get the wrapped request.
- getRequestDispatcher(String) - Method in interface javax.servlet.ServletContext
-
Returns a
RequestDispatcher
object that acts as a wrapper for the
resource located at the given path.
- getRequestDispatcher(String) - Method in interface 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 interface 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 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.
- 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 interface 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(HttpServletRequest) - Static method in class javax.servlet.http.HttpUtils
-
Deprecated.
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 a URL to 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.
- getResourcePaths(String) - Method in interface 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 interface javax.servlet.AsyncContext
-
- getResponse() - Method in class javax.servlet.ServletResponseWrapper
-
Return the wrapped ServletResponse object.
- getRolesAllowed() - Method in class javax.servlet.HttpConstraintElement
-
- getRootCause() - Method in exception javax.servlet.ServletException
-
Returns the exception that caused this servlet exception.
- getRunAsRole() - Method in interface javax.servlet.ServletRegistration
-
- getScheme() - Method in interface 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.
- getScriptingInvalid() - Method in interface javax.servlet.descriptor.JspPropertyGroupDescriptor
-
- 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 interface javax.servlet.ServletContext
-
Returns the name and version of the servlet container on which the
servlet is running.
- getServerName() - Method in interface 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 interface 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(String) - Method in interface javax.servlet.ServletContext
-
Deprecated.
As of Java Servlet API 2.1, with no direct 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.
In lieu of this method, servlets can share information using
the ServletContext
class and can perform shared
business logic by invoking methods on common non-servlet
classes.
- getServlet() - Method in exception javax.servlet.UnavailableException
-
Deprecated.
As of Java Servlet API 2.2, with no replacement.
- getServletConfig() - Method in class javax.servlet.GenericServlet
-
- getServletConfig() - Method in interface javax.servlet.Servlet
-
Returns a
ServletConfig
object, which contains initialization and
startup parameters for this servlet.
- getServletContext() - Method in interface 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 interface javax.servlet.http.HttpSession
-
Returns the ServletContext to which this session belongs.
- getServletContext() - Method in interface 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 interface javax.servlet.ServletRequest
-
- getServletContext() - Method in class javax.servlet.ServletRequestEvent
-
Get the associated ServletContext.
- getServletContext() - Method in class javax.servlet.ServletRequestWrapper
-
The default behavior of this method is to return getServletContext() on
the wrapped request object.
- getServletContextName() - Method in interface 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 interface 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 interface javax.servlet.ServletConfig
-
Returns the name of this servlet instance.
- getServletNameMappings() - Method in interface javax.servlet.FilterRegistration
-
- 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.
- getServletPath() - Method in class javax.servlet.http.HttpServletRequestWrapper
-
The default behavior of this method is to return getServletPath() on the
wrapped request object.
- getServletRegistration(String) - Method in interface javax.servlet.ServletContext
-
Obtain the details of the named servlet.
- getServletRegistrations() - Method in interface javax.servlet.ServletContext
-
- getServletRequest() - Method in class javax.servlet.ServletRequestEvent
-
Get the associated ServletRequest.
- 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(boolean) - Method in interface 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() - 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(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() - 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(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.
- getSession() - Method in class javax.servlet.http.HttpSessionEvent
-
Return the session that changed.
- 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.
- getSessionCookieConfig() - Method in interface javax.servlet.ServletContext
-
- getSize() - Method in interface javax.servlet.http.Part
-
Obtain the size of this part.
- getStatus() - Method in interface javax.servlet.http.HttpServletResponse
-
Return the HTTP status code associated with this Response.
- getStatus() - Method in class javax.servlet.http.HttpServletResponseWrapper
-
Return the HTTP status code associated with this Response.
- getSuppliedRequest() - Method in class javax.servlet.AsyncEvent
-
- getSuppliedResponse() - Method in class javax.servlet.AsyncEvent
-
- getTaglibLocation() - Method in interface javax.servlet.descriptor.TaglibDescriptor
-
- getTaglibs() - Method in interface javax.servlet.descriptor.JspConfigDescriptor
-
- getTaglibURI() - Method in interface javax.servlet.descriptor.TaglibDescriptor
-
- getThrowable() - Method in class javax.servlet.AsyncEvent
-
- getTimeout() - Method in interface javax.servlet.AsyncContext
-
Get timeout in milliseconds. 0 or less indicates no timeout.
- getTransportGuarantee() - Method in class javax.servlet.HttpConstraintElement
-
- getTrimDirectiveWhitespaces() - Method in interface javax.servlet.descriptor.JspPropertyGroupDescriptor
-
- getUnavailableSeconds() - Method in exception javax.servlet.UnavailableException
-
Returns the number of seconds the servlet expects to be temporarily
unavailable.
- getUrlPatternMappings() - Method in interface javax.servlet.FilterRegistration
-
- getUrlPatterns() - Method in interface javax.servlet.descriptor.JspPropertyGroupDescriptor
-
- getUserPrincipal() - Method in interface 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(String) - Method in interface javax.servlet.http.HttpSession
-
- 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.
- getValueNames() - Method in interface 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 interface 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.
- 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_EXPECTATION_FAILED - Static variable in interface 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 variable in interface javax.servlet.http.HttpServletResponse
-
Status code (403) indicating the server understood the request but
refused to fulfill it.
- SC_FOUND - Static variable in interface javax.servlet.http.HttpServletResponse
-
Status code (302) indicating that the resource reside temporarily under a
different URI.
- 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 headers sent 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 request
within 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_REQUESTED_RANGE_NOT_SATISFIABLE - Static variable in interface javax.servlet.http.HttpServletResponse
-
Status code (416) indicating that the server cannot serve the requested
byte range.
- 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_TEMPORARY_REDIRECT - Static variable in interface javax.servlet.http.HttpServletResponse
-
Status code (307) indicating that the requested resource resides
temporarily under a different URI.
- 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, String) - Method in interface javax.servlet.http.HttpServletResponse
-
Sends an error response to the client using the specified status code and
clears the output buffer.
- sendError(int) - Method in interface javax.servlet.http.HttpServletResponse
-
Sends an error response to the client using the specified status code and
clears the buffer.
- 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.
- 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.
- sendRedirect(String) - Method in interface 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.
- service(ServletRequest, ServletResponse) - Method in class javax.servlet.GenericServlet
-
Called by the servlet container to allow the servlet to respond to a
request.
- service(HttpServletRequest, HttpServletResponse) - Method in class javax.servlet.http.HttpServlet
-
Receives standard HTTP requests from the public
service
method and dispatches
them to the do
Method methods defined in
this class.
- service(ServletRequest, ServletResponse) - Method in class javax.servlet.http.HttpServlet
-
Dispatches client requests to the protected
service
method.
- service(ServletRequest, ServletResponse) - Method in interface javax.servlet.Servlet
-
Called by the servlet container to allow the servlet to respond to a
request.
- Servlet - Interface in javax.servlet
-
Defines methods that all servlets must implement.
- ServletConfig - Interface in javax.servlet
-
A servlet configuration object used by a servlet container to pass
information to a servlet during initialization.
- ServletContainerInitializer - Interface in javax.servlet
-
ServletContainerInitializers (SCIs) are registered via an entry in the
file META-INF/services/javax.servlet.ServletContainerInitializer that must be
included in the JAR file that contains the SCI implementation.
- ServletContext - Interface in javax.servlet
-
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.
- ServletContextAttributeEvent - Class in javax.servlet
-
This is the event class for notifications about changes to the attributes of
the servlet context of a web application.
- ServletContextAttributeEvent(ServletContext, String, Object) - Constructor for class javax.servlet.ServletContextAttributeEvent
-
Construct a ServletContextAttributeEvent from the given context for the
given attribute name and attribute value.
- ServletContextAttributeListener - Interface in javax.servlet
-
Implementations of this interface receive notifications of changes to the
attribute list on the servlet context of a web application.
- ServletContextEvent - Class in javax.servlet
-
This is the event class for notifications about changes to the servlet
context of a web application.
- ServletContextEvent(ServletContext) - Constructor for class javax.servlet.ServletContextEvent
-
Construct a ServletContextEvent from the given context.
- ServletContextListener - Interface in javax.servlet
-
Implementations of this interface receive notifications about changes to the
servlet context of the web application they are part of.
- ServletException - Exception in javax.servlet
-
Defines a general exception a servlet can throw when it encounters
difficulty.
- ServletException() - Constructor for exception javax.servlet.ServletException
-
Constructs a new servlet exception.
- ServletException(String) - Constructor for exception javax.servlet.ServletException
-
Constructs a new servlet exception with the specified message.
- ServletException(String, Throwable) - Constructor for exception 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 exception 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.
- ServletInputStream - Class in javax.servlet
-
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 in javax.servlet
-
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.
- ServletRegistration - Interface in javax.servlet
-
TODO SERVLET3 - Add comments
- ServletRegistration.Dynamic - Interface in javax.servlet
-
- ServletRequest - Interface in javax.servlet
-
Defines an object to provide client request information to a servlet.
- ServletRequestAttributeEvent - Class in javax.servlet
-
This is the event class for notifications of changes to the attributes of the
servlet request in an application.
- ServletRequestAttributeEvent(ServletContext, ServletRequest, String, Object) - Constructor for class javax.servlet.ServletRequestAttributeEvent
-
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.
- ServletRequestAttributeListener - Interface in javax.servlet
-
A ServletRequestAttributeListener can be implemented by the
developer interested in being notified of request attribute
changes.
- ServletRequestEvent - Class in javax.servlet
-
Events of this kind indicate lifecycle events for a ServletRequest.
- ServletRequestEvent(ServletContext, ServletRequest) - Constructor for class javax.servlet.ServletRequestEvent
-
Construct a ServletRequestEvent for the given ServletContext and
ServletRequest.
- ServletRequestListener - Interface in javax.servlet
-
A ServletRequestListener can be implemented by the developer
interested in being notified of requests coming in and out of
scope in a web component.
- ServletRequestWrapper - Class in javax.servlet
-
Provides a convenient implementation of the ServletRequest interface that can
be subclassed by developers wishing to adapt the request to a Servlet.
- ServletRequestWrapper(ServletRequest) - Constructor for class javax.servlet.ServletRequestWrapper
-
Creates a ServletRequest adaptor wrapping the given request object.
- ServletResponse - Interface in javax.servlet
-
Defines an object to assist a servlet in sending a response to the client.
- ServletResponseWrapper - Class in javax.servlet
-
Provides a convenient implementation of the ServletResponse interface that
can be subclassed by developers wishing to adapt the response from a Servlet.
- ServletResponseWrapper(ServletResponse) - Constructor for class javax.servlet.ServletResponseWrapper
-
Creates a ServletResponse adaptor wrapping the given response object.
- ServletSecurity - Annotation Type in javax.servlet.annotation
-
Declare this annotation on a
Servlet
implementation
class to enforce security constraints on HTTP protocol requests.
- ServletSecurity.EmptyRoleSemantic - Enum in javax.servlet.annotation
-
Represents the two possible values of the empty role semantic, active
when a list of role names is empty.
- ServletSecurity.TransportGuarantee - Enum in javax.servlet.annotation
-
Represents the two possible values of data transport, encrypted or not.
- ServletSecurityElement - Class in javax.servlet
-
- ServletSecurityElement() - Constructor for class javax.servlet.ServletSecurityElement
-
Use default HttpConstraint.
- ServletSecurityElement(Collection<HttpMethodConstraintElement>) - Constructor for class javax.servlet.ServletSecurityElement
-
Use specific constraints for specified methods and default
HttpConstraintElement for all other methods.
- ServletSecurityElement(HttpConstraintElement) - Constructor for class javax.servlet.ServletSecurityElement
-
Use specified HttpConstraintElement.
- ServletSecurityElement(HttpConstraintElement, Collection<HttpMethodConstraintElement>) - Constructor for class javax.servlet.ServletSecurityElement
-
Use specified HttpConstraintElement as default and specific constraints
for specified methods.
- ServletSecurityElement(ServletSecurity) - Constructor for class javax.servlet.ServletSecurityElement
-
Create from an annotation.
- SessionCookieConfig - Interface in javax.servlet
-
TODO SERVLET3 - Add comments
- sessionCreated(HttpSessionEvent) - Method in interface javax.servlet.http.HttpSessionListener
-
Notification that a session was created.
- sessionDestroyed(HttpSessionEvent) - Method in interface javax.servlet.http.HttpSessionListener
-
Notification that a session is about to be invalidated.
- sessionDidActivate(HttpSessionEvent) - Method in interface javax.servlet.http.HttpSessionActivationListener
-
Notification that the session has just been activated.
- SessionTrackingMode - Enum in javax.servlet
-
- sessionWillPassivate(HttpSessionEvent) - Method in interface javax.servlet.http.HttpSessionActivationListener
-
Notification that the session is about to be passivated.
- setAsyncSupported(boolean) - Method in interface javax.servlet.Registration.Dynamic
-
- setAttribute(String, Object) - Method in interface javax.servlet.http.HttpSession
-
Binds an object to this session, using the name specified.
- setAttribute(String, Object) - Method in interface javax.servlet.ServletContext
-
Binds an object to a given attribute name in this servlet context.
- setAttribute(String, Object) - Method in interface 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 interface 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 interface 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 interface javax.servlet.ServletResponse
-
Sets the character encoding (MIME charset) of the response being sent to
the client, for example, to UTF-8.
- setCharacterEncoding(String) - Method in class javax.servlet.ServletResponseWrapper
-
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.
- setComment(String) - Method in interface javax.servlet.SessionCookieConfig
-
- setContentLength(int) - Method in interface 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 interface 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 interface 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.
- setDomain(String) - Method in interface javax.servlet.SessionCookieConfig
-
- setHeader(String, String) - Method in interface 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.
- setHttpOnly(boolean) - Method in class javax.servlet.http.Cookie
-
Sets the flag that controls if this cookie will be hidden from scripts on
the client side.
- setHttpOnly(boolean) - Method in interface javax.servlet.SessionCookieConfig
-
- setInitParameter(String, String) - Method in interface javax.servlet.Registration
-
- setInitParameter(String, String) - Method in interface javax.servlet.ServletContext
-
- setInitParameters(Map<String, String>) - Method in interface javax.servlet.Registration
-
- setIntHeader(String, int) - Method in interface 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.
- setLoadOnStartup(int) - Method in interface javax.servlet.ServletRegistration.Dynamic
-
- setLocale(Locale) - Method in interface 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.
- setMaxAge(int) - Method in interface javax.servlet.SessionCookieConfig
-
Sets the maximum age.
- setMaxInactiveInterval(int) - Method in interface javax.servlet.http.HttpSession
-
Specifies the time, in seconds, between client requests before the
servlet container will invalidate this session.
- setMultipartConfig(MultipartConfigElement) - Method in interface javax.servlet.ServletRegistration.Dynamic
-
- setName(String) - Method in interface javax.servlet.SessionCookieConfig
-
- setPath(String) - Method in class javax.servlet.http.Cookie
-
Specifies a path for the cookie to which the client should return the
cookie.
- setPath(String) - Method in interface javax.servlet.SessionCookieConfig
-
- setRequest(ServletRequest) - Method in class javax.servlet.ServletRequestWrapper
-
Sets the request object being wrapped.
- setResponse(ServletResponse) - Method in class javax.servlet.ServletResponseWrapper
-
Sets the response being wrapped.
- setRunAsRole(String) - Method in interface javax.servlet.ServletRegistration.Dynamic
-
- 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.
- setSecure(boolean) - Method in interface javax.servlet.SessionCookieConfig
-
- setServletSecurity(ServletSecurityElement) - Method in interface javax.servlet.ServletRegistration.Dynamic
-
- setSessionTrackingModes(Set<SessionTrackingMode>) - Method in interface javax.servlet.ServletContext
-
- 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.
As of version 2.1, due to ambiguous meaning of the message
parameter. To set a status code use
setStatus(int)
, to send an error with a
description use sendError(int, String)
.
- 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.HttpServletResponseWrapper
-
Deprecated.
As of Version 3.0 of the Java Servlet API
- setTimeout(long) - Method in interface javax.servlet.AsyncContext
-
Set timeout in milliseconds. 0 or less indicates no timeout.
- 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 in javax.servlet
-
Deprecated.
As of Java Servlet API 2.4, with no direct replacement.
- start(Runnable) - Method in interface javax.servlet.AsyncContext
-
- startAsync() - Method in interface javax.servlet.ServletRequest
-
- startAsync(ServletRequest, ServletResponse) - Method in interface javax.servlet.ServletRequest
-
- startAsync() - Method in class javax.servlet.ServletRequestWrapper
-
The default behavior of this method is to return startAsync() on the
wrapped request object.
- startAsync(ServletRequest, ServletResponse) - Method in class javax.servlet.ServletRequestWrapper
-
The default behavior of this method is to return startAsync(Runnable) on
the wrapped request object.