`
feixingfei
  • 浏览: 45348 次
  • 性别: Icon_minigender_1
  • 来自: 上海
文章分类
社区版块
存档分类
最新评论
  • calosteward: 感谢分享,我还找到了另一个也是可以用于c#的代码,是一个英文网 ...
    PDF合并

HttpClient Features

 
阅读更多

http://hc.apache.org/httpclient-3.x/

  • Standards based, pure Java, implementation of HTTP versions 1.0 and 1.1
  • Full implementation of all HTTP methods (GET, POST, PUT, DELETE, HEAD, OPTIONS, and TRACE) in an extensible OO framework.
  • Supports encryption with HTTPS (HTTP over SSL) protocol.
  • Granular non-standards configuration and tracking.
  • Transparent connections through HTTP proxies.
  • Tunneled HTTPS connections through HTTP proxies, via the CONNECT method.
  • Transparent connections through SOCKS proxies (version 4 & 5) using native Java socket support.
  • Authentication using Basic, Digest and the encrypting NTLM (NT Lan Manager) methods.
  • Plug-in mechanism for custom authentication methods.
  • Multi-Part form POST for uploading large files.
  • Pluggable secure sockets implementations, making it easier to use third party solutions
  • Connection management support for use in multi-threaded applications. Supports setting the maximum total connections as well as the maximum connections per host. Detects and closes stale connections.
  • Automatic Cookie handling for reading Set-Cookie: headers from the server and sending them back out in a Cookie: header when appropriate.
  • Plug-in mechanism for custom cookie policies.
  • Request output streams to avoid buffering any content body by streaming directly to the socket to the server.
  • Response input streams to efficiently read the response body by streaming directly from the socket to the server.
  • Persistent connections using KeepAlive in HTTP/1.0 and persistance in HTTP/1.1
  • Direct access to the response code and headers sent by the server.
  • The ability to set connection timeouts.
  • HttpMethods implement the Command Pattern to allow for parallel requests and efficient re-use of connections.
  • Source code is freely available under the Apache Software License.
分享到:
评论

相关推荐

    eclipse插件egit

    `plugins`目录下的JAR文件是Eclipse插件的核心组成部分,而`features`目录则包含对插件功能的描述,这些信息在安装或更新插件时被Eclipse使用。 使用EGit插件,开发者可以轻松地在Eclipse中执行以下Git操作: - **...

    C# 5.0 in a Nutshell

    Get up to speed on C# language basics, including syntax, types, and variables Explore advanced topics such as unsafe code and preprocessor directives Learn C# 5.0 features such as concurrency and ...

    Android代码-android-async-http

    An asynchronous, callback-based Http client for Android built on top of Apache's HttpClient libraries. ...Features Make asynchronous HTTP requests, handle responses in anonymous call

    utils工具集合.zip

    如Apache HttpClient或OkHttp提供了网络请求的便捷接口。 7. **测试工具**:JUnit是Java单元测试的标准库,它提供了断言、测试套件等方法,便于编写和运行测试代码。 8. **并发工具**:在多线程编程中,工具类可以...

    Java11Features:测试程序以检查Java 11的新功能

    这个“Java11Features:测试程序以检查Java 11的新功能”可能是一个用于演示或验证这些新特性的代码库。以下是对Java 11主要特性的详细解释: 1. **HTTP客户端API**:Java 11正式引入了内置的HTTP客户端API,位于`...

    KoAJAX:基于类似Koa中间件的HTTP客户端

    src =" https://polyfill.app/api/polyfill?features=es.string.match-all,es.object.from-entries,regenerator-runtime " > </ script > </ head > 具有基于令牌的授权的RESTful API import { ...

    org.apache.http_jar包.zip

    9. **Connectivity Features**:支持通过代理服务器进行连接,同时提供SSL/TLS加密和自定义SSL上下文。 10. **Documentation and Examples**:随包提供的文档和示例代码帮助开发者更好地理解和使用这些组件,快速...

    android-async-http 源码

    An asynchronous, callback-based Http client for Android built on top of Apache's HttpClient libraries. Changelog See what is new in version 1.4.9 released on 19th September 2015 ...

    IonicFramework手册

    Ionic apps can use Angular's HttpClient service to fetch data from RESTful APIs. For offline storage, Ionic provides integration with popular solutions like SQLite or IndexedDB. You can also use ...

    CXF3.1.11客户端最精简jar包

    3. **cxf-rt-transports-http-hc.jar**:这是HTTP客户端的硬化版本,基于Apache HttpClient库,提供了更高级的HTTP特性,如连接管理、重试策略等。 4. **cxf-rt-bindings-soap.jar**:提供了SOAP绑定实现,将XML...

    基于CXF的webservice的发布及访问

    <property name="client" ref="httpClient" /> <bean id="httpClient" class="org.apache.cxf.transports.http.configuration.HTTPClientPolicy"> <cxf:bus-ref>myBus ``` 4. **...

    json解析所需要的所有jar包,webservice cxf所有的jar

    4. JSON与CXF交互的库:如果你需要在Web服务中使用JSON,可能还需要额外的库,如cxf-rt-features-json,它提供了JSON数据格式的支持。 在"lib"这个压缩包文件中,你应该找到了所有这些必要的jar包。在Java项目中,...

    jersey-1.19JAR包全

    Jersey提供了一系列API,用于创建RESTful服务,包括资源类(Resource Classes)、提供者(Providers)、过滤器(Filters)、特征(Features)等。开发者可以通过注解来定义HTTP方法、URI模板和消息体处理器,实现...

    google api php client

    See the [`examples/`](examples) directory for examples of the key client features. You can view them in your browser by running the php built-in web server. ``` $ php -S localhost:8000 -t examples/ `...

    cxf相关的jar

    10. `cxf-rt-features-clustering.jar`: 支持CXF服务的集群部署。 这个压缩包对于那些需要使用或开发CXF Web服务的人来说非常有用,因为它包含了所有必要的依赖,避免了在项目中手动管理这些依赖的麻烦。通过将这些...

    cxf的jar包

    6. **cxf-rt-features-clustering**: 支持CXF服务的集群配置,可以提高高可用性和负载均衡。 7. **cxf-rt-frontend-jaxws**: 提供了JAX-WS前端服务,帮助开发者创建和调用SOAP Web服务。 8. **cxf-rt-frontend-jax...

    c#调用arcgis地图rest服务示例详解(arcgis地图输出)

    string url = layerUrl + "/addFeatures"; string data = "f=json"; // 以json格式发送 // 更多代码,包括构建请求参数,使用HttpClient发送POST请求,以及处理响应 } } } ``` 在上述代码中,`AddFeature`方法...

    RELEASE-NOTES.txt

    #### 新特性 (New Features) 1. **档案输入支持**: 通过新增功能[ANY23-5],现在支持处理档案文件(input)作为数据源,这极大地扩展了工具的应用场景。 2. **MetaX支持集成**: [ANY23-6] 集成了MetaX的支持,这是...

Global site tag (gtag.js) - Google Analytics