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
</beans>
</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;"><servlet>
+ ....
+ <init-param>
+ <param-name>hide-service-list-page</param-name>
+ <param-value>true</param-value>
+ </init-param>
+</servlet></pre>
+</div></div><p> </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;"><servlet>
<servlet-name>CXFServlet</servlet-name>
<display-name>CXF Servlet</display-name>