Uses of Interface
jakarta.servlet.Servlet
-
Packages that use Servlet Package Description 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 org.apache.jasper.runtime org.apache.jasper.servlet -
-
Uses of Servlet in jakarta.servlet
Classes in jakarta.servlet that implement Servlet Modifier and Type Class Description classGenericServletDefines 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(java.lang.Class<T> c)Create an Servlet instance using the given class.Methods in jakarta.servlet that return Servlet Modifier and Type Method Description ServletServletContext. getServlet(java.lang.String name)Deprecated.As of Java Servlet API 2.1, with no direct replacement.ServletUnavailableException. getServlet()Deprecated.As of Java Servlet API 2.2, with no replacement.Methods in jakarta.servlet that return types with arguments of type Servlet Modifier and Type Method Description java.util.Enumeration<Servlet>ServletContext. getServlets()Deprecated.As of Java Servlet API 2.0, with no replacement.Methods in jakarta.servlet with parameters of type Servlet Modifier and Type Method Description ServletRegistration.DynamicServletContext. addServlet(java.lang.String servletName, Servlet servlet)Register a servlet instance for use in this ServletContext.Method parameters in jakarta.servlet with type arguments of type Servlet Modifier and Type Method Description ServletRegistration.DynamicServletContext. addServlet(java.lang.String servletName, java.lang.Class<? extends Servlet> servletClass)Add servlet to context.Constructors in jakarta.servlet with parameters of type Servlet Constructor Description UnavailableException(int seconds, Servlet servlet, java.lang.String msg)Deprecated.As of Java Servlet API 2.2, useUnavailableException(String, int)instead.UnavailableException(Servlet servlet, java.lang.String msg)Deprecated.As of Java Servlet API 2.2, useUnavailableException(String)instead. -
Uses of Servlet in jakarta.servlet.http
Classes in jakarta.servlet.http that implement Servlet Modifier and Type Class Description classHttpServletProvides 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 interfaceHttpJspPageThe HttpJspPage interface describes the interaction that a JSP Page Implementation Class must satisfy when using the HTTP protocol.interfaceJspPageThe 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 PageContextJspFactory. getPageContext(Servlet servlet, ServletRequest request, ServletResponse response, java.lang.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 voidPageContext. initialize(Servlet servlet, ServletRequest request, ServletResponse response, java.lang.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. -
Uses of Servlet in org.apache.jasper.runtime
Classes in org.apache.jasper.runtime that implement Servlet Modifier and Type Class Description classHttpJspBaseThis is the super class of all JSP-generated servlets.Methods in org.apache.jasper.runtime with parameters of type Servlet Modifier and Type Method Description PageContextJspFactoryImpl. getPageContext(Servlet servlet, ServletRequest request, ServletResponse response, java.lang.String errorPageURL, boolean needsSession, int bufferSize, boolean autoflush)voidJspContextWrapper. initialize(Servlet servlet, ServletRequest request, ServletResponse response, java.lang.String errorPageURL, boolean needsSession, int bufferSize, boolean autoFlush)voidPageContextImpl. initialize(Servlet servlet, ServletRequest request, ServletResponse response, java.lang.String errorPageURL, boolean needsSession, int bufferSize, boolean autoFlush) -
Uses of Servlet in org.apache.jasper.servlet
Classes in org.apache.jasper.servlet that implement Servlet Modifier and Type Class Description classJspServletThe JSP engine (a.k.a Jasper).Methods in org.apache.jasper.servlet with type parameters of type Servlet Modifier and Type Method Description <T extends Servlet>
TJspCServletContext. createServlet(java.lang.Class<T> c)Methods in org.apache.jasper.servlet that return Servlet Modifier and Type Method Description ServletJspCServletContext. getServlet(java.lang.String name)Deprecated.This method has been deprecated with no replacementServletJspServletWrapper. getServlet()Methods in org.apache.jasper.servlet that return types with arguments of type Servlet Modifier and Type Method Description java.util.Enumeration<Servlet>JspCServletContext. getServlets()Deprecated.This method has been deprecated with no replacementMethods in org.apache.jasper.servlet with parameters of type Servlet Modifier and Type Method Description ServletRegistration.DynamicJspCServletContext. addServlet(java.lang.String servletName, Servlet servlet)Method parameters in org.apache.jasper.servlet with type arguments of type Servlet Modifier and Type Method Description ServletRegistration.DynamicJspCServletContext. addServlet(java.lang.String servletName, java.lang.Class<? extends Servlet> servletClass)
-