## 类的使用
org.redkale.net.PrepareServlet

- 使用PrepareServlet的程序包
  程序包 | 说明
  --- | ---
  org.redkale.net | 网络TCP/UDP基础服务包
  org.redkale.net.http | HTTP协议包,提供HTTP协议服务器
  org.redkale.net.sncp | SNCP协议包,提供SNCP协议服务器

- - ### org.redkale.net中PrepareServlet的使用

    声明为PrepareServlet的org.redkale.net中的字段
    限定符和类型 | 字段和说明
    --- | ---
    `protected PrepareServlet` | Context.`prepare`
    `protected PrepareServlet<K,C,R,P,S>` | Server.`prepare`

    返回PrepareServlet的org.redkale.net中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `PrepareServlet<K,C,R,P,S>` | Server.`getPrepareServlet()`

    参数类型为PrepareServlet的org.redkale.net中的构造器
    构造器和说明
    `Context(long serverStartTime, java.util.logging.Logger logger, java.util.concurrent.ExecutorService executor, int bufferCapacity, ObjectPool<java.nio.ByteBuffer> bufferPool, ObjectPool<Response> responsePool, int maxbody, java.nio.charset.Charset charset, java.net.InetSocketAddress address, PrepareServlet prepare, WatchFactory watch, int readTimeoutSecond, int writeTimeoutSecond)`
    `Server(long serverStartTime, java.lang.String protocol, PrepareServlet<K,C,R,P,S> servlet, WatchFactory watch)`

  - ### org.redkale.net.http中PrepareServlet的使用

    org.redkale.net.http中PrepareServlet的子类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `HttpPrepareServlet` 详情见: https://redkale.org

    参数类型为PrepareServlet的org.redkale.net.http中的构造器
    构造器和说明
    `HttpContext(long serverStartTime, java.util.logging.Logger logger, java.util.concurrent.ExecutorService executor, int bufferCapacity, ObjectPool<java.nio.ByteBuffer> bufferPool, ObjectPool<Response> responsePool, int maxbody, java.nio.charset.Charset charset, java.net.InetSocketAddress address, PrepareServlet prepare, WatchFactory watch, int readTimeoutSecond, int writeTimeoutSecond)`

  - ### org.redkale.net.sncp中PrepareServlet的使用

    org.redkale.net.sncp中PrepareServlet的子类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `SncpPrepareServlet` 详情见: https://redkale.org

    参数类型为PrepareServlet的org.redkale.net.sncp中的构造器
    构造器和说明
    `SncpContext(long serverStartTime, java.util.logging.Logger logger, java.util.concurrent.ExecutorService executor, int bufferCapacity, ObjectPool<java.nio.ByteBuffer> bufferPool, ObjectPool<Response> responsePool, int maxbody, java.nio.charset.Charset charset, java.net.InetSocketAddress address, PrepareServlet prepare, WatchFactory watch, int readTimeoutSecond, int writeTimeoutSecond)`