This is an automated email from the ASF dual-hosted git repository. rombert pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/sling-whiteboard.git
commit 323339b5f2645fd205297a162127aba6909012b9 Author: Robert Munteanu <[email protected]> AuthorDate: Tue Jun 18 10:59:19 2019 +0200 Include OK HTTP in the README --- url-connection-agent/README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/url-connection-agent/README.md b/url-connection-agent/README.md index 1efcc94..23a1692 100644 --- a/url-connection-agent/README.md +++ b/url-connection-agent/README.md @@ -11,6 +11,7 @@ It currently supports setting timeouts for HTTP connections done using: * [java.net.URL](https://docs.oracle.com/javase/7/docs/api/java/net/URL.html) and/or [java.net.URLConnection](https://docs.oracle.com/javase/7/docs/api/java/net/URLConnection.html) * [Apache Commons HttpClient 3.x](https://hc.apache.org/httpclient-3.x/) * [Apache HttpComponents Client 4.x](https://hc.apache.org/httpcomponents-client-ga/) +* [OK Http](https://square.github.io/okhttp/) ## Validation @@ -23,7 +24,7 @@ Build the project with `mvn clean package` and then run a simple connection test - `<connect-timeout>` - connection timeout in milliseconds - `<read-timeout>`- read timeout in milliseconds - `<url>` - the URL to access - - `<client-type>` - the client type, either `JavaNet` for java.net.URL-based connections ,`HC3` for Apache Commons HttpClient 3.x or `HC4` for Apache Commons HttpClient 4.x + - `<client-type>` - the client type, either `JavaNet` for java.net.URL-based connections ,`HC3` for Apache Commons HttpClient 3.x, `HC4` for Apache Commons HttpClient 4.x or `OkHttp` for OK HTTP. For a test that always fails, set one of the timeouts to 1. Both executions listed below will typically fail: @@ -46,4 +47,5 @@ To use this in your own project you should * openjdk version "1.8.0_212" * openjdk version "11.0.2" 2019-01-15 * commons-httpclient 3.1 -* httpclient 4.5.4 \ No newline at end of file +* httpclient 4.5.4 +* okhttp 3.14.2 \ No newline at end of file
