public final class RestServerEndpointConfiguration extends Object
RestServerEndpoint
s.Modifier and Type | Method and Description |
---|---|
static RestServerEndpointConfiguration |
fromConfiguration(org.apache.flink.configuration.Configuration config)
Creates and returns a new
RestServerEndpointConfiguration from the given Configuration . |
String |
getEndpointBindAddress()
Returns the address that the REST server endpoint should bind itself to.
|
int |
getEndpointBindPort()
Returns the port that the REST server endpoint should listen on.
|
SSLEngine |
getSslEngine()
Returns the
SSLEngine that the REST server endpoint should use. |
public String getEndpointBindAddress()
public int getEndpointBindPort()
public SSLEngine getSslEngine()
SSLEngine
that the REST server endpoint should use.public static RestServerEndpointConfiguration fromConfiguration(org.apache.flink.configuration.Configuration config) throws org.apache.flink.util.ConfigurationException
RestServerEndpointConfiguration
from the given Configuration
.config
- configuration from which the REST server endpoint configuration should be created fromorg.apache.flink.util.ConfigurationException
- if SSL was configured incorrectlyCopyright © 2014–2018 The Apache Software Foundation. All rights reserved.