Added #toString()
This commit is contained in:
parent
23425a1379
commit
572a370f4b
|
@ -95,5 +95,11 @@ public final class SimpleBody {
|
||||||
return bodyAsBytes != null;
|
return bodyAsBytes != null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return "content length=" + (bodyAsBytes != null ? bodyAsBytes.length : "chunked") +
|
||||||
|
", content type=" + contentType;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue