You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by "pan3793 (via GitHub)" <gi...@apache.org> on 2023/02/02 03:06:43 UTC

[GitHub] [kyuubi] pan3793 commented on a diff in pull request #4221: REST client for creating batch with uploading resource file

pan3793 commented on code in PR #4221:
URL: https://github.com/apache/kyuubi/pull/4221#discussion_r1093965698


##########
kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/IRestClient.java:
##########
@@ -27,6 +28,8 @@ public interface IRestClient extends AutoCloseable {
 
   <T> T post(String path, String body, Class<T> type, String authHeader);
 
+  <T> T post(String path, HttpEntity requestEntity, Class<T> type, String authHeader);

Review Comment:
   one concern is that `org.apache.http.HttpEntity` is leaked to public API, if we want to shade `org.apache.http.*` in the future, it will be a breaking change



-- 
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: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org