Uses of Interface
javax.servlet.Servlet
-
Packages that use Servlet Package Description javax.servlet javax.servlet.http -
-
Uses of Servlet in javax.servlet
Classes in javax.servlet that implement Servlet Modifier and Type Class Description class
GenericServlet
Defines a generic, protocol-independent servlet.Methods in javax.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 javax.servlet that return Servlet Modifier and Type Method Description Servlet
ServletContext. getServlet(String name)
Deprecated.As of Java Servlet API 2.1, with no direct replacement.Servlet
UnavailableException. getServlet()
Deprecated.As of Java Servlet API 2.2, with no replacement.Methods in javax.servlet that return types with arguments of type Servlet Modifier and Type Method Description Enumeration<Servlet>
ServletContext. getServlets()
Deprecated.As of Java Servlet API 2.0, with no replacement.Methods in javax.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 javax.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.Constructors in javax.servlet with parameters of type Servlet Constructor Description UnavailableException(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 javax.servlet.http
Classes in javax.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.
-