## Uses of Interface
javax.servlet.Servlet

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.
org.eclipse.jetty.annotations
org.eclipse.jetty.plus.webapp
org.eclipse.jetty.server.handler
org.eclipse.jetty.servlet
org.eclipse.jetty.websocket

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 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(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 `ServletContext`. In this version, this method always returns `null` and remains only to preserve binary compatibility. This method will be permanently removed in a future version of the Java Servlet API.

In lieu of this method, servlets can share information using the `ServletContext` class and can perform shared business logic by invoking methods on common non-servlet classes.

Constructors in javax.servlet with parameters of type Servlet
`UnavailableException(int seconds, Servlet servlet, String msg)` Deprecated. As of Java Servlet API 2.2, use `UnavailableException.UnavailableException(String, int)` instead.
`UnavailableException(Servlet servlet, 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.

Uses of Servlet in org.eclipse.jetty.annotations

Methods in org.eclipse.jetty.annotations with type parameters of type Servlet

`

`<T extends Servlet> T`

`

`AnnotationDecorator.decorateServletInstance(T servlet)`

Methods in org.eclipse.jetty.annotations with parameters of type Servlet
`void` `AnnotationDecorator.destroyServletInstance(Servlet s)`

Uses of Servlet in org.eclipse.jetty.plus.webapp

Methods in org.eclipse.jetty.plus.webapp with type parameters of type Servlet

`

`<T extends Servlet> T`

`

`PlusDecorator.decorateServletInstance(T servlet)`

Methods in org.eclipse.jetty.plus.webapp with parameters of type Servlet
`void` `PlusDecorator.destroyServletInstance(Servlet s)`

Uses of Servlet in org.eclipse.jetty.server.handler

Methods in org.eclipse.jetty.server.handler that return Servlet
`Servlet` `ContextHandler.Context.getServlet(String name)`

Uses of Servlet in org.eclipse.jetty.servlet

Classes in org.eclipse.jetty.servlet that implement Servlet
`class` `DefaultServlet` The default servlet.
`class` `Invoker` Dynamic Servlet Invoker.
`class` `NoJspServlet`
`class` `StatisticsServlet`

Methods in org.eclipse.jetty.servlet with type parameters of type Servlet

`

`<T extends Servlet> T`

`

`ServletContextHandler.Context.createServlet(Class<T> c)`

`

`<T extends Servlet> T`

`

`ServletContextHandler.Decorator.decorateServletInstance(T servlet)`

Methods in org.eclipse.jetty.servlet that return Servlet
`Servlet` `ServletHolder.getServlet()` Get the servlet.
`Servlet` `ServletHolder.getServletInstance()` Get the servlet instance (no initialization done).
`protected Servlet` `ServletHolder.newInstance()`

Methods in org.eclipse.jetty.servlet with parameters of type Servlet
`ServletRegistration.Dynamic` `ServletContextHandler.Context.addServlet(String servletName, Servlet servlet)`
`void` `ServletContextHandler.Decorator.destroyServletInstance(Servlet s)`
`void` `ServletHolder.setServlet(Servlet servlet)`

Method parameters in org.eclipse.jetty.servlet with type arguments of type Servlet
`ServletHolder` `ServletContextHandler.addServlet(Class<? extends Servlet> servlet, String pathSpec)` conveniance method to add a servlet.
`ServletRegistration.Dynamic` `ServletContextHandler.Context.addServlet(String servletName, Class<? extends Servlet> servletClass)`
`ServletHolder` `ServletHandler.addServletWithMapping(Class<? extends Servlet> servlet, String pathSpec)` conveniance method to add a servlet.
`ServletHolder` `ServletHandler.newServletHolder(Class<? extends Servlet> servlet)`

Constructors in org.eclipse.jetty.servlet with parameters of type Servlet
`ServletHolder(Servlet servlet)` Constructor for existing servlet.

Constructor parameters in org.eclipse.jetty.servlet with type arguments of type Servlet
`ServletHolder(Class<? extends Servlet> servlet)` Constructor for existing servlet.

Uses of Servlet in org.eclipse.jetty.websocket

Classes in org.eclipse.jetty.websocket that implement Servlet
`class` `WebSocketServlet` Servlet to upgrade connections to WebSocket

Copyright © 1995-2010 Mort Bay Consulting. All Rights Reserved.