添加RedisRpcResponse的toString

2.7.0
648540858 2024-04-18 17:00:13 +08:00
parent 6025eb29fd
commit 2a765a93eb
1 changed files with 12 additions and 0 deletions

View File

@ -84,4 +84,16 @@ public class RedisRpcResponse {
public void setBody(Object body) {
this.body = body;
}
@Override
public String toString() {
return "RedisRpcResponse{" +
"fromId='" + fromId + '\'' +
", toId='" + toId + '\'' +
", sn=" + sn +
", statusCode=" + statusCode +
", uri='" + uri + '\'' +
", body=" + body +
'}';
}
}