cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject [cxf] branch master updated: [CXF-7531]add async-supported init parameter configuration for the cxf-osgi-transport-servlet
Date Tue, 17 Oct 2017 03:46:56 GMT
This is an automated email from the ASF dual-hosted git repository.

ffang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/master by this push:
     new 1cee603  [CXF-7531]add async-supported init parameter configuration for the cxf-osgi-transport-servlet
1cee603 is described below

commit 1cee603ce2c11509a6020ff77e96adae5cb256f0
Author: Freeman Fang <freeman.fang@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
---
 .../main/java/org/apache/cxf/transport/http/osgi/ServletExporter.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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 18f3f29..60652f5 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,6 +101,8 @@ 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())) {
@@ -133,4 +135,4 @@ class ServletExporter implements ManagedService {
         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" <commits@cxf.apache.org>'].

Mime
View raw message