You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by bu...@apache.org on 2018/04/17 15:56:44 UTC

svn commit: r1028560 - in /websites/production/cxf/content: cache/docs.pageCache docs/servlet-transport.html

Author: buildbot
Date: Tue Apr 17 15:56:44 2018
New Revision: 1028560

Log:
Production update by buildbot for cxf

Modified:
    websites/production/cxf/content/cache/docs.pageCache
    websites/production/cxf/content/docs/servlet-transport.html

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

Modified: websites/production/cxf/content/docs/servlet-transport.html
==============================================================================
--- websites/production/cxf/content/docs/servlet-transport.html (original)
+++ websites/production/cxf/content/docs/servlet-transport.html Tue Apr 17 15:56:44 2018
@@ -32,8 +32,8 @@
 <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/shBrushXml.js'></script>
 <script src='/resources/highlighter/scripts/shBrushJava.js'></script>
+<script src='/resources/highlighter/scripts/shBrushXml.js'></script>
 <script>
   SyntaxHighlighter.defaults['toolbar'] = false;
   SyntaxHighlighter.all();
@@ -207,7 +207,15 @@ Apache CXF -- Servlet Transport
 
 &lt;/beans&gt;
 </pre>
-</div></div><p>Here we're creating a JAX-WS endpoint based on our implementation class, GreeterImpl.</p><p><strong>NOTE:</strong> We're publishing endpoints "http://localhost/mycontext/services/Greeter1" and "http://localhost/mycontext/services/GreeterRest", but we set jaxws:endpoint/@address and jaxrs:server/@address to relative values such as "/Greeter1" "/GreeterRest".</p><h2 id="ServletTransport-SupportforAsynchronousRequests">Support for Asynchronous Requests</h2><p>Enable an 'async-supported' servlet property if you work with Servlet3 API containers and need to support asynchronous requests:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div><p>Here we're creating a JAX-WS endpoint based on our implementation class, GreeterImpl.</p><p><strong>NOTE:</strong> We're publishing endpoints "http://localhost/mycontext/services/Greeter1" and "http://localhost/mycontext/services/GreeterRest", but we set jaxws:endpoint/@address and jaxrs:server/@address to relative values such as "/Greeter1" "/GreeterRest".</p><h2 id="ServletTransport-DisablingtheServicesPage">Disabling the Services Page</h2><p>By default, Apache CXF creates a /services page containing a listing of the available endpoints. To disable this listing, configure the Servlet as follows:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>Disable Services Listing</b></div><div class="codeContent panelContent pdl">
+<pre class="brush: java; gutter: false; theme: Default" style="font-size:12px;">&lt;servlet&gt;
+    ....
+    &lt;init-param&gt;
+        &lt;param-name&gt;hide-service-list-page&lt;/param-name&gt;
+        &lt;param-value&gt;true&lt;/param-value&gt;
+    &lt;/init-param&gt; 
+&lt;/servlet&gt;</pre>
+</div></div><p>&#160;</p><h2 id="ServletTransport-SupportforAsynchronousRequests">Support for Asynchronous Requests</h2><p>Enable an 'async-supported' servlet property if you work with Servlet3 API containers and need to support asynchronous requests:</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;">&lt;servlet&gt;
     &lt;servlet-name&gt;CXFServlet&lt;/servlet-name&gt;
     &lt;display-name&gt;CXF Servlet&lt;/display-name&gt;