| http://www.w3.org/ns/prov#value | - ory(threadPool, sslContextFactory);+ }++ @Test+ public void testExternalServer() throws Exception+ {+ String host = encrypted.google.com;+ int port = 443;+ InetSocketAddress address = new InetSocketAddress(host, port);++ try+ {+ // Test whether there is connectivity to avoid fail the test when offline+ Socket socket = new Socket();+ socket.connect(address, 5000);+ socket.close();+ }+ catch (IOEx
|