透明 Transparent connections through HTTP proxies.

透明語境:html

五、7層模型中數據鏈路層:透明傳輸;apache

 

談談如何使用Netty開發實現高性能的RPC服務器 - Newland - 博客園 http://www.cnblogs.com/jietang/p/5615681.html服務器

RPC(Remote Procedure Call Protocol)遠程過程調用協議,它是一種經過網絡,從遠程計算機程序上請求服務,而沒必要了解底層網絡技術的協議。說的再直白一點,就是客戶端在沒必要知道調用細節的前提之下,調用遠程計算機上運行的某個對象,使用起來就像調用本地的對象同樣。目前典型的RPC實現框架有:Thrift(facebook開源)、Dubbo(alibaba開源)等等。RPC框架針對網絡協議、網絡I/O模型的封裝是透明的,對於調用的客戶端而言,它就認爲本身在調用本地的一個對象。至於傳輸層上,運用的是TCP協議、UDP協議、亦或是HTTP協議,一律不關心。從網絡I/O模型上來看,是基於select、poll、epoll方式、仍是IOCP(I/O Completion Port)方式承載實現的,對於調用者而言也不用關心。cookie

 

Apache HttpComponents – HttpComponents HttpClient Overview http://hc.apache.org/httpcomponents-client-5.0.x/index.html網絡

Features

  • 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.
  • Transparent connections through HTTP proxies.
  • Tunneled HTTPS connections through HTTP proxies, via the CONNECT method.
  • Basic, Digest, NTLMv1, NTLMv2, NTLM2 Session, SNPNEGO, Kerberos authentication schemes.
  • Plug-in mechanism for custom authentication schemes.
  • Pluggable secure socket factories, 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.
  • Support for HTTP/1.1 response caching.
  • Source code is freely available under the Apache License.
相關文章
相關標籤/搜索