mirror of
https://gitee.com/BDWare/common
synced 2025-01-10 09:54:13 +00:00
feat: support requestID auto append in agent websocket
This commit is contained in:
parent
0dba1fe49a
commit
f2ae920f6a
@ -22,9 +22,11 @@ public abstract class ResultCallback {
|
|||||||
public Channel getChannel() {
|
public Channel getChannel() {
|
||||||
return channel;
|
return channel;
|
||||||
}
|
}
|
||||||
public void onResult(Map<?,?> object){
|
|
||||||
|
public void onResult(Map object) {
|
||||||
onResult(JsonUtil.toJson(object));
|
onResult(JsonUtil.toJson(object));
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onResult(JsonObject jo) {
|
public void onResult(JsonObject jo) {
|
||||||
onResult(jo.toString());
|
onResult(jo.toString());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user