This commit is contained in:
Redkale
2016-11-10 16:29:42 +08:00
parent 86a219e3e1
commit 4548cf78d6

View File

@@ -289,8 +289,8 @@ public class HttpRequest extends Request<HttpContext> {
parseBody();
return this.getClass().getSimpleName() + "{\r\n method: " + this.method + ", \r\n requestURI: " + this.requestURI
+ ", \r\n remoteAddr: " + this.getRemoteAddr() + ", \r\n cookies: " + this.cookiestr + ", \r\n contentType: " + this.contentType
+ ", \r\n connection: " + this.connection + ", \r\n protocol: " + this.protocol + ", \r\n contentLength: " + this.contentLength
+ ", \r\n host: " + this.host + ", \r\n bodylength: " + this.array.size() + (this.boundary || this.array.isEmpty() ? "" : (", \r\n body: " + this.getBodyUTF8()))
+ ", \r\n connection: " + this.connection + ", \r\n protocol: " + this.protocol + ", \r\n host: " + this.host
+ ", \r\n contentLength: " + this.contentLength + ", \r\n bodyLength: " + this.array.size() + (this.boundary || this.array.isEmpty() ? "" : (", \r\n bodyContent: " + this.getBodyUTF8()))
+ ", \r\n params: " + this.params.toString(4) + ", \r\n header: " + this.header.toString(4) + "\r\n}";
}