CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 WEB源码 JSP源码/Java

文件名称:httpcomponents-client-4.3-bin

  • 所属分类:
  • 标签属性:
  • 上传时间:
    2013-09-16
  • 文件大小:
    3.93mb
  • 已下载:
    0次
  • 提 供 者:
  • 相关连接:
  • 下载说明:
    别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容来自于网络,使用问题请自行百度

1、GET方式



第一步、创建一个客户端,类似于你用浏览器打开一个网页



HttpClient httpClient = new HttpClient()



第二步、创建一个GET方法,用来获取到你需要抓取的网页URL



GetMethod getMethod = new GetMethod("http://www.baidu.com")



第三步、获得网址的响应状态码,200表示请求成功



int statusCode = httpClient.executeMethod(getMethod)



第四步、获取网页的源码



byte[] responseBody = getMethod.getResponseBody()
(系统自动生成,下载前可以参看下载内容)

下载文件列表

RELEASE_NOTES.txt
LICENSE.txt
README.txt
NOTICE.txt
javadoc/
javadoc/help-doc.html
javadoc/deprecated-list.html
javadoc/index-all.html
javadoc/overview-frame.html
javadoc/overview-summary.html
javadoc/allclasses-noframe.html
javadoc/constant-values.html
javadoc/package-list
javadoc/overview-tree.html
javadoc/stylesheet.css
javadoc/allclasses-frame.html
javadoc/serialized-form.html
javadoc/index.html
javadoc/resources/
javadoc/resources/titlebar_end.gif
javadoc/resources/background.gif
javadoc/resources/tab.gif
javadoc/resources/titlebar.gif
javadoc/org/
javadoc/org/apache/
javadoc/org/apache/http/
javadoc/org/apache/http/entity/
javadoc/org/apache/http/entity/mime/
javadoc/org/apache/http/entity/mime/package-use.html
javadoc/org/apache/http/entity/mime/MultipartEntity.html
javadoc/org/apache/http/entity/mime/FormBodyPart.html
javadoc/org/apache/http/entity/mime/package-tree.html
javadoc/org/apache/http/entity/mime/MIME.html
javadoc/org/apache/http/entity/mime/package-frame.html
javadoc/org/apache/http/entity/mime/HttpMultipartMode.html
javadoc/org/apache/http/entity/mime/package-summary.html
javadoc/org/apache/http/entity/mime/HttpMultipart.html
javadoc/org/apache/http/entity/mime/MinimalField.html
javadoc/org/apache/http/entity/mime/Header.html
javadoc/org/apache/http/entity/mime/MultipartEntityBuilder.html
javadoc/org/apache/http/entity/mime/content/
javadoc/org/apache/http/entity/mime/content/FileBody.html
javadoc/org/apache/http/entity/mime/content/package-use.html
javadoc/org/apache/http/entity/mime/content/StringBody.html
javadoc/org/apache/http/entity/mime/content/InputStreamBody.html
javadoc/org/apache/http/entity/mime/content/ByteArrayBody.html
javadoc/org/apache/http/entity/mime/content/package-tree.html
javadoc/org/apache/http/entity/mime/content/AbstractContentBody.html
javadoc/org/apache/http/entity/mime/content/package-frame.html
javadoc/org/apache/http/entity/mime/content/ContentDescriptor.html
javadoc/org/apache/http/entity/mime/content/package-summary.html
javadoc/org/apache/http/entity/mime/content/ContentBody.html
javadoc/org/apache/http/entity/mime/content/class-use/
javadoc/org/apache/http/entity/mime/content/class-use/FileBody.html
javadoc/org/apache/http/entity/mime/content/class-use/StringBody.html
javadoc/org/apache/http/entity/mime/content/class-use/InputStreamBody.html
javadoc/org/apache/http/entity/mime/content/class-use/ByteArrayBody.html
javadoc/org/apache/http/entity/mime/content/class-use/AbstractContentBody.html
javadoc/org/apache/http/entity/mime/content/class-use/ContentDescriptor.html
javadoc/org/apache/http/entity/mime/content/class-use/ContentBody.html
javadoc/org/apache/http/entity/mime/class-use/
javadoc/org/apache/http/entity/mime/class-use/MultipartEntity.html
javadoc/org/apache/http/entity/mime/class-use/FormBodyPart.html
javadoc/org/apache/http/entity/mime/class-use/MIME.html
javadoc/org/apache/http/entity/mime/class-use/HttpMultipartMode.html
javadoc/org/apache/http/entity/mime/class-use/HttpMultipart.html
javadoc/org/apache/http/entity/mime/class-use/MinimalField.html
javadoc/org/apache/http/entity/mime/class-use/Header.html
javadoc/org/apache/http/entity/mime/class-use/MultipartEntityBuilder.html
javadoc/org/apache/http/impl/
javadoc/org/apache/http/impl/cookie/
javadoc/org/apache/http/impl/cookie/IgnoreSpec.html
javadoc/org/apache/http/impl/cookie/NetscapeDomainHandler.html
javadoc/org/apache/http/impl/cookie/RFC2109VersionHandler.html
javadoc/org/apache/http/impl/cookie/BasicPathHandler.html
javadoc/org/apache/http/impl/cookie/AbstractCookieSpec.html
javadoc/org/apache/http/impl/cookie/BasicSecureHandler.html
javadoc/org/apache/http/impl/cookie/AbstractCookieAttributeHandler.html
javadoc/org/apache/http/impl/cookie/package-use.html
javadoc/org/apache/http/impl/cookie/BasicClientCookie.html
javadoc/org/apache/http/impl/cookie/BasicMaxAgeHandler.html
javadoc/org/apache/http/impl/cookie/BasicClientCookie2.html
javadoc/org/apache/http/impl/cookie/PublicSuffixFilter.html
javadoc/org/apache/http/impl/cookie/BrowserCompatSpecFactory.SecurityLevel.html
javadoc/org/apache/http/impl/cookie/RFC2965DomainAttributeHandler.html
javadoc/org/apache/http/impl/cookie/NetscapeDraftHeaderParser.html
javadoc/org/apache/http/impl/cookie/BestMatchSpecFactory.html
javadoc/org/apache/http/impl/cookie/RFC2965SpecFactory.html
javadoc/org/apache/http/impl/cookie/RFC2109SpecFactory.html
javadoc/org/apache/http/impl/cookie/DateParseException.html
javadoc/org/apache/http/impl/cookie/BasicDomainHandler.html
javadoc/org/apache/http/impl/cookie/package-tree.html
javadoc/org/apache/http/impl/cookie/NetscapeDraftSpecFactory.html
javadoc/org/apache/http/impl/cookie/BasicExpiresHandler.html
javadoc/org/apache/http/impl/cookie/BrowserCompatSpec.html
javadoc/org/apache/http/impl/cookie/package-frame.html
javadoc/org/apache/http/impl/cookie/package-summary.html
javadoc/org/apache/http/impl/cookie/BestMatchSpec.html
javadoc/org/apache/http/impl/cookie/BasicCommentHandler.html
javadoc/org/apache/http/impl/cookie/RFC2965CommentUrlAttributeHandler.html
javadoc/org/apache/http/impl/cookie/CookieSpecBase.html
javadoc/org/a

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 搜珍网是交换下载平台,只提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。更多...
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或换浏览器;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com