deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r918733 - in /websites/staging/deltaspike/trunk/content: ./ container-control.html
Date Fri, 08 Aug 2014 14:28:50 GMT
Author: buildbot
Date: Fri Aug  8 14:28:50 2014
New Revision: 918733

Log:
Staging update by buildbot for deltaspike

Modified:
    websites/staging/deltaspike/trunk/content/   (props changed)
    websites/staging/deltaspike/trunk/content/container-control.html

Propchange: websites/staging/deltaspike/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri Aug  8 14:28:50 2014
@@ -1 +1 @@
-1616778
+1616779

Modified: websites/staging/deltaspike/trunk/content/container-control.html
==============================================================================
--- websites/staging/deltaspike/trunk/content/container-control.html (original)
+++ websites/staging/deltaspike/trunk/content/container-control.html Fri Aug  8 14:28:50 2014
@@ -198,7 +198,7 @@ You might face such issues, if you would
 
 <h3 id="undertow">Undertow</h3>
 <p>For Undertow, you register the <code>CdiServletRequestListener</code>
via <code>ListenerInfo</code> by passing in the class to their builders.  Then
you add the <code>ListenerInfo</code> to your deployment before starting.</p>
-<div class="codehilite"><pre><span class="n">ServletInfo</span> <span
class="n">servletInfo</span> <span class="o">=</span> <span class="n">Servlets</span><span
class="o">.</span><span class="na">servlet</span><span class="o">(</span><span
class="s">&quot;RequestServlet&quot;</span><span class="o">,</span>
<span class="n">YourServlet</span><span class="o">.</span><span
class="na">class</span><span class="o">).</span><span class="na">setAsyncSupported</span><span
class="o">(</span><span class="kc">true</span><span class="o">)</span>
+<div class="codehilite"><pre><span class="n">ServletInfo</span> <span
class="n">servletInfo</span> <span class="o">=</span> <span class="n">Servlets</span><span
class="o">.</span><span class="na">servlet</span><span class="o">(</span><span
class="s">&quot;YourServletName&quot;</span><span class="o">,</span>
<span class="n">YourServlet</span><span class="o">.</span><span
class="na">class</span><span class="o">).</span><span class="na">setAsyncSupported</span><span
class="o">(</span><span class="kc">true</span><span class="o">)</span>
     <span class="o">.</span><span class="na">setLoadOnStartup</span><span
class="o">(</span><span class="mi">1</span><span class="o">).</span><span
class="na">addMapping</span><span class="o">(</span><span class="s">&quot;/*&quot;</span><span
class="o">);</span>
 <span class="n">ListenerInfo</span> <span class="n">listenerInfo</span>
<span class="o">=</span> <span class="n">Servlets</span><span class="o">.</span><span
class="na">listener</span><span class="o">(</span><span class="n">CdiServletRequestListener</span><span
class="o">.</span><span class="na">class</span><span class="o">);</span>
 <span class="n">DeploymentInfo</span> <span class="n">di</span> <span
class="o">=</span> <span class="k">new</span> <span class="n">DeploymentInfo</span><span
class="o">()</span>



Mime
View raw message