javeme commented on code in PR #133: URL: https://github.com/apache/incubator-hugegraph-commons/pull/133#discussion_r1310617155
########## hugegraph-common/src/main/java/org/apache/hugegraph/rest/RestClient.java: ########## @@ -17,34 +17,32 @@ package org.apache.hugegraph.rest; -import java.util.Map; +import okhttp3.Headers; -import jakarta.ws.rs.core.MultivaluedMap; +import java.util.Map; public interface RestClient { /** * Post method */ RestResult post(String path, Object object); - RestResult post(String path, Object object, MultivaluedMap<String, Object> headers); Review Comment: 可以尝试使用这个MultiValuedMap: https://commons.apache.org/proper/commons-collections/apidocs/org/apache/commons/collections4/MultiValuedMap.html -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@hugegraph.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org