deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From johndam...@apache.org
Subject svn commit: r1616779 - /deltaspike/site/trunk/content/container-control.mdtext
Date Fri, 08 Aug 2014 14:28:42 GMT
Author: johndament
Date: Fri Aug  8 14:28:42 2014
New Revision: 1616779

URL: http://svn.apache.org/r1616779
Log:
Minor naming consistency change.

Modified:
    deltaspike/site/trunk/content/container-control.mdtext

Modified: deltaspike/site/trunk/content/container-control.mdtext
URL: http://svn.apache.org/viewvc/deltaspike/site/trunk/content/container-control.mdtext?rev=1616779&r1=1616778&r2=1616779&view=diff
==============================================================================
--- deltaspike/site/trunk/content/container-control.mdtext (original)
+++ deltaspike/site/trunk/content/container-control.mdtext Fri Aug  8 14:28:42 2014
@@ -137,7 +137,7 @@ For Jetty, you need to add an `EventList
 For Undertow, you register the `CdiServletRequestListener` via `ListenerInfo` by passing
in the class to their builders.  Then you add the `ListenerInfo` to your deployment before
starting.
 
     :::java
-    ServletInfo servletInfo = Servlets.servlet("RequestServlet", YourServlet.class).setAsyncSupported(true)
+    ServletInfo servletInfo = Servlets.servlet("YourServletName", YourServlet.class).setAsyncSupported(true)
         .setLoadOnStartup(1).addMapping("/*");
     ListenerInfo listenerInfo = Servlets.listener(CdiServletRequestListener.class);
     DeploymentInfo di = new DeploymentInfo()



Mime
View raw message