From f2b5ffdb8ea3c766f14bab1dfd7c3865cffa2ce8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Jeli=C5=84ski?= Date: Mon, 11 Mar 2024 07:29:40 +0000 Subject: [PATCH] 8326578: Clean up networking properties documentation Reviewed-by: jwaters, dfuchs, michaelm --- .../java/net/doc-files/net-properties.html | 85 ++++++++++--------- 1 file changed, 45 insertions(+), 40 deletions(-) diff --git a/src/java.base/share/classes/java/net/doc-files/net-properties.html b/src/java.base/share/classes/java/net/doc-files/net-properties.html index 6c5137fc991..a61844cca6e 100644 --- a/src/java.base/share/classes/java/net/doc-files/net-properties.html +++ b/src/java.base/share/classes/java/net/doc-files/net-properties.html @@ -68,12 +68,20 @@ If there is no special note, a property value is checked every time it is used.<

Proxies

A proxy server allows indirect connection to network services and is used mainly for security (to get through firewalls) and -performance reasons (proxies often do provide caching mechanisms). -The following properties allow for configuration of the various type -of proxies.

+performance reasons (proxies often do provide caching mechanisms).

+

Applications may use the {@link java.net.ProxySelector#select(URI)} method +to determine the proxy that should be used for connecting to a given URI.

+

The following properties are used to configure the JDK default + {@link java.net.ProxySelector} implementation. + This is the ProxySelector returned by {@link java.net.ProxySelector#getDefault()} + when no default ProxySelector was installed by + {@link java.net.ProxySelector#setDefault(ProxySelector)} +