org.qi4j.library.http

## Class Servlets.ServletDeclaration

- java.lang.Object
- - org.qi4j.library.http.Servlets.ServletDeclaration

- Enclosing class:
    Servlets

      public static class Servlets.ServletDeclaration
      extends Object

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `<T extends javax.servlet.Servlet & ServiceComposite> Servlets.ServletDeclaration` | `with(Class<T> servlet)`
    `Servlets.ServletDeclaration` | `withInitParams(Map<String,String> initParams)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### with

          public <T extends javax.servlet.Servlet & ServiceComposite> Servlets.ServletDeclaration with(Class<T> servlet)

    - #### withInitParams

          public Servlets.ServletDeclaration withInitParams(Map<String,String> initParams)