Uses of Interface
jakarta.servlet.Servlet
Packages that use Servlet
Package
Description
-
Uses of Servlet in jakarta.servlet
Classes in jakarta.servlet that implement ServletModifier and TypeClassDescriptionclassDefines a generic, protocol-independent servlet.Methods in jakarta.servlet with type parameters of type ServletModifier and TypeMethodDescription<T extends Servlet>
TServletContext.createServlet(Class<T> c) Create an Servlet instance using the given class.Methods in jakarta.servlet that return ServletModifier and TypeMethodDescriptionServletContext.getServlet(String name) Deprecated.As of Java Servlet API 2.1, with no direct replacement.UnavailableException.getServlet()Deprecated.As of Java Servlet API 2.2, with no replacement.Methods in jakarta.servlet that return types with arguments of type ServletModifier and TypeMethodDescriptionServletContext.getServlets()Deprecated.As of Java Servlet API 2.0, with no replacement.Methods in jakarta.servlet with parameters of type ServletModifier and TypeMethodDescriptionServletContext.addServlet(String servletName, Servlet servlet) Register a servlet instance for use in this ServletContext.Method parameters in jakarta.servlet with type arguments of type ServletModifier and TypeMethodDescriptionServletContext.addServlet(String servletName, Class<? extends Servlet> servletClass) Add servlet to context.Constructors in jakarta.servlet with parameters of type ServletModifierConstructorDescriptionUnavailableException(int seconds, Servlet servlet, String msg) Deprecated.As of Java Servlet API 2.2, useUnavailableException(String, int)instead.UnavailableException(Servlet servlet, 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 ServletModifier and TypeClassDescriptionclassProvides 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.jspModifier and TypeInterfaceDescriptioninterfaceThe HttpJspPage interface describes the interaction that a JSP Page Implementation Class must satisfy when using the HTTP protocol.interfaceThe 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 ServletModifier and TypeMethodDescriptionabstract PageContextJspFactory.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 voidPageContext.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. -
Uses of Servlet in org.apache.jasper.runtime
Classes in org.apache.jasper.runtime that implement ServletModifier and TypeClassDescriptionclassThis is the super class of all JSP-generated servlets.Methods in org.apache.jasper.runtime with parameters of type ServletModifier and TypeMethodDescriptionJspFactoryImpl.getPageContext(Servlet servlet, ServletRequest request, ServletResponse response, String errorPageURL, boolean needsSession, int bufferSize, boolean autoflush) voidJspContextWrapper.initialize(Servlet servlet, ServletRequest request, ServletResponse response, String errorPageURL, boolean needsSession, int bufferSize, boolean autoFlush) voidPageContextImpl.initialize(Servlet servlet, ServletRequest request, ServletResponse response, String errorPageURL, boolean needsSession, int bufferSize, boolean autoFlush) -
Uses of Servlet in org.apache.jasper.servlet
Classes in org.apache.jasper.servlet that implement ServletMethods in org.apache.jasper.servlet with type parameters of type ServletModifier and TypeMethodDescription<T extends Servlet>
TJspCServletContext.createServlet(Class<T> c) Methods in org.apache.jasper.servlet that return ServletModifier and TypeMethodDescriptionJspCServletContext.getServlet(String name) Deprecated.This method has been deprecated with no replacementJspServletWrapper.getServlet()Methods in org.apache.jasper.servlet that return types with arguments of type ServletModifier and TypeMethodDescriptionJspCServletContext.getServlets()Deprecated.This method has been deprecated with no replacementMethods in org.apache.jasper.servlet with parameters of type ServletModifier and TypeMethodDescriptionJspCServletContext.addServlet(String servletName, Servlet servlet) Method parameters in org.apache.jasper.servlet with type arguments of type ServletModifier and TypeMethodDescriptionJspCServletContext.addServlet(String servletName, Class<? extends Servlet> servletClass)