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 2019/04/08 09:51:37 UTC

[httpcomponents-website] branch master updated: Corrected HttpClient 5.0 example links

This is an automated email from the ASF dual-hosted git repository.

olegk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/httpcomponents-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 16552e7  Corrected HttpClient 5.0 example links
16552e7 is described below

commit 16552e7ecd87ad5bad1dd0090852d75b02feac16
Author: Oleg Kalnichevski <ol...@apache.org>
AuthorDate: Mon Apr 8 11:50:44 2019 +0200

    Corrected HttpClient 5.0 example links
---
 .../httpcomponents-client-5.0.x/examples-async.apt | 22 +++++++-------
 .../examples-reactive.apt                          |  2 +-
 .../apt/httpcomponents-client-5.0.x/examples.apt   | 34 +++++++++++-----------
 3 files changed, 29 insertions(+), 29 deletions(-)

diff --git a/src/site/apt/httpcomponents-client-5.0.x/examples-async.apt b/src/site/apt/httpcomponents-client-5.0.x/examples-async.apt
index d8be0cf..ce4e947 100644
--- a/src/site/apt/httpcomponents-client-5.0.x/examples-async.apt
+++ b/src/site/apt/httpcomponents-client-5.0.x/examples-async.apt
@@ -30,65 +30,65 @@
 
 HttpClient Examples (Async)
 
-    * {{{./httpclient5/examples/org/apache/hc/client5/http/examples/AsyncClientHttpExchange.java}
+    * {{{./httpclient5/examples/AsyncClientHttpExchange.java}
     Asynchronous HTTP exchange}}
 
     This example demonstrates a basic asynchronous HTTP request / response exchange. 
     Response content is buffered in memory for simplicity.
 
-    * {{{./httpclient5/examples/org/apache/hc/client5/http/examples/AsyncClientHttpExchangeStreaming.java}
+    * {{{./httpclient5/examples/AsyncClientHttpExchangeStreaming.java}
     Asynchronous HTTP exchange with content streaming}}
     
     This example demonstrates an asynchronous HTTP request / response exchange with a full content 
     streaming.
 
-    * {{{./httpclient5/examples/org/apache/hc/client5/http/examples/AsyncClientTlsAlpn.java}
+    * {{{./httpclient5/examples/AsyncClientTlsAlpn.java}
     HTTP/2 ALPN support}}
 
     This example demonstrates how to avoid the illegal reflective access operation warning when running
     with Oracle JRE 9 or newer.
 
-    * {{{./httpclient5/examples/org/apache/hc/client5/http/examples/AsyncClientHttp1Pipelining.java}
+    * {{{./httpclient5/examples/AsyncClientHttp1Pipelining.java}
     Pipelined HTTP/1.1 exchanges}}
 
     This example demonstrates a pipelined execution of multiple HTTP/1.1 request / response exchanges.
     Response content is buffered in memory for simplicity.
 
-    * {{{./httpclient5/examples/org/apache/hc/client5/http/examples/AsyncClientHttp2Multiplexing.java}
+    * {{{./httpclient5/examples/AsyncClientHttp2Multiplexing.java}
     Multiplexed HTTP/2 exchanges}}
 
     This example demonstrates a multiplexed execution of multiple HTTP/2 request / response exchanges.
     Response content is buffered in memory for simplicity.
 
-    * {{{./httpclient5/examples/org/apache/hc/client5/http/examples/AsyncClientInterceptors.java}
+    * {{{./httpclient5/examples/AsyncClientInterceptors.java}
     Request execution interceptors}}
 
     This example demonstrates how to insert custom request interceptor and an execution interceptor to the
     request execution chain.
 
-    * {{{./httpclient5/examples/org/apache/hc/client5/http/examples/AsyncClientMessageTrailers.java}
+    * {{{./httpclient5/examples/AsyncClientMessageTrailers.java}
     Message trailers}}
 
     This example demonstrates how to use a custom execution interceptor to add trailers to all 
     outgoing request enclosing an entity..
 
-    * {{{./httpclient5/examples/org/apache/hc/client5/http/examples/AsyncClientHttp2ServerPush.java}
+    * {{{./httpclient5/examples/AsyncClientHttp2ServerPush.java}
     Multiplexed HTTP/2 exchanges}}
 
     This example demonstrates handling of HTTP/2 message exchanges pushed by the server.
 
-    * {{{./httpclient5/examples/org/apache/hc/client5/http/examples/AsyncClientAuthentication.java}
+    * {{{./httpclient5/examples/AsyncClientAuthentication.java}
     Client authentication}}
 
     This example demonstrates execution of an HTTP request against a target site that requires user
     authentication.  
 
-    * {{{./httpclient5/examples/org/apache/hc/client5/http/examples/AsyncClientCustomSSL.java}
+    * {{{./httpclient5/examples/AsyncClientCustomSSL.java}
     Custom SSL context}}
     
     This example demonstrates how to create secure connections with a custom SSL context.
 
-    * {{{./httpclient5/examples/org/apache/hc/client5/http/examples/AsyncClientConnectionEviction.java}
+    * {{{./httpclient5/examples/AsyncClientConnectionEviction.java}
     Connection eviction}}
     
     This example demonstrates how to evict expired and idle connections from the connection pool.
diff --git a/src/site/apt/httpcomponents-client-5.0.x/examples-reactive.apt b/src/site/apt/httpcomponents-client-5.0.x/examples-reactive.apt
index f0adbb4..fa0bdf1 100644
--- a/src/site/apt/httpcomponents-client-5.0.x/examples-reactive.apt
+++ b/src/site/apt/httpcomponents-client-5.0.x/examples-reactive.apt
@@ -30,7 +30,7 @@
 
 HttpClient Examples (Async)
 
-    * {{{./httpclient5/examples/org/apache/hc/client5/http/examples/AsyncClientHttpExchange.java}
+    * {{{./httpclient5/examples/AsyncClientHttpExchange.java}
     HTTP exchange with Reactive Streams}}
 
     This example demonstrates a reactive, full-duplex HTTP/1.1 message exchange using RxJava.
diff --git a/src/site/apt/httpcomponents-client-5.0.x/examples.apt b/src/site/apt/httpcomponents-client-5.0.x/examples.apt
index 57ccc6f..7d7ce08 100644
--- a/src/site/apt/httpcomponents-client-5.0.x/examples.apt
+++ b/src/site/apt/httpcomponents-client-5.0.x/examples.apt
@@ -30,7 +30,7 @@
 
 HttpClient Examples (Classic)
 
-    * {{{./httpclient5/examples/org/apache/hc/client5/http/examples/ClientWithResponseHandler.java}Response handling}}
+    * {{{./httpclient5/examples/ClientWithResponseHandler.java}Response handling}}
 
     This example demonstrates how to process HTTP responses using a response handler. This is 
     the recommended way of executing HTTP requests and processing HTTP responses. This approach 
@@ -39,77 +39,77 @@ HttpClient Examples (Classic)
     guarantees that the underlying HTTP connection will be released back to the connection manager 
     automatically in all cases.
 
-    * {{{./httpclient5/examples/org/apache/hc/client5/http/examples/ClientConnectionRelease.java}Manual connection release}}
+    * {{{./httpclient5/examples/ClientConnectionRelease.java}Manual connection release}}
     
     This example demonstrates how to ensure the release of the underlying HTTP connection back to 
     the connection manager in case of a manual processing of HTTP responses.
 
-    * {{{./httpclient5/examples/org/apache/hc/client5/http/examples/ClientConfiguration.java}HttpClient configuration}}
+    * {{{./httpclient5/examples/ClientConfiguration.java}HttpClient configuration}}
     
     This example demonstrates how to customize and configure the most common aspects of HTTP request execution 
     and connection management.
 
-    * {{{./httpclient5/examples/org/apache/hc/client5/http/examples/ClientInterceptors.java}Request execution interceptors}}
+    * {{{./httpclient5/examples/ClientInterceptors.java}Request execution interceptors}}
     
     This example demonstrates how to insert custom request interceptor and an execution interceptor to the
     request execution chain.
 
-    * {{{./httpclient5/examples/org/apache/hc/client5/http/examples/ClientAbortMethod.java}Abort method}}
+    * {{{./httpclient5/examples/ClientAbortMethod.java}Abort method}}
     
     This example demonstrates how to abort an HTTP request before its normal completion.
 
-    * {{{./httpclient5/examples/org/apache/hc/client5/http/examples/ClientAuthentication.java}Client authentication}}
+    * {{{./httpclient5/examples/ClientAuthentication.java}Client authentication}}
     
     This example uses HttpClient to execute an HTTP request against a target site that requires user
     authentication.  
 
-    * {{{./httpclient5/examples/org/apache/hc/client5/http/examples/ClientExecuteProxy.java}Request via a proxy}}
+    * {{{./httpclient5/examples/ClientExecuteProxy.java}Request via a proxy}}
     
     This example demonstrates how to send an HTTP request via a proxy.
 
-    * {{{./httpclient5/examples/org/apache/hc/client5/http/examples/ClientProxyAuthentication.java}Proxy authentication}}
+    * {{{./httpclient5/examples/ClientProxyAuthentication.java}Proxy authentication}}
     
     A simple example showing execution of an HTTP request over a secure connection tunneled through 
     an authenticating proxy.  
 
-    * {{{./httpclient5/examples/org/apache/hc/client5/http/examples/ClientChunkEncodedPost.java}Chunk encoded POST}}
+    * {{{./httpclient5/examples/ClientChunkEncodedPost.java}Chunk encoded POST}}
     
     This example shows how to stream out a request entity using chunk encoding.
 
-    * {{{./httpclient5/examples/org/apache/hc/client5/http/examples/ClientCustomContext.java}Custom execution context}}
+    * {{{./httpclient5/examples/ClientCustomContext.java}Custom execution context}}
     
     This example demonstrates the use of a local HTTP context populated custom attributes.
 
-    * {{{./httpclient5/examples/org/apache/hc/client5/http/examples/ClientFormLogin.java}Form based logon}}
+    * {{{./httpclient5/examples/ClientFormLogin.java}Form based logon}}
     
     This example demonstrates how HttpClient can be used to perform form-based logon.
 
-    * {{{./httpclient5/examples/org/apache/hc/client5/http/examples/ClientMultiThreadedExecution.java}Threaded request execution}}
+    * {{{./httpclient5/examples/ClientMultiThreadedExecution.java}Threaded request execution}}
     
     An example that executes HTTP requests from multiple worker threads.
 
-    * {{{./httpclient5/examples/org/apache/hc/client5/http/examples/ClientCustomSSL.java}Custom SSL context}}
+    * {{{./httpclient5/examples/ClientCustomSSL.java}Custom SSL context}}
     
     This example demonstrates how to create secure connections with a custom SSL context.
 
-    * {{{./httpclient5/examples/org/apache/hc/client5/http/examples/ClientPreemptiveBasicAuthentication.java}Preemptive BASIC authentication}}
+    * {{{./httpclient5/examples/ClientPreemptiveBasicAuthentication.java}Preemptive BASIC authentication}}
     
     This example shows how HttpClient can be customized to authenticate preemptively using BASIC 
     scheme. Generally, preemptive authentication can be considered less secure than a response to 
     an authentication challenge and therefore discouraged.
 
-    * {{{./httpclient5/examples/org/apache/hc/client5/http/examples/ClientPreemptiveDigestAuthentication.java}Preemptive DIGEST authentication}}
+    * {{{./httpclient5/examples/ClientPreemptiveDigestAuthentication.java}Preemptive DIGEST authentication}}
     
     This example shows how HttpClient can be customized to authenticate preemptively using DIGEST 
     scheme. Generally, preemptive authentication can be considered less secure than a response to 
     an authentication challenge and therefore discouraged.
     
-    * {{{./httpclient5/examples/org/apache/hc/client5/http/examples/ProxyTunnelDemo.java}Proxy tunnel}}
+    * {{{./httpclient5/examples/ProxyTunnelDemo.java}Proxy tunnel}}
     
     This example shows how to use ProxyClient in order to establish a tunnel through an HTTP proxy 
     for an arbitrary protocol.
     
-    * {{{./httpclient5/examples/org/apache/hc/client5/http/examples/ClientMultipartFormPost.java}Multipart encoded request entity}}
+    * {{{./httpclient5/examples/ClientMultipartFormPost.java}Multipart encoded request entity}}
     
     This example shows how to execute requests enclosing a multipart encoded entity.