This commit is contained in:
Binary file not shown.
@@ -268,6 +268,15 @@ public class HttpRequest extends Request<HttpContext> {
|
|||||||
return array.toString(UTF8);
|
return array.toString(UTF8);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 直接获取body对象
|
||||||
|
*
|
||||||
|
* @return body对象
|
||||||
|
*/
|
||||||
|
protected ByteArray getDirectBody() {
|
||||||
|
return array;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
parseBody();
|
parseBody();
|
||||||
|
|||||||
Reference in New Issue
Block a user