Class ProxyMappings.ProxyMapping
java.lang.Object
org.keycloak.connections.httpclient.ProxyMappings.ProxyMapping
- Enclosing class:
- ProxyMappings
ProxyMappings.ProxyMapping describes a Proxy Mapping with a Hostname Pattern
 that is mapped to a proxy HttpHost.- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionProxyMapping(Pattern hostnamePattern, org.apache.http.HttpHost proxyHost, org.apache.http.auth.UsernamePasswordCredentials proxyCredentials) 
- 
Method SummaryModifier and TypeMethodDescriptionorg.apache.http.auth.UsernamePasswordCredentialsorg.apache.http.HttpHostbooleantoString()static ProxyMappings.ProxyMappingParses a mapping string into anProxyMappings.ProxyMapping.
- 
Field Details- 
NO_PROXY- See Also:
 
 
- 
- 
Constructor Details- 
ProxyMappingpublic ProxyMapping(Pattern hostnamePattern, org.apache.http.HttpHost proxyHost, org.apache.http.auth.UsernamePasswordCredentials proxyCredentials) 
 
- 
- 
Method Details- 
getHostnamePattern
- 
getProxyHostpublic org.apache.http.HttpHost getProxyHost()
- 
getProxyCredentialspublic org.apache.http.auth.UsernamePasswordCredentials getProxyCredentials()
- 
matches
- 
valueOfParses a mapping string into anProxyMappings.ProxyMapping.A proxy mapping string must have the following format: hostnameRegex;www-proxy-uriwith semicolon as a delimiter.If no proxy should be used for a host pattern then use NO_PROXYas www-proxy-uri.Examples: .*\.(google\.com|googleapis\.com);http://www-proxy.acme.corp.com:8080 .*\.acme\.corp\.com;NO_PROXY .*;http://fallback:8080- Parameters:
- mapping-
- Returns:
 
- 
toString
 
-