## Uses of Interface
javax.servlet.ServletRegistration

- Packages that use ServletRegistration
  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.

- - ### Uses of ServletRegistration in javax.servlet

    Subinterfaces of ServletRegistration in javax.servlet
    Modifier and Type | Interface and Description
    --- | ---
    `static interface` | `ServletRegistration.Dynamic` Interface through which a `Servlet` registered via one of the `addServlet` methods on `ServletContext` may be further configured.

    Methods in javax.servlet that return ServletRegistration
    Modifier and Type | Method and Description
    --- | ---
    `ServletRegistration` | ServletContext.`getServletRegistration(String servletName)` Gets the ServletRegistration corresponding to the servlet with the given `servletName`.

    Methods in javax.servlet that return types with arguments of type ServletRegistration
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,? extends ServletRegistration>` | ServletContext.`getServletRegistrations()` Gets a (possibly empty) Map of the ServletRegistration objects (keyed by servlet name) corresponding to all servlets registered with this ServletContext.

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.