summaryrefslogtreecommitdiffstats
path: root/vespa-http-client
diff options
context:
space:
mode:
authorBjørn Christian Seime <bjorncs@oath.com>2018-02-02 11:16:07 +0100
committerBjørn Christian Seime <bjorncs@oath.com>2018-02-02 11:17:51 +0100
commit4b148526b412968a224938343a1464a3380bcbb0 (patch)
tree0ce21c3557e036c63521a9b6ad3b082287e941c9 /vespa-http-client
parent97cd37f86460cf309c5cf7258cef745b6d196cca (diff)
Skip Jackson serialization of SSLContext and HostnameVerifier
Diffstat (limited to 'vespa-http-client')
-rw-r--r--vespa-http-client/src/main/java/com/yahoo/vespa/http/client/config/ConnectionParams.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/config/ConnectionParams.java b/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/config/ConnectionParams.java
index 8d848c8cbf1..d5f362ce1d1 100644
--- a/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/config/ConnectionParams.java
+++ b/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/config/ConnectionParams.java
@@ -1,6 +1,7 @@
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.http.client.config;
+import com.fasterxml.jackson.annotation.JsonIgnore;
import com.google.common.annotations.Beta;
import com.google.common.collect.ArrayListMultimap;
import com.google.common.collect.Multimap;
@@ -340,10 +341,12 @@ public final class ConnectionParams {
this.printTraceToStdErr = printTraceToStdErr;
}
+ @JsonIgnore
public SSLContext getSslContext() {
return sslContext;
}
+ @JsonIgnore
public HostnameVerifier getHostnameVerifier() {
return hostnameVerifier;
}