http://git-wip-us.apache.org/repos/asf/polygene-website/blob/538baaf6/content/java/develop/library-rest-client-primer.html
----------------------------------------------------------------------
diff --git a/content/java/develop/library-rest-client-primer.html 
b/content/java/develop/library-rest-client-primer.html
index e51c15d..b7f52b3 100644
--- a/content/java/develop/library-rest-client-primer.html
+++ b/content/java/develop/library-rest-client-primer.html
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";><html 
xmlns="http://www.w3.org/1999/xhtml";><head><meta http-equiv="Content-Type" 
content="text/html; charset=UTF-8" /><title>ReST - HATEOAS Primer</title><link 
rel="stylesheet" type="text/css" href="css/style.css" /><meta name="generator" 
content="DocBook XSL Stylesheets V1.76.1" /><link rel="home" href="index.html" 
title="" /><link rel="up" href="libraries.html" title="Libraries" /><link 
rel="prev" href="library-rest-client.html" title="ReST Client" /><link 
rel="next" href="library-rest-common.html" title="ReST Common" />
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";><html 
xmlns="http://www.w3.org/1999/xhtml";><head><meta http-equiv="Content-Type" 
content="text/html; charset=UTF-8" /><title>ReST - HATEOAS Primer</title><link 
rel="stylesheet" type="text/css" href="css/style.css" /><meta name="generator" 
content="DocBook XSL Stylesheets V1.79.1" /><link rel="home" href="index.html" 
title="" /><link rel="up" href="libraries.html" title="Libraries" /><link 
rel="prev" href="library-rest-client.html" title="ReST Client" /><link 
rel="next" href="library-rest-common.html" title="ReST Common" />
 
 
 <!-- favicon -->
@@ -66,7 +66,7 @@
   })();
  </script>
 
-  </head><body><div xmlns="" xmlns:exsl="http://exslt.org/common"; 
class="logo"><a href="index.html"><img src="images/logo-standard.png" 
/></a></div><div xmlns="" xmlns:exsl="http://exslt.org/common"; 
class="top-nav"><div xmlns="http://www.w3.org/1999/xhtml"; 
class="toc"><dl><dt><span class="section"><a 
href="index.html#home">Polygene™</a></span></dt><dt><span class="section"><a 
href="intro.html">Introduction</a></span></dt><dt><span class="section"><a 
href="tutorials.html">Tutorials</a></span></dt><dt><span class="section"><a 
href="javadocs.html">Javadoc</a></span></dt><dt><span class="section"><a 
href="samples.html">Samples</a></span></dt><dt><span class="section"><a 
href="core.html">Core</a></span></dt><dt><span class="section"><span xmlns="" 
href="libraries.html">Libraries</span></span></dt><dt><span class="section"><a 
href="extensions.html">Extensions</a></span></dt><dt><span class="section"><a 
href="tools.html">Tools</a></span></dt><dt><span class="section"><a 
href="glossary.ht
 ml">Glossary </a></span></dt></dl></div></div><div xmlns="" 
xmlns:exsl="http://exslt.org/common"; class="sub-nav"><div 
xmlns="http://www.w3.org/1999/xhtml"; class="toc"><dl><dt><span 
class="section"><a 
href="libraries.html#_overview_5">Overview</a></span></dt><dt><span 
class="section"><a href="scripting.html">Scripting</a></span></dt><dt><span 
class="section"><a href="library-alarm.html">Alarms</a></span></dt><dt><span 
class="section"><a href="library-circuitbreaker.html">Circuit 
Breaker</a></span></dt><dt><span class="section"><a 
href="library-constraints.html">Constraints</a></span></dt><dt><span 
class="section"><a 
href="library-fileconfig.html">FileConfig</a></span></dt><dt><span 
class="section"><a href="library-http.html">HTTP</a></span></dt><dt><span 
class="section"><a href="library-invocation-cache.html">Invocation 
Cache</a></span></dt><dt><span class="section"><a 
href="library-jmx.html">JMX</a></span></dt><dt><span class="section"><a 
href="library-locking.html">Locking</a></sp
 an></dt><dt><span class="section"><a 
href="library-logging.html">Logging</a></span></dt><dt><span class="section"><a 
href="library-osgi.html">OSGi</a></span></dt><dt><span class="section"><a 
href="library-rdf.html">RDF</a></span></dt><dt><span class="section"><a 
href="library-rest-client.html">ReST Client</a></span></dt><dt><span 
class="section"><span xmlns="" href="library-rest-client-primer.html">ReST - 
HATEOAS Primer</span></span></dt><dt><span class="section"><a 
href="library-rest-common.html">ReST Common</a></span></dt><dt><span 
class="section"><a href="library-rest-server.html">ReST 
Server</a></span></dt><dt><span class="section"><a 
href="library-restlet.html">Restlet Support</a></span></dt><dt><span 
class="section"><a href="library-servlet.html">Servlet</a></span></dt><dt><span 
class="section"><a href="library-shiro.html">Shiro 
Security</a></span></dt><dt><span class="section"><a 
href="library-shiro-web.html">Shiro Web Security</a></span></dt><dt><span 
class="section"><a href
 ="library-spring.html">Spring Integration</a></span></dt><dt><span 
class="section"><a href="library-sql.html">SQL</a></span></dt><dt><span 
class="section"><a href="library-uid.html">UID</a></span></dt><dt><span 
class="section"><a 
href="library-uowfile.html">UoWFile</a></span></dt></dl></div></div><div 
class="section" title="ReST - HATEOAS Primer"><div 
class="titlepage"><div><div><h3 class="title"><a 
id="library-rest-client-primer"></a>ReST - HATEOAS 
Primer</h3></div></div></div><p>The Polygene™ ReST Client implements HATEOAS 
(Hypermedia As The Engine Of Application State) to the full extent intended
+  </head><body><div xmlns="" xmlns:exsl="http://exslt.org/common"; 
class="logo"><a href="index.html"><img src="images/logo-standard.png" 
style="width:80%;height:80%; padding-top:20px;" /></a></div><div xmlns="" 
xmlns:exsl="http://exslt.org/common"; class="top-nav"><div 
xmlns="http://www.w3.org/1999/xhtml"; class="toc"><dl class="toc"><dt><span 
class="section"><a href="index.html#home">Polygene™</a></span></dt><dt><span 
class="section"><a href="intro.html">Introduction</a></span></dt><dt><span 
class="section"><a href="tutorials.html">Tutorials</a></span></dt><dt><span 
class="section"><a href="javadocs.html">Javadoc</a></span></dt><dt><span 
class="section"><a href="samples.html">Samples</a></span></dt><dt><span 
class="section"><a href="core.html">Core</a></span></dt><dt><span 
class="section"><span xmlns="" 
href="libraries.html">Libraries</span></span></dt><dt><span class="section"><a 
href="extensions.html">Extensions</a></span></dt><dt><span class="section"><a 
href="tools.html">Tools</
 a></span></dt><dt><span class="section"><a href="glossary.html">Glossary 
</a></span></dt></dl></div></div><div xmlns="" 
xmlns:exsl="http://exslt.org/common"; class="sub-nav"><div 
xmlns="http://www.w3.org/1999/xhtml"; class="toc"><dl class="toc"><dt><span 
class="section"><a 
href="libraries.html#_overview_5">Overview</a></span></dt><dt><span 
class="section"><a href="scripting.html">Scripting</a></span></dt><dt><span 
class="section"><a href="library-alarm.html">Alarms</a></span></dt><dt><span 
class="section"><a href="library-circuitbreaker.html">Circuit 
Breaker</a></span></dt><dt><span class="section"><a 
href="library-constraints.html">Constraints</a></span></dt><dt><span 
class="section"><a 
href="library-fileconfig.html">FileConfig</a></span></dt><dt><span 
class="section"><a href="library-http.html">HTTP</a></span></dt><dt><span 
class="section"><a href="library-invocation-cache.html">Invocation 
Cache</a></span></dt><dt><span class="section"><a 
href="library-jmx.html">JMX</a></span></dt>
 <dt><span class="section"><a 
href="library-locking.html">Locking</a></span></dt><dt><span class="section"><a 
href="library-logging.html">Logging</a></span></dt><dt><span class="section"><a 
href="library-osgi.html">OSGi</a></span></dt><dt><span class="section"><a 
href="library-rdf.html">RDF</a></span></dt><dt><span class="section"><a 
href="library-rest-client.html">ReST Client</a></span></dt><dt><span 
class="section"><span xmlns="" href="library-rest-client-primer.html">ReST - 
HATEOAS Primer</span></span></dt><dt><span class="section"><a 
href="library-rest-common.html">ReST Common</a></span></dt><dt><span 
class="section"><a href="library-rest-server.html">ReST 
Server</a></span></dt><dt><span class="section"><a 
href="library-servlet.html">Servlet</a></span></dt><dt><span class="section"><a 
href="library-shiro.html">Shiro Security</a></span></dt><dt><span 
class="section"><a href="library-shiro-web.html">Shiro Web 
Security</a></span></dt><dt><span class="section"><a href="library-spring
 .html">Spring Integration</a></span></dt><dt><span class="section"><a 
href="library-sql.html">SQL</a></span></dt><dt><span class="section"><a 
href="library-uid.html">UID</a></span></dt><dt><span class="section"><a 
href="library-uowfile.html">UoWFile</a></span></dt></dl></div></div><div 
class="section"><div class="titlepage"><div><div><h3 class="title"><a 
id="library-rest-client-primer"></a>ReST - HATEOAS 
Primer</h3></div></div></div><p>The Polygene™ ReST Client implements HATEOAS 
(Hypermedia As The Engine Of Application State) to the full extent intended
 by Roy Fielding. The ReST Client Library enables the creation of HATEOAS 
applications that are NOT using the URL space,
 and it is NOT about doing RPC calls over HTTP using a common exchange format 
(like JSON).</p><p>The <a class="xref" href="library-rest-server.html" 
title="ReST Server"> ReST Server Library</a> is a corresponding library for 
creating usecase-driven ReST servers, and with that the
 corresponding client becomes very thin, as all business rules remain on the 
server where they belong.</p><p><span class="strong"><strong>The main point is 
to support exposing REST resources that focus on use cases and 
hypermedia.</strong></span></p><p>On the client, we have been thinking a lot 
about what Roy wrote in his thesis, which boils down to "client makes GET

