You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2013/10/05 20:44:10 UTC
svn commit: r1529493 -
/httpcomponents/project-website/trunk/src/site/apt/httpcomponents-client-4.3.x/examples.apt
Author: olegk
Date: Sat Oct 5 18:44:10 2013
New Revision: 1529493
URL: http://svn.apache.org/r1529493
Log:
Removed outdated example
Modified:
httpcomponents/project-website/trunk/src/site/apt/httpcomponents-client-4.3.x/examples.apt
Modified: httpcomponents/project-website/trunk/src/site/apt/httpcomponents-client-4.3.x/examples.apt
URL: http://svn.apache.org/viewvc/httpcomponents/project-website/trunk/src/site/apt/httpcomponents-client-4.3.x/examples.apt?rev=1529493&r1=1529492&r2=1529493&view=diff
==============================================================================
--- httpcomponents/project-website/trunk/src/site/apt/httpcomponents-client-4.3.x/examples.apt (original)
+++ httpcomponents/project-website/trunk/src/site/apt/httpcomponents-client-4.3.x/examples.apt Sat Oct 5 18:44:10 2013
@@ -87,18 +87,6 @@ HttpClient Examples
This example demonstrates how to create secure connections with a custom SSL context.
- * {{{./httpclient/examples/org/apache/http/examples/client/ClientGZipContentCompression.java}Custom protocol interceptors}}
-
- This example shows the use of protocol interceptors to transparently modify properties of HTTP
- messages sent / received by the HTTP client.
-
- In this particular case HTTP client is made capable of transparent content GZIP compression by
- adding two protocol interceptors: a request interceptor that adds 'Accept-Encoding: gzip' header
- to all outgoing requests and a response interceptor that automatically expands compressed
- response entities by wrapping them with a uncompressing decorator class. The use of protocol
- interceptors makes content compression completely transparent to the consumer of the HttpClient
- interface.
-
* {{{./httpclient/examples/org/apache/http/examples/client/ClientPreemptiveBasicAuthentication.java}Preemptive BASIC authentication}}
This example shows how HttpClient can be customized to authenticate preemptively using BASIC