This is an automated email from the ASF dual-hosted git repository.

jamesbognar pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/juneau-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new afef24249 Update about page.
afef24249 is described below

commit afef24249d7a310e655cc3e698d04b642fe5414b
Author: JamesBognar <[email protected]>
AuthorDate: Sat Jul 2 09:39:53 2022 -0400

    Update about page.
---
 content/about.html   | 12 ++++--------
 templates/about.html | 12 ++++--------
 2 files changed, 8 insertions(+), 16 deletions(-)

diff --git a/content/about.html b/content/about.html
index 1a012ef23..b4fc9e8f5 100644
--- a/content/about.html
+++ b/content/about.html
@@ -119,12 +119,12 @@
                        and <a class='doclink' 
href='http://juneau.apache.org/site/apidocs-9.0.0/overview-summary.html#juneau-rest-client'>juneau-rest-client</a>
 libraries
                        provide server and client side REST capabilities that 
can be used by themselves, or together to create
                        simplified yet sophisticated Java-based REST 
communications layers that completely hide away the complexities
-                       of the REST protocol.
+                       of the REST protocol from end-users.
                </p>
                <p class='bjava'>
        <jc>// Server-side endpoint</jc>        
        <ja>@Rest</ja>(path=<js>"/petstore"</js>)
-       <jk>public class</jk> PetStoreRest  <jk>extends</jk> BasicRestServlet 
<jk>implements</jk> BasicUniversalConfig  {
+       <jk>public class</jk> PetStoreRest <jk>extends</jk> BasicRestServlet 
<jk>implements</jk> BasicUniversalConfig  {
                
                <ja>@RestPost</ja>(path=<js>"/pets"</js>, 
guards=AdminGuard.<jk>class</jk>)
                <jk>public</jk> Ok addPet(
@@ -132,7 +132,7 @@
                        <ja>@Header</ja>(<js>"E-Tag"</js>) UUID <jv>etag</jv>, 
                        <ja>@Query</ja>(<js>"debug"</js>) <jk>boolean</jk> 
<jv>debug</jv>
                ) <jk>throws</jk> BadRequest, Unauthorized, InternalServerError 
{
-                       <jc>// Process request.</jc>
+                       <jc>// Process request here.</jc>
                        <jk>return</jk> Ok.<jsf>OK</jsf>;  <jc>// Standard 
400-OK response.</jc>
                }
        }
@@ -181,7 +181,7 @@
                        )
                );
                
-       String <jv>html</jv> = 
HtmlSerializer.<jsf>DEFAULT</jsf>.serialize(<jv>mytable</jv>);
+       String <jv>html</jv> = Html.<jsm>of</jsm>(<jv>mytable</jv>);
                </p>
                <p class='bxml'><xt>
        &lt;table&gt;
@@ -229,7 +229,6 @@
                        The <a class='doclink' 
href='http://juneau.apache.org/site/apidocs-9.0.0/overview-summary.html#juneau-assertions'>juneau-assertions</a>
 
                        module in Juneau is a powerful API for performing 
fluent style assertions.
                </p>
-               <h5 class='figure'>Examples:</h5>
                <p class='bjava'>
        <jk>import static</jk> org.apache.juneau.assertions.Assertions.*;
        
@@ -331,9 +330,6 @@
                
                <h5 class='figure'>HTML representation</h5>
                <img class='bordered w800' 
src='images/jrss.Overview.RootResources.png'>
-               
-               <h5 class='figure'>JSON representation</h5>
-               <img class='bordered w800' 
src='images/jrss.Overview.RootResources.json.png'>
        
                <p>
                        The <c>HelloWorldResource</c> class shows an example of 
a child resource
diff --git a/templates/about.html b/templates/about.html
index 07b67d12b..0e63a263c 100644
--- a/templates/about.html
+++ b/templates/about.html
@@ -119,12 +119,12 @@
                        and <a class='doclink' 
href='http://juneau.apache.org/site/apidocs-{@property 
juneauVersion}/overview-summary.html#juneau-rest-client'>juneau-rest-client</a> 
libraries
                        provide server and client side REST capabilities that 
can be used by themselves, or together to create
                        simplified yet sophisticated Java-based REST 
communications layers that completely hide away the complexities
-                       of the REST protocol.
+                       of the REST protocol from end-users.
                </p>
                <p class='bjava'>
        <jc>// Server-side endpoint</jc>        
        <ja>@Rest</ja>(path=<js>"/petstore"</js>)
-       <jk>public class</jk> PetStoreRest  <jk>extends</jk> BasicRestServlet 
<jk>implements</jk> BasicUniversalConfig  {
+       <jk>public class</jk> PetStoreRest <jk>extends</jk> BasicRestServlet 
<jk>implements</jk> BasicUniversalConfig  {
                
                <ja>@RestPost</ja>(path=<js>"/pets"</js>, 
guards=AdminGuard.<jk>class</jk>)
                <jk>public</jk> Ok addPet(
@@ -132,7 +132,7 @@
                        <ja>@Header</ja>(<js>"E-Tag"</js>) UUID <jv>etag</jv>, 
                        <ja>@Query</ja>(<js>"debug"</js>) <jk>boolean</jk> 
<jv>debug</jv>
                ) <jk>throws</jk> BadRequest, Unauthorized, InternalServerError 
{
-                       <jc>// Process request.</jc>
+                       <jc>// Process request here.</jc>
                        <jk>return</jk> Ok.<jsf>OK</jsf>;  <jc>// Standard 
400-OK response.</jc>
                }
        }
@@ -181,7 +181,7 @@
                        )
                );
                
-       String <jv>html</jv> = 
HtmlSerializer.<jsf>DEFAULT</jsf>.serialize(<jv>mytable</jv>);
+       String <jv>html</jv> = Html.<jsm>of</jsm>(<jv>mytable</jv>);
                </p>
                <p class='bxml'><xt>
        &lt;table&gt;
@@ -229,7 +229,6 @@
                        The <a class='doclink' 
href='http://juneau.apache.org/site/apidocs-{@property 
juneauVersion}/overview-summary.html#juneau-assertions'>juneau-assertions</a> 
                        module in Juneau is a powerful API for performing 
fluent style assertions.
                </p>
-               <h5 class='figure'>Examples:</h5>
                <p class='bjava'>
        <jk>import static</jk> org.apache.juneau.assertions.Assertions.*;
        
@@ -331,9 +330,6 @@
                
                <h5 class='figure'>HTML representation</h5>
                <img class='bordered w800' 
src='images/jrss.Overview.RootResources.png'>
-               
-               <h5 class='figure'>JSON representation</h5>
-               <img class='bordered w800' 
src='images/jrss.Overview.RootResources.json.png'>
        
                <p>
                        The <c>HelloWorldResource</c> class shows an example of 
a child resource

Reply via email to