http://git-wip-us.apache.org/repos/asf/polygene-website/blob/538baaf6/content/java/develop/library-rest-client.html
----------------------------------------------------------------------
diff --git a/content/java/develop/library-rest-client.html 
b/content/java/develop/library-rest-client.html
index bfa3e72..ded8f7a 100644
--- a/content/java/develop/library-rest-client.html
+++ b/content/java/develop/library-rest-client.html
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";><html 
xmlns="http://www.w3.org/1999/xhtml";><head><meta http-equiv="Content-Type" 
content="text/html; charset=UTF-8" /><title>ReST Client</title><link 
rel="stylesheet" type="text/css" href="css/style.css" /><meta name="generator" 
content="DocBook XSL Stylesheets V1.76.1" /><link rel="home" href="index.html" 
title="" /><link rel="up" href="libraries.html" title="Libraries" /><link 
rel="prev" href="library-rdf.html" title="RDF" /><link rel="next" 
href="library-rest-client-primer.html" title="ReST - HATEOAS Primer" />
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";><html 
xmlns="http://www.w3.org/1999/xhtml";><head><meta http-equiv="Content-Type" 
content="text/html; charset=UTF-8" /><title>ReST Client</title><link 
rel="stylesheet" type="text/css" href="css/style.css" /><meta name="generator" 
content="DocBook XSL Stylesheets V1.79.1" /><link rel="home" href="index.html" 
title="" /><link rel="up" href="libraries.html" title="Libraries" /><link 
rel="prev" href="library-rdf.html" title="RDF" /><link rel="next" 
href="library-rest-client-primer.html" title="ReST - HATEOAS Primer" />
 
 
 <!-- favicon -->
@@ -66,13 +66,13 @@
   })();
  </script>
 
-  </head><body><div xmlns="" xmlns:exsl="http://exslt.org/common"; 
class="logo"><a href="index.html"><img src="images/logo-standard.png" 
/></a></div><div xmlns="" xmlns:exsl="http://exslt.org/common"; 
class="top-nav"><div xmlns="http://www.w3.org/1999/xhtml"; 
class="toc"><dl><dt><span class="section"><a 
href="index.html#home">Polygene™</a></span></dt><dt><span class="section"><a 
href="intro.html">Introduction</a></span></dt><dt><span class="section"><a 
href="tutorials.html">Tutorials</a></span></dt><dt><span class="section"><a 
href="javadocs.html">Javadoc</a></span></dt><dt><span class="section"><a 
href="samples.html">Samples</a></span></dt><dt><span class="section"><a 
href="core.html">Core</a></span></dt><dt><span class="section"><span xmlns="" 
href="libraries.html">Libraries</span></span></dt><dt><span class="section"><a 
href="extensions.html">Extensions</a></span></dt><dt><span class="section"><a 
href="tools.html">Tools</a></span></dt><dt><span class="section"><a 
href="glossary.ht
 ml">Glossary </a></span></dt></dl></div></div><div xmlns="" 
xmlns:exsl="http://exslt.org/common"; class="sub-nav"><div 
xmlns="http://www.w3.org/1999/xhtml"; class="toc"><dl><dt><span 
class="section"><a 
href="libraries.html#_overview_5">Overview</a></span></dt><dt><span 
class="section"><a href="scripting.html">Scripting</a></span></dt><dt><span 
class="section"><a href="library-alarm.html">Alarms</a></span></dt><dt><span 
class="section"><a href="library-circuitbreaker.html">Circuit 
Breaker</a></span></dt><dt><span class="section"><a 
href="library-constraints.html">Constraints</a></span></dt><dt><span 
class="section"><a 
href="library-fileconfig.html">FileConfig</a></span></dt><dt><span 
class="section"><a href="library-http.html">HTTP</a></span></dt><dt><span 
class="section"><a href="library-invocation-cache.html">Invocation 
Cache</a></span></dt><dt><span class="section"><a 
href="library-jmx.html">JMX</a></span></dt><dt><span class="section"><a 
href="library-locking.html">Locking</a></sp
 an></dt><dt><span class="section"><a 
href="library-logging.html">Logging</a></span></dt><dt><span class="section"><a 
href="library-osgi.html">OSGi</a></span></dt><dt><span class="section"><a 
href="library-rdf.html">RDF</a></span></dt><dt><span class="section"><span 
xmlns="" href="library-rest-client.html">ReST 
Client</span></span></dt><dt><span class="section"><a 
href="library-rest-client-primer.html">ReST - HATEOAS 
Primer</a></span></dt><dt><span class="section"><a 
href="library-rest-common.html">ReST Common</a></span></dt><dt><span 
class="section"><a href="library-rest-server.html">ReST 
Server</a></span></dt><dt><span class="section"><a 
href="library-restlet.html">Restlet Support</a></span></dt><dt><span 
class="section"><a href="library-servlet.html">Servlet</a></span></dt><dt><span 
class="section"><a href="library-shiro.html">Shiro 
Security</a></span></dt><dt><span class="section"><a 
href="library-shiro-web.html">Shiro Web Security</a></span></dt><dt><span 
class="section"><a href
 ="library-spring.html">Spring Integration</a></span></dt><dt><span 
class="section"><a href="library-sql.html">SQL</a></span></dt><dt><span 
class="section"><a href="library-uid.html">UID</a></span></dt><dt><span 
class="section"><a 
href="library-uowfile.html">UoWFile</a></span></dt></dl></div></div><div 
class="section" title="ReST Client"><div class="titlepage"><div><div><h3 
class="title"><a id="library-rest-client"></a>ReST 
Client</h3></div></div></div><p class="remark"><em><span 
class="comment"></span></em></p><p class="devstatus-code-stable">code</p><p 
class="devstatus-docs-good">docs</p><p 
class="devstatus-tests-some">tests</p><p>Rickard sent a very interesting <a 
class="xref" href="library-rest-client-primer.html" title="ReST - HATEOAS 
Primer"> HATEOAS Primer</a> to the mailing list in October 2011, as the starting
+  </head><body><div xmlns="" xmlns:exsl="http://exslt.org/common"; 
class="logo"><a href="index.html"><img src="images/logo-standard.png" 
style="width:80%;height:80%; padding-top:20px;" /></a></div><div xmlns="" 
xmlns:exsl="http://exslt.org/common"; class="top-nav"><div 
xmlns="http://www.w3.org/1999/xhtml"; class="toc"><dl class="toc"><dt><span 
class="section"><a href="index.html#home">Polygene™</a></span></dt><dt><span 
class="section"><a href="intro.html">Introduction</a></span></dt><dt><span 
class="section"><a href="tutorials.html">Tutorials</a></span></dt><dt><span 
class="section"><a href="javadocs.html">Javadoc</a></span></dt><dt><span 
class="section"><a href="samples.html">Samples</a></span></dt><dt><span 
class="section"><a href="core.html">Core</a></span></dt><dt><span 
class="section"><span xmlns="" 
href="libraries.html">Libraries</span></span></dt><dt><span class="section"><a 
href="extensions.html">Extensions</a></span></dt><dt><span class="section"><a 
href="tools.html">Tools</
 a></span></dt><dt><span class="section"><a href="glossary.html">Glossary 
</a></span></dt></dl></div></div><div xmlns="" 
xmlns:exsl="http://exslt.org/common"; class="sub-nav"><div 
xmlns="http://www.w3.org/1999/xhtml"; class="toc"><dl class="toc"><dt><span 
class="section"><a 
href="libraries.html#_overview_5">Overview</a></span></dt><dt><span 
class="section"><a href="scripting.html">Scripting</a></span></dt><dt><span 
class="section"><a href="library-alarm.html">Alarms</a></span></dt><dt><span 
class="section"><a href="library-circuitbreaker.html">Circuit 
Breaker</a></span></dt><dt><span class="section"><a 
href="library-constraints.html">Constraints</a></span></dt><dt><span 
class="section"><a 
href="library-fileconfig.html">FileConfig</a></span></dt><dt><span 
class="section"><a href="library-http.html">HTTP</a></span></dt><dt><span 
class="section"><a href="library-invocation-cache.html">Invocation 
Cache</a></span></dt><dt><span class="section"><a 
href="library-jmx.html">JMX</a></span></dt>
 <dt><span class="section"><a 
href="library-locking.html">Locking</a></span></dt><dt><span class="section"><a 
href="library-logging.html">Logging</a></span></dt><dt><span class="section"><a 
href="library-osgi.html">OSGi</a></span></dt><dt><span class="section"><a 
href="library-rdf.html">RDF</a></span></dt><dt><span class="section"><span 
xmlns="" href="library-rest-client.html">ReST 
Client</span></span></dt><dt><span class="section"><a 
href="library-rest-client-primer.html">ReST - HATEOAS 
Primer</a></span></dt><dt><span class="section"><a 
href="library-rest-common.html">ReST Common</a></span></dt><dt><span 
class="section"><a href="library-rest-server.html">ReST 
Server</a></span></dt><dt><span class="section"><a 
href="library-servlet.html">Servlet</a></span></dt><dt><span class="section"><a 
href="library-shiro.html">Shiro Security</a></span></dt><dt><span 
class="section"><a href="library-shiro-web.html">Shiro Web 
Security</a></span></dt><dt><span class="section"><a href="library-spring
 .html">Spring Integration</a></span></dt><dt><span class="section"><a 
href="library-sql.html">SQL</a></span></dt><dt><span class="section"><a 
href="library-uid.html">UID</a></span></dt><dt><span class="section"><a 
href="library-uowfile.html">UoWFile</a></span></dt></dl></div></div><div 
class="section"><div class="titlepage"><div><div><h3 class="title"><a 
id="library-rest-client"></a>ReST Client</h3></div></div></div><p 
class="remark"><em><span class="comment"></span></em></p><p 
class="devstatus-code-stable">code</p><p class="devstatus-docs-good">docs</p><p 
class="devstatus-tests-some">tests</p><p>Rickard sent a very interesting <a 
class="xref" href="library-rest-client-primer.html" title="ReST - HATEOAS 
Primer"> HATEOAS Primer</a> to the mailing list in October 2011, as the starting
 point for the renovation of the ReST Client Library. You should read that to 
