use of com.yahoo.jdisc.http.ConnectorConfig in project vespa by vespa-engine.
the class StandaloneContainerActivator method start.
@Override
public void start(BundleContext bundleContext) throws Exception {
for (ConnectorConfig config : getConnectorConfigs(getContainer())) {
ServerSocketChannel socketChannel = bindChannel(config);
registerChannels(bundleContext, config.listenPort(), socketChannel);
}
}
use of com.yahoo.jdisc.http.ConnectorConfig in project vespa by vespa-engine.
the class ConnectorFactoryTest method ssl_pem_config_is_validated.
@Test(expectedExceptions = IllegalArgumentException.class)
public void ssl_pem_config_is_validated() {
ConnectorConfig config = new ConnectorConfig(new ConnectorConfig.Builder().ssl(new Ssl.Builder().enabled(true).keyStoreType(PEM).keyStorePath("nonEmpty")));
ConnectorFactory willThrowException = createConnectorFactory(config);
}
Aggregations