org.glassfish.jersey.core.jersey-common
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Bundle-ActivationPolicy: lazy
+Export-Package: org.simantics.audit.server
ClientConfig configuration = new ClientConfig();
configuration.register(JacksonFeature.class);
httpClient = ClientBuilder.newClient(configuration);
- if (!serverAddress.startsWith("http://")) {
+ if (!serverAddress.startsWith("http://") && !serverAddress.startsWith("https://")) {
serverAddress = "http://" + serverAddress;
}
base = httpClient.target(serverAddress);