get the full background on the choices
-made in this library.</p><div class="table"><a id="idm229754377136"></a><p 
class="title"><strong>Table 34. Artifact</strong></p><div 
class="table-contents"><table summary="Artifact" border="1"><colgroup><col 
class="col_1" /><col class="col_2" /><col class="col_3" 
/></colgroup><thead><tr><th align="left" valign="top">Group ID</th><th 
align="left" valign="top">Artifact ID</th><th align="left" 
valign="top">Version</th></tr></thead><tbody><tr><td align="left" 
valign="top"><p>org.apache.polygene.libraries</p></td><td align="left" 
valign="top"><p>org.apache.polygene.library.rest-client</p></td><td 
align="left" 
valign="top"><p>3.1.0-SNAPSHOT</p></td></tr></tbody></table></div></div><br 
class="table-break" /><div class="section" title="Usage"><div 
class="titlepage"><div><div><h4 class="title"><a 
id="_usage_5"></a>Usage</h4></div></div></div><p>This library leverages the <a 
class="ulink" href="http://restlet.org"; target="_top">Restlet library</a>, so 
keep its documentation nearby as well.<
 /p><p>This library expects the client code to build up handlers on how to 
react to resources and errors.
+made in this library.</p><div class="table"><a id="idm5078"></a><p 
class="title"><strong>Table 34. Artifact</strong></p><div 
class="table-contents"><table class="table" summary="Artifact" 
border="1"><colgroup><col class="col_1" /><col class="col_2" /><col 
class="col_3" /></colgroup><thead><tr><th align="left" valign="top">Group 
ID</th><th align="left" valign="top">Artifact ID</th><th align="left" 
valign="top">Version</th></tr></thead><tbody><tr><td align="left" 
valign="top"><p>org.apache.polygene.libraries</p></td><td align="left" 
valign="top"><p>org.apache.polygene.library.rest-client</p></td><td 
align="left" valign="top"><p>0</p></td></tr></tbody></table></div></div><br 
class="table-break" /><div class="section"><div class="titlepage"><div><div><h4 
class="title"><a id="_usage_5"></a>Usage</h4></div></div></div><p>This library 
leverages the <a class="ulink" href="http://restlet.org"; target="_top">Restlet 
library</a>, so keep its documentation nearby as well.</p><p>This library ex
 pects the client code to build up handlers on how to react to resources and 
errors.
 It is a more declarative approach than a typical ReST client application, 
which often isn’t HATEOAS at all, and
 <a class="ulink" 
href="http://roy.gbiv.com/untangled/2008/rest-apis-must-be-hypertext-driven"; 
target="_top">Roy Fielding is upset that ReST now means something else</a> than 
it was originally intended.
-We try to be true to Dr. Fielding’s intentions.</p><div class="section" 
title="Establish Client"><div class="titlepage"><div><div><h5 class="title"><a 
id="_establish_client"></a>Establish Client</h5></div></div></div><p>The first 
thing that must be done is to create a ContextResourceClient.
-Let’s walk through the different steps typically needed.</p><pre 
class="programlisting brush: java">Client client =   new Client( Protocol.HTTP 
);
+We try to be true to Dr. Fielding’s intentions.</p><div class="section"><div 
class="titlepage"><div><div><h5 class="title"><a 
id="_establish_client"></a>Establish Client</h5></div></div></div><p>The first 
thing that must be done is to create a ContextResourceClient.
+Let’s walk through the different steps typically needed.</p><pre 
class="programlisting brush: java">Client client = new Client( Protocol.HTTP );
 
 ContextResourceClientFactory contextResourceClientFactory = 
objectFactory.newObject( ContextResourceClientFactory.class, client );
 contextResourceClientFactory.setAcceptedMediaTypes( MediaType.APPLICATION_JSON 
);
@@ -84,14 +84,16 @@ also set the accepted media type to JSON.</p><p>We then 
create the global handle
     @Override
     public HandlerCommand handleResponse( Response response, 
ContextResourceClient client )
     {
-            if (tried)
-                throw new ResourceException( response.getStatus() );
+        if( tried )
+        {
+            throw new ResourceException( response.getStatus() );
+        }
 
-            tried = true;
-            client.getContextResourceClientFactory().getInfo().setUser( new 
User("rickard", "secret") );
+        tried = true;
+        client.getContextResourceClientFactory().getInfo().setUser( new User( 
"rickard", "secret" ) );
 
-            // Try again
-            return refresh();
+        // Try again
+        return refresh();
     }
 } ).onError( ErrorHandler.RECOVERABLE_ERROR, new ResponseHandler()
 {
@@ -107,8 +109,8 @@ could do a pop-up box instead, have its own cached entries, 
contact a credential
 Specifications and it is possible to implement your own.</p><p>We then simply 
proceed to create the <span 
class="emphasis"><em>ContextResourceClient</em></span>, by giving the factory 
the bookmarkable reference of the
 ReST API.</p><pre class="programlisting brush: java">Reference ref = new 
Reference( "http://localhost:"; + port + '/' );
 crc = contextResourceClientFactory.newClient( ref );
-</pre></div><div class="section" title="Using ContextClientResource"><div 
class="titlepage"><div><div><h5 class="title"><a 
id="_using_contextclientresource"></a>Using 
ContextClientResource</h5></div></div></div><p>Once we have the 
ContextResourceClient, we can proceed with using it.
-The general approach is to register handlers for potential results when 
invoking the method on the ReST resource.</p></div><div class="section" 
title="Query without Value"><div class="titlepage"><div><div><h5 
class="title"><a id="_query_without_value"></a>Query without 
Value</h5></div></div></div><pre class="programlisting brush: 
java">crc.onResource( new ResultHandler&lt;Resource&gt;()
+</pre></div><div class="section"><div class="titlepage"><div><div><h5 
class="title"><a id="_using_contextclientresource"></a>Using 
ContextClientResource</h5></div></div></div><p>Once we have the 
ContextResourceClient, we can proceed with using it.
+The general approach is to register handlers for potential results when 
invoking the method on the ReST resource.</p></div><div class="section"><div 
class="titlepage"><div><div><h5 class="title"><a 
id="_query_without_value"></a>Query without Value</h5></div></div></div><pre 
class="programlisting brush: java">crc.onResource( new 
ResultHandler&lt;Resource&gt;()
 {
     @Override
     public HandlerCommand handleResult( Resource result, ContextResourceClient 
client )
@@ -116,18 +118,18 @@ The general approach is to register handlers for 
potential results when invoking
         return query( "querywithoutvalue" );
     }
 } ).
-onQuery( "querywithoutvalue", new ResultHandler&lt;TestResult&gt;()
-{
-    @Override
-    public HandlerCommand handleResult( TestResult result, 
ContextResourceClient client )
-    {
-        Assert.assertThat( result.xyz().get(), CoreMatchers.equalTo( "bar" ) );
-        return null;
-    }
-} );
+       onQuery( "querywithoutvalue", new ResultHandler&lt;TestResult&gt;()
+       {
+           @Override
+           public HandlerCommand handleResult( TestResult result, 
ContextResourceClient client )
+           {
+               Assert.assertThat( result.xyz().get(), CoreMatchers.equalTo( 
"bar" ) );
+               return null;
+           }
+       } );
 
 crc.start();
-</pre></div><div class="section" title="Query and Command"><div 
class="titlepage"><div><div><h5 class="title"><a 
id="_query_and_command"></a>Query and Command</h5></div></div></div><pre 
class="programlisting brush: java">crc.onResource( new 
ResultHandler&lt;Resource&gt;()
+</pre></div><div class="section"><div class="titlepage"><div><div><h5 
class="title"><a id="_query_and_command"></a>Query and 
Command</h5></div></div></div><pre class="programlisting brush: 
java">crc.onResource( new ResultHandler&lt;Resource&gt;()
 {
     @Override
     public HandlerCommand handleResult( Resource result, ContextResourceClient 
client )
@@ -164,7 +166,7 @@ crc.start();
 } );
 
 crc.start();
-</pre></div><div class="section" title="Query List and Command"><div 
class="titlepage"><div><div><h5 class="title"><a 
id="_query_list_and_command"></a>Query List and 
Command</h5></div></div></div><pre class="programlisting brush: 
java">crc.onResource( new ResultHandler&lt;Resource&gt;()
+</pre></div><div class="section"><div class="titlepage"><div><div><h5 
class="title"><a id="_query_list_and_command"></a>Query List and 
Command</h5></div></div></div><pre class="programlisting brush: 
java">crc.onResource( new ResultHandler&lt;Resource&gt;()
 {
     @Override
     public HandlerCommand handleResult( Resource result, ContextResourceClient 
client )
@@ -191,7 +193,7 @@ crc.start();
 } );
 
 crc.start();
-</pre></div><div class="section" title="Query List and Command 
Progressive"><div class="titlepage"><div><div><h5 class="title"><a 
id="_query_list_and_command_progressive"></a>Query List and Command 
Progressive</h5></div></div></div><pre class="programlisting brush: 
java">crc.onResource( new ResultHandler&lt;Resource&gt;()
+</pre></div><div class="section"><div class="titlepage"><div><div><h5 
class="title"><a id="_query_list_and_command_progressive"></a>Query List and 
Command Progressive</h5></div></div></div><pre class="programlisting brush: 
java">crc.onResource( new ResultHandler&lt;Resource&gt;()
 {
     @Override
     public HandlerCommand handleResult( Resource result, ContextResourceClient 
client )

http://git-wip-us.apache.org/repos/asf/polygene-website/blob/538baaf6/content/java/develop/library-rest-common.html
----------------------------------------------------------------------
diff --git a/content/java/develop/library-rest-common.html 
b/content/java/develop/library-rest-common.html
index 429a672..535bdea 100644
--- a/content/java/develop/library-rest-common.html
+++ b/content/java/develop/library-rest-common.html
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";><html 
xmlns="http://www.w3.org/1999/xhtml";><head><meta http-equiv="Content-Type" 
content="text/html; charset=UTF-8" /><title>ReST Common</title><link 
rel="stylesheet" type="text/css" href="css/style.css" /><meta name="generator" 
content="DocBook XSL Stylesheets V1.76.1" /><link rel="home" href="index.html" 
title="" /><link rel="up" href="libraries.html" title="Libraries" /><link 
rel="prev" href="library-rest-client-primer.html" title="ReST - HATEOAS Primer" 
/><link rel="next" href="library-rest-server.html" title="ReST Server" />
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";><html 
xmlns="http://www.w3.org/1999/xhtml";><head><meta http-equiv="Content-Type" 
content="text/html; charset=UTF-8" /><title>ReST Common</title><link 
rel="stylesheet" type="text/css" href="css/style.css" /><meta name="generator" 
content="DocBook XSL Stylesheets V1.79.1" /><link rel="home" href="index.html" 
title="" /><link rel="up" href="libraries.html" title="Libraries" /><link 
rel="prev" href="library-rest-client-primer.html" title="ReST - HATEOAS Primer" 
/><link rel="next" href="library-rest-server.html" title="ReST Server" />
 
 
 <!-- favicon -->
@@ -66,7 +66,7 @@
   })();
  </script>
 
