Uses of Interface
javax.servlet.Servlet
-
Packages that use Servlet Package Description javax.servlet The javax.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.javax.servlet.http The javax.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. -
-
Uses of Servlet in javax.servlet
Classes in javax.servlet that implement Servlet Modifier and Type Class Description classGenericServletDefines a generic, protocol-independent servlet.Fields in javax.servlet declared as Servlet Modifier and Type Field Description private ServletUnavailableException. servletMethods in javax.servlet with type parameters of type Servlet Modifier and Type Method Description <T extends Servlet>
TServletContext. createServlet(java.lang.Class<T> clazz)Instantiates the given Servlet class.Methods in javax.servlet that return Servlet Modifier and Type Method Description ServletServletContext. getServlet(java.lang.String name)ServletUnavailableException. getServlet()Methods in javax.servlet that return types with arguments of type Servlet Modifier and Type Method Description java.util.Enumeration<Servlet>ServletContext. getServlets()Methods in javax.servlet with parameters of type Servlet Modifier and Type Method Description ServletRegistration.DynamicServletContext. addServlet(java.lang.String servletName, Servlet servlet)Registers the given servlet instance with this ServletContext under the given servletName.Method parameters in javax.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)Adds the servlet with the given name and class type to this servlet context.Constructors in javax.servlet with parameters of type Servlet Constructor Description UnavailableException(int seconds, Servlet servlet, java.lang.String msg)UnavailableException(Servlet servlet, java.lang.String msg) -
Uses of Servlet in javax.servlet.http
Classes in javax.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.
-