Class ProxyOptions
java.lang.Object
fr.enedis.chutney.jira.infra.atlassian.httpclient.api.factory.ProxyOptions
Contains proxy configuration for the HTTP client
Changes : - Use Apache HttpHost's class
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumRepresents the mode of proxy configuration (i.e. from standard system properties (default), or configured by the library consumer, or no proxy at all)static classUse this builder to create a ProxyOptions -
Method Summary
Modifier and TypeMethodDescriptionMap<com.atlassian.httpclient.api.factory.Scheme, org.apache.hc.core5.http.HttpHost> Get the mapping of schemes and their proxy hosts.
-
Method Details
-
getProxyHosts
public Map<com.atlassian.httpclient.api.factory.Scheme,org.apache.hc.core5.http.HttpHost> getProxyHosts()Get the mapping of schemes and their proxy hosts.- Returns:
- the mapping of schemes and their proxy hosts.
-
getNonProxyHosts
- Returns:
- the list of configured non-proxy hosts.
-
getProxyMode
- Returns:
- the mode of proxy configuration
-