-  </head><body><div xmlns="" xmlns:exsl="http://exslt.org/common"; 
class="logo"><a href="index.html"><img src="images/logo-standard.png" 
/></a></div><div xmlns="" xmlns:exsl="http://exslt.org/common"; 
class="top-nav"><div xmlns="http://www.w3.org/1999/xhtml"; 
class="toc"><dl><dt><span class="section"><a 
href="index.html#home">Polygene™</a></span></dt><dt><span class="section"><a 
href="intro.html">Introduction</a></span></dt><dt><span class="section"><a 
href="tutorials.html">Tutorials</a></span></dt><dt><span class="section"><a 
href="javadocs.html">Javadoc</a></span></dt><dt><span class="section"><a 
href="samples.html">Samples</a></span></dt><dt><span class="section"><a 
href="core.html">Core</a></span></dt><dt><span class="section"><span xmlns="" 
href="libraries.html">Libraries</span></span></dt><dt><span class="section"><a 
href="extensions.html">Extensions</a></span></dt><dt><span class="section"><a 
href="tools.html">Tools</a></span></dt><dt><span class="section"><a 
href="glossary.ht
 ml">Glossary </a></span></dt></dl></div></div><div xmlns="" 
xmlns:exsl="http://exslt.org/common"; class="sub-nav"><div 
xmlns="http://www.w3.org/1999/xhtml"; class="toc"><dl><dt><span 
class="section"><a 
href="libraries.html#_overview_5">Overview</a></span></dt><dt><span 
class="section"><a href="scripting.html">Scripting</a></span></dt><dt><span 
class="section"><a href="library-alarm.html">Alarms</a></span></dt><dt><span 
class="section"><a href="library-circuitbreaker.html">Circuit 
Breaker</a></span></dt><dt><span class="section"><a 
href="library-constraints.html">Constraints</a></span></dt><dt><span 
class="section"><a 
href="library-fileconfig.html">FileConfig</a></span></dt><dt><span 
class="section"><a href="library-http.html">HTTP</a></span></dt><dt><span 
class="section"><a href="library-invocation-cache.html">Invocation 
Cache</a></span></dt><dt><span class="section"><a 
href="library-jmx.html">JMX</a></span></dt><dt><span class="section"><a 
href="library-locking.html">Locking</a></sp
 an></dt><dt><span class="section"><a 
href="library-logging.html">Logging</a></span></dt><dt><span class="section"><a 
href="library-osgi.html">OSGi</a></span></dt><dt><span class="section"><a 
href="library-rdf.html">RDF</a></span></dt><dt><span class="section"><a 
href="library-rest-client.html">ReST Client</a></span></dt><dt><span 
class="section"><a href="library-rest-client-primer.html">ReST - HATEOAS 
Primer</a></span></dt><dt><span class="section"><span xmlns="" 
href="library-rest-common.html">ReST Common</span></span></dt><dt><span 
class="section"><a href="library-rest-server.html">ReST 
Server</a></span></dt><dt><span class="section"><a 
href="library-restlet.html">Restlet Support</a></span></dt><dt><span 
class="section"><a href="library-servlet.html">Servlet</a></span></dt><dt><span 
class="section"><a href="library-shiro.html">Shiro 
Security</a></span></dt><dt><span class="section"><a 
href="library-shiro-web.html">Shiro Web Security</a></span></dt><dt><span 
class="section"><a href
 ="library-spring.html">Spring Integration</a></span></dt><dt><span 
class="section"><a href="library-sql.html">SQL</a></span></dt><dt><span 
class="section"><a href="library-uid.html">UID</a></span></dt><dt><span 
class="section"><a 
href="library-uowfile.html">UoWFile</a></span></dt></dl></div></div><div 
class="section" title="ReST Common"><div class="titlepage"><div><div><h3 
class="title"><a id="library-rest-common"></a>ReST 
Common</h3></div></div></div><p class="remark"><em><span 
class="comment"></span></em></p><p class="devstatus-code-stable">code</p><p 
class="devstatus-docs-none">docs</p><p 
class="devstatus-tests-none">tests</p><p>ReST Common Library</p><div 
class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 
class="title">Note</h3><p>This Library has no documentation yet. Learn how to 
contribute in <a class="xref" href="community-docs.html" title="Polygene™ 
Documentation">Writing Documentation</a>.</p></div><div class="table"><a 
id="idm229754318528"></
 a><p class="title"><strong>Table 35. Artifact</strong></p><div 
class="table-contents"><table summary="Artifact" border="1"><colgroup><col 
class="col_1" /><col class="col_2" /><col class="col_3" 
/></colgroup><thead><tr><th align="left" valign="top">Group ID</th><th 
align="left" valign="top">Artifact ID</th><th align="left" 
valign="top">Version</th></tr></thead><tbody><tr><td align="left" 
valign="top"><p>org.apache.polygene.libraries</p></td><td align="left" 
valign="top"><p>org.apache.polygene.library.rest-common</p></td><td 
align="left" 
valign="top"><p>3.1.0-SNAPSHOT</p></td></tr></tbody></table></div></div><br 
class="table-break" /></div><div xmlns="" xmlns:exsl="http://exslt.org/common"; 
class="footer"><p>
+  </head><body><div xmlns="" xmlns:exsl="http://exslt.org/common"; 
class="logo"><a href="index.html"><img src="images/logo-standard.png" 
style="width:80%;height:80%; padding-top:20px;" /></a></div><div xmlns="" 
xmlns:exsl="http://exslt.org/common"; class="top-nav"><div 
xmlns="http://www.w3.org/1999/xhtml"; class="toc"><dl class="toc"><dt><span 
class="section"><a href="index.html#home">Polygene™</a></span></dt><dt><span 
class="section"><a href="intro.html">Introduction</a></span></dt><dt><span 
class="section"><a href="tutorials.html">Tutorials</a></span></dt><dt><span 
class="section"><a href="javadocs.html">Javadoc</a></span></dt><dt><span 
class="section"><a href="samples.html">Samples</a></span></dt><dt><span 
class="section"><a href="core.html">Core</a></span></dt><dt><span 
class="section"><span xmlns="" 
href="libraries.html">Libraries</span></span></dt><dt><span class="section"><a 
href="extensions.html">Extensions</a></span></dt><dt><span class="section"><a 
href="tools.html">Tools</
 a></span></dt><dt><span class="section"><a href="glossary.html">Glossary 
</a></span></dt></dl></div></div><div xmlns="" 
xmlns:exsl="http://exslt.org/common"; class="sub-nav"><div 
xmlns="http://www.w3.org/1999/xhtml"; class="toc"><dl class="toc"><dt><span 
class="section"><a 
href="libraries.html#_overview_5">Overview</a></span></dt><dt><span 
class="section"><a href="scripting.html">Scripting</a></span></dt><dt><span 
class="section"><a href="library-alarm.html">Alarms</a></span></dt><dt><span 
class="section"><a href="library-circuitbreaker.html">Circuit 
Breaker</a></span></dt><dt><span class="section"><a 
href="library-constraints.html">Constraints</a></span></dt><dt><span 
class="section"><a 
href="library-fileconfig.html">FileConfig</a></span></dt><dt><span 
class="section"><a href="library-http.html">HTTP</a></span></dt><dt><span 
class="section"><a href="library-invocation-cache.html">Invocation 
Cache</a></span></dt><dt><span class="section"><a 
href="library-jmx.html">JMX</a></span></dt>
 <dt><span class="section"><a 
href="library-locking.html">Locking</a></span></dt><dt><span class="section"><a 
href="library-logging.html">Logging</a></span></dt><dt><span class="section"><a 
href="library-osgi.html">OSGi</a></span></dt><dt><span class="section"><a 
href="library-rdf.html">RDF</a></span></dt><dt><span class="section"><a 
href="library-rest-client.html">ReST Client</a></span></dt><dt><span 
class="section"><a href="library-rest-client-primer.html">ReST - HATEOAS 
Primer</a></span></dt><dt><span class="section"><span xmlns="" 
href="library-rest-common.html">ReST Common</span></span></dt><dt><span 
class="section"><a href="library-rest-server.html">ReST 
Server</a></span></dt><dt><span class="section"><a 
href="library-servlet.html">Servlet</a></span></dt><dt><span class="section"><a 
href="library-shiro.html">Shiro Security</a></span></dt><dt><span 
class="section"><a href="library-shiro-web.html">Shiro Web 
Security</a></span></dt><dt><span class="section"><a href="library-spring
 .html">Spring Integration</a></span></dt><dt><span class="section"><a 
href="library-sql.html">SQL</a></span></dt><dt><span class="section"><a 
href="library-uid.html">UID</a></span></dt><dt><span class="section"><a 
href="library-uowfile.html">UoWFile</a></span></dt></dl></div></div><div 
class="section"><div class="titlepage"><div><div><h3 class="title"><a 
id="library-rest-common"></a>ReST Common</h3></div></div></div><p 
class="remark"><em><span class="comment"></span></em></p><p 
class="devstatus-code-stable">code</p><p class="devstatus-docs-none">docs</p><p 
class="devstatus-tests-none">tests</p><p>ReST Common Library</p><div 
class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 
class="title">Note</h3><p>This Library has no documentation yet. Learn how to 
contribute in <a class="xref" href="community-docs.html" title="Polygene™ 
Documentation">Writing Documentation</a>.</p></div><div class="table"><a 
id="idm5161"></a><p class="title"><strong>Table 35. Artifact</strong><
 /p><div class="table-contents"><table class="table" summary="Artifact" 
border="1"><colgroup><col class="col_1" /><col class="col_2" /><col 
class="col_3" /></colgroup><thead><tr><th align="left" valign="top">Group 
ID</th><th align="left" valign="top">Artifact ID</th><th align="left" 
valign="top">Version</th></tr></thead><tbody><tr><td align="left" 
valign="top"><p>org.apache.polygene.libraries</p></td><td align="left" 
valign="top"><p>org.apache.polygene.library.rest-common</p></td><td 
align="left" valign="top"><p>0</p></td></tr></tbody></table></div></div><br 
class="table-break" /></div><div xmlns="" xmlns:exsl="http://exslt.org/common"; 
class="footer"><p>
         Copyright © 2015 The Apache Software Foundation, Licensed under the 
