## 类的使用
org.redkale.net.http.HttpContext

- 使用HttpContext的程序包
  程序包 | 说明
  --- | ---
  org.redkale.net.http | HTTP协议包,提供HTTP协议服务器

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

    参数类型为HttpContext的org.redkale.net.http中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | HttpPrepareServlet.`destroy(HttpContext context, AnyValue config)`
    `void` | HttpResourceServlet.`destroy(HttpContext context, AnyValue config)`
    `void` | BasedHttpServlet.`init(HttpContext context, AnyValue config)`
    `void` | HttpPrepareServlet.`init(HttpContext context, AnyValue config)`
    `void` | HttpResourceServlet.`init(HttpContext context, AnyValue config)`
    `void` | WebSocketServlet.`postDestroy(HttpContext context, AnyValue conf)`
    `void` | WebSocketServlet.`preInit(HttpContext context, AnyValue conf)`

    参数类型为HttpContext的org.redkale.net.http中的构造器
    构造器和说明
    `HttpRequest(HttpContext context, java.lang.String remoteAddrHeader)`
    `HttpResponse(HttpContext context, HttpRequest request, java.lang.String[][] defaultAddHeaders, java.lang.String[][] defaultSetHeaders, java.net.HttpCookie defcookie)`