[英]Difference between org.apache.http.client.methods.HttpPost and org.apache.commons.httpclient.methods.PostMethod?
Hi i am trying to use httpClient for the first time and am quite confused regarding the methods under it 嗨,我尝试第一次使用httpClient,并且对它下面的方法感到很困惑
what is the difference between org.apache.http.client.methods.HttpPost and org.apache.commons.httpclient.methods.PostMethod? org.apache.http.client.methods.HttpPost和org.apache.commons.httpclient.methods.PostMethod有什么区别?
functionality wise will there be any major differences? 功能方面会存在主要差异吗? Also I notice the methods supported are different why is this so? 我也注意到支持的方法不同,为什么会这样呢?
See https://hc.apache.org/httpclient-legacy/index.html . 参见https://hc.apache.org/httpclient-legacy/index.html 。 This library is obsolete and has been replaced by https://hc.apache.org/httpcomponents-client-ga/ . 该库已过时,并已由https://hc.apache.org/httpcomponents-client-ga/取代。 Just ignore the older one. 只是忽略旧的。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.