<a href="http://www.apache.org/licenses/"; target="_blank">Apache License, 
Version 2.0</a>.
         <br /><small>
             Apache Polygene, Polygene, Apache, the Apache feather logo, and 
the Apache Polygene project logo are trademarks of The Apache Software 
Foundation.<br />

http://git-wip-us.apache.org/repos/asf/polygene-website/blob/538baaf6/content/java/develop/library-rest-server.html
----------------------------------------------------------------------
diff --git a/content/java/develop/library-rest-server.html 
b/content/java/develop/library-rest-server.html
index 944cd48..36beb2d 100644
--- a/content/java/develop/library-rest-server.html
+++ b/content/java/develop/library-rest-server.html
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";><html 
xmlns="http://www.w3.org/1999/xhtml";><head><meta http-equiv="Content-Type" 
content="text/html; charset=UTF-8" /><title>ReST Server</title><link 
rel="stylesheet" type="text/css" href="css/style.css" /><meta name="generator" 
content="DocBook XSL Stylesheets V1.76.1" /><link rel="home" href="index.html" 
title="" /><link rel="up" href="libraries.html" title="Libraries" /><link 
rel="prev" href="library-rest-common.html" title="ReST Common" /><link 
rel="next" href="library-restlet.html" title="Restlet Support" />
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";><html 
xmlns="http://www.w3.org/1999/xhtml";><head><meta http-equiv="Content-Type" 
content="text/html; charset=UTF-8" /><title>ReST Server</title><link 
rel="stylesheet" type="text/css" href="css/style.css" /><meta name="generator" 
content="DocBook XSL Stylesheets V1.79.1" /><link rel="home" href="index.html" 
title="" /><link rel="up" href="libraries.html" title="Libraries" /><link 
rel="prev" href="library-rest-common.html" title="ReST Common" /><link 
rel="next" href="library-servlet.html" title="Servlet" />
 
 
 <!-- favicon -->
@@ -66,7 +66,7 @@
   })();
  </script>
 
-  </head><body><div xmlns="" xmlns:exsl="http://exslt.org/common"; 
class="logo"><a href="index.html"><img src="images/logo-standard.png" 
/></a></div><div xmlns="" xmlns:exsl="http://exslt.org/common"; 
class="top-nav"><div xmlns="http://www.w3.org/1999/xhtml"; 
class="toc"><dl><dt><span class="section"><a 
href="index.html#home">Polygene™</a></span></dt><dt><span class="section"><a 
href="intro.html">Introduction</a></span></dt><dt><span class="section"><a 
href="tutorials.html">Tutorials</a></span></dt><dt><span class="section"><a 
href="javadocs.html">Javadoc</a></span></dt><dt><span class="section"><a 
href="samples.html">Samples</a></span></dt><dt><span class="section"><a 
href="core.html">Core</a></span></dt><dt><span class="section"><span xmlns="" 
href="libraries.html">Libraries</span></span></dt><dt><span class="section"><a 
href="extensions.html">Extensions</a></span></dt><dt><span class="section"><a 
href="tools.html">Tools</a></span></dt><dt><span class="section"><a 
href="glossary.ht
 ml">Glossary </a></span></dt></dl></div></div><div xmlns="" 
xmlns:exsl="http://exslt.org/common"; class="sub-nav"><div 
xmlns="http://www.w3.org/1999/xhtml"; class="toc"><dl><dt><span 
class="section"><a 
href="libraries.html#_overview_5">Overview</a></span></dt><dt><span 
class="section"><a href="scripting.html">Scripting</a></span></dt><dt><span 
class="section"><a href="library-alarm.html">Alarms</a></span></dt><dt><span 
class="section"><a href="library-circuitbreaker.html">Circuit 
Breaker</a></span></dt><dt><span class="section"><a 
href="library-constraints.html">Constraints</a></span></dt><dt><span 
class="section"><a 
href="library-fileconfig.html">FileConfig</a></span></dt><dt><span 
class="section"><a href="library-http.html">HTTP</a></span></dt><dt><span 
class="section"><a href="library-invocation-cache.html">Invocation 
Cache</a></span></dt><dt><span class="section"><a 
href="library-jmx.html">JMX</a></span></dt><dt><span class="section"><a 
href="library-locking.html">Locking</a></sp
 an></dt><dt><span class="section"><a 
href="library-logging.html">Logging</a></span></dt><dt><span class="section"><a 
href="library-osgi.html">OSGi</a></span></dt><dt><span class="section"><a 
href="library-rdf.html">RDF</a></span></dt><dt><span class="section"><a 
href="library-rest-client.html">ReST Client</a></span></dt><dt><span 
class="section"><a href="library-rest-client-primer.html">ReST - HATEOAS 
Primer</a></span></dt><dt><span class="section"><a 
href="library-rest-common.html">ReST Common</a></span></dt><dt><span 
class="section"><span xmlns="" href="library-rest-server.html">ReST 
Server</span></span></dt><dt><span class="section"><a 
href="library-restlet.html">Restlet Support</a></span></dt><dt><span 
class="section"><a href="library-servlet.html">Servlet</a></span></dt><dt><span 
class="section"><a href="library-shiro.html">Shiro 
Security</a></span></dt><dt><span class="section"><a 
href="library-shiro-web.html">Shiro Web Security</a></span></dt><dt><span 
class="section"><a href
 ="library-spring.html">Spring Integration</a></span></dt><dt><span 
class="section"><a href="library-sql.html">SQL</a></span></dt><dt><span 
class="section"><a href="library-uid.html">UID</a></span></dt><dt><span 
class="section"><a 
href="library-uowfile.html">UoWFile</a></span></dt></dl></div></div><div 
class="section" title="ReST Server"><div class="titlepage"><div><div><h3 
class="title"><a id="library-rest-server"></a>ReST 
Server</h3></div></div></div><p class="remark"><em><span 
class="comment"></span></em></p><p class="devstatus-code-stable">code</p><p 
class="devstatus-docs-none">docs</p><p 
class="devstatus-tests-none">tests</p><p>ReST Server Library</p><div 
class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 
class="title">Note</h3><p>This Library has no documentation yet. Learn how to 
contribute in <a class="xref" href="community-docs.html" title="Polygene™ 
Documentation">Writing Documentation</a>.</p></div><div class="table"><a 
id="idm229754301792"></
 a><p class="title"><strong>Table 36. Artifact</strong></p><div 
class="table-contents"><table summary="Artifact" border="1"><colgroup><col 
class="col_1" /><col class="col_2" /><col class="col_3" 
/></colgroup><thead><tr><th align="left" valign="top">Group ID</th><th 
align="left" valign="top">Artifact ID</th><th align="left" 
valign="top">Version</th></tr></thead><tbody><tr><td align="left" 
valign="top"><p>org.apache.polygene.libraries</p></td><td align="left" 
valign="top"><p>org.apache.polygene.library.rest-server</p></td><td 
align="left" 
valign="top"><p>3.1.0-SNAPSHOT</p></td></tr></tbody></table></div></div><br 
class="table-break" /></div><div xmlns="" xmlns:exsl="http://exslt.org/common"; 
class="footer"><p>
+  </head><body><div xmlns="" xmlns:exsl="http://exslt.org/common"; 
class="logo"><a href="index.html"><img src="images/logo-standard.png" 
style="width:80%;height:80%; padding-top:20px;" /></a></div><div xmlns="" 
xmlns:exsl="http://exslt.org/common"; class="top-nav"><div 
xmlns="http://www.w3.org/1999/xhtml"; class="toc"><dl class="toc"><dt><span 
class="section"><a href="index.html#home">Polygene™</a></span></dt><dt><span 
class="section"><a href="intro.html">Introduction</a></span></dt><dt><span 
class="section"><a href="tutorials.html">Tutorials</a></span></dt><dt><span 
class="section"><a href="javadocs.html">Javadoc</a></span></dt><dt><span 
class="section"><a href="samples.html">Samples</a></span></dt><dt><span 
class="section"><a href="core.html">Core</a></span></dt><dt><span 
class="section"><span xmlns="" 
href="libraries.html">Libraries</span></span></dt><dt><span class="section"><a 
href="extensions.html">Extensions</a></span></dt><dt><span class="section"><a 
href="tools.html">Tools</
 a></span></dt><dt><span class="section"><a href="glossary.html">Glossary 
</a></span></dt></dl></div></div><div xmlns="" 
xmlns:exsl="http://exslt.org/common"; class="sub-nav"><div 
xmlns="http://www.w3.org/1999/xhtml"; class="toc"><dl class="toc"><dt><span 
class="section"><a 
href="libraries.html#_overview_5">Overview</a></span></dt><dt><span 
class="section"><a href="scripting.html">Scripting</a></span></dt><dt><span 
class="section"><a href="library-alarm.html">Alarms</a></span></dt><dt><span 
class="section"><a href="library-circuitbreaker.html">Circuit 
Breaker</a></span></dt><dt><span class="section"><a 
href="library-constraints.html">Constraints</a></span></dt><dt><span 
class="section"><a 
href="library-fileconfig.html">FileConfig</a></span></dt><dt><span 
class="section"><a href="library-http.html">HTTP</a></span></dt><dt><span 
class="section"><a href="library-invocation-cache.html">Invocation 
Cache</a></span></dt><dt><span class="section"><a 
href="library-jmx.html">JMX</a></span></dt>
 <dt><span class="section"><a 
href="library-locking.html">Locking</a></span></dt><dt><span class="section"><a 
href="library-logging.html">Logging</a></span></dt><dt><span class="section"><a 
href="library-osgi.html">OSGi</a></span></dt><dt><span class="section"><a 
href="library-rdf.html">RDF</a></span></dt><dt><span class="section"><a 
href="library-rest-client.html">ReST Client</a></span></dt><dt><span 
class="section"><a href="library-rest-client-primer.html">ReST - HATEOAS 
Primer</a></span></dt><dt><span class="section"><a 
href="library-rest-common.html">ReST Common</a></span></dt><dt><span 
class="section"><span xmlns="" href="library-rest-server.html">ReST 
Server</span></span></dt><dt><span class="section"><a 
href="library-servlet.html">Servlet</a></span></dt><dt><span class="section"><a 
href="library-shiro.html">Shiro Security</a></span></dt><dt><span 
class="section"><a href="library-shiro-web.html">Shiro Web 
Security</a></span></dt><dt><span class="section"><a href="library-spring
 .html">Spring Integration</a></span></dt><dt><span class="section"><a 
