|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Servlet | |
---|---|
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 | |
---|---|
class |
GenericServlet
Defines a generic, protocol-independent servlet. |
Methods in javax.servlet with type parameters of type Servlet | ||
---|---|---|
|
ServletContext.createServlet(java.lang.Class<T> clazz)
Instantiates the given Servlet class. |
Methods in javax.servlet that return Servlet | |
---|---|
Servlet |
UnavailableException.getServlet()
Deprecated. As of Java Servlet API 2.2, with no replacement. Returns the servlet that is reporting its unavailability. |
Servlet |
ServletContext.getServlet(java.lang.String name)
Deprecated. As of Java Servlet API 2.1, with no direct replacement. This method was originally defined to retrieve a servlet
from a In lieu of this method, servlets can share information using the
|
Methods in javax.servlet that return types with arguments of type Servlet | |
---|---|
java.util.Enumeration<Servlet> |
ServletContext.getServlets()
Deprecated. As of Java Servlet API 2.0, with no replacement. This method was originally defined to return an
|
Methods in javax.servlet with parameters of type Servlet | |
---|---|
ServletRegistration.Dynamic |
ServletContext.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 | |
---|---|
ServletRegistration.Dynamic |
ServletContext.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 | |
---|---|
UnavailableException(int seconds,
Servlet servlet,
java.lang.String msg)
Deprecated. As of Java Servlet API 2.2, use UnavailableException.UnavailableException(String, int) instead. |
|
UnavailableException(Servlet servlet,
java.lang.String msg)
Deprecated. As of Java Servlet API 2.2, use UnavailableException.UnavailableException(String) instead. |
Uses of Servlet in javax.servlet.http |
---|
Classes in javax.servlet.http that implement Servlet | |
---|---|
class |
HttpServlet
Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |