Skip to content

Commit b34b676

Browse files
committed
Updated project website for HttpClient 5.5-alpha1 release
1 parent f620fb5 commit b34b676

File tree

13 files changed

+642
-35
lines changed

13 files changed

+642
-35
lines changed

src/site/markdown/httpcomponents-client-5.4.x/examples-async.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,66 +20,66 @@
2020
HttpClient Examples (Async)
2121
===========================
2222

23-
- [Asynchronous HTTP exchange](https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientHttpExchange.java)
23+
- [Asynchronous HTTP exchange](https://github.com/apache/httpcomponents-client/tree/5.4.x/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientHttpExchange.java)
2424

2525
This example demonstrates a basic asynchronous HTTP request / response exchange. Response content is buffered in
2626
memory for simplicity.
2727

28-
- [Asynchronous HTTP exchange with content streaming](https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientHttpExchangeStreaming.java)
28+
- [Asynchronous HTTP exchange with content streaming](https://github.com/apache/httpcomponents-client/tree/5.4.x/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientHttpExchangeStreaming.java)
2929

3030
This example demonstrates an asynchronous HTTP request / response exchange with a full content streaming.
3131

32-
- [Pipelined HTTP/1.1 exchanges](https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientHttp1Pipelining.java)
32+
- [Pipelined HTTP/1.1 exchanges](https://github.com/apache/httpcomponents-client/tree/5.4.x/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientHttp1Pipelining.java)
3333

3434
This example demonstrates a pipelined execution of multiple HTTP/1.1 request / response exchanges. Response content is
3535
buffered in memory for simplicity.
3636

37-
- [Multiplexed HTTP/2 exchanges](https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientH2Multiplexing.java)
37+
- [Multiplexed HTTP/2 exchanges](https://github.com/apache/httpcomponents-client/tree/5.4.x/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientH2Multiplexing.java)
3838

3939
This example demonstrates a multiplexed execution of multiple HTTP/2 request / response exchanges. Response content is
4040
buffered in memory for simplicity.
4141

42-
- [Request execution interceptors](https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientInterceptors.java)
42+
- [Request execution interceptors](https://github.com/apache/httpcomponents-client/tree/5.4.x/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientInterceptors.java)
4343

4444
This example demonstrates how to insert custom request interceptor and an execution interceptor to the request
4545
execution chain.
4646

47-
- [Message trailers](https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientMessageTrailers.java)
47+
- [Message trailers](https://github.com/apache/httpcomponents-client/tree/5.4.x/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientMessageTrailers.java)
4848

4949
This example demonstrates how to use a custom execution interceptor to add trailers to all outgoing request enclosing
5050
an entity..
5151

52-
- [Multiplexed HTTP/2 exchanges](https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientHttp2ServerPush.java)
52+
- [Multiplexed HTTP/2 exchanges](https://github.com/apache/httpcomponents-client/tree/5.4.x/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientHttp2ServerPush.java)
5353

5454
This example demonstrates handling of HTTP/2 message exchanges pushed by the server.
5555

56-
- [Client authentication](https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientAuthentication.java)
56+
- [Client authentication](https://github.com/apache/httpcomponents-client/tree/5.4.x/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientAuthentication.java)
5757

5858
This example demonstrates execution of an HTTP request against a target site that requires user authentication.
5959

60-
- [Custom SSL context](https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientCustomSSL.java)
60+
- [Custom SSL context](https://github.com/apache/httpcomponents-client/tree/5.4.x/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientCustomSSL.java)
6161

6262
This example demonstrates how to create secure connections with a custom SSL context.
6363

64-
- [Connection / TLS configuation per route / host](https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientConnectionConfig.java)
64+
- [Connection / TLS configuation per route / host](https://github.com/apache/httpcomponents-client/tree/5.4.x/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientConnectionConfig.java)
6565

6666
This example demonstrates how to use connection configuration on a per-route or a per-host basis.
6767

68-
- [Connection eviction](https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientConnectionEviction.java)
68+
- [Connection eviction](https://github.com/apache/httpcomponents-client/tree/5.4.x/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientConnectionEviction.java)
6969

7070
This example demonstrates how to evict expired and idle connections from the connection pool.
7171

72-
- [Preemptive BASIC authentication](https://github.com/apache/httpcomponents-client/blob/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncPreemptiveBasicClientAuthentication.java)
72+
- [Preemptive BASIC authentication](https://github.com/apache/httpcomponents-client/blob/5.4.x/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncPreemptiveBasicClientAuthentication.java)
7373

7474
This example shows how HttpClient can be customized to authenticate preemptively using BASIC scheme. Generally,
7575
preemptive authentication can be considered less secure than a response to an authentication challenge and therefore
7676
discouraged.
7777

78-
- [HTTP version negotiation](https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientHttpVersionPolicy.java)
78+
- [HTTP version negotiation](https://github.com/apache/httpcomponents-client/tree/5.4.x/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientHttpVersionPolicy.java)
7979

8080
This example demonstrates how to make HttpClient negotiate or force a particular version of HTTP protocol during
8181
the TLS handshake. Please note that protocol version policy setting also applies to non-HTTPS connections.
8282

83-
- [Virtual HTTPS / SNI](https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientSNI.java)
83+
- [Virtual HTTPS / SNI](https://github.com/apache/httpcomponents-client/tree/5.4.x/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientSNI.java)
8484

8585
This example demonstrates how to use SNI to send requests to a virtual HTTPS endpoint using the async I/O.

src/site/markdown/httpcomponents-client-5.4.x/examples-reactive.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
HttpClient Examples (Async)
2121
===========================
2222

23-
- [HTTP exchange with Reactive Streams](https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientHttpExchange.java)
23+
- [HTTP exchange with Reactive Streams](https://github.com/apache/httpcomponents-client/tree/5.4.x/httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientHttpExchange.java)
2424

2525
This example demonstrates a reactive, full-duplex HTTP/1.1 message exchange using RxJava.

src/site/markdown/httpcomponents-client-5.4.x/examples.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -20,95 +20,95 @@
2020
HttpClient Examples (Classic)
2121
=============================
2222

23-
- [Response handling](https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientResponseProcessing.java)
23+
- [Response handling](https://github.com/apache/httpcomponents-client/tree/5.4.x/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientResponseProcessing.java)
2424

2525
This example demonstrates how to process HTTP responses using a response handler. This is the recommended way of
2626
executing HTTP requests and processing HTTP responses. This approach enables the caller to concentrate on the process
2727
of digesting HTTP responses and to delegate the task of system resource deallocation to HttpClient. The use of an HTTP
2828
response handler guarantees that the underlying HTTP connection will be released back to the connection manager
2929
automatically in all cases.
3030

31-
- [Manual connection release](https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientConnectionRelease.java)
31+
- [Manual connection release](https://github.com/apache/httpcomponents-client/tree/5.4.x/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientConnectionRelease.java)
3232

3333
This example demonstrates how to ensure the release of the underlying HTTP connection back to the connection manager
3434
in case of a manual processing of HTTP responses.
3535

36-
- [HttpClient configuration](https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientConfiguration.java)
36+
- [HttpClient configuration](https://github.com/apache/httpcomponents-client/tree/5.4.x/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientConfiguration.java)
3737

3838
This example demonstrates how to customize and configure the most common aspects of HTTP request execution and
3939
connection management.
4040

41-
- [Request execution interceptors](https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientInterceptors.java)
41+
- [Request execution interceptors](https://github.com/apache/httpcomponents-client/tree/5.4.x/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientInterceptors.java)
4242

4343
This example demonstrates how to insert custom request interceptor and an execution interceptor to the request
4444
execution chain.
4545

46-
- [Abort method](https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientAbortMethod.java)
46+
- [Abort method](https://github.com/apache/httpcomponents-client/tree/5.4.x/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientAbortMethod.java)
4747

4848
This example demonstrates how to abort an HTTP request before its normal completion.
4949

50-
- [Client authentication](https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientAuthentication.java)
50+
- [Client authentication](https://github.com/apache/httpcomponents-client/tree/5.4.x/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientAuthentication.java)
5151

5252
This example uses HttpClient to execute an HTTP request against a target site that requires user authentication.
5353

54-
- [Request via a proxy](https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientExecuteProxy.java)
54+
- [Request via a proxy](https://github.com/apache/httpcomponents-client/tree/5.4.x/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientExecuteProxy.java)
5555

5656
This example demonstrates how to send an HTTP request via a proxy.
5757

58-
- [Proxy authentication](https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientProxyAuthentication.java)
58+
- [Proxy authentication](https://github.com/apache/httpcomponents-client/tree/5.4.x/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientProxyAuthentication.java)
5959

6060
A simple example showing execution of an HTTP request over a secure connection tunneled through an authenticating
6161
proxy.
6262

63-
- [Chunk encoded POST](https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientChunkEncodedPost.java)
63+
- [Chunk encoded POST](https://github.com/apache/httpcomponents-client/tree/5.4.x/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientChunkEncodedPost.java)
6464

6565
This example shows how to stream out a request entity using chunk encoding.
6666

67-
- [Custom execution context](https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientCustomContext.java)
67+
- [Custom execution context](https://github.com/apache/httpcomponents-client/tree/5.4.x/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientCustomContext.java)
6868

6969
This example demonstrates the use of a local HTTP context populated custom attributes.
7070

71-
- [Form based logon](https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientFormLogin.java)
71+
- [Form based logon](https://github.com/apache/httpcomponents-client/tree/5.4.x/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientFormLogin.java)
7272

7373
This example demonstrates how HttpClient can be used to perform form-based logon.
7474

75-
- [Threaded request execution](https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientMultiThreadedExecution.java)
75+
- [Threaded request execution](https://github.com/apache/httpcomponents-client/tree/5.4.x/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientMultiThreadedExecution.java)
7676

7777
An example that executes HTTP requests from multiple worker threads.
7878

79-
- [Custom SSL context](https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientCustomSSL.java)
79+
- [Custom SSL context](https://github.com/apache/httpcomponents-client/tree/5.4.x/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientCustomSSL.java)
8080

8181
This example demonstrates how to create secure connections with a custom SSL context.
8282

83-
- [Connection / TLS configuation per route / host](https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientConnectionConfig.java)
83+
- [Connection / TLS configuation per route / host](https://github.com/apache/httpcomponents-client/tree/5.4.x/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientConnectionConfig.java)
8484

8585
This example demonstrates how to use connection configuration on a per-route or a per-host basis.
8686

87-
- [Preemptive BASIC authentication](https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientPreemptiveBasicAuthentication.java)
87+
- [Preemptive BASIC authentication](https://github.com/apache/httpcomponents-client/tree/5.4.x/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientPreemptiveBasicAuthentication.java)
8888

8989
This example shows how HttpClient can be customized to authenticate preemptively using BASIC scheme. Generally,
9090
preemptive authentication can be considered less secure than a response to an authentication challenge and therefore
9191
discouraged.
9292

93-
- [Preemptive DIGEST authentication](https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientPreemptiveDigestAuthentication.java)
93+
- [Preemptive DIGEST authentication](https://github.com/apache/httpcomponents-client/tree/5.4.x/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientPreemptiveDigestAuthentication.java)
9494

9595
This example shows how HttpClient can be customized to authenticate preemptively using DIGEST scheme. Generally,
9696
preemptive authentication can be considered less secure than a response to an authentication challenge and therefore
9797
discouraged.
9898

99-
- [Proxy tunnel](https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ProxyTunnelDemo.java)
99+
- [Proxy tunnel](https://github.com/apache/httpcomponents-client/tree/5.4.x/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ProxyTunnelDemo.java)
100100

101101
This example shows how to use ProxyClient in order to establish a tunnel through an HTTP proxy for an arbitrary
102102
protocol.
103103

104-
- [Multipart encoded request entity](https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientMultipartFormPost.java)
104+
- [Multipart encoded request entity](https://github.com/apache/httpcomponents-client/tree/5.4.x/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientMultipartFormPost.java)
105105

106106
This example shows how to execute requests enclosing a multipart encoded entity.
107107

108-
- [Connection endpoint details](https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientRemoteEndpointDetails.java)
108+
- [Connection endpoint details](https://github.com/apache/httpcomponents-client/tree/5.4.x/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientRemoteEndpointDetails.java)
109109

110110
This example demonstrates how to get details of the underlying connection endpoint.
111111

112-
- [Virtual HTTPS / SNI](https://github.com/apache/httpcomponents-client/tree/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientSNI.java)
112+
- [Virtual HTTPS / SNI](https://github.com/apache/httpcomponents-client/tree/5.4.x/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientSNI.java)
113113

114114
This example demonstrates how to use SNI to send requests to a virtual HTTPS endpoint using the classic I/O.
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<!--
2+
Licensed to the Apache Software Foundation (ASF) under one
3+
or more contributor license agreements. See the NOTICE file
4+
distributed with this work for additional information
5+
regarding copyright ownership. The ASF licenses this file
6+
to you under the Apache License, Version 2.0 (the
7+
"License"); you may not use this file except in compliance
8+
with the License. You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing,
13+
software distributed under the License is distributed on an
14+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
KIND, either express or implied. See the License for the
16+
specific language governing permissions and limitations
17+
under the License.
18+
-->
19+
20+
HttpClient Downloads
21+
====================
22+
23+
The latest release available for download:
24+
25+
[Release packages](https://hc.apache.org/downloads.cgi) -
26+
[Release Notes](https://www.apache.org/dist/httpcomponents/httpclient/RELEASE_NOTES-5.4.x.txt) -
27+
[License](https://www.apache.org/licenses/LICENSE-2.0.html)
28+
29+
Dependency management
30+
---------------------
31+
32+
If you are using a dependency manager for your project such as [Apache Maven](https://maven.apache.org),
33+
[Gradle](https://gradle.org/) or [Apache Ivy](https://ant.apache.org/projects/ivy.html), you can create a dependency on
34+
HttpClient modules by using this information:
35+
36+
- [HttpClient](https://search.maven.org/artifact/org.apache.httpcomponents.client5/httpclient5)
37+
- [HttpClient Fluent](https://search.maven.org/artifact/org.apache.httpcomponents.client5/httpclient5-fluent)
38+
- [HttpClient Cache](https://search.maven.org/artifact/org.apache.httpcomponents.client5/httpclient5-cache)
39+
- [HttpClient Windows extensions](https://search.maven.org/artifact/org.apache.httpcomponents.client5/httpclient5-win)

0 commit comments

Comments
 (0)