aboutsummaryrefslogtreecommitdiffstats
path: root/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/http/server/HttpServletServer.java
diff options
context:
space:
mode:
authorLiam Fallon <liam.fallon@est.tech>2019-01-24 16:30:15 +0000
committerGerrit Code Review <gerrit@onap.org>2019-01-24 16:30:15 +0000
commit0c24e618042e462b261678858aa1a2ad44e92a96 (patch)
tree232bd2f288c0f904e740c3a6e2db54e03386561d /policy-endpoints/src/main/java/org/onap/policy/common/endpoints/http/server/HttpServletServer.java
parentc612946638797ea7399abb33935753e453ac81ff (diff)
parent18914b033f67d25cc9377b2e381648a9e3184968 (diff)
Merge "Add gson support to policy-endpoints"
Diffstat (limited to 'policy-endpoints/src/main/java/org/onap/policy/common/endpoints/http/server/HttpServletServer.java')
-rw-r--r--policy-endpoints/src/main/java/org/onap/policy/common/endpoints/http/server/HttpServletServer.java9
1 files changed, 8 insertions, 1 deletions
diff --git a/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/http/server/HttpServletServer.java b/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/http/server/HttpServletServer.java
index c4db9fbe..b674e265 100644
--- a/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/http/server/HttpServletServer.java
+++ b/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/http/server/HttpServletServer.java
@@ -2,7 +2,7 @@
* ============LICENSE_START=======================================================
* ONAP
* ================================================================================
- * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -62,6 +62,13 @@ public interface HttpServletServer extends Startable {
boolean isAaf();
/**
+ * Sets the serialization provider to be used when classes are added to the service.
+ *
+ * @param provider the provider to use for message serialization and de-serialization
+ */
+ void setSerializationProvider(String provider);
+
+ /**
* Adds a filter at the specified path.
*
* @param filterPath filter path