Uses of Interface
jakarta.servlet.Servlet
-
Packages that use Servlet Package Description jakarta.faces.webapp jakarta.servlet The jakarta.servlet package contains a number of classes and interfaces that describe and define the contracts between a servlet class and the runtime environment provided for an instance of such a class by a conforming servlet container.jakarta.servlet.http The jakarta.servlet.http package contains a number of classes and interfaces that describe and define the contracts between a servlet class running under the HTTP protocol and the runtime environment provided for an instance of such a class by a conforming servlet container.jakarta.servlet.jsp -
-
Uses of Servlet in jakarta.faces.webapp
Classes in jakarta.faces.webapp that implement Servlet Modifier and Type Class Description class
FacesServlet
FacesServlet is a Jakarta Servlet servlet that manages the request processing lifecycle for web applications that are utilizing Jakarta Faces to construct the user interface. -
Uses of Servlet in jakarta.servlet
Classes in jakarta.servlet that implement Servlet Modifier and Type Class Description class
GenericServlet
Defines a generic, protocol-independent servlet.Methods in jakarta.servlet with type parameters of type Servlet Modifier and Type Method Description <T extends Servlet>
TServletContext. createServlet(Class<T> clazz)
Instantiates the given Servlet class.Methods in jakarta.servlet with parameters of type Servlet Modifier and Type Method Description ServletRegistration.Dynamic
ServletContext. addServlet(String servletName, Servlet servlet)
Registers the given servlet instance with this ServletContext under the given servletName.Method parameters in jakarta.servlet with type arguments of type Servlet Modifier and Type Method Description ServletRegistration.Dynamic
ServletContext. addServlet(String servletName, Class<? extends Servlet> servletClass)
Adds the servlet with the given name and class type to this servlet context. -
Uses of Servlet in jakarta.servlet.http
Classes in jakarta.servlet.http that implement Servlet Modifier and Type Class Description class
HttpServlet
Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. -
Uses of Servlet in jakarta.servlet.jsp
Subinterfaces of Servlet in jakarta.servlet.jsp Modifier and Type Interface Description interface
HttpJspPage
The HttpJspPage interface describes the interaction that a JSP Page Implementation Class must satisfy when using the HTTP protocol.interface
JspPage
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.Methods in jakarta.servlet.jsp with parameters of type Servlet Modifier and Type Method Description abstract PageContext
JspFactory. getPageContext(Servlet servlet, ServletRequest request, ServletResponse response, String errorPageURL, boolean needsSession, int buffer, boolean autoflush)
obtains an instance of an implementation dependent jakarta.servlet.jsp.PageContext abstract class for the calling Servlet and currently pending request and response.abstract void
PageContext. initialize(Servlet servlet, ServletRequest request, ServletResponse response, String errorPageURL, boolean needsSession, int bufferSize, boolean autoFlush)
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.
-