This commit is contained in:
Redkale
2017-03-17 20:04:09 +08:00
parent 974a6bfeaa
commit 7f270eb9d7
3 changed files with 85 additions and 31 deletions

View File

@@ -66,6 +66,8 @@ public class HttpRequest extends Request<HttpContext> {
private final String remoteAddrHeader;
Object attachment; //供 HttpBaseServlet传递Entry使用
public HttpRequest(HttpContext context, String remoteAddrHeader) {
super(context);
this.remoteAddrHeader = remoteAddrHeader;
@@ -336,6 +338,8 @@ public class HttpRequest extends Request<HttpContext> {
this.boundary = false;
this.bodyparsed = false;
this.attachment = null;
this.header.clear();
this.params.clear();
this.array.clear();