org.redkale.net.sncp

## 类 SncpPrepareServlet

- java.lang.Object
- - org.redkale.net.Servlet<C,R,P>
  - - org.redkale.net.PrepareServlet<DLong,SncpContext,SncpRequest,SncpResponse,SncpServlet>
    - - org.redkale.net.sncp.SncpPrepareServlet

-     public class SncpPrepareServlet
      extends PrepareServlet<DLong,SncpContext,SncpRequest,SncpResponse,SncpServlet>

  详情见: https://redkale.org

- - ### 字段概要

    - ### 从类继承的字段 org.redkale.net.PrepareServlet

      `executeCounter, illRequestCounter, mappings, servlets`

  - ### 构造器概要

    构造器
    构造器和说明
    `SncpPrepareServlet()`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | `addServlet(SncpServlet servlet, AnyValue conf)`
    `void` | `addServlet(SncpServlet servlet, java.lang.Object attachment, AnyValue conf, DLong... mappings)`
    `void` | `destroy(SncpContext context, AnyValue config)`
    `void` | `execute(SncpRequest request, SncpResponse response)`
    `java.util.List<SncpServlet>` | `getSncpServlets()`
    `void` | `init(SncpContext context, AnyValue config)`

    - ### 从类继承的方法 org.redkale.net.PrepareServlet

      `getServletConf, getServlets, prepare, setServletConf`

    - ### 从类继承的方法 java.lang.Object

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

- - ### 构造器详细资料

    - #### SncpPrepareServlet

          public SncpPrepareServlet()

  - ### 方法详细资料

    - #### addServlet

          public void addServlet(SncpServlet servlet,
                                 java.lang.Object attachment,
                                 AnyValue conf,
                                 DLong... mappings)

      指定者:
        `addServlet` 在类中 `PrepareServlet<DLong,SncpContext,SncpRequest,SncpResponse,SncpServlet>`

    - #### addServlet

          public void addServlet(SncpServlet servlet,
                                 AnyValue conf)

    - #### getSncpServlets

          public java.util.List<SncpServlet> getSncpServlets()

    - #### init

          public void init(SncpContext context,
                           AnyValue config)

      覆盖:
        `init` 在类中 `Servlet<SncpContext,SncpRequest,SncpResponse>`

    - #### destroy

          public void destroy(SncpContext context,
                              AnyValue config)

      覆盖:
        `destroy` 在类中 `Servlet<SncpContext,SncpRequest,SncpResponse>`

    - #### execute

          public void execute(SncpRequest request,
                              SncpResponse response)
                       throws java.io.IOException

      指定者:
        `execute` 在类中 `Servlet<SncpContext,SncpRequest,SncpResponse>`
      抛出:
        `java.io.IOException`