org.qi4j.library.http

## Class Servlets

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

-     public final class Servlets
      extends Object

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `Servlets.ConstraintAssembler`
    `static class` | `Servlets.ConstraintDeclaration`
    `static class` | `Servlets.ContextListenerAssembler`
    `static class` | `Servlets.ContextListenerDeclaration`
    `static class` | `Servlets.FilterAssembler`
    `static class` | `Servlets.FilterDeclaration`
    `static class` | `Servlets.ServletAssembler`
    `static class` | `Servlets.ServletDeclaration`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Servlets.ConstraintDeclaration` | `addConstraints(Servlets.ConstraintAssembler... constraintAssemblers)`
    `static Servlets.ContextListenerAssembler` | `addContextListeners(Servlets.ContextListenerDeclaration... contextListenerDeclarations)`
    `static Servlets.FilterDeclaration` | `addFilters(Servlets.FilterAssembler... filterAssemblers)`
    `static Servlets.ServletAssembler` | `addServlets(Servlets.ServletDeclaration... servletDeclarations)`
    `static Servlets.ConstraintAssembler` | `constrain(String path)`
    `static Servlets.FilterAssembler` | `filter(String path)`
    `static Servlets.ContextListenerDeclaration` | `listen()`
    `static Servlets.ServletDeclaration` | `serve(String path)`

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

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

- - ### Method Detail

    - #### listen

          public static Servlets.ContextListenerDeclaration listen()

    - #### addContextListeners

          public static Servlets.ContextListenerAssembler addContextListeners(Servlets.ContextListenerDeclaration... contextListenerDeclarations)

    - #### serve

          public static Servlets.ServletDeclaration serve(String path)

    - #### addServlets

          public static Servlets.ServletAssembler addServlets(Servlets.ServletDeclaration... servletDeclarations)

    - #### filter

          public static Servlets.FilterAssembler filter(String path)

    - #### addFilters

          public static Servlets.FilterDeclaration addFilters(Servlets.FilterAssembler... filterAssemblers)

    - #### constrain

          public static Servlets.ConstraintAssembler constrain(String path)

    - #### addConstraints

          public static Servlets.ConstraintDeclaration addConstraints(Servlets.ConstraintAssembler... constraintAssemblers)