cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r1026073 - in /websites/production/cxf/content: cache/docs.pageCache docs/sse.html docs/transports.html
Date Wed, 28 Feb 2018 02:04:23 GMT
Author: buildbot
Date: Wed Feb 28 02:04:22 2018
New Revision: 1026073

Log:
Production update by buildbot for cxf

Added:
    websites/production/cxf/content/docs/sse.html
Modified:
    websites/production/cxf/content/cache/docs.pageCache
    websites/production/cxf/content/docs/transports.html

Modified: websites/production/cxf/content/cache/docs.pageCache
==============================================================================
Binary files - no diff available.

Added: websites/production/cxf/content/docs/sse.html
==============================================================================
--- websites/production/cxf/content/docs/sse.html (added)
+++ websites/production/cxf/content/docs/sse.html Wed Feb 28 02:04:22 2018
@@ -0,0 +1,177 @@
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+<html>
+  <head>
+
+<link type="text/css" rel="stylesheet" href="/resources/site.css">
+<script src='/resources/space.js'></script>
+
+<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
+<meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture,
web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support,
integration standards, application integration, middleware, software, solutions, services,
CXF, open source">
+<meta name="description" content="Apache CXF, Services Framework - SSE">
+
+
+<link type="text/css" rel="stylesheet" href="/resources/highlighter/styles/shCoreCXF.css">
+<link type="text/css" rel="stylesheet" href="/resources/highlighter/styles/shThemeCXF.css">
+
+<script src='/resources/highlighter/scripts/shCore.js'></script>
+<script src='/resources/highlighter/scripts/shBrushJava.js'></script>
+<script src='/resources/highlighter/scripts/shBrushBash.js'></script>
+<script>
+  SyntaxHighlighter.defaults['toolbar'] = false;
+  SyntaxHighlighter.all();
+</script>
+
+
+    <title>
+Apache CXF -- SSE
+    </title>
+  </head>
+<body onload="init()">
+
+
+<table width="100%" cellpadding="0" cellspacing="0">
+  <tr>
+    <td id="cell-0-0" colspan="2">&nbsp;</td>
+    <td id="cell-0-1">&nbsp;</td>
+    <td id="cell-0-2" colspan="2">&nbsp;</td>
+  </tr>
+  <tr>
+    <td id="cell-1-0">&nbsp;</td>
+    <td id="cell-1-1">&nbsp;</td>
+    <td id="cell-1-2">
+      <!-- Banner -->
+<div class="banner" id="banner"><div><table border="0" cellpadding="0" cellspacing="0"
width="100%"><tr><td align="left" colspan="1" nowrap>
+<a shape="rect" href="http://cxf.apache.org/" title="Apache CXF"><span style="font-weight:
bold; font-size: 170%; color: white">Apache CXF</span></a>
+</td><td align="right" colspan="1" nowrap>
+<a shape="rect" href="http://www.apache.org/" title="The Apache Sofware Foundation"><img
border="0" alt="ASF Logo" src="http://cxf.apache.org/images/asf-logo.png"></a>
+</td></tr></table></div></div>
+      <!-- Banner -->
+      <div id="top-menu">
+        <table border="0" cellpadding="1" cellspacing="0" width="100%">
+          <tr>
+            <td>
+              <div align="left">
+                <!-- Breadcrumbs -->
+<a href="index.html">Index</a>&nbsp;&gt;&nbsp;<a href="transports.html">Transports</a>&nbsp;&gt;&nbsp;<a
href="sse.html">SSE</a>
+                <!-- Breadcrumbs -->
+              </div>
+            </td>
+            <td>
+              <div align="right">
+                <!-- Quicklinks -->
+<div id="quicklinks"><p><a shape="rect" href="http://cxf.apache.org/download.html">Download</a>
| <a shape="rect" href="http://cxf.apache.org/docs/index.html">Documentation</a></p></div>
+                <!-- Quicklinks -->
+              </div>
+            </td>
+          </tr>
+        </table>
+      </div>
+    </td>
+    <td id="cell-1-3">&nbsp;</td>
+    <td id="cell-1-4">&nbsp;</td>
+  </tr>
+  <tr>
+    <td id="cell-2-0" colspan="2">&nbsp;</td>
+    <td id="cell-2-1">
+      <table>
+        <tr valign="top">
+          <td height="100%">
+            <div id="wrapper-menu-page-right">
+              <div id="wrapper-menu-page-top">
+                <div id="wrapper-menu-page-bottom">
+                  <div id="menu-page">
+                    <!-- NavigationBar -->
+<div id="navigation"><ul class="alternate"><li><a shape="rect" href="overview.html">Overview</a></li><li><a
shape="rect" href="how-tos.html">How-Tos</a></li><li><a shape="rect"
href="frontends.html">Frontends</a></li><li><a shape="rect" href="databindings.html">DataBindings</a></li><li><a
shape="rect" href="transports.html">Transports</a></li><li><a shape="rect"
href="configuration.html">Configuration</a></li><li><a shape="rect"
href="debugging-and-logging.html">Debugging and Logging</a></li><li><a
shape="rect" href="tools.html">Tools</a></li><li><a shape="rect" href="restful-services.html">RESTful
Services</a></li><li><a shape="rect" href="wsdl-bindings.html">WSDL
Bindings</a></li><li><a shape="rect" href="service-routing.html">Service
Routing</a></li><li><a shape="rect" href="dynamic-languages.html">Dynamic
Languages</a></li><li><a shape="rect" href="ws-support.html">WS-*
Support</a></li><li><a shape="rect" href="advanced-integration.html">Advanced
Integration</a></li><li><a shape
 ="rect" href="deployment.html">Deployment</a></li><li><a shape="rect"
