|
|
@ -41,6 +41,11 @@ public class ServerHttpAgent implements HttpAgent {
|
|
|
|
return null;
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
|
|
|
public Result httpPost(String path, Object body) {
|
|
|
|
|
|
|
|
return httpClientUtil.restApiPost(buildUrl(path), body, Result.class);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public Result httpPostByDiscovery(String path, Object body) {
|
|
|
|
public Result httpPostByDiscovery(String path, Object body) {
|
|
|
|
return httpClientUtil.restApiPost(buildUrl(path), body, Result.class);
|
|
|
|
return httpClientUtil.restApiPost(buildUrl(path), body, Result.class);
|
|
|
|