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 b09910f Website updates for Juneau 8.1.3
b09910f is described below
commit b09910fa4f19f8f47cddd47fdb35039e0720b830
Author: JamesBognar <[email protected]>
AuthorDate: Mon Jan 20 10:16:17 2020 -0500
Website updates for Juneau 8.1.3
---
content/marshall.html | 2 +-
content/petstore.html | 8 ++++----
content/rest-server.html | 4 ++--
templates/marshall.html | 2 +-
{content => templates}/petstore.html | 8 ++++----
templates/rest-server.html | 4 ++--
6 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/content/marshall.html b/content/marshall.html
index 440db3f..c3b2705 100644
--- a/content/marshall.html
+++ b/content/marshall.html
@@ -299,7 +299,7 @@
</ul>
<li>Annotations
<br>Various annotations available for your POJO
classes that are recognized by ALL serializers and parsers:
- <br><ja>@Bean</ja>, <ja>@Pojo</ja>,
<ja>@BeanIgnore</ja>, <ja>@BeanParam</ja>, <ja>@BeanProperty</ja>,
<ja>@NameProperty</ja>, <ja>@ParentProperty</ja>
+ <br><ja>@Bean</ja>, <ja>@Beanc</ja>,
<ja>@Beanp</ja>, <ja>@BeanIgnore</ja>, <ja>@NameProperty</ja>,
<ja>@ParentProperty</ja>
<br>
<br>Annotations also provided for
language-specific behaviors where it makes sense:
<br><ja>@Json</ja>, <ja>@Html</ja>,
<ja>@Xml</ja>, <ja>@UrlEncoding</ja>
diff --git a/content/petstore.html b/content/petstore.html
index c1b7983..f4c3ab6 100644
--- a/content/petstore.html
+++ b/content/petstore.html
@@ -85,7 +85,7 @@
</p>
<h5 class='figure'>PetStore.java</h5>
<p class='bcode w800'>
- <ja>@RemoteResource</ja>(path=<js>"/petstore"</js>)
+ <ja>@Remote</ja>(path=<js>"/petstore"</js>)
<jk>public interface</jk> PetStore {
<ja>@RemoteMethod</ja>(method=<jsf>GET</jsf>,
path=<js>"/pet"</js>)
@@ -112,7 +112,7 @@
}
</p>
<p>
- <ja>@RemoteResource</ja> and <ja>@RemoteMethod</ja> are
client-side annotations used to map the method calls to REST
+ <ja>@Remote</ja> and <ja>@RemoteMethod</ja> are
client-side annotations used to map the method calls to REST
and will be describe in the client code section.
</p>
<p>
@@ -261,7 +261,7 @@
<h5 class='figure'>RootResources.java</h5>
<p class='bcode w800'>
- <ja>@RestResource</ja>(
+ <ja>@Rest</ja>(
path=<js>"/*"</js>,
title=<js>"Root resources"</js>,
description=<js>"Example of a router resource page."</js>,
@@ -316,7 +316,7 @@
<h5 class='figure'>PetStoreResource.java</h5>
<p class='bcode w800'>
- <ja>@RestResource</ja>(
+ <ja>@Rest</ja>(
path=<js>"/petstore"</js>,
title=<js>"Petstore application"</js>,
description={
diff --git a/content/rest-server.html b/content/rest-server.html
index faa779d..6c8c127 100644
--- a/content/rest-server.html
+++ b/content/rest-server.html
@@ -242,10 +242,10 @@
<jk>public</jk> String <jf>name</jf>;
<jk>public</jk> Kind <jf>kind</jf>;
- <ja>@BeanProperty</ja>(format=<js>"$%.2f"</js>) <jc>// Renders
price in dollars.</jc>
+ <ja>@Beanp</ja>(format=<js>"$%.2f"</js>) <jc>// Renders price
in dollars.</jc>
<jk>public float</jk> <jf>price</jf>;
-
<ja>@BeanProperty</ja>(swap=DateSwap.<jsf>RFC2822D</jsf>.<jk>class</jk>)
<jc>// Renders dates in RFC2822 format.</jc>
+
<ja>@Beanp</ja>(swap=DateSwap.<jsf>RFC2822D</jsf>.<jk>class</jk>) <jc>//
Renders dates in RFC2822 format.</jc>
<jk>public</jk> Date <jf>birthDate</jf>;
<jk>public int</jk> getAge() {
diff --git a/templates/marshall.html b/templates/marshall.html
index cde2d0e..d710eea 100644
--- a/templates/marshall.html
+++ b/templates/marshall.html
@@ -299,7 +299,7 @@
</ul>
<li>Annotations
<br>Various annotations available for your POJO
classes that are recognized by ALL serializers and parsers:
- <br><ja>@Bean</ja>, <ja>@Pojo</ja>,
<ja>@BeanIgnore</ja>, <ja>@BeanParam</ja>, <ja>@BeanProperty</ja>,
<ja>@NameProperty</ja>, <ja>@ParentProperty</ja>
+ <br><ja>@Bean</ja>, <ja>@Beanc</ja>,
<ja>@Beanp</ja>, <ja>@BeanIgnore</ja>, <ja>@NameProperty</ja>,
<ja>@ParentProperty</ja>
<br>
<br>Annotations also provided for
language-specific behaviors where it makes sense:
<br><ja>@Json</ja>, <ja>@Html</ja>,
<ja>@Xml</ja>, <ja>@UrlEncoding</ja>
diff --git a/content/petstore.html b/templates/petstore.html
similarity index 98%
copy from content/petstore.html
copy to templates/petstore.html
index c1b7983..f4c3ab6 100644
--- a/content/petstore.html
+++ b/templates/petstore.html
@@ -85,7 +85,7 @@
</p>
<h5 class='figure'>PetStore.java</h5>
<p class='bcode w800'>
- <ja>@RemoteResource</ja>(path=<js>"/petstore"</js>)
+ <ja>@Remote</ja>(path=<js>"/petstore"</js>)
<jk>public interface</jk> PetStore {
<ja>@RemoteMethod</ja>(method=<jsf>GET</jsf>,
path=<js>"/pet"</js>)
@@ -112,7 +112,7 @@
}
</p>
<p>
- <ja>@RemoteResource</ja> and <ja>@RemoteMethod</ja> are
client-side annotations used to map the method calls to REST
+ <ja>@Remote</ja> and <ja>@RemoteMethod</ja> are
client-side annotations used to map the method calls to REST
and will be describe in the client code section.
</p>
<p>
@@ -261,7 +261,7 @@
<h5 class='figure'>RootResources.java</h5>
<p class='bcode w800'>
- <ja>@RestResource</ja>(
+ <ja>@Rest</ja>(
path=<js>"/*"</js>,
title=<js>"Root resources"</js>,
description=<js>"Example of a router resource page."</js>,
@@ -316,7 +316,7 @@
<h5 class='figure'>PetStoreResource.java</h5>
<p class='bcode w800'>
- <ja>@RestResource</ja>(
+ <ja>@Rest</ja>(
path=<js>"/petstore"</js>,
title=<js>"Petstore application"</js>,
description={
diff --git a/templates/rest-server.html b/templates/rest-server.html
index b93566c..562a891 100644
--- a/templates/rest-server.html
+++ b/templates/rest-server.html
@@ -242,10 +242,10 @@
<jk>public</jk> String <jf>name</jf>;
<jk>public</jk> Kind <jf>kind</jf>;
- <ja>@BeanProperty</ja>(format=<js>"$%.2f"</js>) <jc>// Renders
price in dollars.</jc>
+ <ja>@Beanp</ja>(format=<js>"$%.2f"</js>) <jc>// Renders price
in dollars.</jc>
<jk>public float</jk> <jf>price</jf>;
-
<ja>@BeanProperty</ja>(swap=DateSwap.<jsf>RFC2822D</jsf>.<jk>class</jk>)
<jc>// Renders dates in RFC2822 format.</jc>
+
<ja>@Beanp</ja>(swap=DateSwap.<jsf>RFC2822D</jsf>.<jk>class</jk>) <jc>//
Renders dates in RFC2822 format.</jc>
<jk>public</jk> Date <jf>birthDate</jf>;
<jk>public int</jk> getAge() {