href="schemas-and-namespaces.html">Use of Schemas and Namespaces</a></li></ul><hr><ul
class="alternate"><li><p>Search</p></li></ul><form enctype="application/x-www-form-urlencoded"
method="get" id="cse-search-box" action="http://www.google.com/cse">
+  <div>
+    <input type="hidden" name="cx" value="002890367768291051730:o99qiwa09y4">
+    <input type="hidden" name="ie" value="UTF-8">
+    <input type="text" name="q" size="21">
+    <input type="submit" name="sa" value="Search">
+  </div>
+</form>
+<script type="text/javascript" src="http://www.google.com/cse/brand?form=cse-search-box&amp;lang=en"></script><hr><ul
class="alternate"><li><a shape="rect" href="http://cxf.apache.org/javadoc/latest/">API
3.2.x (Javadoc)</a></li><li><a shape="rect" href="http://cxf.apache.org/javadoc/latest-3.1.x/">API
3.1.x (Javadoc)</a></li><li><a shape="rect" href="http://cxf.apache.org/">CXF
Website</a></li></ul></div>
+                    <!-- NavigationBar -->
+                  </div>
+              </div>
+            </div>
+          </div>
+         </td>
+         <td height="100%">
+           <!-- Content -->
+           <div class="wiki-content">
+<div id="ConfluenceContent"><h2 id="SSE-Introduction">Introduction</h2><p>The
<a shape="rect" class="external-link" href="https://jcp.org/en/jsr/detail?id=370" rel="nofollow">JAX-RS
2.1</a> introduced the support of server-sent events (SSE). Although SSE in general
works on top of HTTP transport, the SSE implementation in CXF uses the dedicated one, based
on <a shape="rect" class="external-link" href="https://github.com/Atmosphere/atmosphere"
rel="nofollow">Atmosphere</a> framework. This transport only required on the server-side
(client side works over normal HTTP) and is fully compatible with HTTP transport.</p><h2
id="SSE-Configuration">Configuration</h2><p>There are several ways to configure
SSE transport (and as the consequence, SSE support). The most straightforward one is to pass
the init parameter&#160;<strong>"transportId"</strong> to the CXF servlet
in question, for example:</p><div class="code panel pdl" style="border-width: 1px;"><div
class="codeContent panelContent pdl"
 >