href="library-sql.html">SQL</a></span></dt><dt><span class="section"><a 
href="library-uid.html">UID</a></span></dt><dt><span class="section"><a 
href="library-uowfile.html">UoWFile</a></span></dt></dl></div></div><div 
class="section"><div class="titlepage"><div><div><h3 class="title"><a 
id="library-rest-server"></a>ReST Server</h3></div></div></div><p 
class="remark"><em><span class="comment"></span></em></p><p 
class="devstatus-code-stable">code</p><p class="devstatus-docs-none">docs</p><p 
class="devstatus-tests-none">tests</p><p>ReST Server Library</p><div 
class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 
class="title">Note</h3><p>This Library has no documentation yet. Learn how to 
contribute in <a class="xref" href="community-docs.html" title="Polygene™ 
Documentation">Writing Documentation</a>.</p></div><div class="table"><a 
id="idm5190"></a><p class="title"><strong>Table 36. Artifact</strong><
 /p><div class="table-contents"><table class="table" summary="Artifact" 
border="1"><colgroup><col class="col_1" /><col class="col_2" /><col 
class="col_3" /></colgroup><thead><tr><th align="left" valign="top">Group 
ID</th><th align="left" valign="top">Artifact ID</th><th align="left" 
valign="top">Version</th></tr></thead><tbody><tr><td align="left" 
valign="top"><p>org.apache.polygene.libraries</p></td><td align="left" 
valign="top"><p>org.apache.polygene.library.rest-server</p></td><td 
align="left" valign="top"><p>0</p></td></tr></tbody></table></div></div><br 
class="table-break" /></div><div xmlns="" xmlns:exsl="http://exslt.org/common"; 
class="footer"><p>
         Copyright © 2015 The Apache Software Foundation, Licensed under the 
<a href="http://www.apache.org/licenses/"; target="_blank">Apache License, 
Version 2.0</a>.
         <br /><small>
             Apache Polygene, Polygene, Apache, the Apache feather logo, and 
the Apache Polygene project logo are trademarks of The Apache Software 
Foundation.<br />

http://git-wip-us.apache.org/repos/asf/polygene-website/blob/538baaf6/content/java/develop/library-servlet.html
----------------------------------------------------------------------
diff --git a/content/java/develop/library-servlet.html 
b/content/java/develop/library-servlet.html
index 57e2a29..5f95bef 100644
--- a/content/java/develop/library-servlet.html
+++ b/content/java/develop/library-servlet.html
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";><html 
xmlns="http://www.w3.org/1999/xhtml";><head><meta http-equiv="Content-Type" 
content="text/html; charset=UTF-8" /><title>Servlet</title><link 
rel="stylesheet" type="text/css" href="css/style.css" /><meta name="generator" 
content="DocBook XSL Stylesheets V1.76.1" /><link rel="home" href="index.html" 
title="" /><link rel="up" href="libraries.html" title="Libraries" /><link 
rel="prev" href="library-restlet.html" title="Restlet Support" /><link 
rel="next" href="library-shiro.html" title="Shiro Security" />
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";><html 
xmlns="http://www.w3.org/1999/xhtml";><head><meta http-equiv="Content-Type" 
content="text/html; charset=UTF-8" /><title>Servlet</title><link 
rel="stylesheet" type="text/css" href="css/style.css" /><meta name="generator" 
content="DocBook XSL Stylesheets V1.79.1" /><link rel="home" href="index.html" 
title="" /><link rel="up" href="libraries.html" title="Libraries" /><link 
rel="prev" href="library-rest-server.html" title="ReST Server" /><link 
rel="next" href="library-shiro.html" title="Shiro Security" />
 
 
 <!-- favicon -->
@@ -66,8 +66,8 @@
   })();
  </script>
 
-  </head><body><div xmlns="" xmlns:exsl="http://exslt.org/common"; 
class="logo"><a href="index.html"><img src="images/logo-standard.png" 
/></a></div><div xmlns="" xmlns:exsl="http://exslt.org/common"; 
class="top-nav"><div xmlns="http://www.w3.org/1999/xhtml"; 
class="toc"><dl><dt><span class="section"><a 
href="index.html#home">Polygene™</a></span></dt><dt><span class="section"><a 
href="intro.html">Introduction</a></span></dt><dt><span class="section"><a 
href="tutorials.html">Tutorials</a></span></dt><dt><span class="section"><a 
href="javadocs.html">Javadoc</a></span></dt><dt><span class="section"><a 
href="samples.html">Samples</a></span></dt><dt><span class="section"><a 
href="core.html">Core</a></span></dt><dt><span class="section"><span xmlns="" 
href="libraries.html">Libraries</span></span></dt><dt><span class="section"><a 
href="extensions.html">Extensions</a></span></dt><dt><span class="section"><a 
href="tools.html">Tools</a></span></dt><dt><span class="section"><a 
href="glossary.ht
 ml">Glossary </a></span></dt></dl></div></div><div xmlns="" 
xmlns:exsl="http://exslt.org/common"; class="sub-nav"><div 
xmlns="http://www.w3.org/1999/xhtml"; class="toc"><dl><dt><span 
class="section"><a 
href="libraries.html#_overview_5">Overview</a></span></dt><dt><span 
class="section"><a href="scripting.html">Scripting</a></span></dt><dt><span 
class="section"><a href="library-alarm.html">Alarms</a></span></dt><dt><span 
class="section"><a href="library-circuitbreaker.html">Circuit 
Breaker</a></span></dt><dt><span class="section"><a 
href="library-constraints.html">Constraints</a></span></dt><dt><span 
class="section"><a 
href="library-fileconfig.html">FileConfig</a></span></dt><dt><span 
class="section"><a href="library-http.html">HTTP</a></span></dt><dt><span 
class="section"><a href="library-invocation-cache.html">Invocation 
Cache</a></span></dt><dt><span class="section"><a 
href="library-jmx.html">JMX</a></span></dt><dt><span class="section"><a 
href="library-locking.html">Locking</a></sp
 an></dt><dt><span class="section"><a 
href="library-logging.html">Logging</a></span></dt><dt><span class="section"><a 
href="library-osgi.html">OSGi</a></span></dt><dt><span class="section"><a 
href="library-rdf.html">RDF</a></span></dt><dt><span class="section"><a 
href="library-rest-client.html">ReST Client</a></span></dt><dt><span 
class="section"><a href="library-rest-client-primer.html">ReST - HATEOAS 
Primer</a></span></dt><dt><span class="section"><a 
href="library-rest-common.html">ReST Common</a></span></dt><dt><span 
class="section"><a href="library-rest-server.html">ReST 
Server</a></span></dt><dt><span class="section"><a 
href="library-restlet.html">Restlet Support</a></span></dt><dt><span 
class="section"><span xmlns="" 
href="library-servlet.html">Servlet</span></span></dt><dt><span 
class="section"><a href="library-shiro.html">Shiro 
Security</a></span></dt><dt><span class="section"><a 
href="library-shiro-web.html">Shiro Web Security</a></span></dt><dt><span 
class="section"><a href
 ="library-spring.html">Spring Integration</a></span></dt><dt><span 
class="section"><a href="library-sql.html">SQL</a></span></dt><dt><span 
class="section"><a href="library-uid.html">UID</a></span></dt><dt><span 
class="section"><a 
href="library-uowfile.html">UoWFile</a></span></dt></dl></div></div><div 
class="section" title="Servlet"><div class="titlepage"><div><div><h3 
class="title"><a id="library-servlet"></a>Servlet</h3></div></div></div><p 
class="remark"><em><span class="comment"></span></em></p><p 
class="devstatus-code-stable">code</p><p class="devstatus-docs-good">docs</p><p 
class="devstatus-tests-good">tests</p><p>This library provide the necessary 
boilerplate code to bootstrap a Polygene™ Application in a Servlet container 
plus some
-facilities. It aims at a very simple need and is provided as an example 
integration.</p><p>If instead you want to run a servlet container inside a 
Polygene™ Application, see <a class="xref" href="library-http.html" 
title="HTTP"> HTTP Library</a>.</p><div class="table"><a 
id="idm229754259168"></a><p class="title"><strong>Table 38. 
Artifact</strong></p><div class="table-contents"><table summary="Artifact" 
border="1"><colgroup><col class="col_1" /><col class="col_2" /><col 
class="col_3" /></colgroup><thead><tr><th align="left" valign="top">Group 
ID</th><th align="left" valign="top">Artifact ID</th><th align="left" 
valign="top">Version</th></tr></thead><tbody><tr><td align="left" 
valign="top"><p>org.apache.polygene.libraries</p></td><td align="left" 
valign="top"><p>org.apache.polygene.library.servlet</p></td><td align="left" 
valign="top"><p>3.1.0-SNAPSHOT</p></td></tr></tbody></table></div></div><br 
class="table-break" /><div class="section" title="Application Bootstrap"><div 
class=
 "titlepage"><div><div><h4 class="title"><a 
id="_application_bootstrap"></a>Application 
Bootstrap</h4></div></div></div><p>Extends <code 
class="literal">AbstractPolygeneServletBootstrap</code> to easily bind a 
Polygene™ <code class="literal">Application</code> activation/passivation to 
your webapp
+  </head><body><div xmlns="" xmlns:exsl="http://exslt.org/common"; 
class="logo"><a href="index.html"><img src="images/logo-standard.png" 
style="width:80%;height:80%; padding-top:20px;" /></a></div><div xmlns="" 
xmlns:exsl="http://exslt.org/common"; class="top-nav"><div 
xmlns="http://www.w3.org/1999/xhtml"; class="toc"><dl class="toc"><dt><span 
class="section"><a href="index.html#home">Polygene™</a></span></dt><dt><span 
class="section"><a href="intro.html">Introduction</a></span></dt><dt><span 
class="section"><a href="tutorials.html">Tutorials</a></span></dt><dt><span 
class="section"><a href="javadocs.html">Javadoc</a></span></dt><dt><span 
class="section"><a href="samples.html">Samples</a></span></dt><dt><span 
class="section"><a href="core.html">Core</a></span></dt><dt><span 
class="section"><span xmlns="" 
href="libraries.html">Libraries</span></span></dt><dt><span class="section"><a 
href="extensions.html">Extensions</a></span></dt><dt><span class="section"><a 
href="tools.html">Tools</
 a></span></dt><dt><span class="section"><a href="glossary.html">Glossary 
</a></span></dt></dl></div></div><div xmlns="" 
xmlns:exsl="http://exslt.org/common"; class="sub-nav"><div 
xmlns="http://www.w3.org/1999/xhtml"; class="toc"><dl class="toc"><dt><span 
class="section"><a 
href="libraries.html#_overview_5">Overview</a></span></dt><dt><span 
class="section"><a href="scripting.html">Scripting</a></span></dt><dt><span 
class="section"><a href="library-alarm.html">Alarms</a></span></dt><dt><span 
class="section"><a href="library-circuitbreaker.html">Circuit 
Breaker</a></span></dt><dt><span class="section"><a 
href="library-constraints.html">Constraints</a></span></dt><dt><span 
class="section"><a 
href="library-fileconfig.html">FileConfig</a></span></dt><dt><span 
class="section"><a href="library-http.html">HTTP</a></span></dt><dt><span 
class="section"><a href="library-invocation-cache.html">Invocation 
Cache</a></span></dt><dt><span class="section"><a 
href="library-jmx.html">JMX</a></span></dt>
 <dt><span class="section"><a 
href="library-locking.html">Locking</a></span></dt><dt><span class="section"><a 
href="library-logging.html">Logging</a></span></dt><dt><span class="section"><a 
href="library-osgi.html">OSGi</a></span></dt><dt><span class="section"><a 
href="library-rdf.html">RDF</a></span></dt><dt><span class="section"><a 
href="library-rest-client.html">ReST Client</a></span></dt><dt><span 
class="section"><a href="library-rest-client-primer.html">ReST - HATEOAS 
Primer</a></span></dt><dt><span class="section"><a 
href="library-rest-common.html">ReST Common</a></span></dt><dt><span 
class="section"><a href="library-rest-server.html">ReST 
Server</a></span></dt><dt><span class="section"><span xmlns="" 
href="library-servlet.html">Servlet</span></span></dt><dt><span 
class="section"><a href="library-shiro.html">Shiro 
Security</a></span></dt><dt><span class="section"><a 
href="library-shiro-web.html">Shiro Web Security</a></span></dt><dt><span 
class="section"><a href="library-spring
 .html">Spring Integration</a></span></dt><dt><span class="section"><a 
href="library-sql.html">SQL</a></span></dt><dt><span class="section"><a 
href="library-uid.html">UID</a></span></dt><dt><span class="section"><a 
href="library-uowfile.html">UoWFile</a></span></dt></dl></div></div><div 
class="section"><div class="titlepage"><div><div><h3 class="title"><a 
id="library-servlet"></a>Servlet</h3></div></div></div><p 
class="remark"><em><span class="comment"></span></em></p><p 
class="devstatus-code-stable">code</p><p class="devstatus-docs-good">docs</p><p 
class="devstatus-tests-good">tests</p><p>This library provide the necessary 
boilerplate code to bootstrap a Polygene™ Application in a Servlet container 
plus some
+facilities. It aims at a very simple need and is provided as an example 
integration.</p><p>If instead you want to run a servlet container inside a 
Polygene™ Application, see <a class="xref" href="library-http.html" 
title="HTTP"> HTTP Library</a>.</p><div class="table"><a id="idm5218"></a><p 
class="title"><strong>Table 37. Artifact</strong></p><div 
class="table-contents"><table class="table" summary="Artifact" 
border="1"><colgroup><col class="col_1" /><col class="col_2" /><col 
class="col_3" /></colgroup><thead><tr><th align="left" valign="top">Group 
ID</th><th align="left" valign="top">Artifact ID</th><th align="left" 
valign="top">Version</th></tr></thead><tbody><tr><td align="left" 
valign="top"><p>org.apache.polygene.libraries</p></td><td align="left" 
valign="top"><p>org.apache.polygene.library.servlet</p></td><td align="left" 
valign="top"><p>0</p></td></tr></tbody></table></div></div><br 
class="table-break" /><div class="section"><div class="titlepage"><div><div><h4 
class="titl
 e"><a id="_application_bootstrap"></a>Application 
Bootstrap</h4></div></div></div><p>Extends <code 
class="literal">AbstractPolygeneServletBootstrap</code> to easily bind a 
Polygene™ <code class="literal">Application</code> activation/passivation to 
your webapp
 lifecycle.</p><p>Use <code 
class="literal">PolygeneServletSupport#application(javax.servlet.ServletContext)</code>
 to get a handle on the <code class="literal">Application</code> from the
 <code class="literal">ServletContext</code>.</p><p>Here is an example 
ServletContextListener:</p><pre class="programlisting brush: java">public 
static class FooServletContextListener
         extends AbstractPolygeneServletBootstrap
@@ -83,7 +83,7 @@ lifecycle.</p><p>Use <code 
class="literal">PolygeneServletSupport#application(ja
     }
 
 }
-</pre></div><div class="section" title="Facilities"><div 
class="titlepage"><div><div><h4 class="title"><a 
id="_facilities"></a>Facilities</h4></div></div></div><p><code 
class="literal">PolygeneServlet</code> and <code 
class="literal">PolygeneFilter</code> respectively provide base class for easy 
access to the <code class="literal">Application</code> from the
+</pre></div><div class="section"><div class="titlepage"><div><div><h4 
class="title"><a id="_facilities"></a>Facilities</h4></div></div></div><p><code 
class="literal">PolygeneServlet</code> and <code 
class="literal">PolygeneFilter</code> respectively provide base class for easy 
access to the <code class="literal">Application</code> from the
 <code class="literal">ServletContext</code>.</p><p>Here is a sample servlet 
that simply output the assembled Application name:</p><pre 
class="programlisting brush: java">public static class FooServlet
         extends PolygeneServlet
 {
@@ -97,7 +97,7 @@ lifecycle.</p><p>Use <code 
class="literal">PolygeneServletSupport#application(ja
     }
 
 }
-</pre></div><div class="section" title="Logging"><div 
class="titlepage"><div><div><h4 class="title"><a 
id="_logging_2"></a>Logging</h4></div></div></div><p>The SLF4J logger used by 
this library is named 
"org.apache.polygene.library.servlet".</p></div></div><div xmlns="" 
xmlns:exsl="http://exslt.org/common"; class="footer"><p>
+</pre></div><div class="section"><div class="titlepage"><div><div><h4 
class="title"><a id="_logging_2"></a>Logging</h4></div></div></div><p>The SLF4J 
logger used by this library is named 
"org.apache.polygene.library.servlet".</p></div></div><div xmlns="" 
xmlns:exsl="http://exslt.org/common"; class="footer"><p>
         Copyright © 2015 The Apache Software Foundation, Licensed under the 
<a href="http://www.apache.org/licenses/"; target="_blank">Apache License, 
Version 2.0</a>.
         <br /><small>
             Apache Polygene, Polygene, Apache, the Apache feather logo, and 
the Apache Polygene project logo are trademarks of The Apache Software 
Foundation.<br />

http://git-wip-us.apache.org/repos/asf/polygene-website/blob/538baaf6/content/java/develop/library-shiro-web.html
----------------------------------------------------------------------
diff --git a/content/java/develop/library-shiro-web.html 
b/content/java/develop/library-shiro-web.html
index ed446a5..a240fcf 100644
--- a/content/java/develop/library-shiro-web.html
+++ b/content/java/develop/library-shiro-web.html
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";><html 
xmlns="http://www.w3.org/1999/xhtml";><head><meta http-equiv="Content-Type" 
content="text/html; charset=UTF-8" /><title>Shiro Web Security</title><link 
rel="stylesheet" type="text/css" href="css/style.css" /><meta name="generator" 
content="DocBook XSL Stylesheets V1.76.1" /><link rel="home" href="index.html" 
title="" /><link rel="up" href="libraries.html" title="Libraries" /><link 
rel="prev" href="library-shiro.html" title="Shiro Security" /><link rel="next" 
href="library-spring.html" title="Spring Integration" />
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";><html 
xmlns="http://www.w3.org/1999/xhtml";><head><meta http-equiv="Content-Type" 
content="text/html; charset=UTF-8" /><title>Shiro Web Security</title><link 
rel="stylesheet" type="text/css" href="css/style.css" /><meta name="generator" 
content="DocBook XSL Stylesheets V1.79.1" /><link rel="home" href="index.html" 
title="" /><link rel="up" href="libraries.html" title="Libraries" /><link 
rel="prev" href="library-shiro.html" title="Shiro Security" /><link rel="next" 
href="library-spring.html" title="Spring Integration" />
 
 
 <!-- favicon -->
@@ -66,12 +66,12 @@
   })();
  </script>
 
-  </head><body><div xmlns="" xmlns:exsl="http://exslt.org/common"; 
class="logo"><a href="index.html"><img src="images/logo-standard.png" 
/></a></div><div xmlns="" xmlns:exsl="http://exslt.org/common"; 
class="top-nav"><div xmlns="http://www.w3.org/1999/xhtml"; 
class="toc"><dl><dt><span class="section"><a 
href="index.html#home">Polygene™</a></span></dt><dt><span class="section"><a 
href="intro.html">Introduction</a></span></dt><dt><span class="section"><a 
href="tutorials.html">Tutorials</a></span></dt><dt><span class="section"><a 
href="javadocs.html">Javadoc</a></span></dt><dt><span class="section"><a 
href="samples.html">Samples</a></span></dt><dt><span class="section"><a 
href="core.html">Core</a></span></dt><dt><span class="section"><span xmlns="" 
href="libraries.html">Libraries</span></span></dt><dt><span class="section"><a 
href="extensions.html">Extensions</a></span></dt><dt><span class="section"><a 
href="tools.html">Tools</a></span></dt><dt><span class="section"><a 
href="glossary.ht
 ml">Glossary </a></span></dt></dl></div></div><div xmlns="" 
xmlns:exsl="http://exslt.org/common"; class="sub-nav"><div 
xmlns="http://www.w3.org/1999/xhtml"; class="toc"><dl><dt><span 
class="section"><a 
href="libraries.html#_overview_5">Overview</a></span></dt><dt><span 
class="section"><a href="scripting.html">Scripting</a></span></dt><dt><span 
class="section"><a href="library-alarm.html">Alarms</a></span></dt><dt><span 
class="section"><a href="library-circuitbreaker.html">Circuit 
Breaker</a></span></dt><dt><span class="section"><a 
href="library-constraints.html">Constraints</a></span></dt><dt><span 
class="section"><a 
href="library-fileconfig.html">FileConfig</a></span></dt><dt><span 
class="section"><a href="library-http.html">HTTP</a></span></dt><dt><span 
class="section"><a href="library-invocation-cache.html">Invocation 
Cache</a></span></dt><dt><span class="section"><a 
href="library-jmx.html">JMX</a></span></dt><dt><span class="section"><a 
href="library-locking.html">Locking</a></sp
 an></dt><dt><span class="section"><a 
