org.redkale.net.http

## 类 HttpPrepareServlet

- java.lang.Object
- - org.redkale.net.Servlet<C,R,P>
  - - org.redkale.net.PrepareServlet<HttpContext,HttpRequest,HttpResponse>
    - - org.redkale.net.http.HttpPrepareServlet

-     public final class HttpPrepareServlet
      extends PrepareServlet<HttpContext,HttpRequest,HttpResponse>

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

- - ### 字段概要

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

      `executeCounter, illRequestCounter`

  - ### 构造器概要

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

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | `addHttpServlet(HttpServlet servlet, java.lang.String prefix, AnyValue conf, java.lang.String... mappings)`
    `void` | `destroy(HttpContext context, AnyValue config)`
    `void` | `execute(HttpRequest request, HttpResponse response)`
    `void` | `init(HttpContext context, AnyValue config)`
    `void` | `setResourceServlet(HttpServlet servlet)`

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

      `prepare`

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

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

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

    - #### HttpPrepareServlet

          public HttpPrepareServlet()

  - ### 方法详细资料

    - #### init

          public void init(HttpContext context,
                           AnyValue config)

      覆盖:
        `init` 在类中 `Servlet<HttpContext,HttpRequest,HttpResponse>`

    - #### execute

          public void execute(HttpRequest request,
                              HttpResponse response)
                       throws java.io.IOException

      指定者:
        `execute` 在类中 `Servlet<HttpContext,HttpRequest,HttpResponse>`
      抛出:
        `java.io.IOException`

    - #### addHttpServlet

          public void addHttpServlet(HttpServlet servlet,
                                     java.lang.String prefix,
                                     AnyValue conf,
                                     java.lang.String... mappings)

    - #### setResourceServlet

          public void setResourceServlet(HttpServlet servlet)

    - #### destroy

          public void destroy(HttpContext context,
                              AnyValue config)

      覆盖:
        `destroy` 在类中 `Servlet<HttpContext,HttpRequest,HttpResponse>`