This commit is contained in:
RedKale
2016-04-07 16:47:31 +08:00
parent 4ae3468d5a
commit d6d0c811ec

View File

@@ -22,7 +22,7 @@ import org.redkale.util.ByteArray;
* 例如简单的翻页查询 /pipes/record/query/page:2/size:20 * 例如简单的翻页查询 /pipes/record/query/page:2/size:20
* 获取页号: int page = request.getRequstURIPath("page:", 1); * 获取页号: int page = request.getRequstURIPath("page:", 1);
* 获取行数: int size = request.getRequstURIPath("size:", 10); * 获取行数: int size = request.getRequstURIPath("size:", 10);
* * <p>
* <p> * <p>
* 详情见: http://www.redkale.org * 详情见: http://www.redkale.org
* *
@@ -274,8 +274,8 @@ public class HttpRequest extends Request<HttpContext> {
public String toString() { public String toString() {
parseBody(); parseBody();
return this.getClass().getSimpleName() + "{method:" + this.method + ", requestURI:" + this.requestURI return this.getClass().getSimpleName() + "{method:" + this.method + ", requestURI:" + this.requestURI
+ ", contentType:" + this.contentType + ", connection:" + this.connection + ", protocol:" + this.protocol + ", remoteAddr:" + this.getRemoteAddr() + ", cookies:" + this.cookiestr + ", contentType:" + this.contentType
+ ", contentLength:" + this.contentLength + ", cookies:" + this.cookiestr + ", connection:" + this.connection + ", protocol:" + this.protocol + ", contentLength:" + this.contentLength
+ ", host:" + this.host + ", params:" + this.params + ", header:" + this.header + "}"; + ", host:" + this.host + ", params:" + this.params + ", header:" + this.header + "}";
} }