href="library-logging.html">Logging</a></span></dt><dt><span class="section"><a 
href="library-osgi.html">OSGi</a></span></dt><dt><span class="section"><a 
href="library-rdf.html">RDF</a></span></dt><dt><span class="section"><a 
href="library-rest-client.html">ReST Client</a></span></dt><dt><span 
class="section"><a href="library-rest-client-primer.html">ReST - HATEOAS 
Primer</a></span></dt><dt><span class="section"><a 
href="library-rest-common.html">ReST Common</a></span></dt><dt><span 
class="section"><a href="library-rest-server.html">ReST 
Server</a></span></dt><dt><span class="section"><a 
href="library-restlet.html">Restlet Support</a></span></dt><dt><span 
class="section"><a href="library-servlet.html">Servlet</a></span></dt><dt><span 
class="section"><a href="library-shiro.html">Shiro 
Security</a></span></dt><dt><span class="section"><span xmlns="" 
href="library-shiro-web.html">Shiro Web Security</span></span></dt><dt><span 
class="section"><a href
 ="library-spring.html">Spring Integration</a></span></dt><dt><span 
class="section"><a href="library-sql.html">SQL</a></span></dt><dt><span 
class="section"><a href="library-uid.html">UID</a></span></dt><dt><span 
class="section"><a 
href="library-uowfile.html">UoWFile</a></span></dt></dl></div></div><div 
class="section" title="Shiro Web Security"><div class="titlepage"><div><div><h3 
class="title"><a id="library-shiro-web"></a>Shiro Web 
Security</h3></div></div></div><p class="remark"><em><span 
class="comment"></span></em></p><p class="devstatus-code-stable">code</p><p 
class="devstatus-docs-good">docs</p><p 
class="devstatus-tests-good">tests</p><p>This library provides integration with 
the <a class="ulink" href="http://shiro.apache.org/"; target="_top">Apache 
Shiro</a> Java Security Framework.</p><div class="note" title="Note" 
style="margin-left: 0.5in; margin-right: 0.5in;"><h3 
class="title">Note</h3><p>This library only contains web related information. 
Most of the documentation can be
  found in the
+  </head><body><div xmlns="" xmlns:exsl="http://exslt.org/common"; 
class="logo"><a href="index.html"><img src="images/logo-standard.png" 
style="width:80%;height:80%; padding-top:20px;" /></a></div><div xmlns="" 
xmlns:exsl="http://exslt.org/common"; class="top-nav"><div 
xmlns="http://www.w3.org/1999/xhtml"; class="toc"><dl class="toc"><dt><span 
class="section"><a href="index.html#home">Polygene™</a></span></dt><dt><span 
class="section"><a href="intro.html">Introduction</a></span></dt><dt><span 
class="section"><a href="tutorials.html">Tutorials</a></span></dt><dt><span 
class="section"><a href="javadocs.html">Javadoc</a></span></dt><dt><span 
class="section"><a href="samples.html">Samples</a></span></dt><dt><span 
class="section"><a href="core.html">Core</a></span></dt><dt><span 
class="section"><span xmlns="" 
href="libraries.html">Libraries</span></span></dt><dt><span class="section"><a 
href="extensions.html">Extensions</a></span></dt><dt><span class="section"><a 
href="tools.html">Tools</
 a></span></dt><dt><span class="section"><a href="glossary.html">Glossary 
</a></span></dt></dl></div></div><div xmlns="" 
xmlns:exsl="http://exslt.org/common"; class="sub-nav"><div 
xmlns="http://www.w3.org/1999/xhtml"; class="toc"><dl class="toc"><dt><span 
class="section"><a 
href="libraries.html#_overview_5">Overview</a></span></dt><dt><span 
class="section"><a href="scripting.html">Scripting</a></span></dt><dt><span 
class="section"><a href="library-alarm.html">Alarms</a></span></dt><dt><span 
class="section"><a href="library-circuitbreaker.html">Circuit 
Breaker</a></span></dt><dt><span class="section"><a 
href="library-constraints.html">Constraints</a></span></dt><dt><span 
class="section"><a 
href="library-fileconfig.html">FileConfig</a></span></dt><dt><span 
class="section"><a href="library-http.html">HTTP</a></span></dt><dt><span 
class="section"><a href="library-invocation-cache.html">Invocation 
Cache</a></span></dt><dt><span class="section"><a 
href="library-jmx.html">JMX</a></span></dt>
 <dt><span class="section"><a 
href="library-locking.html">Locking</a></span></dt><dt><span class="section"><a 
href="library-logging.html">Logging</a></span></dt><dt><span class="section"><a 
href="library-osgi.html">OSGi</a></span></dt><dt><span class="section"><a 
href="library-rdf.html">RDF</a></span></dt><dt><span class="section"><a 
href="library-rest-client.html">ReST Client</a></span></dt><dt><span 
class="section"><a href="library-rest-client-primer.html">ReST - HATEOAS 
Primer</a></span></dt><dt><span class="section"><a 
href="library-rest-common.html">ReST Common</a></span></dt><dt><span 
class="section"><a href="library-rest-server.html">ReST 
Server</a></span></dt><dt><span class="section"><a 
href="library-servlet.html">Servlet</a></span></dt><dt><span class="section"><a 
href="library-shiro.html">Shiro Security</a></span></dt><dt><span 
class="section"><span xmlns="" href="library-shiro-web.html">Shiro Web 
Security</span></span></dt><dt><span class="section"><a href="library-spring
 .html">Spring Integration</a></span></dt><dt><span class="section"><a 
href="library-sql.html">SQL</a></span></dt><dt><span class="section"><a 
href="library-uid.html">UID</a></span></dt><dt><span class="section"><a 
href="library-uowfile.html">UoWFile</a></span></dt></dl></div></div><div 
class="section"><div class="titlepage"><div><div><h3 class="title"><a 
id="library-shiro-web"></a>Shiro Web Security</h3></div></div></div><p 
class="remark"><em><span class="comment"></span></em></p><p 
class="devstatus-code-stable">code</p><p class="devstatus-docs-good">docs</p><p 
class="devstatus-tests-good">tests</p><p>This library provides integration with 
the <a class="ulink" href="http://shiro.apache.org/"; target="_top">Apache 
Shiro</a> Java Security Framework.</p><div class="note" style="margin-left: 
0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This library only 
contains web related information. Most of the documentation can be found in the
 <a class="xref" href="library-shiro.html" title="Shiro Security"> Shiro 
Security Library</a> that this very library leverages.</p></div><p>“Apache 
Shiro is a powerful and easy-to-use Java security framework that performs 
authentication, authorization,
 cryptography, and session management. With Shiro’s easy-to-understand API, 
you can quickly and easily secure any
 application – from the smallest mobile applications to the largest web and 
enterprise applications.” says the Apache
 Shiro website.</p><p>We invite you to read the comprehensive <a class="ulink" 
href="http://shiro.apache.org/documentation.html"; target="_top">Apache Shiro 
documentation</a>, we will
-mostly discuss Polygene™ related matters here.</p><div class="table"><a 
id="idm229754140112"></a><p class="title"><strong>Table 40. 
Artifact</strong></p><div class="table-contents"><table summary="Artifact" 
border="1"><colgroup><col class="col_1" /><col class="col_2" /><col 
class="col_3" /></colgroup><thead><tr><th align="left" valign="top">Group 
ID</th><th align="left" valign="top">Artifact ID</th><th align="left" 
valign="top">Version</th></tr></thead><tbody><tr><td align="left" 
valign="top"><p>org.apache.polygene.libraries</p></td><td align="left" 
valign="top"><p>org.apache.polygene.library.shiro-web</p></td><td align="left" 
valign="top"><p>3.1.0-SNAPSHOT</p></td></tr></tbody></table></div></div><br 
class="table-break" /><div class="section" title="Servlet Context"><div 
class="titlepage"><div><div><h4 class="title"><a 
id="_servlet_context"></a>Servlet Context</h4></div></div></div><p>In a servlet 
context, being through the <a class="xref" href="library-servlet.html" 
title="Ser
 vlet">Servlet Library</a>, the <a class="xref" href="library-http.html" 
title="HTTP"> HTTP Library</a> or your custom Polygene™ application
+mostly discuss Polygene™ related matters here.</p><div class="table"><a 
id="idm5395"></a><p class="title"><strong>Table 39. Artifact</strong></p><div 
class="table-contents"><table class="table" summary="Artifact" 
border="1"><colgroup><col class="col_1" /><col class="col_2" /><col 
class="col_3" /></colgroup><thead><tr><th align="left" valign="top">Group 
ID</th><th align="left" valign="top">Artifact ID</th><th align="left" 
valign="top">Version</th></tr></thead><tbody><tr><td align="left" 
valign="top"><p>org.apache.polygene.libraries</p></td><td align="left" 
valign="top"><p>org.apache.polygene.library.shiro-web</p></td><td align="left" 
valign="top"><p>0</p></td></tr></tbody></table></div></div><br 
class="table-break" /><div class="section"><div class="titlepage"><div><div><h4 
class="title"><a id="_servlet_context"></a>Servlet 
Context</h4></div></div></div><p>In a servlet context, being through the <a 
class="xref" href="library-servlet.html" title="Servlet">Servlet Library</a>, 
the 
 <a class="xref" href="library-http.html" title="HTTP"> HTTP Library</a> or 
your custom Polygene™ application
 bootstrap, plain Shiro is usable. A WebEnvironment must be globally available 
and ShiroFilter must be registered.</p><p>If you use a custom Polygene™ 
application boostrap or the <a class="xref" href="library-servlet.html" 
title="Servlet">Servlet Library</a> you can directly use Shiro’s provided
 EnvironmentLoaderListener and ShiroFilter.</p><p>If you use the <a 
class="xref" href="library-http.html" title="HTTP"> HTTP Library</a> you can 
either directly use Shiro classes or use the assembly API as follows:</p><pre 
class="programlisting brush: java">new JettyServiceAssembler().withConfig( 
configModule, Visibility.layer ).assemble( module );
   [...snip...]

Reply via email to