简体   繁体   English

org.apache.http.client.methods.HttpPost和org.apache.commons.httpclient.methods.PostMethod之间的区别?

[英]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.

相关问题 重用org.apache.commons.httpclient.methods.PostMethod对象时出现问题 - Problems when reusing a org.apache.commons.httpclient.methods.PostMethod object 来自 org.apache.commons.net.ftp 的 FTPClient 类中 enterLocal...() 和 enterRemote...() 方法之间的区别 - Difference between enterLocal...() and enterRemote...() methods in FTPClient class from org.apache.commons.net.ftp Apache Commons HttpClient PostMethod 支持? - Apache Commons HttpClient PostMethod support? HttpPost 中的 org.apache.http.client.ClientProtocolException - org.apache.http.client.ClientProtocolException in HttpPost HttpClient 4.3.1的org.apache.http.client.utils.URIBuilder中`removeQuery()`和`clearParameters()`有什么区别? - What is the difference between `removeQuery()` and `clearParameters()` in org.apache.http.client.utils.URIBuilder of HttpClient 4.3.1? Android应用程式上缺少org / apache / http / client / methods / HttpUriRequest - Missing org/apache/http/client/methods/HttpUriRequest on Android app 找不到类异常-org.apache.http.client.methods.HttpRequestBase - No Class found Exception - org.apache.http.client.methods.HttpRequestBase 错误:软件包org.apache.http.client.methods不存在 - error: package org.apache.http.client.methods does not exist 导入org.apache.commons.httpclient。* - import org.apache.commons.httpclient.* Java - 使用apache.http.client.methods.HttpPost发送HTTP参数 - Java - sending HTTP parameters with apache.http.client.methods.HttpPost
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM