http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/57ce76c3/content/site/apidocs/org/apache/juneau/serializer/SerializerContext.html
----------------------------------------------------------------------
diff --git
a/content/site/apidocs/org/apache/juneau/serializer/SerializerContext.html
b/content/site/apidocs/org/apache/juneau/serializer/SerializerContext.html
index 5080542..489aaf9 100644
--- a/content/site/apidocs/org/apache/juneau/serializer/SerializerContext.html
+++ b/content/site/apidocs/org/apache/juneau/serializer/SerializerContext.html
@@ -122,7 +122,7 @@ var activeTableTab = "activeTableTab";
</dl>
<hr>
<br>
-<pre>public class <a
href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.22">SerializerContext</a>
+<pre>public class <a
href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.21">SerializerContext</a>
extends <a href="../../../../org/apache/juneau/BeanContext.html" title="class
in org.apache.juneau">BeanContext</a></pre>
<div class="block">Configurable properties common to all serializers.</div>
</li>
@@ -151,52 +151,40 @@ extends <a
href="../../../../org/apache/juneau/BeanContext.html" title="class in
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../org/apache/juneau/serializer/SerializerContext.html#SERIALIZER_absolutePathUriBase">SERIALIZER_absolutePathUriBase</a></span></code>
-<div class="block"><b>Configuration property:</b> URI base for relative URIs
with absolute paths.</div>
-</td>
-</tr>
-<tr class="altColor">
-<td class="colFirst"><code>static <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../org/apache/juneau/serializer/SerializerContext.html#SERIALIZER_addBeanTypeProperties">SERIALIZER_addBeanTypeProperties</a></span></code>
<div class="block"><b>Configuration property:</b> Add <js>"_type"</js>
properties when needed.</div>
</td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><code>static <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../org/apache/juneau/serializer/SerializerContext.html#SERIALIZER_detectRecursions">SERIALIZER_detectRecursions</a></span></code>
<div class="block"><b>Configuration property:</b> Automatically detect POJO
recursions.</div>
</td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><code>static <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../org/apache/juneau/serializer/SerializerContext.html#SERIALIZER_ignoreRecursions">SERIALIZER_ignoreRecursions</a></span></code>
<div class="block"><b>Configuration property:</b> Ignore recursion
errors.</div>
</td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><code>static <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../org/apache/juneau/serializer/SerializerContext.html#SERIALIZER_initialDepth">SERIALIZER_initialDepth</a></span></code>
<div class="block"><b>Configuration property:</b> Initial depth.</div>
</td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><code>static <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../org/apache/juneau/serializer/SerializerContext.html#SERIALIZER_maxDepth">SERIALIZER_maxDepth</a></span></code>
<div class="block"><b>Configuration property:</b> Max serialization
depth.</div>
</td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><code>static <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../org/apache/juneau/serializer/SerializerContext.html#SERIALIZER_quoteChar">SERIALIZER_quoteChar</a></span></code>
<div class="block"><b>Configuration property:</b> Quote character.</div>
</td>
</tr>
-<tr class="altColor">
-<td class="colFirst"><code>static <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../org/apache/juneau/serializer/SerializerContext.html#SERIALIZER_relativeUriBase">SERIALIZER_relativeUriBase</a></span></code>
-<div class="block"><b>Configuration property:</b> URI base for relative
URIs.</div>
-</td>
-</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../org/apache/juneau/serializer/SerializerContext.html#SERIALIZER_sortCollections">SERIALIZER_sortCollections</a></span></code>
@@ -235,14 +223,24 @@ extends <a
href="../../../../org/apache/juneau/BeanContext.html" title="class in
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../org/apache/juneau/serializer/SerializerContext.html#SERIALIZER_uriRelativity">SERIALIZER_uriRelativity</a></span></code> </td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../org/apache/juneau/serializer/SerializerContext.html#SERIALIZER_uriContext">SERIALIZER_uriContext</a></span></code>
+<div class="block"><b>Configuration property:</b> URI context bean.</div>
+</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../org/apache/juneau/serializer/SerializerContext.html#SERIALIZER_uriResolution">SERIALIZER_uriResolution</a></span></code> </td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../org/apache/juneau/serializer/SerializerContext.html#SERIALIZER_uriRelativity">SERIALIZER_uriRelativity</a></span></code>
+<div class="block"><b>Configuration property:</b> URI relativity.</div>
+</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../org/apache/juneau/serializer/SerializerContext.html#SERIALIZER_uriResolution">SERIALIZER_uriResolution</a></span></code>
+<div class="block"><b>Configuration property:</b> URI resolution.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../org/apache/juneau/serializer/SerializerContext.html#SERIALIZER_useWhitespace">SERIALIZER_useWhitespace</a></span></code>
<div class="block"><b>Configuration property:</b> Use whitespace.</div>
</td>
@@ -336,7 +334,7 @@ extends <a
href="../../../../org/apache/juneau/BeanContext.html" title="class in
<ul class="blockList">
<li class="blockList">
<h4>SERIALIZER_maxDepth</h4>
-<pre>public static final <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a> <a
href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.38">SERIALIZER_maxDepth</a></pre>
+<pre>public static final <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a> <a
href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.37">SERIALIZER_maxDepth</a></pre>
<div class="block"><b>Configuration property:</b> Max serialization depth.
<p>
<ul>
@@ -361,7 +359,7 @@ extends <a
href="../../../../org/apache/juneau/BeanContext.html" title="class in
<ul class="blockList">
<li class="blockList">
<h4>SERIALIZER_initialDepth</h4>
-<pre>public static final <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a> <a
href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.53">SERIALIZER_initialDepth</a></pre>
+<pre>public static final <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a> <a
href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.52">SERIALIZER_initialDepth</a></pre>
<div class="block"><b>Configuration property:</b> Initial depth.
<p>
<ul>
@@ -385,7 +383,7 @@ extends <a
href="../../../../org/apache/juneau/BeanContext.html" title="class in
<ul class="blockList">
<li class="blockList">
<h4>SERIALIZER_detectRecursions</h4>
-<pre>public static final <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a> <a
href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.80">SERIALIZER_detectRecursions</a></pre>
+<pre>public static final <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a> <a
href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.79">SERIALIZER_detectRecursions</a></pre>
<div class="block"><b>Configuration property:</b> Automatically detect POJO
recursions.
<p>
<ul>
@@ -421,7 +419,7 @@ extends <a
href="../../../../org/apache/juneau/BeanContext.html" title="class in
<ul class="blockList">
<li class="blockList">
<h4>SERIALIZER_ignoreRecursions</h4>
-<pre>public static final <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a> <a
href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.99">SERIALIZER_ignoreRecursions</a></pre>
+<pre>public static final <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a> <a
href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.98">SERIALIZER_ignoreRecursions</a></pre>
<div class="block"><b>Configuration property:</b> Ignore recursion errors.
<p>
<ul>
@@ -449,7 +447,7 @@ extends <a
href="../../../../org/apache/juneau/BeanContext.html" title="class in
<ul class="blockList">
<li class="blockList">
<h4>SERIALIZER_useWhitespace</h4>
-<pre>public static final <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a> <a
href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.113">SERIALIZER_useWhitespace</a></pre>
+<pre>public static final <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a> <a
href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.112">SERIALIZER_useWhitespace</a></pre>
<div class="block"><b>Configuration property:</b> Use whitespace.
<p>
<ul>
@@ -472,7 +470,7 @@ extends <a
href="../../../../org/apache/juneau/BeanContext.html" title="class in
<ul class="blockList">
<li class="blockList">
<h4>SERIALIZER_addBeanTypeProperties</h4>
-<pre>public static final <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a> <a
href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.129">SERIALIZER_addBeanTypeProperties</a></pre>
+<pre>public static final <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a> <a
href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.128">SERIALIZER_addBeanTypeProperties</a></pre>
<div class="block"><b>Configuration property:</b> Add <js>"_type"</js>
properties when needed.
<p>
<ul>
@@ -497,7 +495,7 @@ extends <a
href="../../../../org/apache/juneau/BeanContext.html" title="class in
<ul class="blockList">
<li class="blockList">
<h4>SERIALIZER_quoteChar</h4>
-<pre>public static final <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a> <a
href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.143">SERIALIZER_quoteChar</a></pre>
+<pre>public static final <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a> <a
href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.142">SERIALIZER_quoteChar</a></pre>
<div class="block"><b>Configuration property:</b> Quote character.
<p>
<ul>
@@ -520,7 +518,7 @@ extends <a
href="../../../../org/apache/juneau/BeanContext.html" title="class in
<ul class="blockList">
<li class="blockList">
<h4>SERIALIZER_trimNullProperties</h4>
-<pre>public static final <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a> <a
href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.162">SERIALIZER_trimNullProperties</a></pre>
+<pre>public static final <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a> <a
href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.161">SERIALIZER_trimNullProperties</a></pre>
<div class="block"><b>Configuration property:</b> Trim null bean property
values.
<p>
<ul>
@@ -548,7 +546,7 @@ extends <a
href="../../../../org/apache/juneau/BeanContext.html" title="class in
<ul class="blockList">
<li class="blockList">
<h4>SERIALIZER_trimEmptyCollections</h4>
-<pre>public static final <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a> <a
href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.182">SERIALIZER_trimEmptyCollections</a></pre>
+<pre>public static final <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a> <a
href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.181">SERIALIZER_trimEmptyCollections</a></pre>
<div class="block"><b>Configuration property:</b> Trim empty lists and arrays.
<p>
<ul>
@@ -577,7 +575,7 @@ extends <a
href="../../../../org/apache/juneau/BeanContext.html" title="class in
<ul class="blockList">
<li class="blockList">
<h4>SERIALIZER_trimEmptyMaps</h4>
-<pre>public static final <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a> <a
href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.201">SERIALIZER_trimEmptyMaps</a></pre>
+<pre>public static final <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a> <a
href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.200">SERIALIZER_trimEmptyMaps</a></pre>
<div class="block"><b>Configuration property:</b> Trim empty maps.
<p>
<ul>
@@ -605,7 +603,7 @@ extends <a
href="../../../../org/apache/juneau/BeanContext.html" title="class in
<ul class="blockList">
<li class="blockList">
<h4>SERIALIZER_trimStrings</h4>
-<pre>public static final <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a> <a
href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.215">SERIALIZER_trimStrings</a></pre>
+<pre>public static final <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a> <a
href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.214">SERIALIZER_trimStrings</a></pre>
<div class="block"><b>Configuration property:</b> Trim strings.
<p>
<ul>
@@ -622,103 +620,66 @@ extends <a
href="../../../../org/apache/juneau/BeanContext.html" title="class in
</dl>
</li>
</ul>
-<a name="SERIALIZER_relativeUriBase">
+<a name="SERIALIZER_uriContext">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
-<h4>SERIALIZER_relativeUriBase</h4>
-<pre>public static final <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a> <a
href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.251">SERIALIZER_relativeUriBase</a></pre>
-<div class="block"><b>Configuration property:</b> URI base for relative URIs.
+<h4>SERIALIZER_uriContext</h4>
+<pre>public static final <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a> <a
href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.233">SERIALIZER_uriContext</a></pre>
+<div class="block"><b>Configuration property:</b> URI context bean.
<p>
<ul>
- <li><b>Name:</b> <js>"Serializer.relativeUriBase"</js>
- <li><b>Data type:</b> <code>String</code>
- <li><b>Default:</b> <js>""</js>
+ <li><b>Name:</b> <js>"Serializer.uriContext"</js>
+ <li><b>Data type:</b> <a
href="../../../../org/apache/juneau/UriContext.html" title="class in
org.apache.juneau"><code>UriContext</code></a>
+ <li><b>Default:</b> <a
href="../../../../org/apache/juneau/UriContext.html#DEFAULT"><code>UriContext.DEFAULT</code></a>
<li><b>Session-overridable:</b> <jk>true</jk>
</ul>
<p>
- Prepended to relative URIs during serialization (along with the <a
href="../../../../org/apache/juneau/serializer/SerializerContext.html#SERIALIZER_absolutePathUriBase"><code>SERIALIZER_absolutePathUriBase</code></a>
if specified.
- (i.e. URIs not containing a schema and not starting with <js>'/'</js>).
- (e.g. <js>"foo/bar"</js>)
-
- <h5 class='section'>Example:</h5>
- <table class='styled'>
- <tr><th>SERIALIZER_relativeUriBase</th><th>URI</th><th>Serialized
URI</th></tr>
- <tr>
- <td><code>http://foo:9080/bar/baz</code></td>
- <td><code>mywebapp</code></td>
- <td><code>http://foo:9080/bar/baz/mywebapp</code></td>
- </tr>
- <tr>
- <td><code>http://foo:9080/bar/baz</code></td>
- <td><code>/mywebapp</code></td>
- <td><code>/mywebapp</code></td>
- </tr>
- <tr>
- <td><code>http://foo:9080/bar/baz</code></td>
- <td><code>http://mywebapp</code></td>
- <td><code>http://mywebapp</code></td>
- </tr>
- </table></div>
+ Bean used for resolution of URIs to absolute or root-relative form.
+ <p>
+ <h6 class='figure'>Example:</h6>
+ <p class='bcode'>
+
<js>"{authority:'http://localhost:10000',contextRoot:'/myContext',servletPath:'/myServlet',pathInfo:'/foo'}"</js>
+ </p></div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
-<dd><a
href="../../../../constant-values.html#org.apache.juneau.serializer.SerializerContext.SERIALIZER_relativeUriBase">Constant
Field Values</a></dd>
+<dd><a
href="../../../../constant-values.html#org.apache.juneau.serializer.SerializerContext.SERIALIZER_uriContext">Constant
Field Values</a></dd>
</dl>
</li>
</ul>
-<a name="SERIALIZER_absolutePathUriBase">
+<a name="SERIALIZER_uriResolution">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
-<h4>SERIALIZER_absolutePathUriBase</h4>
-<pre>public static final <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a> <a
href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.287">SERIALIZER_absolutePathUriBase</a></pre>
-<div class="block"><b>Configuration property:</b> URI base for relative URIs
with absolute paths.
+<h4>SERIALIZER_uriResolution</h4>
+<pre>public static final <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a> <a
href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.262">SERIALIZER_uriResolution</a></pre>
+<div class="block"><b>Configuration property:</b> URI resolution.
<p>
<ul>
- <li><b>Name:</b> <js>"Serializer.absolutePathUriBase"</js>
- <li><b>Data type:</b> <code>String</code>
- <li><b>Default:</b> <js>""</js>
+ <li><b>Name:</b> <js>"Serializer.uriResolution"</js>
+ <li><b>Data type:</b> <a
href="../../../../org/apache/juneau/UriResolution.html" title="enum in
org.apache.juneau"><code>UriResolution</code></a>
+ <li><b>Default:</b> <a
href="../../../../org/apache/juneau/UriResolution.html#ROOT_RELATIVE"><code>UriResolution.ROOT_RELATIVE</code></a>
<li><b>Session-overridable:</b> <jk>true</jk>
</ul>
<p>
- Prepended to relative absolute-path URIs during serialization.
- (i.e. URIs starting with <js>'/'</js>).
- (e.g. <js>"/foo/bar"</js>)
-
- <h5 class='section'>Examples:</h5>
- <table class='styled'>
- <tr><th>SERIALIZER_absolutePathUriBase</th><th>URI</th><th>Serialized
URI</th></tr>
- <tr>
- <td><code>http://foo:9080/bar/baz</code></td>
- <td><code>mywebapp</code></td>
- <td><code>mywebapp</code></td>
- </tr>
- <tr>
- <td><code>http://foo:9080/bar/baz</code></td>
- <td><code>/mywebapp</code></td>
- <td><code>http://foo:9080/bar/baz/mywebapp</code></td>
- </tr>
- <tr>
- <td><code>http://foo:9080/bar/baz</code></td>
- <td><code>http://mywebapp</code></td>
- <td><code>http://mywebapp</code></td>
- </tr>
- </table></div>
-<dl>
-<dt><span class="seeLabel">See Also:</span></dt>
-<dd><a
href="../../../../constant-values.html#org.apache.juneau.serializer.SerializerContext.SERIALIZER_absolutePathUriBase">Constant
Field Values</a></dd>
-</dl>
-</li>
-</ul>
-<a name="SERIALIZER_uriResolution">
-<!-- -->
-</a>
-<ul class="blockList">
-<li class="blockList">
-<h4>SERIALIZER_uriResolution</h4>
-<pre>public static final <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a> <a
href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.289">SERIALIZER_uriResolution</a></pre>
+ Defines the resolution level for URIs when serializing any of the following:
+ <ul>
+ <li><a
href="http://docs.oracle.com/javase/7/docs/api/java/net/URI.html?is-external=true"
title="class or interface in java.net"><code>URI</code></a>
+ <li><a
href="http://docs.oracle.com/javase/7/docs/api/java/net/URL.html?is-external=true"
title="class or interface in java.net"><code>URL</code></a>
+ <li>Properties annotated with <a
href="../../../../org/apache/juneau/annotation/URI.html" title="annotation in
org.apache.juneau.annotation"><code>@URI</code></a>
+ </ul>
+ <p>
+ Possible values are:
+ <ul>
+ <li><a
href="../../../../org/apache/juneau/UriResolution.html#ABSOLUTE"><code>UriResolution.ABSOLUTE</code></a>
+ - Resolve to an absolute URL (e.g.
<js>"http://host:port/context-root/servlet-path/path-info"</js>).
+ <li><a
href="../../../../org/apache/juneau/UriResolution.html#ROOT_RELATIVE"><code>UriResolution.ROOT_RELATIVE</code></a>
+ - Resolve to a root-relative URL (e.g.
<js>"/context-root/servlet-path/path-info"</js>).
+ <li><a
href="../../../../org/apache/juneau/UriResolution.html#NONE"><code>UriResolution.NONE</code></a>
+ - Don't do any URL resolution.
+ </ul></div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a
href="../../../../constant-values.html#org.apache.juneau.serializer.SerializerContext.SERIALIZER_uriResolution">Constant
Field Values</a></dd>
@@ -731,7 +692,30 @@ extends <a
href="../../../../org/apache/juneau/BeanContext.html" title="class in
<ul class="blockList">
<li class="blockList">
<h4>SERIALIZER_uriRelativity</h4>
-<pre>public static final <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a> <a
href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.291">SERIALIZER_uriRelativity</a></pre>
+<pre>public static final <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a> <a
href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.289">SERIALIZER_uriRelativity</a></pre>
+<div class="block"><b>Configuration property:</b> URI relativity.
+ <p>
+ <ul>
+ <li><b>Name:</b> <js>"Serializer.uriRelativity"</js>
+ <li><b>Data type:</b> <a
href="../../../../org/apache/juneau/UriRelativity.html" title="enum in
org.apache.juneau"><code>UriRelativity</code></a>
+ <li><b>Default:</b> <a
href="../../../../org/apache/juneau/UriRelativity.html#RESOURCE"><code>UriRelativity.RESOURCE</code></a>
+ <li><b>Session-overridable:</b> <jk>true</jk>
+ </ul>
+ <p>
+ Defines what relative URIs are relative to when serializing any of the
following:
+ <ul>
+ <li><a
href="http://docs.oracle.com/javase/7/docs/api/java/net/URI.html?is-external=true"
title="class or interface in java.net"><code>URI</code></a>
+ <li><a
href="http://docs.oracle.com/javase/7/docs/api/java/net/URL.html?is-external=true"
title="class or interface in java.net"><code>URL</code></a>
+ <li>Properties annotated with <a
href="../../../../org/apache/juneau/annotation/URI.html" title="annotation in
org.apache.juneau.annotation"><code>@URI</code></a>
+ </ul>
+ <p>
+ Possible values are:
+ <ul>
+ <li><a
href="../../../../org/apache/juneau/UriRelativity.html#RESOURCE"><code>UriRelativity.RESOURCE</code></a>
+ - Relative URIs should be considered relative to the servlet URI.
+ <li><a
href="../../../../org/apache/juneau/UriRelativity.html#PATH_INFO"><code>UriRelativity.PATH_INFO</code></a>
+ - Relative URIs should be considered relative to the request URI.
+ </ul></div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a
href="../../../../constant-values.html#org.apache.juneau.serializer.SerializerContext.SERIALIZER_uriRelativity">Constant
Field Values</a></dd>
@@ -744,7 +728,7 @@ extends <a
href="../../../../org/apache/juneau/BeanContext.html" title="class in
<ul class="blockList">
<li class="blockList">
<h4>SERIALIZER_sortCollections</h4>
-<pre>public static final <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a> <a
href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.305">SERIALIZER_sortCollections</a></pre>
+<pre>public static final <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a> <a
href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.303">SERIALIZER_sortCollections</a></pre>
<div class="block"><b>Configuration property:</b> Sort arrays and collections
alphabetically.
<p>
<ul>
@@ -767,7 +751,7 @@ extends <a
href="../../../../org/apache/juneau/BeanContext.html" title="class in
<ul class="blockList">
<li class="blockList">
<h4>SERIALIZER_sortMaps</h4>
-<pre>public static final <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a> <a
href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.319">SERIALIZER_sortMaps</a></pre>
+<pre>public static final <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a> <a
href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.317">SERIALIZER_sortMaps</a></pre>
<div class="block"><b>Configuration property:</b> Sort maps alphabetically.
<p>
<ul>
@@ -790,7 +774,7 @@ extends <a
href="../../../../org/apache/juneau/BeanContext.html" title="class in
<ul class="blockListLast">
<li class="blockList">
<h4>SERIALIZER_abridged</h4>
-<pre>public static final <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a> <a
href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.338">SERIALIZER_abridged</a></pre>
+<pre>public static final <a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a> <a
href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.336">SERIALIZER_abridged</a></pre>
<div class="block"><b>Configuration property:</b> Abridged output.
<p>
<ul>
@@ -826,7 +810,7 @@ extends <a
href="../../../../org/apache/juneau/BeanContext.html" title="class in
<ul class="blockListLast">
<li class="blockList">
<h4>SerializerContext</h4>
-<pre>public <a
href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.364">SerializerContext</a>(<a
href="../../../../org/apache/juneau/PropertyStore.html" title="class in
org.apache.juneau">PropertyStore</a> ps)</pre>
+<pre>public <a
href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.362">SerializerContext</a>(<a
href="../../../../org/apache/juneau/PropertyStore.html" title="class in
org.apache.juneau">PropertyStore</a> ps)</pre>
<div class="block">Constructor.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -848,7 +832,7 @@ extends <a
href="../../../../org/apache/juneau/BeanContext.html" title="class in
<ul class="blockListLast">
<li class="blockList">
<h4>asMap</h4>
-<pre>public <a href="../../../../org/apache/juneau/ObjectMap.html"
title="class in org.apache.juneau">ObjectMap</a> <a
href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.405">asMap</a>()</pre>
+<pre>public <a href="../../../../org/apache/juneau/ObjectMap.html"
title="class in org.apache.juneau">ObjectMap</a> <a
href="../../../../src-html/org/apache/juneau/serializer/SerializerContext.html#line.384">asMap</a>()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../org/apache/juneau/Context.html#asMap--">Context</a></code></span></div>
<div class="block">Returns the properties defined on this bean context as a
simple map for debugging purposes.</div>
<dl>