Package com.mendix.http
Interface IHttpConfiguration
public interface IHttpConfiguration
Configuration for Http.
-
Method Summary
Modifier and TypeMethodDescriptionGets the proxy configuration.Gets all client certificates.getSslContext
(String host) Gets an SslContext for a host.
-
Method Details
-
getProxyConfiguration
Optional<IProxyConfiguration> getProxyConfiguration()Gets the proxy configuration.- Returns:
- the proxy configuration, or empty when there is no proxy configured
-
getServiceClientCertificates
List<ICertificateInfo> getServiceClientCertificates()Gets all client certificates.- Returns:
- client certificate information
-
getSslContext
Gets an SslContext for a host. This takes into account the runtime settings CACertificates, ClientCertificatePasswords, ClientCertificates, ClientCertificateUsages and NoClientCertificateUsages.- Parameters:
host
- the host part of the URL- Returns:
- an SslContext, or empty when there is no special SslContext configured for this host. In that case, use javax.net.ssl.SSLContext.getDefault.
-