Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addCookie(Cookie) - Method in interface javax.servlet.http.HttpServletResponse
-
Adds the specified cookie to the response.
- addCookie(Cookie) - Method in class javax.servlet.http.HttpServletResponseWrapper
-
The default behavior of this method is to call addCookie(Cookie cookie) on the wrapped response object.
- addDateHeader(String, long) - Method in interface javax.servlet.http.HttpServletResponse
-
Adds a response header with the given name and date-value.
- addDateHeader(String, long) - Method in class javax.servlet.http.HttpServletResponseWrapper
-
The default behavior of this method is to call addDateHeader(String name, long date) on the wrapped response object.
- addHeader(String, String) - Method in interface javax.servlet.http.HttpServletResponse
-
Adds a response header with the given name and value.
- addHeader(String, String) - Method in class javax.servlet.http.HttpServletResponseWrapper
-
The default behavior of this method is to return addHeader(String name, String value) on the wrapped response object.
- addIntHeader(String, int) - Method in interface javax.servlet.http.HttpServletResponse
-
Adds a response header with the given name and integer value.
- addIntHeader(String, int) - Method in class javax.servlet.http.HttpServletResponseWrapper
-
The default behavior of this method is to call addIntHeader(String name, int value) on the wrapped response object.
- APPLICATION - Static variable in class javax.servlet.jsp.PageContext
-
Name used to store ServletContext in PageContext name table.
- APPLICATION_SCOPE - Static variable in class javax.servlet.jsp.PageContext
-
Application scope: named reference remains available in the ServletContext until it is reclaimed.
- AT_BEGIN - Static variable in class javax.servlet.jsp.tagext.VariableInfo
-
Scope information that scripting variable is visible after start tag
- AT_END - Static variable in class javax.servlet.jsp.tagext.VariableInfo
-
Scope information that scripting variable is visible after end tag
- attributeAdded(HttpSessionBindingEvent) - Method in interface javax.servlet.http.HttpSessionAttributeListener
-
Notification that an attribute has been added to a session.
- attributeAdded(ServletContextAttributeEvent) - Method in interface javax.servlet.ServletContextAttributeListener
-
Notification that a new attribute was added to the servlet context.
- attributeRemoved(HttpSessionBindingEvent) - Method in interface javax.servlet.http.HttpSessionAttributeListener
-
Notification that an attribute has been removed from a session.
- attributeRemoved(ServletContextAttributeEvent) - Method in interface javax.servlet.ServletContextAttributeListener
-
Notification that an existing attribute has been remved from the servlet context.
- attributeReplaced(HttpSessionBindingEvent) - Method in interface javax.servlet.http.HttpSessionAttributeListener
-
Notification that an attribute has been replaced in a session.
- attributeReplaced(ServletContextAttributeEvent) - Method in interface javax.servlet.ServletContextAttributeListener
-
Notification that an attribute on the servlet context has been replaced.
- autoFlush - Variable in class javax.servlet.jsp.JspWriter
B
- BASIC_AUTH - Static variable in interface javax.servlet.http.HttpServletRequest
-
String identifier for Basic authentication.
- BODY_CONTENT_EMPTY - Static variable in class javax.servlet.jsp.tagext.TagInfo
-
static constant for getBodyContent() when it is empty
- BODY_CONTENT_JSP - Static variable in class javax.servlet.jsp.tagext.TagInfo
-
static constant for getBodyContent() when it is JSP
- BODY_CONTENT_TAG_DEPENDENT - Static variable in class javax.servlet.jsp.tagext.TagInfo
-
static constant for getBodyContent() when it is Tag dependent
- bodyContent - Variable in class javax.servlet.jsp.tagext.BodyTagSupport
- BodyContent - Class in javax.servlet.jsp.tagext
-
An encapsulation of the evaluation of the body of an action so it is available to a tag handler.
- BodyContent(JspWriter) - Constructor for class javax.servlet.jsp.tagext.BodyContent
-
Protected constructor.
- BodyTag - Interface in javax.servlet.jsp.tagext
-
The BodyTag interface extends IterationTag by defining additional methods that let a tag handler manipulate the content of evaluating its body.
- BodyTagSupport - Class in javax.servlet.jsp.tagext
-
A base class for defining tag handlers implementing BodyTag.
- BodyTagSupport() - Constructor for class javax.servlet.jsp.tagext.BodyTagSupport
-
Default constructor, all subclasses are required to only define a public constructor with the same signature, and to call the superclass constructor.
- bufferSize - Variable in class javax.servlet.jsp.JspWriter
C
- canBeRequestTime() - Method in class javax.servlet.jsp.tagext.TagAttributeInfo
-
Whether this attribute can hold a request-time value.
- clear() - Method in class javax.servlet.jsp.JspWriter
-
Clear the contents of the buffer.
- clearBody() - Method in class javax.servlet.jsp.tagext.BodyContent
-
Clear the body without throwing any exceptions.
- clearBuffer() - Method in class javax.servlet.jsp.JspWriter
-
Clears the current contents of the buffer.
- CLIENT_CERT_AUTH - Static variable in interface javax.servlet.http.HttpServletRequest
-
String identifier for Basic authentication.
- clone() - Method in class javax.servlet.http.Cookie
-
Overrides the standard
java.lang.Object.clone
method to return a copy of this cookie. - close() - Method in class javax.servlet.jsp.JspWriter
-
Close the stream, flushing it first
- CONFIG - Static variable in class javax.servlet.jsp.PageContext
-
Name used to store ServletConfig in PageContext name table.
- containsHeader(String) - Method in interface javax.servlet.http.HttpServletResponse
-
Returns a boolean indicating whether the named response header has already been set.
- containsHeader(String) - Method in class javax.servlet.http.HttpServletResponseWrapper
-
The default behavior of this method is to call containsHeader(String name) on the wrapped response object.
- contextDestroyed(ServletContextEvent) - Method in interface javax.servlet.ServletContextListener
-
Notification that the servlet context is about to be shut down.
- contextInitialized(ServletContextEvent) - Method in interface javax.servlet.ServletContextListener
-
Notification that the web application is ready to process requests.
- Cookie - Class in javax.servlet.http
-
Creates a cookie, a small amount of information sent by a servlet to a Web browser, saved by the browser, and later sent back to the server.
- Cookie(String, String) - Constructor for class javax.servlet.http.Cookie
-
Constructs a cookie with a specified name and value.
D
- DEFAULT_BUFFER - Static variable in class javax.servlet.jsp.JspWriter
-
constant indicating that the Writer is buffered and is using the implementation default buffer size
- destroy() - Method in interface javax.servlet.Filter
-
Called by the web container to indicate to a filter that it is being taken out of service.
- destroy() - Method in class javax.servlet.GenericServlet
-
Called by the servlet container to indicate to a servlet that the servlet is being taken out of service.
- destroy() - Method in interface javax.servlet.Servlet
-
Called by the servlet container to indicate to a servlet that the servlet is being taken out of service.
- DIGEST_AUTH - Static variable in interface javax.servlet.http.HttpServletRequest
-
String identifier for Basic authentication.
- doAfterBody() - Method in class javax.servlet.jsp.tagext.BodyTagSupport
-
After the body evaluation: do not reevaluate and continue with the page.
- doAfterBody() - Method in interface javax.servlet.jsp.tagext.IterationTag
-
Process body (re)evaluation.
- doAfterBody() - Method in class javax.servlet.jsp.tagext.TagSupport
-
Default processing for a body
- doCatch(Throwable) - Method in interface javax.servlet.jsp.tagext.TryCatchFinally
-
Invoked if a Throwable occurs while evaluating the BODY inside a tag or in any of the following methods: Tag.doStartTag(), Tag.doEndTag(), IterationTag.doAfterBody() and BodyTag.doInitBody().
- doDelete(HttpServletRequest, HttpServletResponse) - Method in class javax.servlet.http.HttpServlet
-
Called by the server (via the
service
method) to allow a servlet to handle a DELETE request. - doEndTag() - Method in class javax.servlet.jsp.tagext.BodyTagSupport
-
Default processing of the end tag returning EVAL_PAGE.
- doEndTag() - Method in interface javax.servlet.jsp.tagext.Tag
-
Process the end tag for this instance.
- doEndTag() - Method in class javax.servlet.jsp.tagext.TagSupport
-
Default processing of the end tag returning EVAL_PAGE.
- doFilter(ServletRequest, ServletResponse) - Method in interface javax.servlet.FilterChain
-
Causes the next filter in the chain to be invoked, or if the calling filter is the last filter in the chain, causes the resource at the end of the chain to be invoked.
- doFilter(ServletRequest, ServletResponse, FilterChain) - Method in interface javax.servlet.Filter
-
The
doFilter
method of the Filter is called by the container each time a request/response pair is passed through the chain due to a client request for a resource at the end of the chain. - doFinally() - Method in interface javax.servlet.jsp.tagext.TryCatchFinally
-
Invoked in all cases after doEndTag() for any class implementing Tag, IterationTag or BodyTag.
- doGet(HttpServletRequest, HttpServletResponse) - Method in class javax.servlet.http.HttpServlet
-
Called by the server (via the
service
method) to allow a servlet to handle a GET request. - doHead(HttpServletRequest, HttpServletResponse) - Method in class javax.servlet.http.HttpServlet
-
Receives an HTTP HEAD request from the protected
service
method and handles the request. - doInitBody() - Method in interface javax.servlet.jsp.tagext.BodyTag
-
Prepare for evaluation of the body.
- doInitBody() - Method in class javax.servlet.jsp.tagext.BodyTagSupport
-
Prepare for evaluation of the body just before the first body evaluation: no action.
- doOptions(HttpServletRequest, HttpServletResponse) - Method in class javax.servlet.http.HttpServlet
-
Called by the server (via the
service
method) to allow a servlet to handle a OPTIONS request. - doPost(HttpServletRequest, HttpServletResponse) - Method in class javax.servlet.http.HttpServlet
-
Called by the server (via the
service
method) to allow a servlet to handle a POST request. - doPut(HttpServletRequest, HttpServletResponse) - Method in class javax.servlet.http.HttpServlet
-
Called by the server (via the
service
method) to allow a servlet to handle a PUT request. - doStartTag() - Method in class javax.servlet.jsp.tagext.BodyTagSupport
-
Default processing of the start tag returning EVAL_BODY_BUFFERED
- doStartTag() - Method in interface javax.servlet.jsp.tagext.Tag
-
Process the start tag for this instance.
- doStartTag() - Method in class javax.servlet.jsp.tagext.TagSupport
-
Default processing of the start tag, returning SKIP_BODY.
- doTrace(HttpServletRequest, HttpServletResponse) - Method in class javax.servlet.http.HttpServlet
-
Called by the server (via the
service
method) to allow a servlet to handle a TRACE request.
E
- encodeRedirectUrl(String) - Method in interface javax.servlet.http.HttpServletResponse
-
Deprecated.As of version 2.1, use encodeRedirectURL(String url) instead
- encodeRedirectUrl(String) - Method in class javax.servlet.http.HttpServletResponseWrapper
-
The default behavior of this method is to return encodeRedirectUrl(String url) on the wrapped response object.
- 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 class javax.servlet.http.HttpServletResponseWrapper
-
The default behavior of this method is to return encodeRedirectURL(String url) on the wrapped response object.
- encodeUrl(String) - Method in interface javax.servlet.http.HttpServletResponse
-
Deprecated.As of version 2.1, use encodeURL(String url) instead
- encodeUrl(String) - Method in class javax.servlet.http.HttpServletResponseWrapper
-
The default behavior of this method is to call encodeUrl(String url) on the wrapped response object.
- 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 class javax.servlet.http.HttpServletResponseWrapper
-
The default behavior of this method is to call encodeURL(String url) on the wrapped response object.
- EVAL_BODY_AGAIN - Static variable in interface javax.servlet.jsp.tagext.IterationTag
-
Request the reevaluation of some body.
- EVAL_BODY_BUFFERED - Static variable in interface javax.servlet.jsp.tagext.BodyTag
-
Request the creation of new buffer, a BodyContent on which to evaluate the body of this tag.
- EVAL_BODY_INCLUDE - Static variable in interface javax.servlet.jsp.tagext.Tag
-
Evaluate body into existing out stream.
- EVAL_BODY_TAG - Static variable in interface javax.servlet.jsp.tagext.BodyTag
-
Deprecated.As of Java JSP API 1.2, use BodyTag.EVAL_BODY_BUFFERED or IterationTag.EVAL_BODY_AGAIN.
- EVAL_PAGE - Static variable in interface javax.servlet.jsp.tagext.Tag
-
Continue evaluating the page.
- EXCEPTION - Static variable in class javax.servlet.jsp.PageContext
-
Name used to store uncaught exception in ServletRequest attribute list and PageContext name table.
F
- Filter - Interface in javax.servlet
-
A filter is an object than perform filtering tasks on either the request to a resource (a servlet or static content), or on the response from a resource, or both.
Filters perform filtering in thedoFilter
method. - FilterChain - Interface in javax.servlet
-
A FilterChain is an object provided by the servlet container to the developer giving a view into the invocation chain of a filtered request for a resource.
- FilterConfig - Interface in javax.servlet
-
A filter configuration object used by a servlet container used to pass information to a filter during initialization.
- findAncestorWithClass(Tag, Class) - Static method in class javax.servlet.jsp.tagext.TagSupport
-
Find the instance of a given class type that is closest to a given instance.
- findAttribute(String) - Method in class javax.servlet.jsp.PageContext
-
Searches for the named attribute in page, request, session (if valid), and application scope(s) in order and returns the value associated or null.
- flush() - Method in class javax.servlet.jsp.JspWriter
-
Flush the stream.
- flush() - Method in class javax.servlet.jsp.tagext.BodyContent
-
Redefined flush() so it is not legal.
- flushBuffer() - Method in interface javax.servlet.ServletResponse
-
Forces any content in the buffer to be written to the client.
- flushBuffer() - Method in class javax.servlet.ServletResponseWrapper
-
The default behavior of this method is to call flushBuffer() on the wrapped response object.
- FORM_AUTH - Static variable in interface javax.servlet.http.HttpServletRequest
-
String identifier for Basic authentication.
- forward(String) - Method in class javax.servlet.jsp.PageContext
-
This method is used to re-direct, or "forward" the current ServletRequest and ServletResponse to another active component in the application.
- forward(ServletRequest, ServletResponse) - Method in interface javax.servlet.RequestDispatcher
-
Forwards a request from a servlet to another resource (servlet, JSP file, or HTML file) on the server.
G
- GenericServlet - Class in javax.servlet
-
Defines a generic, protocol-independent servlet.
- GenericServlet() - Constructor for class javax.servlet.GenericServlet
-
Does nothing.
- 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 class javax.servlet.jsp.PageContext
-
Return the object associated with the name in the page scope or null if not found.
- getAttribute(String) - Method in class javax.servlet.jsp.tagext.TagData
-
The value of the attribute.
- 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
, ornull
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.
- getAttribute(String, int) - Method in class javax.servlet.jsp.PageContext
-
Return the object associated with the name in the specified scope or null if not found.
- getAttributeNames() - Method in interface javax.servlet.http.HttpSession
-
Returns an
Enumeration
ofString
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.
- getAttributeNamesInScope(int) - Method in class javax.servlet.jsp.PageContext
-
Enumerate all the attributes in a given scope
- getAttributes() - Method in class javax.servlet.jsp.tagext.TagData
-
Enumerates the attributes.
- getAttributes() - Method in class javax.servlet.jsp.tagext.TagInfo
-
Attribute information (in the TLD) on this tag.
- getAttributesScope(String) - Method in class javax.servlet.jsp.PageContext
-
Get the scope where a given attribute is defined.
- getAttributeString(String) - Method in class javax.servlet.jsp.tagext.TagData
-
Get the value for a given attribute.
- 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.
- getBodyContent() - Method in class javax.servlet.jsp.tagext.BodyTagSupport
-
Get current bodyContent.
- getBodyContent() - Method in class javax.servlet.jsp.tagext.TagInfo
-
The bodycontent information for this tag.
- getBufferSize() - Method in class javax.servlet.jsp.JspWriter
-
This method returns the size of the buffer used by the JspWriter.
- 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 charset used for the MIME 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.
- getClassName() - Method in class javax.servlet.jsp.tagext.TagVariableInfo
-
The body of the <variable-class> element.
- getClassName() - Method in class javax.servlet.jsp.tagext.VariableInfo
- getComment() - Method in class javax.servlet.http.Cookie
-
Returns the comment describing the purpose of this cookie, or
null
if the cookie has no comment. - getContentLength() - Method in interface javax.servlet.ServletRequest
-
Returns the length, in bytes, of the 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.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.
- 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.
- 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 aDate
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.
- getDeclare() - Method in class javax.servlet.jsp.tagext.TagVariableInfo
-
The body of the <declare> element
- getDeclare() - Method in class javax.servlet.jsp.tagext.VariableInfo
- getDefaultFactory() - Static method in class javax.servlet.jsp.JspFactory
- getDisplayName() - Method in class javax.servlet.jsp.tagext.TagInfo
-
Get the displayName
- getDomain() - Method in class javax.servlet.http.Cookie
-
Returns the domain name set for this cookie.
- getEnclosingWriter() - Method in class javax.servlet.jsp.tagext.BodyContent
-
Get the enclosing JspWriter.
- getEngineInfo() - Method in class javax.servlet.jsp.JspFactory
-
called to get implementation-specific information on the current JSP engine
- getException() - Method in class javax.servlet.jsp.PageContext
-
The current value of the exception object (an Exception).
- getFilterName() - Method in interface javax.servlet.FilterConfig
-
Returns the filter-name of this filter as defined in the deployment descriptor.
- 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.
- 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.
- getHeaders(String) - Method in interface javax.servlet.http.HttpServletRequest
-
Returns all the values of the specified request header as an
Enumeration
ofString
objects. - getHeaders(String) - Method in class javax.servlet.http.HttpServletRequestWrapper
-
The default behavior of this method is to return getHeaders(String name) on the wrapped request object.
- getId() - Method in interface javax.servlet.http.HttpSession
-
Returns a string containing the unique identifier assigned to this session.
- getId() - Method in class javax.servlet.jsp.tagext.TagData
-
The value of the id attribute, if available.
- getId() - Method in class javax.servlet.jsp.tagext.TagSupport
-
The value of the id attribute of this tag; or null.
- getId() - Method in class javax.servlet.jsp.tagext.ValidationMessage
-
Get the jsp:id.
- getIdAttribute(TagAttributeInfo[]) - Static method in class javax.servlet.jsp.tagext.TagAttributeInfo
-
Convenience static method that goes through an array of TagAttributeInfo objects and looks for "id".
- 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. - getInfoString() - Method in class javax.servlet.jsp.tagext.TagInfo
-
The information string for the tag.
- getInfoString() - Method in class javax.servlet.jsp.tagext.TagLibraryInfo
-
Information (documentation) for this TLD.
- getInitParameter(String) - Method in interface javax.servlet.FilterConfig
-
Returns a
String
containing the value of the named initialization parameter, ornull
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, ornull
if the parameter does not exist. - getInitParameter(String) - Method in interface javax.servlet.ServletConfig
-
Returns a
String
containing the value of the named initialization parameter, ornull
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, ornull
if the parameter does not exist. - getInitParameterNames() - Method in interface javax.servlet.FilterConfig
-
Returns the names of the servlet's initialization parameters as an
Enumeration
ofString
objects, or an emptyEnumeration
if the servlet has no initialization parameters. - getInitParameterNames() - Method in class javax.servlet.GenericServlet
-
Returns the names of the servlet's initialization parameters as an
Enumeration
ofString
objects, or an emptyEnumeration
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
ofString
objects, or an emptyEnumeration
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
ofString
objects, or an emptyEnumeration
if the context has no initialization parameters. - getInitParameters() - Method in class javax.servlet.jsp.tagext.TagLibraryValidator
-
Get the init parameters data as an immutable Map.
- getInputStream() - Method in class javax.servlet.jsp.tagext.PageData
-
Returns an input stream on the XML view of a JSP page.
- getInputStream() - Method in interface javax.servlet.ServletRequest
-
Retrieves the body of the request as binary data using a
ServletInputStream
. - getInputStream() - Method in class javax.servlet.ServletRequestWrapper
-
The default behavior of this method is to return getInputStream() on the wrapped request object.
- getIntHeader(String) - Method in 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.
- getLargeIcon() - Method in class javax.servlet.jsp.tagext.TagInfo
-
Get the path to the large icon
- 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 recieved 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. - 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
-
Returns the locale assigned to the response.
- 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
ofLocale
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.
- getMajorVersion() - Method in interface javax.servlet.ServletContext
-
Returns the major version of the Java Servlet API that this servlet container supports.
- getMaxAge() - Method in class javax.servlet.http.Cookie
-
Returns the maximum age of the cookie, specified in seconds, By default,
-1
indicating the cookie will persist until browser shutdown. - getMaxInactiveInterval() - Method in interface javax.servlet.http.HttpSession
-
Returns the maximum time interval, in seconds, that the servlet container will keep this session open between client accesses.
- getMessage() - Method in class javax.servlet.jsp.tagext.ValidationMessage
-
Get the localized validation message.
- 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.
- 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 class javax.servlet.jsp.tagext.TagAttributeInfo
-
The name of this attribute.
- getName() - Method in class javax.servlet.ServletContextAttributeEvent
-
Return the name of the attribute that changed on the ServletContext.
- getNamedDispatcher(String) - Method in interface javax.servlet.ServletContext
-
Returns a
RequestDispatcher
object that acts as a wrapper for the named servlet. - getNameFromAttribute() - Method in class javax.servlet.jsp.tagext.TagVariableInfo
-
The body of the <name-from-attribute> element.
- getNameGiven() - Method in class javax.servlet.jsp.tagext.TagVariableInfo
-
The body of the <name-given> element
- getOut() - Method in class javax.servlet.jsp.PageContext
-
The current value of the out object (a JspWriter).
- getOutputStream() - Method in interface javax.servlet.ServletResponse
-
Returns a
ServletOutputStream
suitable for writing binary data in the response. - getOutputStream() - Method in class javax.servlet.ServletResponseWrapper
-
The default behavior of this method is to return getOutputStream() on the wrapped response object.
- getPage() - Method in class javax.servlet.jsp.PageContext
-
The current value of the page object (a Servlet).
- getPageContext(Servlet, ServletRequest, ServletResponse, String, boolean, int, boolean) - Method in class javax.servlet.jsp.JspFactory
-
obtains an instance of an implementation dependent javax.servlet.jsp.PageContext abstract class for the calling Servlet and currently pending request and response.
- getParameter(String) - Method in interface javax.servlet.ServletRequest
-
Returns the value of a request parameter as a
String
, ornull
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
ofString
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, ornull
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.
- getParent() - Method in interface javax.servlet.jsp.tagext.Tag
-
Get the parent (closest enclosing tag handler) for this tag handler.
- getParent() - Method in class javax.servlet.jsp.tagext.TagSupport
-
The Tag instance most closely enclosing this tag instance.
- getPath() - Method in class javax.servlet.http.Cookie
-
Returns the path on the server to which the browser returns this cookie.
- getPathInfo() - Method in interface javax.servlet.http.HttpServletRequest
-
Returns any extra path information associated with the URL the client sent when it made this request.
- 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.
- getPrefixString() - Method in class javax.servlet.jsp.tagext.TagLibraryInfo
-
The prefix assigned to this taglib from the invalid input: '<'%taglib directive
- getPreviousOut() - Method in class javax.servlet.jsp.tagext.BodyTagSupport
-
Get surrounding out JspWriter.
- 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 class javax.servlet.jsp.tagext.BodyContent
-
Return the value of this BodyContent as a Reader.
- 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
-
Deprecated.As of Version 2.1 of the Java Servlet API, use
ServletContext.getRealPath(java.lang.String)
instead. - getRealPath(String) - Method in class javax.servlet.ServletRequestWrapper
-
The default behavior of this method is to return getRealPath(String path) on the wrapped request object.
- getReliableURN() - Method in class javax.servlet.jsp.tagext.TagLibraryInfo
-
The "reliable" URN indicated in the TLD.
- getRemaining() - Method in class javax.servlet.jsp.JspWriter
-
This method returns the number of unused bytes in the buffer.
- getRemoteAddr() - Method in interface javax.servlet.ServletRequest
-
Returns the Internet Protocol (IP) address of the client 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 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.
- 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 class javax.servlet.jsp.PageContext
-
The current value of the request object (a ServletRequest).
- getRequest() - Method in class javax.servlet.ServletRequestWrapper
-
Return the wrapped request object.
- 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. - getRequiredVersion() - Method in class javax.servlet.jsp.tagext.TagLibraryInfo
-
A string describing the required version of the JSP container.
- 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 class javax.servlet.jsp.PageContext
-
The current value of the response object (a ServletResponse).
- getResponse() - Method in class javax.servlet.ServletResponseWrapper
-
Return the wrapped ServletResponse object.
- getRootCause() - Method in exception class javax.servlet.jsp.JspException
-
Returns the exception that caused this JSP exception.
- getRootCause() - Method in exception class javax.servlet.ServletException
-
Returns the exception that caused this servlet exception.
- getScheme() - Method in interface javax.servlet.ServletRequest
-
Returns the name of the scheme used to make this request, for example,
http
,https
, orftp
. - getScheme() - Method in class javax.servlet.ServletRequestWrapper
-
The default behavior of this method is to return getScheme() on the wrapped request object.
- getScope() - Method in class javax.servlet.jsp.tagext.TagVariableInfo
-
The body of the <scope> element
- getScope() - Method in class javax.servlet.jsp.tagext.VariableInfo
- getSecure() - Method in class javax.servlet.http.Cookie
-
Returns
true
if the browser is sending cookies only over a secure protocol, orfalse
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 that received the request.
- 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 on which this request was received.
- getServerPort() - Method in class javax.servlet.ServletRequestWrapper
-
The default behavior of this method is to return getServerPort() on the wrapped request object.
- getServlet() - Method in exception class javax.servlet.UnavailableException
-
Deprecated.As of Java Servlet API 2.2, with no replacement. Returns the servlet that is reporting its unavailability.
- getServlet(String) - Method in interface javax.servlet.ServletContext
-
Deprecated.As of Java Servlet API 2.1, with no direct replacement.
This method was originally defined to retrieve a servlet from a
ServletContext
. In this version, this method always returnsnull
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. - getServletConfig() - Method in class javax.servlet.GenericServlet
-
Returns this servlet's
ServletConfig
object. - getServletConfig() - Method in class javax.servlet.jsp.PageContext
-
The ServletConfig instance.
- 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 class javax.servlet.jsp.PageContext
-
The ServletContext instance.
- 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.
- getServletContextName() - Method in interface javax.servlet.ServletContext
-
Returns the name of this web application correponding to this ServletContext as specified in the deployment descriptor for this web application by the display-name element.
- 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.
- 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 emptyEnumeration
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.
- getServlets() - Method in interface javax.servlet.ServletContext
-
Deprecated.As of Java Servlet API 2.0, with no replacement.
This method was originally defined to return an
Enumeration
of all the servlets known to this servlet context. In this version, this method always returns an empty enumeration and remains only to preserve binary compatibility. This method will be permanently removed in a future version of the Java Servlet API. - getSession() - Method in interface javax.servlet.http.HttpServletRequest
-
Returns the current session associated with this request, or if the request does not have a session, creates one.
- getSession() - Method in class javax.servlet.http.HttpServletRequestWrapper
-
The default behavior of this method is to return getSession() on the wrapped request object.
- getSession() - Method in class javax.servlet.http.HttpSessionBindingEvent
-
Return the session that changed.
- getSession() - Method in class javax.servlet.http.HttpSessionEvent
-
Return the session that changed.
- getSession() - Method in class javax.servlet.jsp.PageContext
-
The current value of the session object (an HttpSession).
- getSession(boolean) - Method in interface javax.servlet.http.HttpServletRequest
-
Returns the current
HttpSession
associated with this request or, if if there is no current session andcreate
is true, returns a new session. - getSession(boolean) - Method in class javax.servlet.http.HttpServletRequestWrapper
-
The default behavior of this method is to return getSession(boolean create) on the wrapped request object.
- getSession(String) - Method in interface javax.servlet.http.HttpSessionContext
-
Deprecated.As of Java Servlet API 2.1 with no replacement. This method must return null and will be removed in a future version of this API.
- getSessionContext() - Method in interface javax.servlet.http.HttpSession
-
Deprecated.As of Version 2.1, this method is deprecated and has no replacement. It will be removed in a future version of the Java Servlet API.
- getShortName() - Method in class javax.servlet.jsp.tagext.TagLibraryInfo
-
The preferred short name (prefix) as indicated in the TLD.
- getSmallIcon() - Method in class javax.servlet.jsp.tagext.TagInfo
-
Get the path to the small icon
- getSpecificationVersion() - Method in class javax.servlet.jsp.JspEngineInfo
-
Return the version number of the JSP specification that is supported by this JSP engine.
- getString() - Method in class javax.servlet.jsp.tagext.BodyContent
-
Return the value of the BodyContent as a String.
- getTag(String) - Method in class javax.servlet.jsp.tagext.TagLibraryInfo
-
Get the TagInfo for a given tag name, looking through all the tags in this tag library.
- getTagClassName() - Method in class javax.servlet.jsp.tagext.TagInfo
-
Name of the class that provides the handler for this tag.
- getTagExtraInfo() - Method in class javax.servlet.jsp.tagext.TagInfo
-
The instance (if any) for extra tag information
- getTagInfo() - Method in class javax.servlet.jsp.tagext.TagExtraInfo
-
Get the TagInfo for this class.
- getTagLibrary() - Method in class javax.servlet.jsp.tagext.TagInfo
-
The instance of TabLibraryInfo we belong to.
- getTagName() - Method in class javax.servlet.jsp.tagext.TagInfo
-
The name of the Tag.
- getTags() - Method in class javax.servlet.jsp.tagext.TagLibraryInfo
-
An array describing the tags that are defined in this tag library.
- getTagVariableInfos() - Method in class javax.servlet.jsp.tagext.TagInfo
-
Get TagVariableInfo objects associated with this TagInfo
- getTypeName() - Method in class javax.servlet.jsp.tagext.TagAttributeInfo
-
The type (as a String) of this attribute.
- getUnavailableSeconds() - Method in exception class javax.servlet.UnavailableException
-
Returns the number of seconds the servlet expects to be temporarily unavailable.
- getURI() - Method in class javax.servlet.jsp.tagext.TagLibraryInfo
-
The value of the uri attribute from the invalid input: '<'%@ taglib directive for this library.
- 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() - 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(String) - Method in interface javax.servlet.http.HttpSession
-
Deprecated.As of Version 2.2, this method is replaced by
HttpSession.getAttribute(java.lang.String)
. - getValue(String) - Method in class javax.servlet.jsp.tagext.TagSupport
-
Get a the value associated with a key.
- getValueNames() - Method in interface javax.servlet.http.HttpSession
-
Deprecated.As of Version 2.2, this method is replaced by
HttpSession.getAttributeNames()
- getValues() - Method in class javax.servlet.jsp.tagext.TagSupport
-
Enumerate the values kept by this tag handler.
- getVariableInfo(TagData) - Method in class javax.servlet.jsp.tagext.TagExtraInfo
-
information on scripting variables defined by the tag associated with this TagExtraInfo instance.
- getVariableInfo(TagData) - Method in class javax.servlet.jsp.tagext.TagInfo
-
Information on the scripting objects created by this tag at runtime.
- getVarName() - Method in class javax.servlet.jsp.tagext.VariableInfo
- 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.
H
- handlePageException(Exception) - Method in class javax.servlet.jsp.PageContext
-
This method is intended to process an unhandled "page" level exception by redirecting the exception to either the specified error page for this JSP, or if none was specified, to perform some implementation dependent action.
- handlePageException(Throwable) - Method in class javax.servlet.jsp.PageContext
-
This method is identical to the handlePageException(Exception), except that it accepts a Throwable.
- HttpJspPage - Interface in javax.servlet.jsp
-
The HttpJspPage interface describes the interaction that a JSP Page Implementation Class must satisfy when using the HTTP protocol.
- HttpServlet - Class in javax.servlet.http
-
Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site.
- HttpServlet() - Constructor for class javax.servlet.http.HttpServlet
-
Does nothing, because this is an abstract class.
- HttpServletRequest - Interface in javax.servlet.http
-
Extends the
ServletRequest
interface to provide request information for HTTP servlets. - HttpServletRequestWrapper - Class in javax.servlet.http
-
Provides a convenient implementation of the HttpServletRequest interface that can be subclassed by developers wishing to adapt the request to a Servlet.
- HttpServletRequestWrapper(HttpServletRequest) - Constructor for class javax.servlet.http.HttpServletRequestWrapper
-
Constructs a request object wrapping the given request.
- HttpServletResponse - Interface in javax.servlet.http
-
Extends the
ServletResponse
interface to provide HTTP-specific functionality in sending a response. - HttpServletResponseWrapper - Class in javax.servlet.http
-
Provides a convenient implementation of the HttpServletResponse interface that can be subclassed by developers wishing to adapt the response from a Servlet.
- HttpServletResponseWrapper(HttpServletResponse) - Constructor for class javax.servlet.http.HttpServletResponseWrapper
-
Constructs a response adaptor wrapping the given response.
- HttpSession - Interface in javax.servlet.http
-
Provides a way to identify a user across more than one page request or visit to a Web site and to store information about that user.
- HttpSessionActivationListener - Interface in javax.servlet.http
-
Objects that are bound to a session may listen to container events notifying them that sessions will be passivated and that session will be activated.
- HttpSessionAttributeListener - Interface in javax.servlet.http
-
This listener interface can be implemented in order to get notifications of changes to the attribute lists of sessions within this web application.
- HttpSessionBindingEvent - Class in javax.servlet.http
-
Events of this type are either sent to an object that implements
HttpSessionBindingListener
when it is bound or unbound from a session, or to aHttpSessionAttributeListener
that has been configured in the deployment descriptor when any attribute is bound, unbound or replaced in a session. - HttpSessionBindingEvent(HttpSession, String) - Constructor for class javax.servlet.http.HttpSessionBindingEvent
-
Constructs an event that notifies an object that it has been bound to or unbound from a session.
- HttpSessionBindingEvent(HttpSession, String, Object) - Constructor for class javax.servlet.http.HttpSessionBindingEvent
-
Constructs an event that notifies an object that it has been bound to or unbound from a session.
- HttpSessionBindingListener - Interface in javax.servlet.http
-
Causes an object to be notified when it is bound to or unbound from a session.
- HttpSessionContext - Interface in javax.servlet.http
-
Deprecated.As of Java(tm) Servlet API 2.1 for security reasons, with no replacement. This interface will be removed in a future version of this API.
- HttpSessionEvent - Class in javax.servlet.http
-
This is the class representing event notifications for changes to sessions within a web application.
- HttpSessionEvent(HttpSession) - Constructor for class javax.servlet.http.HttpSessionEvent
-
Construct a session event from the given source.
- HttpSessionListener - Interface in javax.servlet.http
-
Implementations of this interface may are notified of changes to the list of active sessions in a web application.
- HttpUtils - Class in javax.servlet.http
-
Deprecated.As of Java(tm) Servlet API 2.3. These methods were only useful with the default encoding and have been moved to the request interfaces.
- HttpUtils() - Constructor for class javax.servlet.http.HttpUtils
-
Deprecated.Constructs an empty
HttpUtils
object.
I
- id - Variable in class javax.servlet.jsp.tagext.TagSupport
- ID - Static variable in class javax.servlet.jsp.tagext.TagAttributeInfo
-
"id" is wired in to be ID.
- include(String) - Method in class javax.servlet.jsp.PageContext
-
Causes the resource specified to be processed as part of the current ServletRequest and ServletResponse being processed by the calling Thread.
- include(ServletRequest, ServletResponse) - Method in interface javax.servlet.RequestDispatcher
-
Includes the content of a resource (servlet, JSP page, HTML file) in the response.
- info - Variable in class javax.servlet.jsp.tagext.TagLibraryInfo
- init() - Method in class javax.servlet.GenericServlet
-
A convenience method which can be overridden so that there's no need to call
super.init(config)
. - init(FilterConfig) - Method in interface javax.servlet.Filter
-
Called by the web container to indicate to a filter that it is being placed into service.
- init(ServletConfig) - Method in class javax.servlet.GenericServlet
-
Called by the servlet container to indicate to a servlet that the servlet is being placed into service.
- init(ServletConfig) - Method in interface javax.servlet.Servlet
-
Called by the servlet container to indicate to a servlet that the servlet is being placed into service.
- initialize(Servlet, ServletRequest, ServletResponse, String, boolean, int, boolean) - Method in class javax.servlet.jsp.PageContext
-
The initialize method is called to initialize an uninitialized PageContext so that it may be used by a JSP Implementation class to service an incoming request and response within it's _jspService() method.
- invalidate() - Method in interface javax.servlet.http.HttpSession
-
Invalidates this session then unbinds any objects bound to it.
- isAutoFlush() - Method in class javax.servlet.jsp.JspWriter
-
This method indicates whether the JspWriter is autoFlushing.
- isCommitted() - Method in interface javax.servlet.ServletResponse
-
Returns a boolean indicating if the response has been committed.
- isCommitted() - Method in class javax.servlet.ServletResponseWrapper
-
The default behavior of this method is to return isCommitted() on the wrapped response object.
- isNew() - Method in interface javax.servlet.http.HttpSession
-
Returns
true
if the client does not yet know about the session or if the client chooses not to join the session. - isPermanent() - Method in exception class javax.servlet.UnavailableException
-
Returns a
boolean
indicating whether the servlet is permanently unavailable. - isRequestedSessionIdFromCookie() - Method in interface javax.servlet.http.HttpServletRequest
-
Checks whether the requested session ID came in as a cookie.
- isRequestedSessionIdFromCookie() - Method in class javax.servlet.http.HttpServletRequestWrapper
-
The default behavior of this method is to return isRequestedSessionIdFromCookie() on the wrapped request object.
- isRequestedSessionIdFromUrl() - Method in interface javax.servlet.http.HttpServletRequest
-
Deprecated.As of Version 2.1 of the Java Servlet API, use
HttpServletRequest.isRequestedSessionIdFromURL()
instead. - isRequestedSessionIdFromUrl() - Method in class javax.servlet.http.HttpServletRequestWrapper
-
The default behavior of this method is to return isRequestedSessionIdFromUrl() on the wrapped request object.
- isRequestedSessionIdFromURL() - Method in interface javax.servlet.http.HttpServletRequest
-
Checks whether the requested session ID came in as part of the request URL.
- isRequestedSessionIdFromURL() - Method in class javax.servlet.http.HttpServletRequestWrapper
-
The default behavior of this method is to return isRequestedSessionIdFromURL() on the wrapped request object.
- isRequestedSessionIdValid() - Method in interface javax.servlet.http.HttpServletRequest
-
Checks whether the requested session ID is still valid.
- isRequestedSessionIdValid() - Method in class javax.servlet.http.HttpServletRequestWrapper
-
The default behavior of this method is to return isRequestedSessionIdValid() on the wrapped request object.
- isRequired() - Method in class javax.servlet.jsp.tagext.TagAttributeInfo
-
Whether this attribute is required.
- isSecure() - Method in interface javax.servlet.ServletRequest
-
Returns a boolean indicating whether this request was made using a secure channel, such as HTTPS.
- isSecure() - Method in class javax.servlet.ServletRequestWrapper
-
The default behavior of this method is to return isSecure() on the wrapped request object.
- isUserInRole(String) - Method in interface javax.servlet.http.HttpServletRequest
-
Returns a boolean indicating whether the authenticated user is included in the specified logical "role".
- isUserInRole(String) - Method in class javax.servlet.http.HttpServletRequestWrapper
-
The default behavior of this method is to return isUserInRole(String role) on the wrapped request object.
- isValid(TagData) - Method in class javax.servlet.jsp.tagext.TagExtraInfo
-
Translation-time validation of the attributes.
- isValid(TagData) - Method in class javax.servlet.jsp.tagext.TagInfo
-
Translation-time validation of the attributes.
- IterationTag - Interface in javax.servlet.jsp.tagext
-
The IterationTag interface extends Tag by defining one additional method that controls the reevaluation of its body.
J
- javax.servlet - package javax.servlet
- javax.servlet.http - package javax.servlet.http
- javax.servlet.jsp - package javax.servlet.jsp
- javax.servlet.jsp.tagext - package javax.servlet.jsp.tagext
- jspDestroy() - Method in interface javax.servlet.jsp.JspPage
-
The jspDestroy() method is invoked when the JSP page is about to be destroyed.
- JspEngineInfo - Class in javax.servlet.jsp
-
The JspEngineInfo is an abstract class that provides information on the current JSP engine.
- JspEngineInfo() - Constructor for class javax.servlet.jsp.JspEngineInfo
- JspException - Exception Class in javax.servlet.jsp
-
A generic exception known to the JSP engine; uncaught JspExceptions will result in an invocation of the errorpage machinery.
- JspException() - Constructor for exception class javax.servlet.jsp.JspException
-
Construct a JspException
- JspException(String) - Constructor for exception class javax.servlet.jsp.JspException
-
Constructs a new JSP exception with the specified message.
- JspException(String, Throwable) - Constructor for exception class javax.servlet.jsp.JspException
-
Constructs a new JSP exception when the JSP needs to throw an exception and include a message about the "root cause" exception that interfered with its normal operation, including a description message.
- JspException(Throwable) - Constructor for exception class javax.servlet.jsp.JspException
-
Constructs a new JSP exception when the JSP needs to throw an exception and include a message about the "root cause" exception that interfered with its normal operation.
- JspFactory - Class in javax.servlet.jsp
-
The JspFactory is an abstract class that defines a number of factory methods available to a JSP page at runtime for the purposes of creating instances of various interfaces and classes used to support the JSP implementation.
- JspFactory() - Constructor for class javax.servlet.jsp.JspFactory
- jspInit() - Method in interface javax.servlet.jsp.JspPage
-
The jspInit() method is invoked when the JSP page is initialized.
- JspPage - Interface in javax.servlet.jsp
-
The JspPage interface describes the generic interaction that a JSP Page Implementation class must satisfy; pages that use the HTTP protocol are described by the HttpJspPage interface.
- JspTagException - Exception Class in javax.servlet.jsp
-
Exception to be used by a Tag Handler to indicate some unrecoverable error.
- JspTagException() - Constructor for exception class javax.servlet.jsp.JspTagException
-
No message
- JspTagException(String) - Constructor for exception class javax.servlet.jsp.JspTagException
-
Constructor with a message.
- jspversion - Variable in class javax.servlet.jsp.tagext.TagLibraryInfo
- JspWriter - Class in javax.servlet.jsp
-
The actions and template data in a JSP page is written using the JspWriter object that is referenced by the implicit variable out which is initialized automatically using methods in the PageContext object.
- JspWriter(int, boolean) - Constructor for class javax.servlet.jsp.JspWriter
-
protected constructor.
L
- log(Exception, String) - Method in interface javax.servlet.ServletContext
-
Deprecated.As of Java Servlet API 2.1, use
ServletContext.log(String message, Throwable throwable)
instead.This method was originally defined to write an exception's stack trace and an explanatory error message to the servlet log file.
- log(String) - Method in class javax.servlet.GenericServlet
-
Writes the specified message to a servlet log file, prepended by the servlet's name.
- log(String) - Method in interface javax.servlet.ServletContext
-
Writes the specified message to a servlet log file, usually an event log.
- log(String, Throwable) - Method in class javax.servlet.GenericServlet
-
Writes an explanatory message and a stack trace for a given
Throwable
exception to the servlet log file, prepended by the servlet's name. - log(String, Throwable) - Method in interface javax.servlet.ServletContext
-
Writes an explanatory message and a stack trace for a given
Throwable
exception to the servlet log file.
N
- NESTED - Static variable in class javax.servlet.jsp.tagext.VariableInfo
-
Scope information that scripting variable is visible only within the start/end tags
- newLine() - Method in class javax.servlet.jsp.JspWriter
-
Write a line separator.
- NO_BUFFER - Static variable in class javax.servlet.jsp.JspWriter
-
constant indicating that the Writer is not buffering output
O
- OUT - Static variable in class javax.servlet.jsp.PageContext
-
Name used to store current JspWriter in PageContext name table.
P
- PAGE - Static variable in class javax.servlet.jsp.PageContext
-
Name used to store the Servlet in this PageContext's nametables.
- PAGE_SCOPE - Static variable in class javax.servlet.jsp.PageContext
-
Page scope: (this is the default) the named reference remains available in this PageContext until the return from the current Servlet.service() invocation.
- pageContext - Variable in class javax.servlet.jsp.tagext.TagSupport
- PageContext - Class in javax.servlet.jsp
-
A PageContext instance provides access to all the namespaces associated with a JSP page, provides access to several page attributes, as well as a layer above the implementation details.
- PageContext() - Constructor for class javax.servlet.jsp.PageContext
- PAGECONTEXT - Static variable in class javax.servlet.jsp.PageContext
-
Name used to store this PageContext in it's own name table.
- PageData - Class in javax.servlet.jsp.tagext
-
Translation-time information on a JSP page.
- PageData() - Constructor for class javax.servlet.jsp.tagext.PageData
- parsePostData(int, ServletInputStream) - Static method in class javax.servlet.http.HttpUtils
-
Deprecated.Parses data from an HTML form that the client sends to the server using the HTTP POST method and the application/x-www-form-urlencoded MIME type.
- parseQueryString(String) - Static method in class javax.servlet.http.HttpUtils
-
Deprecated.Parses a query string passed from the client to the server and builds a
HashTable
object with key-value pairs. - popBody() - Method in class javax.servlet.jsp.PageContext
-
Return the previous JspWriter "out" saved by the matching pushBody(), and update the value of the "out" attribute in the page scope attribute namespace of the PageConxtext
- prefix - Variable in class javax.servlet.jsp.tagext.TagLibraryInfo
- print(boolean) - Method in class javax.servlet.jsp.JspWriter
-
Print a boolean value.
- print(boolean) - Method in class javax.servlet.ServletOutputStream
-
Writes a
boolean
value to the client, with no carriage return-line feed (CRLF) character at the end. - print(char) - Method in class javax.servlet.jsp.JspWriter
-
Print a character.
- print(char) - Method in class javax.servlet.ServletOutputStream
-
Writes a character to the client, with no carriage return-line feed (CRLF) at the end.
- print(char[]) - Method in class javax.servlet.jsp.JspWriter
-
Print an array of characters.
- print(double) - Method in class javax.servlet.jsp.JspWriter
-
Print a double-precision floating-point number.
- print(double) - Method in class javax.servlet.ServletOutputStream
-
Writes a
double
value to the client, with no carriage return-line feed (CRLF) at the end. - print(float) - Method in class javax.servlet.jsp.JspWriter
-
Print a floating-point number.
- print(float) - Method in class javax.servlet.ServletOutputStream
-
Writes a
float
value to the client, with no carriage return-line feed (CRLF) at the end. - print(int) - Method in class javax.servlet.jsp.JspWriter
-
Print an integer.
- print(int) - Method in class javax.servlet.ServletOutputStream
-
Writes an int to the client, with no carriage return-line feed (CRLF) at the end.
- print(long) - Method in class javax.servlet.jsp.JspWriter
-
Print a long integer.
- print(long) - Method in class javax.servlet.ServletOutputStream
-
Writes a
long
value to the client, with no carriage return-line feed (CRLF) at the end. - print(Object) - Method in class javax.servlet.jsp.JspWriter
-
Print an object.
- print(String) - Method in class javax.servlet.jsp.JspWriter
-
Print a string.
- print(String) - Method in class javax.servlet.ServletOutputStream
-
Writes a
String
to the client, without a carriage return-line feed (CRLF) character at the end. - println() - Method in class javax.servlet.jsp.JspWriter
-
Terminate the current line by writing the line separator string.
- println() - Method in class javax.servlet.ServletOutputStream
-
Writes a carriage return-line feed (CRLF) to the client.
- println(boolean) - Method in class javax.servlet.jsp.JspWriter
-
Print a boolean value and then terminate the line.
- println(boolean) - Method in class javax.servlet.ServletOutputStream
-
Writes a
boolean
value to the client, followed by a carriage return-line feed (CRLF). - println(char) - Method in class javax.servlet.jsp.JspWriter
-
Print a character and then terminate the line.
- println(char) - Method in class javax.servlet.ServletOutputStream
-
Writes a character to the client, followed by a carriage return-line feed (CRLF).
- println(char[]) - Method in class javax.servlet.jsp.JspWriter
-
Print an array of characters and then terminate the line.
- println(double) - Method in class javax.servlet.jsp.JspWriter
-
Print a double-precision floating-point number and then terminate the line.
- println(double) - Method in class javax.servlet.ServletOutputStream
-
Writes a
double
value to the client, followed by a carriage return-line feed (CRLF). - println(float) - Method in class javax.servlet.jsp.JspWriter
-
Print a floating-point number and then terminate the line.
- println(float) - Method in class javax.servlet.ServletOutputStream
-
Writes a
float
value to the client, followed by a carriage return-line feed (CRLF). - println(int) - Method in class javax.servlet.jsp.JspWriter
-
Print an integer and then terminate the line.
- println(int) - Method in class javax.servlet.ServletOutputStream
-
Writes an int to the client, followed by a carriage return-line feed (CRLF) character.
- println(long) - Method in class javax.servlet.jsp.JspWriter
-
Print a long integer and then terminate the line.
- println(long) - Method in class javax.servlet.ServletOutputStream
-
Writes a
long
value to the client, followed by a carriage return-line feed (CRLF). - println(Object) - Method in class javax.servlet.jsp.JspWriter
-
Print an Object and then terminate the line.
- println(String) - Method in class javax.servlet.jsp.JspWriter
-
Print a String and then terminate the line.
- println(String) - Method in class javax.servlet.ServletOutputStream
-
Writes a
String
to the client, followed by a carriage return-line feed (CRLF). - pushBody() - Method in class javax.servlet.jsp.PageContext
-
Return a new BodyContent object, save the current "out" JspWriter, and update the value of the "out" attribute in the page scope attribute namespace of the PageContext
- putValue(String, Object) - Method in interface javax.servlet.http.HttpSession
-
Deprecated.As of Version 2.2, this method is replaced by
HttpSession.setAttribute(java.lang.String, java.lang.Object)
R
- readLine(byte[], int, int) - Method in class javax.servlet.ServletInputStream
-
Reads the input stream, one line at a time.
- release() - Method in class javax.servlet.jsp.PageContext
-
This method shall "reset" the internal state of a PageContext, releasing all internal references, and preparing the PageContext for potential reuse by a later invocation of initialize().
- release() - Method in class javax.servlet.jsp.tagext.BodyTagSupport
-
Release state.
- release() - Method in interface javax.servlet.jsp.tagext.Tag
-
Called on a Tag handler to release state.
- release() - Method in class javax.servlet.jsp.tagext.TagLibraryValidator
-
Release any data kept by this instance for validation purposes
- release() - Method in class javax.servlet.jsp.tagext.TagSupport
-
Release state.
- releasePageContext(PageContext) - Method in class javax.servlet.jsp.JspFactory
-
called to release a previously allocated PageContext object.
- removeAttribute(String) - Method in interface javax.servlet.http.HttpSession
-
Removes the object bound with the specified name from this session.
- removeAttribute(String) - Method in class javax.servlet.jsp.PageContext
-
Remove the object reference associated with the given name, look in all scopes in the scope order.
- removeAttribute(String) - Method in interface javax.servlet.ServletContext
-
Removes the attribute with the given name from the servlet context.
- removeAttribute(String) - Method in interface javax.servlet.ServletRequest
-
Removes an attribute from this request.
- removeAttribute(String) - Method in class javax.servlet.ServletRequestWrapper
-
The default behavior of this method is to call removeAttribute(String name) on the wrapped request object.
- removeAttribute(String, int) - Method in class javax.servlet.jsp.PageContext
-
Remove the object reference associated with the specified name in the given scope.
- removeValue(String) - Method in interface javax.servlet.http.HttpSession
-
Deprecated.As of Version 2.2, this method is replaced by
HttpSession.removeAttribute(java.lang.String)
- removeValue(String) - Method in class javax.servlet.jsp.tagext.TagSupport
-
Remove a value associated with a key.
- REQUEST - Static variable in class javax.servlet.jsp.PageContext
-
Name used to store ServletRequest in PageContext name table.
- REQUEST_SCOPE - Static variable in class javax.servlet.jsp.PageContext
-
Request scope: the named reference remains available from the ServletRequest associated with the Servlet until the current request is completed.
- REQUEST_TIME_VALUE - Static variable in class javax.servlet.jsp.tagext.TagData
-
Distinguished value for an attribute to indicate its value is a request-time expression (which is not yet available because TagData instances are used at translation-time).
- RequestDispatcher - Interface in javax.servlet
-
Defines an object that receives requests from the client and sends them to any resource (such as a servlet, HTML file, or JSP file) on the server.
- reset() - Method in interface javax.servlet.ServletResponse
-
Clears any data that exists in the buffer as well as the status code and headers.
- reset() - Method in class javax.servlet.ServletResponseWrapper
-
The default behavior of this method is to call reset() on the wrapped response object.
- resetBuffer() - Method in interface javax.servlet.ServletResponse
-
Clears the content of the underlying buffer in the response without clearing headers or status code.
- resetBuffer() - Method in class javax.servlet.ServletResponseWrapper
-
The default behavior of this method is to call resetBuffer() on the wrapped response object.
- RESPONSE - Static variable in class javax.servlet.jsp.PageContext
-
Name used to store ServletResponse in PageContext name table.
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_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_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 theRequest-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_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) - Method in interface javax.servlet.http.HttpServletResponse
-
Sends an error response to the client using the specified status code and clearing the buffer.
- sendError(int) - Method in class javax.servlet.http.HttpServletResponseWrapper
-
The default behavior of this method is to call sendError(int sc) on the wrapped response object.
- sendError(int, String) - Method in interface javax.servlet.http.HttpServletResponse
-
Sends an error response to the client using the specified status clearing 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.
- 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(HttpServletRequest, HttpServletResponse) - Method in class javax.servlet.http.HttpServlet
-
Receives standard HTTP requests from the public
service
method and dispatches them to thedo
XXX methods defined in this class. - service(ServletRequest, ServletResponse) - Method in class javax.servlet.GenericServlet
-
Called by the servlet container to allow the servlet to respond to a request.
- 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 used to pass information to a servlet during initialization.
- 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 recieve 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 recieve notifications about changes to the servlet context of the web application they are part of.
- ServletException - Exception Class in javax.servlet
-
Defines a general exception a servlet can throw when it encounters difficulty.
- ServletException() - Constructor for exception class javax.servlet.ServletException
-
Constructs a new servlet exception.
- ServletException(String) - Constructor for exception class javax.servlet.ServletException
-
Constructs a new servlet exception with the specified message.
- ServletException(String, Throwable) - Constructor for exception class javax.servlet.ServletException
-
Constructs a new servlet exception when the servlet needs to throw an exception and include a message about the "root cause" exception that interfered with its normal operation, including a description message.
- ServletException(Throwable) - Constructor for exception class javax.servlet.ServletException
-
Constructs a new servlet exception when the servlet needs to throw an exception and include a message about the "root cause" exception that interfered with its normal operation.
- 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.
- ServletRequest - Interface in javax.servlet
-
Defines an object to provide client request information to a servlet.
- 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.
- SESSION - Static variable in class javax.servlet.jsp.PageContext
-
Name used to store HttpSession in PageContext name table.
- SESSION_SCOPE - Static variable in class javax.servlet.jsp.PageContext
-
Session scope (only valid if this page participates in a session): the named reference remains available from the HttpSession (if any) associated with the Servlet until the HttpSession is invalidated.
- 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 was invalidated.
- sessionDidActivate(HttpSessionEvent) - Method in interface javax.servlet.http.HttpSessionActivationListener
-
Notification that the session has just been activated.
- sessionWillPassivate(HttpSessionEvent) - Method in interface javax.servlet.http.HttpSessionActivationListener
-
Notification that the session is about to be passivated.
- 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 class javax.servlet.jsp.PageContext
-
Register the name and object specified with page scope semantics.
- setAttribute(String, Object) - Method in class javax.servlet.jsp.tagext.TagData
-
Set the value of an attribute.
- 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.
- setAttribute(String, Object, int) - Method in class javax.servlet.jsp.PageContext
-
register the name and object specified with appropriate scope semantics
- setBodyContent(BodyContent) - Method in interface javax.servlet.jsp.tagext.BodyTag
-
Set the bodyContent property.
- setBodyContent(BodyContent) - Method in class javax.servlet.jsp.tagext.BodyTagSupport
-
Prepare for evaluation of the body: stash the bodyContent away.
- 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.
- setComment(String) - Method in class javax.servlet.http.Cookie
-
Specifies a comment that describes a cookie's purpose.
- setContentLength(int) - Method in interface javax.servlet.ServletResponse
-
Sets the length of the content 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.
- 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.
- setDefaultFactory(JspFactory) - Static method in class javax.servlet.jsp.JspFactory
-
set the default factory for this implementation.
- setDomain(String) - Method in class javax.servlet.http.Cookie
-
Specifies the domain within which this cookie should be presented.
- setHeader(String, String) - Method in interface javax.servlet.http.HttpServletResponse
-
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.
- setId(String) - Method in class javax.servlet.jsp.tagext.TagSupport
-
Set the id attribute for this tag.
- setInitParameters(Map) - Method in class javax.servlet.jsp.tagext.TagLibraryValidator
-
Set the init data in the TLD for this validator.
- 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.
- setLocale(Locale) - Method in interface javax.servlet.ServletResponse
-
Sets the locale of the response, setting the headers (including the Content-Type's charset) as appropriate.
- setLocale(Locale) - Method in class javax.servlet.ServletResponseWrapper
-
The default behavior of this method is to call setLocale(Locale loc) on the wrapped response object.
- setMaxAge(int) - Method in class javax.servlet.http.Cookie
-
Sets the maximum age of the cookie in seconds.
- setMaxInactiveInterval(int) - Method in interface javax.servlet.http.HttpSession
-
Specifies the time, in seconds, between client requests before the servlet container will invalidate this session.
- setPageContext(PageContext) - Method in interface javax.servlet.jsp.tagext.Tag
-
Set the current page context.
- setPageContext(PageContext) - Method in class javax.servlet.jsp.tagext.TagSupport
-
Set the page context.
- setParent(Tag) - Method in interface javax.servlet.jsp.tagext.Tag
-
Set the parent (closest enclosing tag handler) of this tag handler.
- setParent(Tag) - Method in class javax.servlet.jsp.tagext.TagSupport
-
Set the nesting tag of this tag.
- setPath(String) - Method in class javax.servlet.http.Cookie
-
Specifies a path for the cookie to which the client should return the cookie.
- 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.
- setSecure(boolean) - Method in class javax.servlet.http.Cookie
-
Indicates to the browser whether the cookie should only be sent using a secure protocol, such as HTTPS or SSL.
- setStatus(int) - Method in interface javax.servlet.http.HttpServletResponse
-
Sets the status code for this response.
- setStatus(int) - 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 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 usesendError(int, String)
. Sets the status code and message for this response. - setStatus(int, String) - Method in class javax.servlet.http.HttpServletResponseWrapper
-
The default behavior of this method is to call setStatus(int sc, String sm) on the wrapped response object.
- setTagExtraInfo(TagExtraInfo) - Method in class javax.servlet.jsp.tagext.TagInfo
-
Set the instance for extra tag information
- setTagInfo(TagInfo) - Method in class javax.servlet.jsp.tagext.TagExtraInfo
-
Set the TagInfo for this class.
- setTagLibrary(TagLibraryInfo) - Method in class javax.servlet.jsp.tagext.TagInfo
-
Set the TagLibraryInfo property.
- setValue(String) - Method in class javax.servlet.http.Cookie
-
Assigns a new value to a cookie after the cookie is created.
- setValue(String, Object) - Method in class javax.servlet.jsp.tagext.TagSupport
-
Associate a value with a String key.
- setVersion(int) - Method in class javax.servlet.http.Cookie
-
Sets the version of the cookie protocol this cookie complies with.
- shortname - Variable in class javax.servlet.jsp.tagext.TagLibraryInfo
- SingleThreadModel - Interface in javax.servlet
-
Ensures that servlets handle only one request at a time.
- SKIP_BODY - Static variable in interface javax.servlet.jsp.tagext.Tag
-
Skip body evaluation.
- SKIP_PAGE - Static variable in interface javax.servlet.jsp.tagext.Tag
-
Skip the rest of the page.
T
- Tag - Interface in javax.servlet.jsp.tagext
-
The interface of a simple tag handler that does not want to manipulate its body.
- TagAttributeInfo - Class in javax.servlet.jsp.tagext
-
Information on the attributes of a Tag, available at translation time.
- TagAttributeInfo(String, boolean, String, boolean) - Constructor for class javax.servlet.jsp.tagext.TagAttributeInfo
-
Constructor for TagAttributeInfo.
- TagData - Class in javax.servlet.jsp.tagext
-
The (translation-time only) attribute/value information for a tag instance.
- TagData(Object[][]) - Constructor for class javax.servlet.jsp.tagext.TagData
-
Constructor for TagData.
- TagData(Hashtable) - Constructor for class javax.servlet.jsp.tagext.TagData
-
Constructor for a TagData.
- TagExtraInfo - Class in javax.servlet.jsp.tagext
-
Optional class provided by the tag library author to describe additional translation-time information not described in the TLD.
- TagExtraInfo() - Constructor for class javax.servlet.jsp.tagext.TagExtraInfo
- TagInfo - Class in javax.servlet.jsp.tagext
-
Tag information for a tag in a Tag Library; This class is instantiated from the Tag Library Descriptor file (TLD) and is available only at translation time.
- TagInfo(String, String, String, String, TagLibraryInfo, TagExtraInfo, TagAttributeInfo[]) - Constructor for class javax.servlet.jsp.tagext.TagInfo
-
Constructor for TagInfo from data in the JSP 1.1 format for TLD.
- TagInfo(String, String, String, String, TagLibraryInfo, TagExtraInfo, TagAttributeInfo[], String, String, String, TagVariableInfo[]) - Constructor for class javax.servlet.jsp.tagext.TagInfo
-
Constructor for TagInfo from data in the JSP 1.2 format for TLD.
- TagLibraryInfo - Class in javax.servlet.jsp.tagext
-
Translation-time information associated with a taglib directive, and its underlying TLD file.
- TagLibraryInfo(String, String) - Constructor for class javax.servlet.jsp.tagext.TagLibraryInfo
-
Constructor.
- TagLibraryValidator - Class in javax.servlet.jsp.tagext
-
Translation-time validator class for a JSP page.
- TagLibraryValidator() - Constructor for class javax.servlet.jsp.tagext.TagLibraryValidator
- tags - Variable in class javax.servlet.jsp.tagext.TagLibraryInfo
- TagSupport - Class in javax.servlet.jsp.tagext
-
A base class for defining new tag handlers implementing Tag.
- TagSupport() - Constructor for class javax.servlet.jsp.tagext.TagSupport
-
Default constructor, all subclasses are required to define only a public constructor with the same signature, and to call the superclass constructor.
- TagVariableInfo - Class in javax.servlet.jsp.tagext
-
Variable information for a tag in a Tag Library; This class is instantiated from the Tag Library Descriptor file (TLD) and is available only at translation time.
- TagVariableInfo(String, String, String, boolean, int) - Constructor for class javax.servlet.jsp.tagext.TagVariableInfo
-
Constructor for TagVariableInfo
- tlibversion - Variable in class javax.servlet.jsp.tagext.TagLibraryInfo
- toString() - Method in class javax.servlet.jsp.tagext.TagAttributeInfo
- toString() - Method in class javax.servlet.jsp.tagext.TagInfo
-
Stringify for debug purposes...
- TryCatchFinally - Interface in javax.servlet.jsp.tagext
-
The auxiliary interface of a Tag, IterationTag or BodyTag tag handler that wants additional hooks for managing resources.
U
- UnavailableException - Exception Class in javax.servlet
-
Defines an exception that a servlet or filter throws to indicate that it is permanently or temporarily unavailable.
- UnavailableException(int, Servlet, String) - Constructor for exception class javax.servlet.UnavailableException
-
Deprecated.As of Java Servlet API 2.2, use
UnavailableException(String, int)
instead. - UnavailableException(String) - Constructor for exception class javax.servlet.UnavailableException
-
Constructs a new exception with a descriptive message indicating that the servlet is permanently unavailable.
- UnavailableException(String, int) - Constructor for exception class javax.servlet.UnavailableException
-
Constructs a new exception with a descriptive message indicating that the servlet is temporarily unavailable and giving an estimate of how long it will be unavailable.
- UnavailableException(Servlet, String) - Constructor for exception class javax.servlet.UnavailableException
-
Deprecated.As of Java Servlet API 2.2, use
UnavailableException(String)
instead. - UNBOUNDED_BUFFER - Static variable in class javax.servlet.jsp.JspWriter
-
constant indicating that the Writer is buffered and is unbounded; this is used in BodyContent
- uri - Variable in class javax.servlet.jsp.tagext.TagLibraryInfo
- urn - Variable in class javax.servlet.jsp.tagext.TagLibraryInfo
V
- validate(String, String, PageData) - Method in class javax.servlet.jsp.tagext.TagLibraryValidator
-
Validate a JSP page.
- ValidationMessage - Class in javax.servlet.jsp.tagext
-
A validation message from a TagLibraryValidator.
- ValidationMessage(String, String) - Constructor for class javax.servlet.jsp.tagext.ValidationMessage
-
Create a ValidationMessage.
- valueBound(HttpSessionBindingEvent) - Method in interface javax.servlet.http.HttpSessionBindingListener
-
Notifies the object that it is being bound to a session and identifies the session.
- valueUnbound(HttpSessionBindingEvent) - Method in interface javax.servlet.http.HttpSessionBindingListener
-
Notifies the object that it is being unbound from a session and identifies the session.
- VariableInfo - Class in javax.servlet.jsp.tagext
-
Information on the scripting variables that are created/modified by a tag (at run-time).
- VariableInfo(String, String, boolean, int) - Constructor for class javax.servlet.jsp.tagext.VariableInfo
-
Constructor These objects can be created (at translation time) by the TagExtraInfo instances.
W
- writeOut(Writer) - Method in class javax.servlet.jsp.tagext.BodyContent
-
Write the contents of this BodyContent into a Writer.
_
- _jspService(HttpServletRequest, HttpServletResponse) - Method in interface javax.servlet.jsp.HttpJspPage
-
The _jspService()method corresponds to the body of the JSP page.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form