简体   繁体   中英

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

what is the difference between org.apache.http.client.methods.HttpPost and 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 . This library is obsolete and has been replaced by https://hc.apache.org/httpcomponents-client-ga/ . Just ignore the older one.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM