You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ff...@apache.org on 2017/10/17 03:49:42 UTC
[cxf] branch 3.1.x-fixes updated: [CXF-7531]add async-supported
init parameter configuration for the cxf-osgi-transport-servlet
This is an automated email from the ASF dual-hosted git repository.
ffang pushed a commit to branch 3.1.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git
The following commit(s) were added to refs/heads/3.1.x-fixes by this push:
new e026e25 [CXF-7531]add async-supported init parameter configuration for the cxf-osgi-transport-servlet
e026e25 is described below
commit e026e25c5a83550f51a44df5cff3cd7cbdbbfaf6
Author: Freeman Fang <fr...@gmail.com>
AuthorDate: Tue Oct 17 11:46:40 2017 +0800
[CXF-7531]add async-supported init parameter configuration for the cxf-osgi-transport-servlet
(cherry picked from commit 1cee603ce2c11509a6020ff77e96adae5cb256f0)
Conflicts:
rt/transports/http/src/main/java/org/apache/cxf/transport/http/osgi/ServletExporter.java
---
.../java/org/apache/cxf/transport/http/osgi/ServletExporter.java | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/rt/transports/http/src/main/java/org/apache/cxf/transport/http/osgi/ServletExporter.java b/rt/transports/http/src/main/java/org/apache/cxf/transport/http/osgi/ServletExporter.java
index 25c03e3..22b02ae 100644
--- a/rt/transports/http/src/main/java/org/apache/cxf/transport/http/osgi/ServletExporter.java
+++ b/rt/transports/http/src/main/java/org/apache/cxf/transport/http/osgi/ServletExporter.java
@@ -101,7 +101,9 @@ class ServletExporter implements ManagedService {
getProp(properties, CXF_SERVLET_PREFIX + "service-list-page-authenticate-realm", "karaf"));
sprops.put("use-x-forwarded-headers",
getProp(properties, CXF_SERVLET_PREFIX + "use-x-forwarded-headers", "false"));
-
+ sprops.put("async-supported",
+ getProp(properties, CXF_SERVLET_PREFIX + "async-supported", "true"));
+
// Accept extra properties by default, can be disabled if it is really needed
if (Boolean.valueOf(getProp(properties, CXF_SERVLET_PREFIX + "support.extra.properties", "true").toString())) {
Enumeration keys = properties.keys();
@@ -132,5 +134,4 @@ class ServletExporter implements ManagedService {
Object value = properties.get(key);
return value == null ? defaultValue : value;
}
-
-}
\ No newline at end of file
+}
--
To stop receiving notification emails like this one, please contact
['"commits@cxf.apache.org" <co...@cxf.apache.org>'].