[jboss-cvs] JBossAS SVN: r103867 - projects/docs/enterprise/5.0/RESTEasy/en-US.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Apr 12 23:05:50 EDT 2010


Author: laubai
Date: 2010-04-12 23:05:49 -0400 (Mon, 12 Apr 2010)
New Revision: 103867

Modified:
   projects/docs/enterprise/5.0/RESTEasy/en-US/Installation_Configuration.xml
   projects/docs/enterprise/5.0/RESTEasy/en-US/JAX-RS_Content_Negotiation.xml
   projects/docs/enterprise/5.0/RESTEasy/en-US/Using_Path.xml
   projects/docs/enterprise/5.0/RESTEasy/en-US/_PathParam.xml
Log:
Corrected use of programlistings in paras and updated pot files.

Modified: projects/docs/enterprise/5.0/RESTEasy/en-US/Installation_Configuration.xml
===================================================================
--- projects/docs/enterprise/5.0/RESTEasy/en-US/Installation_Configuration.xml	2010-04-13 02:47:48 UTC (rev 103866)
+++ projects/docs/enterprise/5.0/RESTEasy/en-US/Installation_Configuration.xml	2010-04-13 03:05:49 UTC (rev 103867)
@@ -20,8 +20,6 @@
 
 RESTEasy is implemented as a <literal>ServletContextListener</literal> and a Servlet, and deployed within a <filename>WAR</filename> file. The <filename>WEB-INF/web.xml</filename> file contains the following:
 </para>
-<para>
-
 <programlisting>
 &lt;web-app&gt;
     &lt;display-name&gt;Archetype Created Web Application&lt;/display-name&gt;
@@ -60,7 +58,6 @@
     &lt;/servlet-mapping&gt;
 &lt;/web-app&gt;
 </programlisting>
-</para>
 <para>
 The <literal>ResteasyBootstrap</literal> listener initializes some of RESTEasy's basic components and scans for annotation classes that exist in your <filename>WAR</filename> file. It also receives configuration options from <literal>&lt;context-param&gt;</literal> elements.
 </para>
@@ -78,7 +75,6 @@
   Then the value of <literal>resteasy-servlet.mapping.prefix</literal> must be:
 </para>
 <programlisting>
-
    &lt;context-param&gt;
       &lt;param-name&gt;resteasy.servlet.mapping.prefix&lt;/param-name&gt;
       &lt;param-value&gt;/restful-services&lt;/param-value&gt;
@@ -238,19 +234,13 @@
 
 To use Application you must set the Servlet <literal>context-param</literal>, <literal>javax.ws.rs.core.Application</literal>, with a fully-qualified class that implements Application. For example:
 </para>
-<para>
-
 <programlisting>
 
    &lt;context-param&gt;
       &lt;param-name&gt;javax.ws.rs.core.Application&lt;/param-name&gt;
       &lt;param-value&gt;com.mycom.MyApplicationConfig&lt;/param-value&gt;
    &lt;/context-param&gt;
-
-
-
 </programlisting>
-</para>
 <para>
 
 If you have this set, you should probably turn off automatic scanning as this will probably result in duplicate classes being registered.</para>

Modified: projects/docs/enterprise/5.0/RESTEasy/en-US/JAX-RS_Content_Negotiation.xml
===================================================================
--- projects/docs/enterprise/5.0/RESTEasy/en-US/JAX-RS_Content_Negotiation.xml	2010-04-13 02:47:48 UTC (rev 103866)
+++ projects/docs/enterprise/5.0/RESTEasy/en-US/JAX-RS_Content_Negotiation.xml	2010-04-13 03:05:49 UTC (rev 103867)
@@ -11,8 +11,6 @@
    <para>
       <literal>@Consumes</literal> is an array of media types that a particular resource or resource method consumes. For example:
    </para>
-   <para>
-
       <programlisting>
          @Consumes("text/*")
          @Path("/library")
@@ -26,7 +24,6 @@
          @POST
          public String jaxbBook(Book book) {...}
       </programlisting>
-   </para>
    <para>
 
       When a client makes a request, JAX-RS first locates all methods that match the path. It then sorts objects based on the content-type header sent by the client. If a client sends the following:

Modified: projects/docs/enterprise/5.0/RESTEasy/en-US/Using_Path.xml
===================================================================
--- projects/docs/enterprise/5.0/RESTEasy/en-US/Using_Path.xml	2010-04-13 02:47:48 UTC (rev 103866)
+++ projects/docs/enterprise/5.0/RESTEasy/en-US/Using_Path.xml	2010-04-13 03:05:49 UTC (rev 103867)
@@ -4,7 +4,6 @@
 <chapter id="Using__Path_and__GET___POST__etc.">
 <title>Using @Path and @GET, @POST, etc.</title>
 
-<para>
 
 <programlisting>
 @Path("/library")
@@ -31,7 +30,7 @@
    
 }
 </programlisting>
-</para>
+
 <para>
   If you have the RESTEasy Servlet configured and reachable at a root path of <literal>http://myhost.com/services</literal>, the requests would be handled by the <literal>Library</literal> class:
 </para>
@@ -113,7 +112,6 @@
 For example:
 </para>
 <programlisting>
-
 @Path(&quot;/resources/{var}/stuff&quot;)
 </programlisting>
 <para>

Modified: projects/docs/enterprise/5.0/RESTEasy/en-US/_PathParam.xml
===================================================================
--- projects/docs/enterprise/5.0/RESTEasy/en-US/_PathParam.xml	2010-04-13 02:47:48 UTC (rev 103866)
+++ projects/docs/enterprise/5.0/RESTEasy/en-US/_PathParam.xml	2010-04-13 03:05:49 UTC (rev 103867)
@@ -57,14 +57,12 @@
 <para>
   You are allowed to specify one or more <literal>@PathParam</literal>s embedded in one URI segment. For example:
 </para>
-<para>
-
 <programlisting>
 1. @Path("/aaa{param}bbb")
 2. @Path("/{name}-{zip}")
 3. @Path("/foo{name}-{zip}bar")
 </programlisting>
-</para>
+
 <para>
   So, a URI of the form &quot;/aaa111bbb&quot; would match the first specified parameter. &quot;/bill-02115&quot; would match the second, and &quot;foobill-02115bar&quot; would match the third.
 </para>
@@ -133,4 +131,3 @@
 </para>
 </section>
 </chapter>
-




More information about the jboss-cvs-commits mailing list