org.redkale.net

## 类 PrepareServlet<C extends Context,R extends Request<C>,P extends Response<C,R>>

- java.lang.Object
- - org.redkale.net.Servlet<C,R,P>
  - - org.redkale.net.PrepareServlet<C,R,P>

- 类型参数:
    `C` - Context的子类型
    `R` - Request的子类型
    `P` - Response的子类型
  直接已知子类:
    HttpPrepareServlet, SncpPrepareServlet

      public abstract class PrepareServlet<C extends Context,R extends Request<C>,P extends Response<C,R>>
      extends Servlet<C,R,P>

  详情见: http://www.redkale.org

- - ### 字段概要

    字段
    限定符和类型 | 字段和说明
    --- | ---
    `protected java.util.concurrent.atomic.AtomicLong` | `executeCounter`
    `protected java.util.concurrent.atomic.AtomicLong` | `illRequestCounter`

  - ### 构造器概要

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

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | `prepare(java.nio.ByteBuffer buffer, R request, P response)`

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

      `destroy, execute, init`

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

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

- - ### 字段详细资料

    - #### executeCounter

          protected final java.util.concurrent.atomic.AtomicLong executeCounter

    - #### illRequestCounter

          protected final java.util.concurrent.atomic.AtomicLong illRequestCounter

  - ### 构造器详细资料

    - #### PrepareServlet

          public PrepareServlet()

  - ### 方法详细资料

    - #### prepare

          public final void prepare(java.nio.ByteBuffer buffer,
                                    R request,
                                    P response)
                             throws java.io.IOException

      抛出:
        `java.io.IOException`