public final class RestClientConfiguration extends Object
RestClient
s.Modifier and Type | Method and Description |
---|---|
static RestClientConfiguration |
fromConfiguration(Configuration config)
Creates and returns a new
RestClientConfiguration from the given Configuration . |
SSLEngine |
getSslEngine()
Returns the
SSLEngine that the REST client endpoint should use. |
public SSLEngine getSslEngine()
SSLEngine
that the REST client endpoint should use.public static RestClientConfiguration fromConfiguration(Configuration config) throws ConfigurationException
RestClientConfiguration
from the given Configuration
.config
- configuration from which the REST client endpoint configuration should be created fromConfigurationException
- if SSL was configured incorrectlyCopyright © 2014–2018 The Apache Software Foundation. All rights reserved.