+<pre class="brush: java; gutter: false; theme: Default" style="font-size:12px;">final
CXFNonSpringServlet cxfServlet = new CXFNonSpringServlet();
+final ServletHolder holder = new ServletHolder(cxfServlet);
+holder.setInitParameter(CXFCdiServlet.TRANSPORT_ID, SseHttpTransportFactory.TRANSPORT_ID);
+...</pre>
+</div></div><p>In this case the <strong>JAXRSServerFactoryBean</strong>
instances should also specify the SSE transport during construction time, for example:</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent
pdl">
+<pre class="brush: java; gutter: false; theme: Default" style="font-size:12px;">final
JAXRSServerFactoryBean factory = RuntimeDelegate.getInstance().createEndpoint(&lt;application&gt;,
JAXRSServerFactoryBean.class);
+factory.setTransportId(SseHttpTransportFactory.TRANSPORT_ID);
+...
+return factory.create();</pre>
+</div></div></div>
+           </div>
+           <!-- Content -->
+         </td>
+        </tr>
+      </table>
+   </td>
+   <td id="cell-2-2" colspan="2">&nbsp;</td>
+  </tr>
+  <tr>
+   <td id="cell-3-0">&nbsp;</td>
+   <td id="cell-3-1">&nbsp;</td>
+   <td id="cell-3-2">
+     <div id="footer">
+       <!-- Footer -->
+       <div id="site-footer">
+         <a href="http://cxf.apache.org/privacy-policy.html">Privacy Policy</a>
- 
+         (<a href="https://cwiki.apache.org/confluence/pages/editpage.action?pageId=75974373">edit
page</a>) 
+	 (<a href="https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=75974373&amp;showComments=true&amp;showCommentArea=true#addcomment">add
comment</a>)<br>
+	Apache CXF, CXF, Apache, the Apache feather logo are trademarks of The Apache Software Foundation.<br>
+        All other marks mentioned may be trademarks or registered trademarks of their respective
owners.
+       </div>
+       <!-- Footer -->
+     </div>
+   </td>
+   <td id="cell-3-3">&nbsp;</td>
+   <td id="cell-3-4">&nbsp;</td>
+  </tr>
+  <tr>
+    <td id="cell-4-0" colspan="2">&nbsp;</td>
+    <td id="cell-4-1">&nbsp;</td>
+    <td id="cell-4-2" colspan="2">&nbsp;</td>
+  </tr>
+</table>
+
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try {
+var pageTracker = _gat._getTracker("UA-4458903-1");
+pageTracker._trackPageview();
+} catch(err) {}</script>
+
+</body>
+</html>
+

Modified: websites/production/cxf/content/docs/transports.html
==============================================================================
--- websites/production/cxf/content/docs/transports.html (original)
+++ websites/production/cxf/content/docs/transports.html Wed Feb 28 02:04:22 2018
@@ -110,7 +110,7 @@ Apache CXF -- Transports
 <div id="ConfluenceContent"><h1 id="Transports-Transports">Transports</h1>
 <p>CXF include support for several transport protocols including HTTP, Servlet, JMS,
UDP, In-VM and many others via the Camel transport for CXF such as SMTP/POP3, TCP and Jabber.
CXF transport implementation is also flexible and provides the possibility to add own custom
transport.</p>
 
