| Package | Description |
|---|---|
| jakarta.servlet | |
| jakarta.servlet.http | |
| jakarta.servlet.jsp | |
| org.apache.jasper | |
| org.apache.jasper.runtime | |
| org.apache.jasper.servlet |
| Modifier and Type | Class and Description |
|---|---|
class |
UnavailableException
Defines an exception that a servlet or filter throws to indicate that it is
permanently or temporarily unavailable.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends Filter> |
ServletContext.createFilter(java.lang.Class<T> c)
TODO SERVLET3 - Add comments
|
<T extends AsyncListener> |
AsyncContext.createListener(java.lang.Class<T> clazz)
Creates and returns an AsyncListener object
|
<T extends java.util.EventListener> |
ServletContext.createListener(java.lang.Class<T> c)
TODO SERVLET3 - Add comments
|
<T extends Servlet> |
ServletContext.createServlet(java.lang.Class<T> c)
TODO SERVLET3 - Add comments
|
void |
FilterChain.doFilter(ServletRequest request,
ServletResponse response)
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.
|
void |
Filter.doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
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. |
void |
RequestDispatcher.forward(ServletRequest request,
ServletResponse response)
Forwards a request from a servlet to another resource (servlet, JSP file,
or HTML file) on the server.
|
Servlet |
ServletContext.getServlet(java.lang.String name)
Deprecated.
As of Java Servlet API 2.1, with no direct replacement.
|
void |
RequestDispatcher.include(ServletRequest request,
ServletResponse response)
Includes the content of a resource (servlet, JSP page, HTML file) in the
response.
|
void |
GenericServlet.init()
A convenience method which can be overridden so that there's no need to
call
super.init(config). |
void |
GenericFilter.init()
Convenience method for sub-classes to save them having to call
super.init(config). |
void |
GenericFilter.init(FilterConfig filterConfig) |
default void |
Filter.init(FilterConfig filterConfig)
Called by the web container to indicate to a filter that it is being
placed into service.
|
void |
GenericServlet.init(ServletConfig config)
Called by the servlet container to indicate to a servlet that the servlet
is being placed into service.
|
void |
Servlet.init(ServletConfig config)
Called by the servlet container to indicate to a servlet that the servlet
is being placed into service.
|
void |
ServletContainerInitializer.onStartup(java.util.Set<java.lang.Class<?>> c,
ServletContext ctx)
Receives notification during startup of a web application of the classes
within the web application that matched the criteria defined via the
HandlesTypes annotation. |
abstract void |
GenericServlet.service(ServletRequest req,
ServletResponse res)
Called by the servlet container to allow the servlet to respond to a
request.
|
void |
Servlet.service(ServletRequest req,
ServletResponse res)
Called by the servlet container to allow the servlet to respond to a
request.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
HttpServletRequestWrapper.authenticate(HttpServletResponse response)
Triggers the same authentication process as would be triggered if the
request is for a resource that is protected by a security constraint.
|
boolean |
HttpServletRequest.authenticate(HttpServletResponse response)
Triggers the same authentication process as would be triggered if the
request is for a resource that is protected by a security constraint.
|
protected void |
HttpServlet.doDelete(HttpServletRequest req,
HttpServletResponse resp)
Called by the server (via the
service method)
to allow a servlet to handle a DELETE request. |
protected void |
HttpFilter.doFilter(HttpServletRequest request,
HttpServletResponse response,
FilterChain chain)
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. |
void |
HttpFilter.doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
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. |
protected void |
HttpServlet.doGet(HttpServletRequest req,
HttpServletResponse resp)
Called by the server (via the
service method) to
allow a servlet to handle a GET request. |
protected void |
HttpServlet.doHead(HttpServletRequest req,
HttpServletResponse resp)
Receives an HTTP HEAD request from the protected
service method and handles the
request. |
protected void |
HttpServlet.doOptions(HttpServletRequest req,
HttpServletResponse resp)
Called by the server (via the
service method)
to allow a servlet to handle an OPTIONS request. |
protected void |
HttpServlet.doPost(HttpServletRequest req,
HttpServletResponse resp)
Called by the server (via the
service method)
to allow a servlet to handle a POST request. |
protected void |
HttpServlet.doPut(HttpServletRequest req,
HttpServletResponse resp)
Called by the server (via the
service method)
to allow a servlet to handle a PUT request. |
protected void |
HttpServlet.doTrace(HttpServletRequest req,
HttpServletResponse resp)
Called by the server (via the
service method)
to allow a servlet to handle a TRACE request. |
Part |
HttpServletRequestWrapper.getPart(java.lang.String name)
Gets the named Part or null if the Part does not exist.
|
Part |
HttpServletRequest.getPart(java.lang.String name)
Gets the named Part or null if the Part does not exist.
|
java.util.Collection<Part> |
HttpServletRequestWrapper.getParts()
Return a collection of all uploaded Parts.
|
java.util.Collection<Part> |
HttpServletRequest.getParts()
Return a collection of all uploaded Parts.
|
void |
HttpServletRequestWrapper.login(java.lang.String username,
java.lang.String password)
Authenticate the provided user name and password and then associated the
authenticated user with the request.
|
void |
HttpServletRequest.login(java.lang.String username,
java.lang.String password)
Authenticate the provided user name and password and then associated the
authenticated user with the request.
|
void |
HttpServletRequestWrapper.logout()
Removes any authenticated user from the request.
|
void |
HttpServletRequest.logout()
Removes any authenticated user from the request.
|
protected void |
HttpServlet.service(HttpServletRequest req,
HttpServletResponse resp)
Receives standard HTTP requests from the public
service method and dispatches
them to the doMethod methods defined in
this class. |
void |
HttpServlet.service(ServletRequest req,
ServletResponse res)
Dispatches client requests to the protected
service method. |
<T extends HttpUpgradeHandler> |
HttpServletRequestWrapper.upgrade(java.lang.Class<T> httpUpgradeHandlerClass)
Start the HTTP upgrade process and create and instance of the provided
protocol handler class.
|
<T extends HttpUpgradeHandler> |
HttpServletRequest.upgrade(java.lang.Class<T> httpUpgradeHandlerClass)
Start the HTTP upgrade process and create and instance of the provided
protocol handler class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
HttpJspPage._jspService(HttpServletRequest request,
HttpServletResponse response)
The _jspService()method corresponds to the body of the JSP page.
|
abstract void |
PageContext.forward(java.lang.String relativeUrlPath)
This method is used to re-direct, or "forward" the current
ServletRequest and ServletResponse to another active component in
the application.
|
abstract void |
PageContext.handlePageException(java.lang.Exception e)
This method is intended to process an unhandled 'page' level
exception by forwarding the exception to the specified
error page for this JSP.
|
abstract void |
PageContext.handlePageException(java.lang.Throwable t)
This method is intended to process an unhandled 'page' level
exception by forwarding the exception to the specified
error page for this JSP.
|
abstract void |
PageContext.include(java.lang.String relativeUrlPath)
Causes the resource specified to be processed as part of the current
ServletRequest and ServletResponse being processed by the calling Thread.
|
abstract void |
PageContext.include(java.lang.String relativeUrlPath,
boolean flush)
Causes the resource specified to be processed as part of the current
ServletRequest and ServletResponse being processed by the calling Thread.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JasperException
Base class for all exceptions generated by the JSP engine.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
HttpJspBase._jspService(HttpServletRequest request,
HttpServletResponse response) |
void |
PageContextImpl.forward(java.lang.String relativeUrlPath) |
void |
JspContextWrapper.forward(java.lang.String relativeUrlPath) |
void |
PageContextImpl.handlePageException(java.lang.Exception ex) |
void |
JspContextWrapper.handlePageException(java.lang.Exception ex) |
void |
PageContextImpl.handlePageException(java.lang.Throwable t) |
void |
JspContextWrapper.handlePageException(java.lang.Throwable t) |
static void |
JspRuntimeLibrary.include(ServletRequest request,
ServletResponse response,
java.lang.String relativePath,
JspWriter out,
boolean flush)
Perform a RequestDispatcher.include() operation, with optional flushing
of the response beforehand.
|
void |
PageContextImpl.include(java.lang.String relativeUrlPath) |
void |
JspContextWrapper.include(java.lang.String relativeUrlPath) |
void |
PageContextImpl.include(java.lang.String relativeUrlPath,
boolean flush) |
void |
JspContextWrapper.include(java.lang.String relativeUrlPath,
boolean flush) |
void |
HttpJspBase.init(ServletConfig config) |
void |
HttpJspBase.service(HttpServletRequest request,
HttpServletResponse response)
Entry point into service.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends Filter> |
JspCServletContext.createFilter(java.lang.Class<T> c) |
<T extends java.util.EventListener> |
JspCServletContext.createListener(java.lang.Class<T> c) |
<T extends Servlet> |
JspCServletContext.createServlet(java.lang.Class<T> c) |
Servlet |
JspServletWrapper.getServlet() |
Servlet |
JspCServletContext.getServlet(java.lang.String name)
Deprecated.
This method has been deprecated with no replacement
|
void |
JspServlet.init(ServletConfig config) |
void |
JasperInitializer.onStartup(java.util.Set<java.lang.Class<?>> types,
ServletContext context) |
void |
JspServlet.service(HttpServletRequest request,
HttpServletResponse response) |
void |
JspServletWrapper.service(HttpServletRequest request,
HttpServletResponse response,
boolean precompile) |
Copyright © 2014–2021. All rights reserved.