-<ul class="childpages-macro"><li><a shape="rect" href="http-transport.html">HTTP
Transport</a><ul class="childpages-macro"><li><a shape="rect" href="asynchronous-client-http-transport.html">Asynchronous
Client HTTP Transport</a></li><li><a shape="rect" href="client-http-transport-including-ssl-support.html">Client
HTTP Transport (including SSL support)</a></li><li><a shape="rect" href="jetty-configuration.html">Jetty
Configuration</a></li><li><a shape="rect" href="server-http-transport.html">Server
HTTP Transport</a></li><li><a shape="rect" href="servlet-transport.html">Servlet
Transport</a></li><li><a shape="rect" href="standalone-http-transport.html">Standalone
HTTP Transport</a></li></ul></li><li><a shape="rect" href="jms-transport.html">JMS
Transport</a><ul class="childpages-macro"><li><a shape="rect" href="cxf-2x-jms-configuration-removed-in-cxf-3.html">CXF
2.x JMS configuration (removed in CXF 3)</a></li><li><a shape="rect"
href="jms-performance-and-pooling.html">JMS performan
 ce and pooling</a></li><li><a shape="rect" href="jms-transactions.html">JMS
transactions</a></li><li><a shape="rect" href="soap-over-jms-10-support.html">SOAP
over JMS 1.0 support</a></li><li><a shape="rect" href="using-the-jmsconfigfeature.html">Using
the JMSConfigFeature</a></li></ul></li><li><a shape="rect"
href="local-transport.html">Local Transport</a></li><li><a shape="rect"
href="udp-transport.html">UDP Transport</a><ul class="childpages-macro"><li><a
shape="rect" href="soap-over-udp.html">SOAP over UDP</a></li></ul></li><li><a
shape="rect" href="custom-transport.html">Custom Transport</a></li><li><a
shape="rect" href="coloc-feature.html">Coloc Feature</a></li><li><a
shape="rect" href="apache-camel-transport.html">Apache Camel Transport</a></li><li><a
shape="rect" href="websocket.html">WebSocket</a></li></ul></div>
+<ul class="childpages-macro"><li><a shape="rect" href="http-transport.html">HTTP
Transport</a><ul class="childpages-macro"><li><a shape="rect" href="asynchronous-client-http-transport.html">Asynchronous
Client HTTP Transport</a></li><li><a shape="rect" href="client-http-transport-including-ssl-support.html">Client
HTTP Transport (including SSL support)</a></li><li><a shape="rect" href="jetty-configuration.html">Jetty
Configuration</a></li><li><a shape="rect" href="server-http-transport.html">Server
HTTP Transport</a></li><li><a shape="rect" href="servlet-transport.html">Servlet
Transport</a></li><li><a shape="rect" href="standalone-http-transport.html">Standalone
HTTP Transport</a></li></ul></li><li><a shape="rect" href="jms-transport.html">JMS
Transport</a><ul class="childpages-macro"><li><a shape="rect" href="cxf-2x-jms-configuration-removed-in-cxf-3.html">CXF
2.x JMS configuration (removed in CXF 3)</a></li><li><a shape="rect"
href="jms-performance-and-pooling.html">JMS performan
 ce and pooling</a></li><li><a shape="rect" href="jms-transactions.html">JMS
transactions</a></li><li><a shape="rect" href="soap-over-jms-10-support.html">SOAP
over JMS 1.0 support</a></li><li><a shape="rect" href="using-the-jmsconfigfeature.html">Using
the JMSConfigFeature</a></li></ul></li><li><a shape="rect"
href="local-transport.html">Local Transport</a></li><li><a shape="rect"
href="udp-transport.html">UDP Transport</a><ul class="childpages-macro"><li><a
shape="rect" href="soap-over-udp.html">SOAP over UDP</a></li></ul></li><li><a
shape="rect" href="custom-transport.html">Custom Transport</a></li><li><a
shape="rect" href="coloc-feature.html">Coloc Feature</a></li><li><a
shape="rect" href="apache-camel-transport.html">Apache Camel Transport</a></li><li><a
shape="rect" href="websocket.html">WebSocket</a></li><li><a shape="rect"
href="sse.html">SSE</a></li></ul></div>
            </div>
            <!-- Content -->
          </td>



Mime
View raw message