You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@juneau.apache.org by ja...@apache.org on 2017/05/08 15:32:31 UTC
[01/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Repository: incubator-juneau-website
Updated Branches:
refs/heads/asf-site b1c508354 -> f1f17bc33
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/rest/converters/Introspectable.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/rest/converters/Introspectable.html b/content/site/apidocs/src-html/org/apache/juneau/rest/converters/Introspectable.html
index 44b8748..8d7896b 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/rest/converters/Introspectable.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/rest/converters/Introspectable.html
@@ -48,8 +48,8 @@
<span class="sourceLineNo">040</span> @Override /* RestConverter */<a name="line.40"></a>
<span class="sourceLineNo">041</span> @SuppressWarnings({"unchecked", "rawtypes"})<a name="line.41"></a>
<span class="sourceLineNo">042</span> public Object convert(RestRequest req, Object o, ClassMeta cm) throws RestException {<a name="line.42"></a>
-<span class="sourceLineNo">043</span> String method = req.getQueryParameter("invokeMethod");<a name="line.43"></a>
-<span class="sourceLineNo">044</span> String args = req.getQueryParameter("invokeArgs");<a name="line.44"></a>
+<span class="sourceLineNo">043</span> String method = req.getQuery("invokeMethod");<a name="line.43"></a>
+<span class="sourceLineNo">044</span> String args = req.getQuery("invokeArgs");<a name="line.44"></a>
<span class="sourceLineNo">045</span> if (method == null)<a name="line.45"></a>
<span class="sourceLineNo">046</span> return o;<a name="line.46"></a>
<span class="sourceLineNo">047</span> try {<a name="line.47"></a>
[27/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/rest/RestMatcherReflecting.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/RestMatcherReflecting.html b/content/site/apidocs/org/apache/juneau/rest/RestMatcherReflecting.html
index e3d44ba..7064ca4 100644
--- a/content/site/apidocs/org/apache/juneau/rest/RestMatcherReflecting.html
+++ b/content/site/apidocs/org/apache/juneau/rest/RestMatcherReflecting.html
@@ -43,7 +43,7 @@
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/juneau/rest/RestMatcher.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">Prev Class</span></a></li>
-<li><a href="../../../../org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">Next Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/rest/RestParam.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/juneau/rest/RestMatcherReflecting.html" target="_top">Frames</a></li>
@@ -220,7 +220,7 @@ extends <a href="../../../../org/apache/juneau/rest/RestMatcher.html" title="cla
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/juneau/rest/RestMatcher.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">Prev Class</span></a></li>
-<li><a href="../../../../org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">Next Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/rest/RestParam.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/juneau/rest/RestMatcherReflecting.html" target="_top">Frames</a></li>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/rest/RestParam.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/RestParam.html b/content/site/apidocs/org/apache/juneau/rest/RestParam.html
new file mode 100644
index 0000000..df017e2
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/rest/RestParam.html
@@ -0,0 +1,387 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>RestParam (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="RestParam (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":6};
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/rest/RestMatcherReflecting.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/rest/RestParamType.html" title="enum in org.apache.juneau.rest"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/rest/RestParam.html" target="_top">Frames</a></li>
+<li><a href="RestParam.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li><a href="#constructor.summary">Constr</a> | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li><a href="#constructor.detail">Constr</a> | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.rest</div>
+<h2 title="Class RestParam" class="title">Class RestParam</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.rest.RestParam</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public abstract class <a href="../../../../src-html/org/apache/juneau/rest/RestParam.html#line.27">RestParam</a>
+extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
+<div class="block">REST java method parameter resolver.
+ <p>
+ Used to resolve instances of classes being passed to Java REST methods.
+ <p>
+ This class is associated with REST classes via the <a href="../../../../org/apache/juneau/rest/annotation/RestResource.html#paramResolvers--"><code>RestResource.paramResolvers()</code></a> annotation and
+ <a href="../../../../org/apache/juneau/rest/RestConfig.html#addParamResolvers-java.lang.Class...-"><code>RestConfig.addParamResolvers(Class...)</code></a> method.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.summary">
+<!-- -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier</th>
+<th class="colLast" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>protected </code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestParam.html#RestParam-org.apache.juneau.rest.RestParamType-java.lang.String-java.lang.reflect.Type-">RestParam</a></span>(<a href="../../../../org/apache/juneau/rest/RestParamType.html" title="enum in org.apache.juneau.rest">RestParamType</a> paramType,
+ <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> name,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> type)</code>
+<div class="block">Constructor.</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestParam.html#forClass--">forClass</a></span>()</code>
+<div class="block">Returns the parameter class type that this parameter resolver is meant for.</div>
+</td>
+</tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code>protected <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/rest/RestParam.html#getName--">getName</a></span>()</code>
+<div class="block">Returns the parameter name for this parameter as shown in the Swagger doc.</div>
+</td>
+</tr>
+<tr id="i2" class="altColor">
+<td class="colFirst"><code>protected <a href="../../../../org/apache/juneau/rest/RestParamType.html" title="enum in org.apache.juneau.rest">RestParamType</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestParam.html#getParamType--">getParamType</a></span>()</code>
+<div class="block">Returns the swagger parameter type for this parameter as shown in the Swagger doc.</div>
+</td>
+</tr>
+<tr id="i3" class="rowColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestParam.html#getType--">getType</a></span>()</code>
+<div class="block">Returns the parameter class type.</div>
+</td>
+</tr>
+<tr id="i4" class="altColor">
+<td class="colFirst"><code>abstract <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestParam.html#resolve-org.apache.juneau.rest.RestRequest-org.apache.juneau.rest.RestResponse-">resolve</a></span>(<a href="../../../../org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest">RestRequest</a> req,
+ <a href="../../../../org/apache/juneau/rest/RestResponse.html" title="class in org.apache.juneau.rest">RestResponse</a> res)</code>
+<div class="block">Resolves the parameter object.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.detail">
+<!-- -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="RestParam-org.apache.juneau.rest.RestParamType-java.lang.String-java.lang.reflect.Type-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>RestParam</h4>
+<pre>protected <a href="../../../../src-html/org/apache/juneau/rest/RestParam.html#line.41">RestParam</a>(<a href="../../../../org/apache/juneau/rest/RestParamType.html" title="enum in org.apache.juneau.rest">RestParamType</a> paramType,
+ <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> name,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> type)</pre>
+<div class="block">Constructor.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>paramType</code> - The Swagger parameter type.</dd>
+<dd><code>name</code> - The parameter name.
+ Can be <jk>null</jk> if parameter doesn't have a name (e.g. the request body).</dd>
+<dd><code>type</code> - The object type to convert the parameter to.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="resolve-org.apache.juneau.rest.RestRequest-org.apache.juneau.rest.RestResponse-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>resolve</h4>
+<pre>public abstract <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../../src-html/org/apache/juneau/rest/RestParam.html#line.55">resolve</a>(<a href="../../../../org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest">RestRequest</a> req,
+ <a href="../../../../org/apache/juneau/rest/RestResponse.html" title="class in org.apache.juneau.rest">RestResponse</a> res)
+ throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
+<div class="block">Resolves the parameter object.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>req</code> - The rest request.</dd>
+<dd><code>res</code> - The rest response.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The resolved object.</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="forClass--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>forClass</h4>
+<pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> <a href="../../../../src-html/org/apache/juneau/rest/RestParam.html#line.61">forClass</a>()</pre>
+<div class="block">Returns the parameter class type that this parameter resolver is meant for.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parameter class type, or <jk>null</jk> if the type passed in isn't an instance of <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a>.</dd>
+</dl>
+</li>
+</ul>
+<a name="getParamType--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getParamType</h4>
+<pre>protected <a href="../../../../org/apache/juneau/rest/RestParamType.html" title="enum in org.apache.juneau.rest">RestParamType</a> <a href="../../../../src-html/org/apache/juneau/rest/RestParam.html#line.71">getParamType</a>()</pre>
+<div class="block">Returns the swagger parameter type for this parameter as shown in the Swagger doc.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>the swagger parameter type for this parameter.</dd>
+</dl>
+</li>
+</ul>
+<a name="getName--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getName</h4>
+<pre>protected <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/rest/RestParam.html#line.79">getName</a>()</pre>
+<div class="block">Returns the parameter name for this parameter as shown in the Swagger doc.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>the parameter name for this parameter.</dd>
+</dl>
+</li>
+</ul>
+<a name="getType--">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>getType</h4>
+<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> <a href="../../../../src-html/org/apache/juneau/rest/RestParam.html#line.87">getType</a>()</pre>
+<div class="block">Returns the parameter class type.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>the parameter class type.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/rest/RestMatcherReflecting.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/rest/RestParamType.html" title="enum in org.apache.juneau.rest"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/rest/RestParam.html" target="_top">Frames</a></li>
+<li><a href="RestParam.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li><a href="#constructor.summary">Constr</a> | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li><a href="#constructor.detail">Constr</a> | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/rest/RestParamType.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/RestParamType.html b/content/site/apidocs/org/apache/juneau/rest/RestParamType.html
new file mode 100644
index 0000000..c6827dd
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/rest/RestParamType.html
@@ -0,0 +1,424 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>RestParamType (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="RestParamType (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":10,"i1":9,"i2":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/rest/RestParam.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/rest/RestParamType.html" target="_top">Frames</a></li>
+<li><a href="RestParamType.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li><a href="#enum.constant.summary">Enum Constants</a> | </li>
+<li>Field | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li><a href="#enum.constant.detail">Enum Constants</a> | </li>
+<li>Field | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.rest</div>
+<h2 title="Enum RestParamType" class="title">Enum RestParamType</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">java.lang.Enum</a><<a href="../../../../org/apache/juneau/rest/RestParamType.html" title="enum in org.apache.juneau.rest">RestParamType</a>></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.rest.RestParamType</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt>All Implemented Interfaces:</dt>
+<dd><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><<a href="../../../../org/apache/juneau/rest/RestParamType.html" title="enum in org.apache.juneau.rest">RestParamType</a>></dd>
+</dl>
+<hr>
+<br>
+<pre>public enum <a href="../../../../src-html/org/apache/juneau/rest/RestParamType.html#line.18">RestParamType</a>
+extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a><<a href="../../../../org/apache/juneau/rest/RestParamType.html" title="enum in org.apache.juneau.rest">RestParamType</a>></pre>
+<div class="block">Represents the possible parameter types as defined by the Swagger 2.0 specification.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- =========== ENUM CONSTANT SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="enum.constant.summary">
+<!-- -->
+</a>
+<h3>Enum Constant Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation">
+<caption><span>Enum Constants</span><span class="tabEnd"> </span></caption>
+<tr>
+<th class="colOne" scope="col">Enum Constant and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestParamType.html#BODY">BODY</a></span></code>
+<div class="block">Request body</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestParamType.html#FORMDATA">FORMDATA</a></span></code>
+<div class="block">Form data entry</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestParamType.html#HEADER">HEADER</a></span></code>
+<div class="block">Header value</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestParamType.html#OTHER">OTHER</a></span></code>
+<div class="block">Not a standard Swagger-defined field</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestParamType.html#PATH">PATH</a></span></code>
+<div class="block">Path variable</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestParamType.html#QUERY">QUERY</a></span></code>
+<div class="block">Query parameter</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code><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/rest/RestParamType.html#toString--">toString</a></span>()</code> </td>
+</tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/rest/RestParamType.html" title="enum in org.apache.juneau.rest">RestParamType</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestParamType.html#valueOf-java.lang.String-">valueOf</a></span>(<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> name)</code>
+<div class="block">Returns the enum constant of this type with the specified name.</div>
+</td>
+</tr>
+<tr id="i2" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/rest/RestParamType.html" title="enum in org.apache.juneau.rest">RestParamType</a>[]</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestParamType.html#values--">values</a></span>()</code>
+<div class="block">Returns an array containing the constants of this enum type, in
+the order they are declared.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Enum">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#compareTo-E-" title="class or interface in java.lang">compareTo</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#getDeclaringClass--" title="class or interface in java.lang">getDeclaringClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/
api/java/lang/Enum.html?is-external=true#name--" title="class or interface in java.lang">name</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#ordinal--" title="class or interface in java.lang">ordinal</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#valueOf-java.lang.Class-java.lang.String-" title="class or interface in java.lang">valueOf</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ ENUM CONSTANT DETAIL =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="enum.constant.detail">
+<!-- -->
+</a>
+<h3>Enum Constant Detail</h3>
+<a name="PATH">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>PATH</h4>
+<pre>public static final <a href="../../../../org/apache/juneau/rest/RestParamType.html" title="enum in org.apache.juneau.rest">RestParamType</a> <a href="../../../../src-html/org/apache/juneau/rest/RestParamType.html#line.21">PATH</a></pre>
+<div class="block">Path variable</div>
+</li>
+</ul>
+<a name="HEADER">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>HEADER</h4>
+<pre>public static final <a href="../../../../org/apache/juneau/rest/RestParamType.html" title="enum in org.apache.juneau.rest">RestParamType</a> <a href="../../../../src-html/org/apache/juneau/rest/RestParamType.html#line.24">HEADER</a></pre>
+<div class="block">Header value</div>
+</li>
+</ul>
+<a name="FORMDATA">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>FORMDATA</h4>
+<pre>public static final <a href="../../../../org/apache/juneau/rest/RestParamType.html" title="enum in org.apache.juneau.rest">RestParamType</a> <a href="../../../../src-html/org/apache/juneau/rest/RestParamType.html#line.27">FORMDATA</a></pre>
+<div class="block">Form data entry</div>
+</li>
+</ul>
+<a name="QUERY">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>QUERY</h4>
+<pre>public static final <a href="../../../../org/apache/juneau/rest/RestParamType.html" title="enum in org.apache.juneau.rest">RestParamType</a> <a href="../../../../src-html/org/apache/juneau/rest/RestParamType.html#line.30">QUERY</a></pre>
+<div class="block">Query parameter</div>
+</li>
+</ul>
+<a name="BODY">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>BODY</h4>
+<pre>public static final <a href="../../../../org/apache/juneau/rest/RestParamType.html" title="enum in org.apache.juneau.rest">RestParamType</a> <a href="../../../../src-html/org/apache/juneau/rest/RestParamType.html#line.33">BODY</a></pre>
+<div class="block">Request body</div>
+</li>
+</ul>
+<a name="OTHER">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>OTHER</h4>
+<pre>public static final <a href="../../../../org/apache/juneau/rest/RestParamType.html" title="enum in org.apache.juneau.rest">RestParamType</a> <a href="../../../../src-html/org/apache/juneau/rest/RestParamType.html#line.36">OTHER</a></pre>
+<div class="block">Not a standard Swagger-defined field</div>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="values--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>values</h4>
+<pre>public static <a href="../../../../org/apache/juneau/rest/RestParamType.html" title="enum in org.apache.juneau.rest">RestParamType</a>[] <a href="../../../../src-html/org/apache/juneau/rest/RestParamType.html#line.18">values</a>()</pre>
+<div class="block">Returns an array containing the constants of this enum type, in
+the order they are declared. This method may be used to iterate
+over the constants as follows:
+<pre>
+for (RestParamType c : RestParamType.values())
+ System.out.println(c);
+</pre></div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>an array containing the constants of this enum type, in the order they are declared</dd>
+</dl>
+</li>
+</ul>
+<a name="valueOf-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>valueOf</h4>
+<pre>public static <a href="../../../../org/apache/juneau/rest/RestParamType.html" title="enum in org.apache.juneau.rest">RestParamType</a> <a href="../../../../src-html/org/apache/juneau/rest/RestParamType.html#line.18">valueOf</a>(<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> name)</pre>
+<div class="block">Returns the enum constant of this type with the specified name.
+The string must match <i>exactly</i> an identifier used to declare an
+enum constant in this type. (Extraneous whitespace characters are
+not permitted.)</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>name</code> - the name of the enum constant to be returned.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>the enum constant with the specified name</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if this enum type has no constant with the specified name</dd>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - if the argument is null</dd>
+</dl>
+</li>
+</ul>
+<a name="toString--">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>toString</h4>
+<pre>public <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/rest/RestParamType.html#line.45">toString</a>()</pre>
+<dl>
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code> in class <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a><<a href="../../../../org/apache/juneau/rest/RestParamType.html" title="enum in org.apache.juneau.rest">RestParamType</a>></code></dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/rest/RestParam.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/rest/RestParamType.html" target="_top">Frames</a></li>
+<li><a href="RestParamType.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li><a href="#enum.constant.summary">Enum Constants</a> | </li>
+<li>Field | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li><a href="#enum.constant.detail">Enum Constants</a> | </li>
+<li>Field | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
[09/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/rest/RequestHeaders.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/rest/RequestHeaders.html b/content/site/apidocs/src-html/org/apache/juneau/rest/RequestHeaders.html
new file mode 100644
index 0000000..4e18519
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/rest/RequestHeaders.html
@@ -0,0 +1,747 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.rest;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>import java.lang.reflect.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span>import java.util.*;<a name="line.16"></a>
+<span class="sourceLineNo">017</span><a name="line.17"></a>
+<span class="sourceLineNo">018</span>import org.apache.juneau.*;<a name="line.18"></a>
+<span class="sourceLineNo">019</span>import org.apache.juneau.http.*;<a name="line.19"></a>
+<span class="sourceLineNo">020</span>import org.apache.juneau.http.Date;<a name="line.20"></a>
+<span class="sourceLineNo">021</span>import org.apache.juneau.internal.*;<a name="line.21"></a>
+<span class="sourceLineNo">022</span>import org.apache.juneau.parser.*;<a name="line.22"></a>
+<span class="sourceLineNo">023</span>import org.apache.juneau.urlencoding.*;<a name="line.23"></a>
+<span class="sourceLineNo">024</span><a name="line.24"></a>
+<span class="sourceLineNo">025</span>/**<a name="line.25"></a>
+<span class="sourceLineNo">026</span> * Represents the headers in an HTTP request.<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * <p><a name="line.27"></a>
+<span class="sourceLineNo">028</span> * Entries are stored in a case-insensitive map.<a name="line.28"></a>
+<span class="sourceLineNo">029</span> */<a name="line.29"></a>
+<span class="sourceLineNo">030</span>public class RequestHeaders extends TreeMap<String,String[]> {<a name="line.30"></a>
+<span class="sourceLineNo">031</span> private static final long serialVersionUID = 1L;<a name="line.31"></a>
+<span class="sourceLineNo">032</span><a name="line.32"></a>
+<span class="sourceLineNo">033</span> private UrlEncodingParser parser;<a name="line.33"></a>
+<span class="sourceLineNo">034</span> private BeanSession beanSession;<a name="line.34"></a>
+<span class="sourceLineNo">035</span> private RequestQuery queryParams;<a name="line.35"></a>
+<span class="sourceLineNo">036</span><a name="line.36"></a>
+<span class="sourceLineNo">037</span> RequestHeaders() {<a name="line.37"></a>
+<span class="sourceLineNo">038</span> super(String.CASE_INSENSITIVE_ORDER);<a name="line.38"></a>
+<span class="sourceLineNo">039</span> }<a name="line.39"></a>
+<span class="sourceLineNo">040</span><a name="line.40"></a>
+<span class="sourceLineNo">041</span> RequestHeaders setParser(UrlEncodingParser parser) {<a name="line.41"></a>
+<span class="sourceLineNo">042</span> this.parser = parser;<a name="line.42"></a>
+<span class="sourceLineNo">043</span> return this;<a name="line.43"></a>
+<span class="sourceLineNo">044</span> }<a name="line.44"></a>
+<span class="sourceLineNo">045</span><a name="line.45"></a>
+<span class="sourceLineNo">046</span> RequestHeaders setBeanSession(BeanSession beanSession) {<a name="line.46"></a>
+<span class="sourceLineNo">047</span> this.beanSession = beanSession;<a name="line.47"></a>
+<span class="sourceLineNo">048</span> return this;<a name="line.48"></a>
+<span class="sourceLineNo">049</span> }<a name="line.49"></a>
+<span class="sourceLineNo">050</span><a name="line.50"></a>
+<span class="sourceLineNo">051</span> RequestHeaders setQueryParams(RequestQuery queryParams) {<a name="line.51"></a>
+<span class="sourceLineNo">052</span> this.queryParams = queryParams;<a name="line.52"></a>
+<span class="sourceLineNo">053</span> return this;<a name="line.53"></a>
+<span class="sourceLineNo">054</span> }<a name="line.54"></a>
+<span class="sourceLineNo">055</span><a name="line.55"></a>
+<span class="sourceLineNo">056</span> /**<a name="line.56"></a>
+<span class="sourceLineNo">057</span> * Adds default entries to these headers.<a name="line.57"></a>
+<span class="sourceLineNo">058</span> * <p><a name="line.58"></a>
+<span class="sourceLineNo">059</span> * This includes the default headers defined on the servlet and method levels.<a name="line.59"></a>
+<span class="sourceLineNo">060</span> *<a name="line.60"></a>
+<span class="sourceLineNo">061</span> * @param defaultEntries The default entries. Can be <jk>null</jk>.<a name="line.61"></a>
+<span class="sourceLineNo">062</span> * @return This object (for method chaining).<a name="line.62"></a>
+<span class="sourceLineNo">063</span> */<a name="line.63"></a>
+<span class="sourceLineNo">064</span> public RequestHeaders addDefault(Map<String,String> defaultEntries) {<a name="line.64"></a>
+<span class="sourceLineNo">065</span> if (defaultEntries != null) {<a name="line.65"></a>
+<span class="sourceLineNo">066</span> for (Map.Entry<String,String> e : defaultEntries.entrySet()) {<a name="line.66"></a>
+<span class="sourceLineNo">067</span> String key = e.getKey(), value = e.getValue();<a name="line.67"></a>
+<span class="sourceLineNo">068</span> String[] v = get(key);<a name="line.68"></a>
+<span class="sourceLineNo">069</span> if (v == null)<a name="line.69"></a>
+<span class="sourceLineNo">070</span> put(key, new String[]{value});<a name="line.70"></a>
+<span class="sourceLineNo">071</span> }<a name="line.71"></a>
+<span class="sourceLineNo">072</span> }<a name="line.72"></a>
+<span class="sourceLineNo">073</span> return this;<a name="line.73"></a>
+<span class="sourceLineNo">074</span> }<a name="line.74"></a>
+<span class="sourceLineNo">075</span><a name="line.75"></a>
+<span class="sourceLineNo">076</span> /**<a name="line.76"></a>
+<span class="sourceLineNo">077</span> * Adds a set of header values to this object.<a name="line.77"></a>
+<span class="sourceLineNo">078</span> *<a name="line.78"></a>
+<span class="sourceLineNo">079</span> * @param name The header name.<a name="line.79"></a>
+<span class="sourceLineNo">080</span> * @param values The header values.<a name="line.80"></a>
+<span class="sourceLineNo">081</span> * @return This object (for method chaining).<a name="line.81"></a>
+<span class="sourceLineNo">082</span> */<a name="line.82"></a>
+<span class="sourceLineNo">083</span> public RequestHeaders put(String name, Enumeration<String> values) {<a name="line.83"></a>
+<span class="sourceLineNo">084</span> // Optimized for enumerations of one entry, the most-common case.<a name="line.84"></a>
+<span class="sourceLineNo">085</span> if (values.hasMoreElements()) {<a name="line.85"></a>
+<span class="sourceLineNo">086</span> String v = values.nextElement();<a name="line.86"></a>
+<span class="sourceLineNo">087</span> if (! v.isEmpty()) {<a name="line.87"></a>
+<span class="sourceLineNo">088</span> String[] s = new String[]{v};<a name="line.88"></a>
+<span class="sourceLineNo">089</span> while (values.hasMoreElements())<a name="line.89"></a>
+<span class="sourceLineNo">090</span> s = ArrayUtils.append(s, values.nextElement());<a name="line.90"></a>
+<span class="sourceLineNo">091</span> put(name, s);<a name="line.91"></a>
+<span class="sourceLineNo">092</span> }<a name="line.92"></a>
+<span class="sourceLineNo">093</span> }<a name="line.93"></a>
+<span class="sourceLineNo">094</span> return this;<a name="line.94"></a>
+<span class="sourceLineNo">095</span> }<a name="line.95"></a>
+<span class="sourceLineNo">096</span><a name="line.96"></a>
+<span class="sourceLineNo">097</span> /**<a name="line.97"></a>
+<span class="sourceLineNo">098</span> * Returns the specified header value, or <jk>null</jk> if the header doesn't exist.<a name="line.98"></a>
+<span class="sourceLineNo">099</span> * <p><a name="line.99"></a>
+<span class="sourceLineNo">100</span> * If {@code allowHeaderParams} init parameter is <jk>true</jk>, then first looks for {@code &HeaderName=x} in the URL query string.<a name="line.100"></a>
+<span class="sourceLineNo">101</span> * <p><a name="line.101"></a>
+<span class="sourceLineNo">102</span> * @param name The header name.<a name="line.102"></a>
+<span class="sourceLineNo">103</span> * @return The header value, or <jk>null</jk> if it doesn't exist.<a name="line.103"></a>
+<span class="sourceLineNo">104</span> */<a name="line.104"></a>
+<span class="sourceLineNo">105</span> public String getFirst(String name) {<a name="line.105"></a>
+<span class="sourceLineNo">106</span> return getFirst(name, null);<a name="line.106"></a>
+<span class="sourceLineNo">107</span> }<a name="line.107"></a>
+<span class="sourceLineNo">108</span><a name="line.108"></a>
+<span class="sourceLineNo">109</span> /**<a name="line.109"></a>
+<span class="sourceLineNo">110</span> * Returns the specified header value, or a default value if the header doesn't exist.<a name="line.110"></a>
+<span class="sourceLineNo">111</span> * <p><a name="line.111"></a>
+<span class="sourceLineNo">112</span> * If {@code allowHeaderParams} init parameter is <jk>true</jk>, then first looks for {@code &HeaderName=x} in the URL query string.<a name="line.112"></a>
+<span class="sourceLineNo">113</span> *<a name="line.113"></a>
+<span class="sourceLineNo">114</span> * @param name The HTTP header name.<a name="line.114"></a>
+<span class="sourceLineNo">115</span> * @param def The default value to return if the header value isn't found.<a name="line.115"></a>
+<span class="sourceLineNo">116</span> * @return The header value, or the default value if the header isn't present.<a name="line.116"></a>
+<span class="sourceLineNo">117</span> */<a name="line.117"></a>
+<span class="sourceLineNo">118</span> public String getFirst(String name, String def) {<a name="line.118"></a>
+<span class="sourceLineNo">119</span> String[] v = null;<a name="line.119"></a>
+<span class="sourceLineNo">120</span> if (queryParams != null)<a name="line.120"></a>
+<span class="sourceLineNo">121</span> v = queryParams.get(name);<a name="line.121"></a>
+<span class="sourceLineNo">122</span> if (v == null || v.length == 0)<a name="line.122"></a>
+<span class="sourceLineNo">123</span> v = get(name);<a name="line.123"></a>
+<span class="sourceLineNo">124</span> if (v == null || v.length == 0)<a name="line.124"></a>
+<span class="sourceLineNo">125</span> return def;<a name="line.125"></a>
+<span class="sourceLineNo">126</span> return v[0];<a name="line.126"></a>
+<span class="sourceLineNo">127</span> }<a name="line.127"></a>
+<span class="sourceLineNo">128</span><a name="line.128"></a>
+<span class="sourceLineNo">129</span> /**<a name="line.129"></a>
+<span class="sourceLineNo">130</span> * Sets a request header value.<a name="line.130"></a>
+<span class="sourceLineNo">131</span> *<a name="line.131"></a>
+<span class="sourceLineNo">132</span> * @param name The header name.<a name="line.132"></a>
+<span class="sourceLineNo">133</span> * @param value The header value.<a name="line.133"></a>
+<span class="sourceLineNo">134</span> */<a name="line.134"></a>
+<span class="sourceLineNo">135</span> public void put(String name, Object value) {<a name="line.135"></a>
+<span class="sourceLineNo">136</span> super.put(name, new String[]{StringUtils.toString(value)});<a name="line.136"></a>
+<span class="sourceLineNo">137</span> }<a name="line.137"></a>
+<span class="sourceLineNo">138</span><a name="line.138"></a>
+<span class="sourceLineNo">139</span> /**<a name="line.139"></a>
+<span class="sourceLineNo">140</span> * Returns the specified header value converted to a POJO.<a name="line.140"></a>
+<span class="sourceLineNo">141</span> * <p><a name="line.141"></a>
+<span class="sourceLineNo">142</span> * The type can be any POJO type convertable from a <code>String</code><a name="line.142"></a>
+<span class="sourceLineNo">143</span> * (See <a class="doclink" href="package-summary.html#PojosConvertableFromString">POJOs Convertable From Strings</a>).<a name="line.143"></a>
+<span class="sourceLineNo">144</span> * <p><a name="line.144"></a>
+<span class="sourceLineNo">145</span> * <h5 class='section'>Examples:</h5><a name="line.145"></a>
+<span class="sourceLineNo">146</span> * <p class='bcode'><a name="line.146"></a>
+<span class="sourceLineNo">147</span> * <jc>// Parse into an integer.</jc><a name="line.147"></a>
+<span class="sourceLineNo">148</span> * <jk>int</jk> myheader = req.getHeader(<js>"My-Header"</js>, <jk>int</jk>.<jk>class</jk>);<a name="line.148"></a>
+<span class="sourceLineNo">149</span> *<a name="line.149"></a>
+<span class="sourceLineNo">150</span> * <jc>// Parse a UUID.</jc><a name="line.150"></a>
+<span class="sourceLineNo">151</span> * UUID myheader = req.getHeader(<js>"My-Header"</js>, UUID.<jk>class</jk>);<a name="line.151"></a>
+<span class="sourceLineNo">152</span> * </p><a name="line.152"></a>
+<span class="sourceLineNo">153</span> *<a name="line.153"></a>
+<span class="sourceLineNo">154</span> * @param name The HTTP header name.<a name="line.154"></a>
+<span class="sourceLineNo">155</span> * @param type The class type to convert the header value to.<a name="line.155"></a>
+<span class="sourceLineNo">156</span> * @param <T> The class type to convert the header value to.<a name="line.156"></a>
+<span class="sourceLineNo">157</span> * @return The parameter value converted to the specified class type.<a name="line.157"></a>
+<span class="sourceLineNo">158</span> */<a name="line.158"></a>
+<span class="sourceLineNo">159</span> public <T> T get(String name, Class<T> type) {<a name="line.159"></a>
+<span class="sourceLineNo">160</span> String h = getFirst(name);<a name="line.160"></a>
+<span class="sourceLineNo">161</span> return beanSession.convertToType(h, type);<a name="line.161"></a>
+<span class="sourceLineNo">162</span> }<a name="line.162"></a>
+<span class="sourceLineNo">163</span><a name="line.163"></a>
+<span class="sourceLineNo">164</span> /**<a name="line.164"></a>
+<span class="sourceLineNo">165</span> * Same as {@link #get(String, Class)} but returns a default value if not found.<a name="line.165"></a>
+<span class="sourceLineNo">166</span> *<a name="line.166"></a>
+<span class="sourceLineNo">167</span> * @param name The HTTP header name.<a name="line.167"></a>
+<span class="sourceLineNo">168</span> * @param def The default value if the header was not specified or is <jk>null</jk>.<a name="line.168"></a>
+<span class="sourceLineNo">169</span> * @param type The class type to convert the header value to.<a name="line.169"></a>
+<span class="sourceLineNo">170</span> * @param <T> The class type to convert the header value to.<a name="line.170"></a>
+<span class="sourceLineNo">171</span> * @return The parameter value converted to the specified class type.<a name="line.171"></a>
+<span class="sourceLineNo">172</span> */<a name="line.172"></a>
+<span class="sourceLineNo">173</span> public <T> T get(String name, T def, Class<T> type) {<a name="line.173"></a>
+<span class="sourceLineNo">174</span> String h = getFirst(name);<a name="line.174"></a>
+<span class="sourceLineNo">175</span> if (h == null)<a name="line.175"></a>
+<span class="sourceLineNo">176</span> return def;<a name="line.176"></a>
+<span class="sourceLineNo">177</span> return beanSession.convertToType(h, type);<a name="line.177"></a>
+<span class="sourceLineNo">178</span> }<a name="line.178"></a>
+<span class="sourceLineNo">179</span><a name="line.179"></a>
+<span class="sourceLineNo">180</span> /**<a name="line.180"></a>
+<span class="sourceLineNo">181</span> * Returns the specified header value converted to a POJO.<a name="line.181"></a>
+<span class="sourceLineNo">182</span> * <p><a name="line.182"></a>
+<span class="sourceLineNo">183</span> * The type can be any POJO type convertable from a <code>String</code><a name="line.183"></a>
+<span class="sourceLineNo">184</span> * (See <a class="doclink" href="package-summary.html#PojosConvertableFromString">POJOs Convertable From Strings</a>).<a name="line.184"></a>
+<span class="sourceLineNo">185</span> * <p><a name="line.185"></a>
+<span class="sourceLineNo">186</span> * <h5 class='section'>Examples:</h5><a name="line.186"></a>
+<span class="sourceLineNo">187</span> * <p class='bcode'><a name="line.187"></a>
+<span class="sourceLineNo">188</span> * <jc>// Parse into a linked-list of strings.</jc><a name="line.188"></a>
+<span class="sourceLineNo">189</span> * List&lt;String&gt; myheader = req.getHeader(<js>"My-Header"</js>, LinkedList.<jk>class</jk>, String.<jk>class</jk>);<a name="line.189"></a>
+<span class="sourceLineNo">190</span> * </p><a name="line.190"></a>
+<span class="sourceLineNo">191</span> *<a name="line.191"></a>
+<span class="sourceLineNo">192</span> * @param name The HTTP header name.<a name="line.192"></a>
+<span class="sourceLineNo">193</span> * @param type The type of object to create.<a name="line.193"></a>
+<span class="sourceLineNo">194</span> * <br>Can be any of the following: {@link ClassMeta}, {@link Class}, {@link ParameterizedType}, {@link GenericArrayType}<a name="line.194"></a>
+<span class="sourceLineNo">195</span> * @param args The type arguments of the class if it's a collection or map.<a name="line.195"></a>
+<span class="sourceLineNo">196</span> * <br>Can be any of the following: {@link ClassMeta}, {@link Class}, {@link ParameterizedType}, {@link GenericArrayType}<a name="line.196"></a>
+<span class="sourceLineNo">197</span> * <br>Ignored if the main type is not a map or collection.<a name="line.197"></a>
+<span class="sourceLineNo">198</span> * @param <T> The class type to convert the header value to.<a name="line.198"></a>
+<span class="sourceLineNo">199</span> * @return The parameter value converted to the specified class type.<a name="line.199"></a>
+<span class="sourceLineNo">200</span> * @throws ParseException If the header could not be converted to the specified type.<a name="line.200"></a>
+<span class="sourceLineNo">201</span> */<a name="line.201"></a>
+<span class="sourceLineNo">202</span> public <T> T get(String name, Type type, Type...args) throws ParseException {<a name="line.202"></a>
+<span class="sourceLineNo">203</span> String h = getFirst(name);<a name="line.203"></a>
+<span class="sourceLineNo">204</span> return parser.parsePart(h, type, args);<a name="line.204"></a>
+<span class="sourceLineNo">205</span> }<a name="line.205"></a>
+<span class="sourceLineNo">206</span><a name="line.206"></a>
+<span class="sourceLineNo">207</span> /**<a name="line.207"></a>
+<span class="sourceLineNo">208</span> * Returns the <code>Accept</code> header on the request.<a name="line.208"></a>
+<span class="sourceLineNo">209</span> * <p><a name="line.209"></a>
+<span class="sourceLineNo">210</span> * Content-Types that are acceptable for the response.<a name="line.210"></a>
+<span class="sourceLineNo">211</span> *<a name="line.211"></a>
+<span class="sourceLineNo">212</span> * <h6 class='figure'>Example:</h6><a name="line.212"></a>
+<span class="sourceLineNo">213</span> * <p class='bcode'><a name="line.213"></a>
+<span class="sourceLineNo">214</span> * Accept: text/plain<a name="line.214"></a>
+<span class="sourceLineNo">215</span> * </p><a name="line.215"></a>
+<span class="sourceLineNo">216</span> *<a name="line.216"></a>
+<span class="sourceLineNo">217</span> * @return The parsed <code>Accept</code> header on the request, or <jk>null</jk> if not found.<a name="line.217"></a>
+<span class="sourceLineNo">218</span> *<a name="line.218"></a>
+<span class="sourceLineNo">219</span> */<a name="line.219"></a>
+<span class="sourceLineNo">220</span> public Accept getAccept() {<a name="line.220"></a>
+<span class="sourceLineNo">221</span> return Accept.forString(getFirst("Accept"));<a name="line.221"></a>
+<span class="sourceLineNo">222</span> }<a name="line.222"></a>
+<span class="sourceLineNo">223</span><a name="line.223"></a>
+<span class="sourceLineNo">224</span> /**<a name="line.224"></a>
+<span class="sourceLineNo">225</span> * Returns the <code>Accept-Charset</code> header on the request.<a name="line.225"></a>
+<span class="sourceLineNo">226</span> * <p><a name="line.226"></a>
+<span class="sourceLineNo">227</span> * Character sets that are acceptable.<a name="line.227"></a>
+<span class="sourceLineNo">228</span> *<a name="line.228"></a>
+<span class="sourceLineNo">229</span> * <h6 class='figure'>Example:</h6><a name="line.229"></a>
+<span class="sourceLineNo">230</span> * <p class='bcode'><a name="line.230"></a>
+<span class="sourceLineNo">231</span> * Accept-Charset: utf-8<a name="line.231"></a>
+<span class="sourceLineNo">232</span> * </p><a name="line.232"></a>
+<span class="sourceLineNo">233</span> *<a name="line.233"></a>
+<span class="sourceLineNo">234</span> * @return The parsed <code>Accept-Charset</code> header on the request, or <jk>null</jk> if not found.<a name="line.234"></a>
+<span class="sourceLineNo">235</span> */<a name="line.235"></a>
+<span class="sourceLineNo">236</span> public AcceptCharset getAcceptCharset() {<a name="line.236"></a>
+<span class="sourceLineNo">237</span> return AcceptCharset.forString(getFirst("Accept-Charset"));<a name="line.237"></a>
+<span class="sourceLineNo">238</span> }<a name="line.238"></a>
+<span class="sourceLineNo">239</span><a name="line.239"></a>
+<span class="sourceLineNo">240</span> /**<a name="line.240"></a>
+<span class="sourceLineNo">241</span> * Returns the <code>Accept-Encoding</code> header on the request.<a name="line.241"></a>
+<span class="sourceLineNo">242</span> * <p><a name="line.242"></a>
+<span class="sourceLineNo">243</span> * List of acceptable encodings.<a name="line.243"></a>
+<span class="sourceLineNo">244</span> *<a name="line.244"></a>
+<span class="sourceLineNo">245</span> * <h6 class='figure'>Example:</h6><a name="line.245"></a>
+<span class="sourceLineNo">246</span> * <p class='bcode'><a name="line.246"></a>
+<span class="sourceLineNo">247</span> * Accept-Encoding: gzip, deflate<a name="line.247"></a>
+<span class="sourceLineNo">248</span> * </p><a name="line.248"></a>
+<span class="sourceLineNo">249</span> *<a name="line.249"></a>
+<span class="sourceLineNo">250</span> * @return The parsed <code>Accept-Encoding</code> header on the request, or <jk>null</jk> if not found.<a name="line.250"></a>
+<span class="sourceLineNo">251</span> */<a name="line.251"></a>
+<span class="sourceLineNo">252</span> public AcceptEncoding getAcceptEncoding() {<a name="line.252"></a>
+<span class="sourceLineNo">253</span> return AcceptEncoding.forString(getFirst("Accept-Encoding"));<a name="line.253"></a>
+<span class="sourceLineNo">254</span> }<a name="line.254"></a>
+<span class="sourceLineNo">255</span><a name="line.255"></a>
+<span class="sourceLineNo">256</span> /**<a name="line.256"></a>
+<span class="sourceLineNo">257</span> * Returns the <code>Accept-Language</code> header on the request.<a name="line.257"></a>
+<span class="sourceLineNo">258</span> * <p><a name="line.258"></a>
+<span class="sourceLineNo">259</span> * List of acceptable human languages for response.<a name="line.259"></a>
+<span class="sourceLineNo">260</span> *<a name="line.260"></a>
+<span class="sourceLineNo">261</span> * <h6 class='figure'>Example:</h6><a name="line.261"></a>
+<span class="sourceLineNo">262</span> * <p class='bcode'><a name="line.262"></a>
+<span class="sourceLineNo">263</span> * Accept-Language: en-US<a name="line.263"></a>
+<span class="sourceLineNo">264</span> * </p><a name="line.264"></a>
+<span class="sourceLineNo">265</span> *<a name="line.265"></a>
+<span class="sourceLineNo">266</span> * @return The parsed <code>Accept-Language</code> header on the request, or <jk>null</jk> if not found.<a name="line.266"></a>
+<span class="sourceLineNo">267</span> */<a name="line.267"></a>
+<span class="sourceLineNo">268</span> public AcceptLanguage getAcceptLanguage() {<a name="line.268"></a>
+<span class="sourceLineNo">269</span> return AcceptLanguage.forString(getFirst("Accept-Language"));<a name="line.269"></a>
+<span class="sourceLineNo">270</span> }<a name="line.270"></a>
+<span class="sourceLineNo">271</span><a name="line.271"></a>
+<span class="sourceLineNo">272</span> /**<a name="line.272"></a>
+<span class="sourceLineNo">273</span> * Returns the <code>Authorization</code> header on the request.<a name="line.273"></a>
+<span class="sourceLineNo">274</span> * <p><a name="line.274"></a>
+<span class="sourceLineNo">275</span> * Authentication credentials for HTTP authentication.<a name="line.275"></a>
+<span class="sourceLineNo">276</span> *<a name="line.276"></a>
+<span class="sourceLineNo">277</span> * <h6 class='figure'>Example:</h6><a name="line.277"></a>
+<span class="sourceLineNo">278</span> * <p class='bcode'><a name="line.278"></a>
+<span class="sourceLineNo">279</span> * Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==<a name="line.279"></a>
+<span class="sourceLineNo">280</span> * </p><a name="line.280"></a>
+<span class="sourceLineNo">281</span> *<a name="line.281"></a>
+<span class="sourceLineNo">282</span> * @return The parsed <code>Authorization</code> header on the request, or <jk>null</jk> if not found.<a name="line.282"></a>
+<span class="sourceLineNo">283</span> */<a name="line.283"></a>
+<span class="sourceLineNo">284</span> public Authorization getAuthorization() {<a name="line.284"></a>
+<span class="sourceLineNo">285</span> return Authorization.forString(getFirst("Authorization"));<a name="line.285"></a>
+<span class="sourceLineNo">286</span> }<a name="line.286"></a>
+<span class="sourceLineNo">287</span><a name="line.287"></a>
+<span class="sourceLineNo">288</span> /**<a name="line.288"></a>
+<span class="sourceLineNo">289</span> * Returns the <code>Cache-Control</code> header on the request.<a name="line.289"></a>
+<span class="sourceLineNo">290</span> * <p><a name="line.290"></a>
+<span class="sourceLineNo">291</span> * Used to specify directives that must be obeyed by all caching mechanisms along the request-response chain.<a name="line.291"></a>
+<span class="sourceLineNo">292</span> *<a name="line.292"></a>
+<span class="sourceLineNo">293</span> * <h6 class='figure'>Example:</h6><a name="line.293"></a>
+<span class="sourceLineNo">294</span> * <p class='bcode'><a name="line.294"></a>
+<span class="sourceLineNo">295</span> * Cache-Control: no-cache<a name="line.295"></a>
+<span class="sourceLineNo">296</span> * </p><a name="line.296"></a>
+<span class="sourceLineNo">297</span> *<a name="line.297"></a>
+<span class="sourceLineNo">298</span> * @return The parsed <code>Cache-Control</code> header on the request, or <jk>null</jk> if not found.<a name="line.298"></a>
+<span class="sourceLineNo">299</span> */<a name="line.299"></a>
+<span class="sourceLineNo">300</span> public CacheControl getCacheControl() {<a name="line.300"></a>
+<span class="sourceLineNo">301</span> return CacheControl.forString(getFirst("Cache-Control"));<a name="line.301"></a>
+<span class="sourceLineNo">302</span> }<a name="line.302"></a>
+<span class="sourceLineNo">303</span><a name="line.303"></a>
+<span class="sourceLineNo">304</span> /**<a name="line.304"></a>
+<span class="sourceLineNo">305</span> * Returns the <code>Connection</code> header on the request.<a name="line.305"></a>
+<span class="sourceLineNo">306</span> * <p><a name="line.306"></a>
+<span class="sourceLineNo">307</span> * Control options for the current connection and list of hop-by-hop request fields.<a name="line.307"></a>
+<span class="sourceLineNo">308</span> *<a name="line.308"></a>
+<span class="sourceLineNo">309</span> * <h6 class='figure'>Example:</h6><a name="line.309"></a>
+<span class="sourceLineNo">310</span> * <p class='bcode'><a name="line.310"></a>
+<span class="sourceLineNo">311</span> * Connection: keep-alive<a name="line.311"></a>
+<span class="sourceLineNo">312</span> * Connection: Upgrade<a name="line.312"></a>
+<span class="sourceLineNo">313</span> * </p><a name="line.313"></a>
+<span class="sourceLineNo">314</span> *<a name="line.314"></a>
+<span class="sourceLineNo">315</span> * @return The parsed <code></code> header on the request, or <jk>null</jk> if not found.<a name="line.315"></a>
+<span class="sourceLineNo">316</span> */<a name="line.316"></a>
+<span class="sourceLineNo">317</span> public Connection getConnection() {<a name="line.317"></a>
+<span class="sourceLineNo">318</span> return Connection.forString(getFirst("Connection"));<a name="line.318"></a>
+<span class="sourceLineNo">319</span> }<a name="line.319"></a>
+<span class="sourceLineNo">320</span><a name="line.320"></a>
+<span class="sourceLineNo">321</span> /**<a name="line.321"></a>
+<span class="sourceLineNo">322</span> * Returns the <code>Content-Length</code> header on the request.<a name="line.322"></a>
+<span class="sourceLineNo">323</span> * <p><a name="line.323"></a>
+<span class="sourceLineNo">324</span> * The length of the request body in octets (8-bit bytes).<a name="line.324"></a>
+<span class="sourceLineNo">325</span> *<a name="line.325"></a>
+<span class="sourceLineNo">326</span> * <h6 class='figure'>Example:</h6><a name="line.326"></a>
+<span class="sourceLineNo">327</span> * <p class='bcode'><a name="line.327"></a>
+<span class="sourceLineNo">328</span> * Content-Length: 348<a name="line.328"></a>
+<span class="sourceLineNo">329</span> * </p><a name="line.329"></a>
+<span class="sourceLineNo">330</span> *<a name="line.330"></a>
+<span class="sourceLineNo">331</span> * @return The parsed <code>Content-Length</code> header on the request, or <jk>null</jk> if not found.<a name="line.331"></a>
+<span class="sourceLineNo">332</span> */<a name="line.332"></a>
+<span class="sourceLineNo">333</span> public ContentLength getContentLength() {<a name="line.333"></a>
+<span class="sourceLineNo">334</span> return ContentLength.forString(getFirst("Content-Length"));<a name="line.334"></a>
+<span class="sourceLineNo">335</span> }<a name="line.335"></a>
+<span class="sourceLineNo">336</span><a name="line.336"></a>
+<span class="sourceLineNo">337</span> /**<a name="line.337"></a>
+<span class="sourceLineNo">338</span> * Returns the <code>Content-Type</code> header on the request.<a name="line.338"></a>
+<span class="sourceLineNo">339</span> * <p><a name="line.339"></a>
+<span class="sourceLineNo">340</span> * The MIME type of the body of the request (used with POST and PUT requests).<a name="line.340"></a>
+<span class="sourceLineNo">341</span> *<a name="line.341"></a>
+<span class="sourceLineNo">342</span> * <h6 class='figure'>Example:</h6><a name="line.342"></a>
+<span class="sourceLineNo">343</span> * <p class='bcode'><a name="line.343"></a>
+<span class="sourceLineNo">344</span> * Content-Type: application/x-www-form-urlencoded<a name="line.344"></a>
+<span class="sourceLineNo">345</span> * </p><a name="line.345"></a>
+<span class="sourceLineNo">346</span> *<a name="line.346"></a>
+<span class="sourceLineNo">347</span> * @return The parsed <code>Content-Type</code> header on the request, or <jk>null</jk> if not found.<a name="line.347"></a>
+<span class="sourceLineNo">348</span> */<a name="line.348"></a>
+<span class="sourceLineNo">349</span> public ContentType getContentType() {<a name="line.349"></a>
+<span class="sourceLineNo">350</span> return ContentType.forString(getFirst("Content-Type"));<a name="line.350"></a>
+<span class="sourceLineNo">351</span> }<a name="line.351"></a>
+<span class="sourceLineNo">352</span><a name="line.352"></a>
+<span class="sourceLineNo">353</span> /**<a name="line.353"></a>
+<span class="sourceLineNo">354</span> * Returns the <code>Date</code> header on the request.<a name="line.354"></a>
+<span class="sourceLineNo">355</span> * <p><a name="line.355"></a>
+<span class="sourceLineNo">356</span> * The date and time that the message was originated (in "HTTP-date" format as defined by RFC 7231 Date/Time Formats).<a name="line.356"></a>
+<span class="sourceLineNo">357</span> *<a name="line.357"></a>
+<span class="sourceLineNo">358</span> * <h6 class='figure'>Example:</h6><a name="line.358"></a>
+<span class="sourceLineNo">359</span> * <p class='bcode'><a name="line.359"></a>
+<span class="sourceLineNo">360</span> * Date: Tue, 15 Nov 1994 08:12:31 GMT<a name="line.360"></a>
+<span class="sourceLineNo">361</span> * </p><a name="line.361"></a>
+<span class="sourceLineNo">362</span> *<a name="line.362"></a>
+<span class="sourceLineNo">363</span> * @return The parsed <code>Date</code> header on the request, or <jk>null</jk> if not found.<a name="line.363"></a>
+<span class="sourceLineNo">364</span> */<a name="line.364"></a>
+<span class="sourceLineNo">365</span> public Date getDate() {<a name="line.365"></a>
+<span class="sourceLineNo">366</span> return Date.forString(getFirst("Date"));<a name="line.366"></a>
+<span class="sourceLineNo">367</span> }<a name="line.367"></a>
+<span class="sourceLineNo">368</span><a name="line.368"></a>
+<span class="sourceLineNo">369</span> /**<a name="line.369"></a>
+<span class="sourceLineNo">370</span> * Returns the <code>Expect</code> header on the request.<a name="line.370"></a>
+<span class="sourceLineNo">371</span> * <p><a name="line.371"></a>
+<span class="sourceLineNo">372</span> * Indicates that particular server behaviors are required by the client.<a name="line.372"></a>
+<span class="sourceLineNo">373</span> *<a name="line.373"></a>
+<span class="sourceLineNo">374</span> * <h6 class='figure'>Example:</h6><a name="line.374"></a>
+<span class="sourceLineNo">375</span> * <p class='bcode'><a name="line.375"></a>
+<span class="sourceLineNo">376</span> * Expect: 100-continue<a name="line.376"></a>
+<span class="sourceLineNo">377</span> * </p><a name="line.377"></a>
+<span class="sourceLineNo">378</span> *<a name="line.378"></a>
+<span class="sourceLineNo">379</span> * @return The parsed <code>Expect</code> header on the request, or <jk>null</jk> if not found.<a name="line.379"></a>
+<span class="sourceLineNo">380</span> */<a name="line.380"></a>
+<span class="sourceLineNo">381</span> public Expect getExpect() {<a name="line.381"></a>
+<span class="sourceLineNo">382</span> return Expect.forString(getFirst("Expect"));<a name="line.382"></a>
+<span class="sourceLineNo">383</span> }<a name="line.383"></a>
+<span class="sourceLineNo">384</span><a name="line.384"></a>
+<span class="sourceLineNo">385</span> /**<a name="line.385"></a>
+<span class="sourceLineNo">386</span> * Returns the <code>From</code> header on the request.<a name="line.386"></a>
+<span class="sourceLineNo">387</span> * <p><a name="line.387"></a>
+<span class="sourceLineNo">388</span> * The email address of the user making the request.<a name="line.388"></a>
+<span class="sourceLineNo">389</span> *<a name="line.389"></a>
+<span class="sourceLineNo">390</span> * <h6 class='figure'>Example:</h6><a name="line.390"></a>
+<span class="sourceLineNo">391</span> * <p class='bcode'><a name="line.391"></a>
+<span class="sourceLineNo">392</span> * From: user@example.com<a name="line.392"></a>
+<span class="sourceLineNo">393</span> * </p><a name="line.393"></a>
+<span class="sourceLineNo">394</span> *<a name="line.394"></a>
+<span class="sourceLineNo">395</span> * @return The parsed <code>From</code> header on the request, or <jk>null</jk> if not found.<a name="line.395"></a>
+<span class="sourceLineNo">396</span> */<a name="line.396"></a>
+<span class="sourceLineNo">397</span> public From getFrom() {<a name="line.397"></a>
+<span class="sourceLineNo">398</span> return From.forString(getFirst("From"));<a name="line.398"></a>
+<span class="sourceLineNo">399</span> }<a name="line.399"></a>
+<span class="sourceLineNo">400</span><a name="line.400"></a>
+<span class="sourceLineNo">401</span> /**<a name="line.401"></a>
+<span class="sourceLineNo">402</span> * Returns the <code>Host</code> header on the request.<a name="line.402"></a>
+<span class="sourceLineNo">403</span> * <p><a name="line.403"></a>
+<span class="sourceLineNo">404</span> * The domain name of the server (for virtual hosting), and the TCP port number on which the server is listening.<a name="line.404"></a>
+<span class="sourceLineNo">405</span> * The port number may be omitted if the port is the standard port for the service requested.<a name="line.405"></a>
+<span class="sourceLineNo">406</span> *<a name="line.406"></a>
+<span class="sourceLineNo">407</span> * <h6 class='figure'>Example:</h6><a name="line.407"></a>
+<span class="sourceLineNo">408</span> * <p class='bcode'><a name="line.408"></a>
+<span class="sourceLineNo">409</span> * Host: en.wikipedia.org:8080<a name="line.409"></a>
+<span class="sourceLineNo">410</span> * Host: en.wikipedia.org<a name="line.410"></a>
+<span class="sourceLineNo">411</span> * </p><a name="line.411"></a>
+<span class="sourceLineNo">412</span> *<a name="line.412"></a>
+<span class="sourceLineNo">413</span> * @return The parsed <code>Host</code> header on the request, or <jk>null</jk> if not found.<a name="line.413"></a>
+<span class="sourceLineNo">414</span> */<a name="line.414"></a>
+<span class="sourceLineNo">415</span> public Host getHost() {<a name="line.415"></a>
+<span class="sourceLineNo">416</span> return Host.forString(getFirst("Host"));<a name="line.416"></a>
+<span class="sourceLineNo">417</span> }<a name="line.417"></a>
+<span class="sourceLineNo">418</span><a name="line.418"></a>
+<span class="sourceLineNo">419</span> /**<a name="line.419"></a>
+<span class="sourceLineNo">420</span> * Returns the <code>If-Match</code> header on the request.<a name="line.420"></a>
+<span class="sourceLineNo">421</span> * <p><a name="line.421"></a>
+<span class="sourceLineNo">422</span> * Only perform the action if the client supplied entity matches the same entity on the server.<a name="line.422"></a>
+<span class="sourceLineNo">423</span> * This is mainly for methods like PUT to only update a resource if it has not been modified since the user last updated it.<a name="line.423"></a>
+<span class="sourceLineNo">424</span> *<a name="line.424"></a>
+<span class="sourceLineNo">425</span> * <h6 class='figure'>Example:</h6><a name="line.425"></a>
+<span class="sourceLineNo">426</span> * <p class='bcode'><a name="line.426"></a>
+<span class="sourceLineNo">427</span> * If-Match: "737060cd8c284d8af7ad3082f209582d"<a name="line.427"></a>
+<span class="sourceLineNo">428</span> * </p><a name="line.428"></a>
+<span class="sourceLineNo">429</span> *<a name="line.429"></a>
+<span class="sourceLineNo">430</span> * @return The parsed <code>If-Match</code> header on the request, or <jk>null</jk> if not found.<a name="line.430"></a>
+<span class="sourceLineNo">431</span> */<a name="line.431"></a>
+<span class="sourceLineNo">432</span> public IfMatch getIfMatch() {<a name="line.432"></a>
+<span class="sourceLineNo">433</span> return IfMatch.forString(getFirst("If-Match"));<a name="line.433"></a>
+<span class="sourceLineNo">434</span> }<a name="line.434"></a>
+<span class="sourceLineNo">435</span><a name="line.435"></a>
+<span class="sourceLineNo">436</span> /**<a name="line.436"></a>
+<span class="sourceLineNo">437</span> * Returns the <code>If-Modified-Since</code> header on the request.<a name="line.437"></a>
+<span class="sourceLineNo">438</span> * <p><a name="line.438"></a>
+<span class="sourceLineNo">439</span> * Allows a 304 Not Modified to be returned if content is unchanged.<a name="line.439"></a>
+<span class="sourceLineNo">440</span> *<a name="line.440"></a>
+<span class="sourceLineNo">441</span> * <h6 class='figure'>Example:</h6><a name="line.441"></a>
+<span class="sourceLineNo">442</span> * <p class='bcode'><a name="line.442"></a>
+<span class="sourceLineNo">443</span> * If-Modified-Since: Sat, 29 Oct 1994 19:43:31 GMT<a name="line.443"></a>
+<span class="sourceLineNo">444</span> * </p><a name="line.444"></a>
+<span class="sourceLineNo">445</span> *<a name="line.445"></a>
+<span class="sourceLineNo">446</span> * @return The parsed <code>If-Modified-Since</code> header on the request, or <jk>null</jk> if not found.<a name="line.446"></a>
+<span class="sourceLineNo">447</span> */<a name="line.447"></a>
+<span class="sourceLineNo">448</span> public IfModifiedSince getIfModifiedSince() {<a name="line.448"></a>
+<span class="sourceLineNo">449</span> return IfModifiedSince.forString(getFirst("If-Modified-Since"));<a name="line.449"></a>
+<span class="sourceLineNo">450</span> }<a name="line.450"></a>
+<span class="sourceLineNo">451</span><a name="line.451"></a>
+<span class="sourceLineNo">452</span> /**<a name="line.452"></a>
+<span class="sourceLineNo">453</span> * Returns the <code>If-None-Match</code> header on the request.<a name="line.453"></a>
+<span class="sourceLineNo">454</span> * <p><a name="line.454"></a>
+<span class="sourceLineNo">455</span> * Allows a 304 Not Modified to be returned if content is unchanged, see HTTP ETag.<a name="line.455"></a>
+<span class="sourceLineNo">456</span> *<a name="line.456"></a>
+<span class="sourceLineNo">457</span> * <h6 class='figure'>Example:</h6><a name="line.457"></a>
+<span class="sourceLineNo">458</span> * <p class='bcode'><a name="line.458"></a>
+<span class="sourceLineNo">459</span> * If-None-Match: "737060cd8c284d8af7ad3082f209582d"<a name="line.459"></a>
+<span class="sourceLineNo">460</span> * </p><a name="line.460"></a>
+<span class="sourceLineNo">461</span> *<a name="line.461"></a>
+<span class="sourceLineNo">462</span> * @return The parsed <code>If-None-Match</code> header on the request, or <jk>null</jk> if not found.<a name="line.462"></a>
+<span class="sourceLineNo">463</span> */<a name="line.463"></a>
+<span class="sourceLineNo">464</span> public IfNoneMatch getIfNoneMatch() {<a name="line.464"></a>
+<span class="sourceLineNo">465</span> return IfNoneMatch.forString(getFirst("If-None-Match"));<a name="line.465"></a>
+<span class="sourceLineNo">466</span> }<a name="line.466"></a>
+<span class="sourceLineNo">467</span><a name="line.467"></a>
+<span class="sourceLineNo">468</span> /**<a name="line.468"></a>
+<span class="sourceLineNo">469</span> * Returns the <code>If-Range</code> header on the request.<a name="line.469"></a>
+<span class="sourceLineNo">470</span> * <p><a name="line.470"></a>
+<span class="sourceLineNo">471</span> * If the entity is unchanged, send me the part(s) that I am missing; otherwise, send me the entire new entity.<a name="line.471"></a>
+<span class="sourceLineNo">472</span> *<a name="line.472"></a>
+<span class="sourceLineNo">473</span> * <h6 class='figure'>Example:</h6><a name="line.473"></a>
+<span class="sourceLineNo">474</span> * <p class='bcode'><a name="line.474"></a>
+<span class="sourceLineNo">475</span> * If-Range: "737060cd8c284d8af7ad3082f209582d"<a name="line.475"></a>
+<span class="sourceLineNo">476</span> * </p><a name="line.476"></a>
+<span class="sourceLineNo">477</span> *<a name="line.477"></a>
+<span class="sourceLineNo">478</span> * @return The parsed <code>If-Range</code> header on the request, or <jk>null</jk> if not found.<a name="line.478"></a>
+<span class="sourceLineNo">479</span> */<a name="line.479"></a>
+<span class="sourceLineNo">480</span> public IfRange getIfRange() {<a name="line.480"></a>
+<span class="sourceLineNo">481</span> return IfRange.forString(getFirst("If-Range"));<a name="line.481"></a>
+<span class="sourceLineNo">482</span> }<a name="line.482"></a>
+<span class="sourceLineNo">483</span><a name="line.483"></a>
+<span class="sourceLineNo">484</span> /**<a name="line.484"></a>
+<span class="sourceLineNo">485</span> * Returns the <code>If-Unmodified-Since</code> header on the request.<a name="line.485"></a>
+<span class="sourceLineNo">486</span> * <p><a name="line.486"></a>
+<span class="sourceLineNo">487</span> * Only send the response if the entity has not been modified since a specific time.<a name="line.487"></a>
+<span class="sourceLineNo">488</span> *<a name="line.488"></a>
+<span class="sourceLineNo">489</span> * <h6 class='figure'>Example:</h6><a name="line.489"></a>
+<span class="sourceLineNo">490</span> * <p class='bcode'><a name="line.490"></a>
+<span class="sourceLineNo">491</span> * If-Unmodified-Since: Sat, 29 Oct 1994 19:43:31 GMT<a name="line.491"></a>
+<span class="sourceLineNo">492</span> * </p><a name="line.492"></a>
+<span class="sourceLineNo">493</span> *<a name="line.493"></a>
+<span class="sourceLineNo">494</span> * @return The parsed <code>If-Unmodified-Since</code> header on the request, or <jk>null</jk> if not found.<a name="line.494"></a>
+<span class="sourceLineNo">495</span> */<a name="line.495"></a>
+<span class="sourceLineNo">496</span> public IfUnmodifiedSince getIfUnmodifiedSince() {<a name="line.496"></a>
+<span class="sourceLineNo">497</span> return IfUnmodifiedSince.forString(getFirst("If-Unmodified-Since"));<a name="line.497"></a>
+<span class="sourceLineNo">498</span> }<a name="line.498"></a>
+<span class="sourceLineNo">499</span><a name="line.499"></a>
+<span class="sourceLineNo">500</span> /**<a name="line.500"></a>
+<span class="sourceLineNo">501</span> * Returns the <code>Max-Forwards</code> header on the request.<a name="line.501"></a>
+<span class="sourceLineNo">502</span> * <p><a name="line.502"></a>
+<span class="sourceLineNo">503</span> * Limit the number of times the message can be forwarded through proxies or gateways.<a name="line.503"></a>
+<span class="sourceLineNo">504</span> *<a name="line.504"></a>
+<span class="sourceLineNo">505</span> * <h6 class='figure'>Example:</h6><a name="line.505"></a>
+<span class="sourceLineNo">506</span> * <p class='bcode'><a name="line.506"></a>
+<span class="sourceLineNo">507</span> * Max-Forwards: 10<a name="line.507"></a>
+<span class="sourceLineNo">508</span> * </p><a name="line.508"></a>
+<span class="sourceLineNo">509</span> *<a name="line.509"></a>
+<span class="sourceLineNo">510</span> * @return The parsed <code>Max-Forwards</code> header on the request, or <jk>null</jk> if not found.<a name="line.510"></a>
+<span class="sourceLineNo">511</span> */<a name="line.511"></a>
+<span class="sourceLineNo">512</span> public MaxForwards getMaxForwards() {<a name="line.512"></a>
+<span class="sourceLineNo">513</span> return MaxForwards.forString(getFirst("Max-Forwards"));<a name="line.513"></a>
+<span class="sourceLineNo">514</span> }<a name="line.514"></a>
+<span class="sourceLineNo">515</span><a name="line.515"></a>
+<span class="sourceLineNo">516</span> /**<a name="line.516"></a>
+<span class="sourceLineNo">517</span> * Returns the <code>Pragma</code> header on the request.<a name="line.517"></a>
+<span class="sourceLineNo">518</span> * <p><a name="line.518"></a>
+<span class="sourceLineNo">519</span> * Implementation-specific fields that may have various effects anywhere along the request-response chain.<a name="line.519"></a>
+<span class="sourceLineNo">520</span> *<a name="line.520"></a>
+<span class="sourceLineNo">521</span> * <h6 class='figure'>Example:</h6><a name="line.521"></a>
+<span class="sourceLineNo">522</span> * <p class='bcode'><a name="line.522"></a>
+<span class="sourceLineNo">523</span> * Pragma: no-cache<a name="line.523"></a>
+<span class="sourceLineNo">524</span> * </p><a name="line.524"></a>
+<span class="sourceLineNo">525</span> *<a name="line.525"></a>
+<span class="sourceLineNo">526</span> * @return The parsed <code>Pragma</code> header on the request, or <jk>null</jk> if not found.<a name="line.526"></a>
+<span class="sourceLineNo">527</span> */<a name="line.527"></a>
+<span class="sourceLineNo">528</span> public Pragma getPragma() {<a name="line.528"></a>
+<span class="sourceLineNo">529</span> return Pragma.forString(getFirst("Pragma"));<a name="line.529"></a>
+<span class="sourceLineNo">530</span> }<a name="line.530"></a>
+<span class="sourceLineNo">531</span><a name="line.531"></a>
+<span class="sourceLineNo">532</span> /**<a name="line.532"></a>
+<span class="sourceLineNo">533</span> * Returns the <code>Proxy-Authorization</code> header on the request.<a name="line.533"></a>
+<span class="sourceLineNo">534</span> * <p><a name="line.534"></a>
+<span class="sourceLineNo">535</span> * Authorization credentials for connecting to a proxy.<a name="line.535"></a>
+<span class="sourceLineNo">536</span> *<a name="line.536"></a>
+<span class="sourceLineNo">537</span> * <h6 class='figure'>Example:</h6><a name="line.537"></a>
+<span class="sourceLineNo">538</span> * <p class='bcode'><a name="line.538"></a>
+<span class="sourceLineNo">539</span> * Proxy-Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==<a name="line.539"></a>
+<span class="sourceLineNo">540</span> * </p><a name="line.540"></a>
+<span class="sourceLineNo">541</span> *<a name="line.541"></a>
+<span class="sourceLineNo">542</span> * @return The parsed <code>Proxy-Authorization</code> header on the request, or <jk>null</jk> if not found.<a name="line.542"></a>
+<span class="sourceLineNo">543</span> */<a name="line.543"></a>
+<span class="sourceLineNo">544</span> public ProxyAuthorization getProxyAuthorization() {<a name="line.544"></a>
+<span class="sourceLineNo">545</span> return ProxyAuthorization.forString(getFirst("Proxy-Authorization"));<a name="line.545"></a>
+<span class="sourceLineNo">546</span> }<a name="line.546"></a>
+<span class="sourceLineNo">547</span><a name="line.547"></a>
+<span class="sourceLineNo">548</span> /**<a name="line.548"></a>
+<span class="sourceLineNo">549</span> * Returns the <code>Range</code> header on the request.<a name="line.549"></a>
+<span class="sourceLineNo">550</span> * <p><a name="line.550"></a>
+<span class="sourceLineNo">551</span> * Request only part of an entity. Bytes are numbered from 0.<a name="line.551"></a>
+<span class="sourceLineNo">552</span> *<a name="line.552"></a>
+<span class="sourceLineNo">553</span> * <h6 class='figure'>Example:</h6><a name="line.553"></a>
+<span class="sourceLineNo">554</span> * <p class='bcode'><a name="line.554"></a>
+<span class="sourceLineNo">555</span> * Range: bytes=500-999<a name="line.555"></a>
+<span class="sourceLineNo">556</span> * </p><a name="line.556"></a>
+<span class="sourceLineNo">557</span> *<a name="line.557"></a>
+<span class="sourceLineNo">558</span> * @return The parsed <code>Range</code> header on the request, or <jk>null</jk> if not found.<a name="line.558"></a>
+<span class="sourceLineNo">559</span> */<a name="line.559"></a>
+<span class="sourceLineNo">560</span> public Range getRange() {<a name="line.560"></a>
+<span class="sourceLineNo">561</span> return Range.forString(getFirst("Range"));<a name="line.561"></a>
+<span class="sourceLineNo">562</span> }<a name="line.562"></a>
+<span class="sourceLineNo">563</span><a name="line.563"></a>
+<span class="sourceLineNo">564</span> /**<a name="line.564"></a>
+<span class="sourceLineNo">565</span> * Returns the <code>Referer</code> header on the request.<a name="line.565"></a>
+<span class="sourceLineNo">566</span> * <p><a name="line.566"></a>
+<span class="sourceLineNo">567</span> * This is the address of the previous web page from which a link to the currently requested page was followed.<a name="line.567"></a>
+<span class="sourceLineNo">568</span> *<a name="line.568"></a>
+<span class="sourceLineNo">569</span> * <h6 class='figure'>Example:</h6><a name="line.569"></a>
+<span class="sourceLineNo">570</span> * <p class='bcode'><a name="line.570"></a>
+<span class="sourceLineNo">571</span> * Referer: http://en.wikipedia.org/wiki/Main_Page<a name="line.571"></a>
+<span class="sourceLineNo">572</span> * </p><a name="line.572"></a>
+<span class="sourceLineNo">573</span> *<a name="line.573"></a>
+<span class="sourceLineNo">574</span> * @return The parsed <code>Referer</code> header on the request, or <jk>null</jk> if not found.<a name="line.574"></a>
+<span class="sourceLineNo">575</span> */<a name="line.575"></a>
+<span class="sourceLineNo">576</span> public Referer getReferer() {<a name="line.576"></a>
+<span class="sourceLineNo">577</span> return Referer.forString(getFirst("Referer"));<a name="line.577"></a>
+<span class="sourceLineNo">578</span> }<a name="line.578"></a>
+<span class="sourceLineNo">579</span><a name="line.579"></a>
+<span class="sourceLineNo">580</span> /**<a name="line.580"></a>
+<span class="sourceLineNo">581</span> * Returns the <code>TE</code> header on the request.<a name="line.581"></a>
+<span class="sourceLineNo">582</span> * <p><a name="line.582"></a>
+<span class="sourceLineNo">583</span> * The transfer encodings the user agent is willing to accept: the same values as for the response header field<a name="line.583"></a>
+<span class="sourceLineNo">584</span> * Transfer-Encoding can be used, plus the "trailers" value (related to the "chunked" transfer method) to notify the<a name="line.584"></a>
+<span class="sourceLineNo">585</span> * server it expects to receive additional fields in the trailer after the last, zero-sized, chunk.<a name="line.585"></a>
+<span class="sourceLineNo">586</span> *<a name="line.586"></a>
+<span class="sourceLineNo">587</span> * <h6 class='figure'>Example:</h6><a name="line.587"></a>
+<span class="sourceLineNo">588</span> * <p class='bcode'><a name="line.588"></a>
+<span class="sourceLineNo">589</span> * TE: trailers, deflate<a name="line.589"></a>
+<span class="sourceLineNo">590</span> * </p><a name="line.590"></a>
+<span class="sourceLineNo">591</span> *<a name="line.591"></a>
+<span class="sourceLineNo">592</span> * @return The parsed <code>TE</code> header on the request, or <jk>null</jk> if not found.<a name="line.592"></a>
+<span class="sourceLineNo">593</span> */<a name="line.593"></a>
+<span class="sourceLineNo">594</span> public TE getTE() {<a name="line.594"></a>
+<span class="sourceLineNo">595</span> return TE.forString(getFirst("TE"));<a name="line.595"></a>
+<span class="sourceLineNo">596</span> }<a name="line.596"></a>
+<span class="sourceLineNo">597</span><a name="line.597"></a>
+<span class="sourceLineNo">598</span> /**<a name="line.598"></a>
+<span class="sourceLineNo">599</span> * Returns the <code>Time-Zone</code> header value on the request if there is one.<a name="line.599"></a>
+<span class="sourceLineNo">600</span> * <p><a name="line.600"></a>
+<span class="sourceLineNo">601</span> * Example: <js>"GMT"</js>.<a name="line.601"></a>
+<span class="sourceLineNo">602</span> *<a name="line.602"></a>
+<span class="sourceLineNo">603</span> * @return The <code>Time-Zone</code> header value on the request, or <jk>null</jk> if not present.<a name="line.603"></a>
+<span class="sourceLineNo">604</span> */<a name="line.604"></a>
+<span class="sourceLineNo">605</span> public TimeZone getTimeZone() {<a name="line.605"></a>
+<span class="sourceLineNo">606</span> String tz = getFirst("Time-Zone");<a name="line.606"></a>
+<span class="sourceLineNo">607</span> if (tz != null)<a name="line.607"></a>
+<span class="sourceLineNo">608</span> return TimeZone.getTimeZone(tz);<a name="line.608"></a>
+<span class="sourceLineNo">609</span> return null;<a name="line.609"></a>
+<span class="sourceLineNo">610</span> }<a name="line.610"></a>
+<span class="sourceLineNo">611</span><a name="line.611"></a>
+<span class="sourceLineNo">612</span> /**<a name="line.612"></a>
+<span class="sourceLineNo">613</span> * Returns the <code>User-Agent</code> header on the request.<a name="line.613"></a>
+<span class="sourceLineNo">614</span> * <p><a name="line.614"></a>
+<span class="sourceLineNo">615</span> * The user agent string of the user agent.<a name="line.615"></a>
+<span class="sourceLineNo">616</span> *<a name="line.616"></a>
+<span class="sourceLineNo">617</span> * <h6 class='figure'>Example:</h6><a name="line.617"></a>
+<span class="sourceLineNo">618</span> * <p class='bcode'><a name="line.618"></a>
+<span class="sourceLineNo">619</span> * User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20100101 Firefox/21.0<a name="line.619"></a>
+<span class="sourceLineNo">620</span> * </p><a name="line.620"></a>
+<span class="sourceLineNo">621</span> *<a name="line.621"></a>
+<span class="sourceLineNo">622</span> * @return The parsed <code>User-Agent</code> header on the request, or <jk>null</jk> if not found.<a name="line.622"></a>
+<span class="sourceLineNo">623</span> */<a name="line.623"></a>
+<span class="sourceLineNo">624</span> public UserAgent getUserAgent() {<a name="line.624"></a>
+<span class="sourceLineNo">625</span> return UserAgent.forString(getFirst("User-Agent"));<a name="line.625"></a>
+<span class="sourceLineNo">626</span> }<a name="line.626"></a>
+<span class="sourceLineNo">627</span><a name="line.627"></a>
+<span class="sourceLineNo">628</span> /**<a name="line.628"></a>
+<span class="sourceLineNo">629</span> * Returns the <code>Upgrade</code> header on the request.<a name="line.629"></a>
+<span class="sourceLineNo">630</span> * <p><a name="line.630"></a>
+<span class="sourceLineNo">631</span> * Ask the server to upgrade to another protocol.<a name="line.631"></a>
+<span class="sourceLineNo">632</span> *<a name="line.632"></a>
+<span class="sourceLineNo">633</span> * <h6 class='figure'>Example:</h6><a name="line.633"></a>
+<span class="sourceLineNo">634</span> * <p class='bcode'><a name="line.634"></a>
+<span class="sourceLineNo">635</span> * Upgrade: HTTP/2.0, HTTPS/1.3, IRC/6.9, RTA/x11, websocket<a name="line.635"></a>
+<span class="sourceLineNo">636</span> * </p><a name="line.636"></a>
+<span class="sourceLineNo">637</span> *<a name="line.637"></a>
+<span class="sourceLineNo">638</span> * @return The parsed <code>Upgrade</code> header on the request, or <jk>null</jk> if not found.<a name="line.638"></a>
+<span class="sourceLineNo">639</span> */<a name="line.639"></a>
+<span class="sourceLineNo">640</span> public Upgrade getUpgrade() {<a name="line.640"></a>
+<span class="sourceLineNo">641</span> return Upgrade.forString(getFirst("Upgrade"));<a name="line.641"></a>
+<span class="sourceLineNo">642</span> }<a name="line.642"></a>
+<span class="sourceLineNo">643</span><a name="line.643"></a>
+<span class="sourceLineNo">644</span> /**<a name="line.644"></a>
+<span class="sourceLineNo">645</span> * Returns the <code>Via</code> header on the request.<a name="line.645"></a>
+<span class="sourceLineNo">646</span> * <p><a name="line.646"></a>
+<span class="sourceLineNo">647</span> * Informs the server of proxies through which the request was sent.<a name="line.647"></a>
+<span class="sourceLineNo">648</span> *<a name="line.648"></a>
+<span class="sourceLineNo">649</span> * <h6 class='figure'>Example:</h6><a name="line.649"></a>
+<span class="sourceLineNo">650</span> * <p class='bcode'><a name="line.650"></a>
+<span class="sourceLineNo">651</span> * Via: 1.0 fred, 1.1 example.com (Apache/1.1)<a name="line.651"></a>
+<span class="sourceLineNo">652</span> * </p><a name="line.652"></a>
+<span class="sourceLineNo">653</span> *<a name="line.653"></a>
+<span class="sourceLineNo">654</span> * @return The parsed <code>Via</code> header on the request, or <jk>null</jk> if not found.<a name="line.654"></a>
+<span class="sourceLineNo">655</span> */<a name="line.655"></a>
+<span class="sourceLineNo">656</span> public Via getVia() {<a name="line.656"></a>
+<span class="sourceLineNo">657</span> return Via.forString(getFirst("Via"));<a name="line.657"></a>
+<span class="sourceLineNo">658</span> }<a name="line.658"></a>
+<span class="sourceLineNo">659</span><a name="line.659"></a>
+<span class="sourceLineNo">660</span> /**<a name="line.660"></a>
+<span class="sourceLineNo">661</span> * Returns the <code>Warning</code> header on the request.<a name="line.661"></a>
+<span class="sourceLineNo">662</span> * <p><a name="line.662"></a>
+<span class="sourceLineNo">663</span> * A general warning about possible problems with the entity body.<a name="line.663"></a>
+<span class="sourceLineNo">664</span> *<a name="line.664"></a>
+<span class="sourceLineNo">665</span> * <h6 class='figure'>Example:</h6><a name="line.665"></a>
+<span class="sourceLineNo">666</span> * <p class='bcode'><a name="line.666"></a>
+<span class="sourceLineNo">667</span> * Warning: 199 Miscellaneous warning<a name="line.667"></a>
+<span class="sourceLineNo">668</span> * </p><a name="line.668"></a>
+<span class="sourceLineNo">669</span> *<a name="line.669"></a>
+<span class="sourceLineNo">670</span> * @return The parsed <code>Warning</code> header on the request, or <jk>null</jk> if not found.<a name="line.670"></a>
+<span class="sourceLineNo">671</span> */<a name="line.671"></a>
+<span class="sourceLineNo">672</span> public Warning getWarning() {<a name="line.672"></a>
+<span class="sourceLineNo">673</span> return Warning.forString(getFirst("Warning"));<a name="line.673"></a>
+<span class="sourceLineNo">674</span> }<a name="line.674"></a>
+<span class="sourceLineNo">675</span>}<a name="line.675"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/rest/RequestPathParams.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/rest/RequestPathParams.html b/content/site/apidocs/src-html/org/apache/juneau/rest/RequestPathParams.html
new file mode 100644
index 0000000..66dd1b8
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/rest/RequestPathParams.html
@@ -0,0 +1,209 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.rest;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>import java.lang.reflect.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span>import java.util.*;<a name="line.16"></a>
+<span class="sourceLineNo">017</span><a name="line.17"></a>
+<span class="sourceLineNo">018</span>import org.apache.juneau.*;<a name="line.18"></a>
+<span class="sourceLineNo">019</span>import org.apache.juneau.parser.*;<a name="line.19"></a>
+<span class="sourceLineNo">020</span>import org.apache.juneau.urlencoding.*;<a name="line.20"></a>
+<span class="sourceLineNo">021</span><a name="line.21"></a>
+<span class="sourceLineNo">022</span>/**<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * Represents the path parameters on an HTTP request.<a name="line.23"></a>
+<span class="sourceLineNo">024</span> */<a name="line.24"></a>
+<span class="sourceLineNo">025</span>@SuppressWarnings("unchecked")<a name="line.25"></a>
+<span class="sourceLineNo">026</span>public class RequestPathParams extends TreeMap<String,String> {<a name="line.26"></a>
+<span class="sourceLineNo">027</span> private static final long serialVersionUID = 1L;<a name="line.27"></a>
+<span class="sourceLineNo">028</span><a name="line.28"></a>
+<span class="sourceLineNo">029</span> private UrlEncodingParser parser;<a name="line.29"></a>
+<span class="sourceLineNo">030</span> private BeanSession beanSession;<a name="line.30"></a>
+<span class="sourceLineNo">031</span><a name="line.31"></a>
+<span class="sourceLineNo">032</span> RequestPathParams() {<a name="line.32"></a>
+<span class="sourceLineNo">033</span> super(String.CASE_INSENSITIVE_ORDER);<a name="line.33"></a>
+<span class="sourceLineNo">034</span> }<a name="line.34"></a>
+<span class="sourceLineNo">035</span><a name="line.35"></a>
+<span class="sourceLineNo">036</span> RequestPathParams setParser(UrlEncodingParser parser) {<a name="line.36"></a>
+<span class="sourceLineNo">037</span> this.parser = parser;<a name="line.37"></a>
+<span class="sourceLineNo">038</span> return this;<a name="line.38"></a>
+<span class="sourceLineNo">039</span> }<a name="line.39"></a>
+<span class="sourceLineNo">040</span><a name="line.40"></a>
+<span class="sourceLineNo">041</span> RequestPathParams setBeanSession(BeanSession beanSession) {<a name="line.41"></a>
+<span class="sourceLineNo">042</span> this.beanSession = beanSession;<a name="line.42"></a>
+<span class="sourceLineNo">043</span> return this;<a name="line.43"></a>
+<span class="sourceLineNo">044</span> }<a name="line.44"></a>
+<span class="sourceLineNo">045</span><a name="line.45"></a>
+<span class="sourceLineNo">046</span> /**<a name="line.46"></a>
+<span class="sourceLineNo">047</span> * Sets a request query parameter value.<a name="line.47"></a>
+<span class="sourceLineNo">048</span> *<a name="line.48"></a>
+<span class="sourceLineNo">049</span> * @param name The parameter name.<a name="line.49"></a>
+<span class="sourceLineNo">050</span> * @param value The parameter value.<a name="line.50"></a>
+<span class="sourceLineNo">051</span> */<a name="line.51"></a>
+<span class="sourceLineNo">052</span> public void put(String name, Object value) {<a name="line.52"></a>
+<span class="sourceLineNo">053</span> put(name, value);<a name="line.53"></a>
+<span class="sourceLineNo">054</span> }<a name="line.54"></a>
+<span class="sourceLineNo">055</span><a name="line.55"></a>
+<span class="sourceLineNo">056</span> /**<a name="line.56"></a>
+<span class="sourceLineNo">057</span> * Returns the specified path parameter converted to a POJO.<a name="line.57"></a>
+<span class="sourceLineNo">058</span> * <p><a name="line.58"></a>
+<span class="sourceLineNo">059</span> * The type can be any POJO type convertable from a <code>String</code> (See <a class="doclink" <a name="line.59"></a>
+<span class="sourceLineNo">060</span> * href="package-summary.html#PojosConvertableFromString">POJOs Convertable From Strings</a>).<a name="line.60"></a>
+<span class="sourceLineNo">061</span> * <p><a name="line.61"></a>
+<span class="sourceLineNo">062</span> * <h5 class='section'>Examples:</h5><a name="line.62"></a>
+<span class="sourceLineNo">063</span> * <p class='bcode'><a name="line.63"></a>
+<span class="sourceLineNo">064</span> * <jc>// Parse into an integer.</jc><a name="line.64"></a>
+<span class="sourceLineNo">065</span> * <jk>int</jk> myparam = req.getPathParameter(<js>"myparam"</js>, <jk>int</jk>.<jk>class</jk>);<a name="line.65"></a>
+<span class="sourceLineNo">066</span> *<a name="line.66"></a>
+<span class="sourceLineNo">067</span> * <jc>// Parse into an int array.</jc><a name="line.67"></a>
+<span class="sourceLineNo">068</span> * <jk>int</jk>[] myparam = req.getPathParameter(<js>"myparam"</js>, <jk>int</jk>[].<jk>class</jk>);<a name="line.68"></a>
+<span class="sourceLineNo">069</span><a name="line.69"></a>
+<span class="sourceLineNo">070</span> * <jc>// Parse into a bean.</jc><a name="line.70"></a>
+<span class="sourceLineNo">071</span> * MyBean myparam = req.getPathParameter(<js>"myparam"</js>, MyBean.<jk>class</jk>);<a name="line.71"></a>
+<span class="sourceLineNo">072</span> *<a name="line.72"></a>
+<span class="sourceLineNo">073</span> * <jc>// Parse into a linked-list of objects.</jc><a name="line.73"></a>
+<span class="sourceLineNo">074</span> * List myparam = req.getPathParameter(<js>"myparam"</js>, LinkedList.<jk>class</jk>);<a name="line.74"></a>
+<span class="sourceLineNo">075</span> *<a name="line.75"></a>
+<span class="sourceLineNo">076</span> * <jc>// Parse into a map of object keys/values.</jc><a name="line.76"></a>
+<span class="sourceLineNo">077</span> * Map myparam = req.getPathParameter(<js>"myparam"</js>, TreeMap.<jk>class</jk>);<a name="line.77"></a>
+<span class="sourceLineNo">078</span> * </p><a name="line.78"></a>
+<span class="sourceLineNo">079</span> *<a name="line.79"></a>
+<span class="sourceLineNo">080</span> * @param name The attribute name.<a name="line.80"></a>
+<span class="sourceLineNo">081</span> * @param type The class type to convert the attribute value to.<a name="line.81"></a>
+<span class="sourceLineNo">082</span> * @param <T> The class type to convert the attribute value to.<a name="line.82"></a>
+<span class="sourceLineNo">083</span> * @return The attribute value converted to the specified class type.<a name="line.83"></a>
+<span class="sourceLineNo">084</span> * @throws ParseException<a name="line.84"></a>
+<span class="sourceLineNo">085</span> */<a name="line.85"></a>
+<span class="sourceLineNo">086</span> public <T> T get(String name, Class<T> type) throws ParseException {<a name="line.86"></a>
+<span class="sourceLineNo">087</span> return parse(name, beanSession.getClassMeta(type));<a name="line.87"></a>
+<span class="sourceLineNo">088</span> }<a name="line.88"></a>
+<span class="sourceLineNo">089</span><a name="line.89"></a>
+<span class="sourceLineNo">090</span> /**<a name="line.90"></a>
+<span class="sourceLineNo">091</span> * Returns the specified path parameter converted to a POJO.<a name="line.91"></a>
+<span class="sourceLineNo">092</span> * <p><a name="line.92"></a>
+<span class="sourceLineNo">093</span> * The type can be any POJO type convertable from a <code>String</code> (See <a class="doclink" href="package-summary.html#PojosConvertableFromString">POJOs Convertable From Strings</a>).<a name="line.93"></a>
+<span class="sourceLineNo">094</span> * <p><a name="line.94"></a>
+<span class="sourceLineNo">095</span> * Use this method if you want to parse into a parameterized <code>Map</code>/<code>Collection</code> object.<a name="line.95"></a>
+<span class="sourceLineNo">096</span> * <p><a name="line.96"></a>
+<span class="sourceLineNo">097</span> * <h5 class='section'>Examples:</h5><a name="line.97"></a>
+<span class="sourceLineNo">098</span> * <p class='bcode'><a name="line.98"></a>
+<span class="sourceLineNo">099</span> * <jc>// Parse into a linked-list of strings.</jc><a name="line.99"></a>
+<span class="sourceLineNo">100</span> * List&lt;String&gt; myparam = req.getPathParameter(<js>"myparam"</js>, LinkedList.<jk>class</jk>, String.<jk>class</jk>);<a name="line.100"></a>
+<span class="sourceLineNo">101</span> *<a name="line.101"></a>
+<span class="sourceLineNo">102</span> * <jc>// Parse into a linked-list of linked-lists of strings.</jc><a name="line.102"></a>
+<span class="sourceLineNo">103</span> * List&lt;List&lt;String&gt;&gt; myparam = req.getPathParameter(<js>"myparam"</js>, LinkedList.<jk>class</jk>, LinkedList.<jk>class</jk>, String.<jk>class</jk>);<a name="line.103"></a>
+<span class="sourceLineNo">104</span> *<a name="line.104"></a>
+<span class="sourceLineNo">105</span> * <jc>// Parse into a map of string keys/values.</jc><a name="line.105"></a>
+<span class="sourceLineNo">106</span> * Map&lt;String,String&gt; myparam = req.getPathParameter(<js>"myparam"</js>, TreeMap.<jk>class</jk>, String.<jk>class</jk>, String.<jk>class</jk>);<a name="line.106"></a>
+<span class="sourceLineNo">107</span> *<a name="line.107"></a>
+<span class="sourceLineNo">108</span> * <jc>// Parse into a map containing string keys and values of lists containing beans.</jc><a name="line.108"></a>
+<span class="sourceLineNo">109</span> * Map&lt;String,List&lt;MyBean&gt;&gt; myparam = req.getPathParameter(<js>"myparam"</js>, TreeMap.<jk>class</jk>, String.<jk>class</jk>, List.<jk>class</jk>, MyBean.<jk>class</jk>);<a name="line.109"></a>
+<span class="sourceLineNo">110</span> * </p><a name="line.110"></a>
+<span class="sourceLineNo">111</span> *<a name="line.111"></a>
+<span class="sourceLineNo">112</span> * @param name The attribute name.<a name="line.112"></a>
+<span class="sourceLineNo">113</span> * @param type The type of object to create.<a name="line.113"></a>
+<span class="sourceLineNo">114</span> * <br>Can be any of the following: {@link ClassMeta}, {@link Class}, {@link ParameterizedType}, {@link GenericArrayType}<a name="line.114"></a>
+<span class="sourceLineNo">115</span> * @param args The type arguments of the class if it's a collection or map.<a name="line.115"></a>
+<span class="sourceLineNo">116</span> * <br>Can be any of the following: {@link ClassMeta}, {@link Class}, {@link ParameterizedType}, {@link GenericArrayType}<a name="line.116"></a>
+<span class="sourceLineNo">117</span> * <br>Ignored if the main type is not a map or collection.<a name="line.117"></a>
+<span class="sourceLineNo">118</span> * @param <T> The class type to convert the attribute value to.<a name="line.118"></a>
+<span class="sourceLineNo">119</span> * @return The attribute value converted to the specified class type.<a name="line.119"></a>
+<span class="sourceLineNo">120</span> * @throws ParseException<a name="line.120"></a>
+<span class="sourceLineNo">121</span> */<a name="line.121"></a>
+<span class="sourceLineNo">122</span> public <T> T get(String name, Type type, Type...args) throws ParseException {<a name="line.122"></a>
+<span class="sourceLineNo">123</span> return (T)parse(name, beanSession.getClassMeta(type, args));<a name="line.123"></a>
+<span class="sourceLineNo">124</span> }<a name="line.124"></a>
+<span class="sourceLineNo">125</span><a name="line.125"></a>
+<span class="sourceLineNo">126</span> /* Workhorse method */<a name="line.126"></a>
+<span class="sourceLineNo">127</span> <T> T parse(String name, ClassMeta<T> cm) throws ParseException {<a name="line.127"></a>
+<span class="sourceLineNo">128</span> Object attr = get(name);<a name="line.128"></a>
+<span class="sourceLineNo">129</span> T t = null;<a name="line.129"></a>
+<span class="sourceLineNo">130</span> if (attr != null)<a name="line.130"></a>
+<span class="sourceLineNo">131</span> t = parser.parsePart(attr.toString(), cm);<a name="line.131"></a>
+<span class="sourceLineNo">132</span> if (t == null && cm.isPrimitive())<a name="line.132"></a>
+<span class="sourceLineNo">133</span> return cm.getPrimitiveDefault();<a name="line.133"></a>
+<span class="sourceLineNo">134</span> return t;<a name="line.134"></a>
+<span class="sourceLineNo">135</span> }<a name="line.135"></a>
+<span class="sourceLineNo">136</span><a name="line.136"></a>
+<span class="sourceLineNo">137</span>}<a name="line.137"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
[32/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/rest/RequestHeaders.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/RequestHeaders.html b/content/site/apidocs/org/apache/juneau/rest/RequestHeaders.html
new file mode 100644
index 0000000..319426d
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/rest/RequestHeaders.html
@@ -0,0 +1,1304 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>RequestHeaders (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="RequestHeaders (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10};
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/rest/RequestFormData.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/rest/RequestPathParams.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/rest/RequestHeaders.html" target="_top">Frames</a></li>
+<li><a href="RequestHeaders.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li><a href="#nested.classes.inherited.from.class.java.util.AbstractMap">Nested</a> | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.rest</div>
+<h2 title="Class RequestHeaders" class="title">Class RequestHeaders</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.html?is-external=true" title="class or interface in java.util">java.util.AbstractMap</a><K,V></li>
+<li>
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true" title="class or interface in java.util">java.util.TreeMap</a><<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="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.rest.RequestHeaders</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt>All Implemented Interfaces:</dt>
+<dd><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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="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="http://docs.oracle.com/javase/7/docs/api/java/util/NavigableMap.html?is-external=true" title="class or interface in java.util">NavigableMap</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interf
ace in java.lang">String</a>,<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="http://docs.oracle.com/javase/7/docs/api/java/util/SortedMap.html?is-external=true" title="class or interface in java.util">SortedMap</a><<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="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]></dd>
+</dl>
+<hr>
+<br>
+<pre>public class <a href="../../../../src-html/org/apache/juneau/rest/RequestHeaders.html#line.30">RequestHeaders</a>
+extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true" title="class or interface in java.util">TreeMap</a><<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="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]></pre>
+<div class="block">Represents the headers in an HTTP request.
+ <p>
+ Entries are stored in a case-insensitive map.</div>
+<dl>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a href="../../../../serialized-form.html#org.apache.juneau.rest.RequestHeaders">Serialized Form</a></dd>
+</dl>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== NESTED CLASS SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="nested.class.summary">
+<!-- -->
+</a>
+<h3>Nested Class Summary</h3>
+<ul class="blockList">
+<li class="blockList"><a name="nested.classes.inherited.from.class.java.util.AbstractMap">
+<!-- -->
+</a>
+<h3>Nested classes/interfaces inherited from class java.util.<a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.html?is-external=true" title="class or interface in java.util">AbstractMap</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.SimpleEntry.html?is-external=true" title="class or interface in java.util">AbstractMap.SimpleEntry</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.SimpleEntry.html?is-external=true" title="class or interface in java.util">K</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.SimpleEntry.html?is-external=true" title="class or interface in java.util">V</a>>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.SimpleImmutableEntry.html?is-external=true" title="class or interface in java.util">AbstractMap.SimpleImmutableEntry</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.SimpleImmutableEntry.html?is-external=true" title="class or interface in java.util">K</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.SimpleImmutableEntry.html?is-external=true" title="class or interface in
java.util">V</a>></code></li>
+</ul>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RequestHeaders.html" title="class in org.apache.juneau.rest">RequestHeaders</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestHeaders.html#addDefault-java.util.Map-">addDefault</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> defaultEntries)</code>
+<div class="block">Adds default entries to these headers.</div>
+</td>
+</tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code><T> T</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestHeaders.html#get-java.lang.String-java.lang.Class-">get</a></span>(<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> name,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type)</code>
+<div class="block">Returns the specified header value converted to a POJO.</div>
+</td>
+</tr>
+<tr id="i2" class="altColor">
+<td class="colFirst"><code><T> T</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestHeaders.html#get-java.lang.String-T-java.lang.Class-">get</a></span>(<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> name,
+ T def,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type)</code>
+<div class="block">Same as <a href="../../../../org/apache/juneau/rest/RequestHeaders.html#get-java.lang.String-java.lang.Class-"><code>get(String, Class)</code></a> but returns a default value if not found.</div>
+</td>
+</tr>
+<tr id="i3" class="rowColor">
+<td class="colFirst"><code><T> T</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestHeaders.html#get-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-">get</a></span>(<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> name,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> type,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>... args)</code>
+<div class="block">Returns the specified header value converted to a POJO.</div>
+</td>
+</tr>
+<tr id="i4" class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/http/Accept.html" title="class in org.apache.juneau.http">Accept</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestHeaders.html#getAccept--">getAccept</a></span>()</code>
+<div class="block">Returns the <code>Accept</code> header on the request.</div>
+</td>
+</tr>
+<tr id="i5" class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/http/AcceptCharset.html" title="class in org.apache.juneau.http">AcceptCharset</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestHeaders.html#getAcceptCharset--">getAcceptCharset</a></span>()</code>
+<div class="block">Returns the <code>Accept-Charset</code> header on the request.</div>
+</td>
+</tr>
+<tr id="i6" class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/http/AcceptEncoding.html" title="class in org.apache.juneau.http">AcceptEncoding</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestHeaders.html#getAcceptEncoding--">getAcceptEncoding</a></span>()</code>
+<div class="block">Returns the <code>Accept-Encoding</code> header on the request.</div>
+</td>
+</tr>
+<tr id="i7" class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/http/AcceptLanguage.html" title="class in org.apache.juneau.http">AcceptLanguage</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestHeaders.html#getAcceptLanguage--">getAcceptLanguage</a></span>()</code>
+<div class="block">Returns the <code>Accept-Language</code> header on the request.</div>
+</td>
+</tr>
+<tr id="i8" class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/http/Authorization.html" title="class in org.apache.juneau.http">Authorization</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestHeaders.html#getAuthorization--">getAuthorization</a></span>()</code>
+<div class="block">Returns the <code>Authorization</code> header on the request.</div>
+</td>
+</tr>
+<tr id="i9" class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/http/CacheControl.html" title="class in org.apache.juneau.http">CacheControl</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestHeaders.html#getCacheControl--">getCacheControl</a></span>()</code>
+<div class="block">Returns the <code>Cache-Control</code> header on the request.</div>
+</td>
+</tr>
+<tr id="i10" class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/http/Connection.html" title="class in org.apache.juneau.http">Connection</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestHeaders.html#getConnection--">getConnection</a></span>()</code>
+<div class="block">Returns the <code>Connection</code> header on the request.</div>
+</td>
+</tr>
+<tr id="i11" class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/http/ContentLength.html" title="class in org.apache.juneau.http">ContentLength</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestHeaders.html#getContentLength--">getContentLength</a></span>()</code>
+<div class="block">Returns the <code>Content-Length</code> header on the request.</div>
+</td>
+</tr>
+<tr id="i12" class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/http/ContentType.html" title="class in org.apache.juneau.http">ContentType</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestHeaders.html#getContentType--">getContentType</a></span>()</code>
+<div class="block">Returns the <code>Content-Type</code> header on the request.</div>
+</td>
+</tr>
+<tr id="i13" class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/http/Date.html" title="class in org.apache.juneau.http">Date</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestHeaders.html#getDate--">getDate</a></span>()</code>
+<div class="block">Returns the <code>Date</code> header on the request.</div>
+</td>
+</tr>
+<tr id="i14" class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/http/Expect.html" title="class in org.apache.juneau.http">Expect</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestHeaders.html#getExpect--">getExpect</a></span>()</code>
+<div class="block">Returns the <code>Expect</code> header on the request.</div>
+</td>
+</tr>
+<tr id="i15" class="rowColor">
+<td class="colFirst"><code><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/rest/RequestHeaders.html#getFirst-java.lang.String-">getFirst</a></span>(<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> name)</code>
+<div class="block">Returns the specified header value, or <jk>null</jk> if the header doesn't exist.</div>
+</td>
+</tr>
+<tr id="i16" class="altColor">
+<td class="colFirst"><code><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/rest/RequestHeaders.html#getFirst-java.lang.String-java.lang.String-">getFirst</a></span>(<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> name,
+ <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> def)</code>
+<div class="block">Returns the specified header value, or a default value if the header doesn't exist.</div>
+</td>
+</tr>
+<tr id="i17" class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/http/From.html" title="class in org.apache.juneau.http">From</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestHeaders.html#getFrom--">getFrom</a></span>()</code>
+<div class="block">Returns the <code>From</code> header on the request.</div>
+</td>
+</tr>
+<tr id="i18" class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/http/Host.html" title="class in org.apache.juneau.http">Host</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestHeaders.html#getHost--">getHost</a></span>()</code>
+<div class="block">Returns the <code>Host</code> header on the request.</div>
+</td>
+</tr>
+<tr id="i19" class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/http/IfMatch.html" title="class in org.apache.juneau.http">IfMatch</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestHeaders.html#getIfMatch--">getIfMatch</a></span>()</code>
+<div class="block">Returns the <code>If-Match</code> header on the request.</div>
+</td>
+</tr>
+<tr id="i20" class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/http/IfModifiedSince.html" title="class in org.apache.juneau.http">IfModifiedSince</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestHeaders.html#getIfModifiedSince--">getIfModifiedSince</a></span>()</code>
+<div class="block">Returns the <code>If-Modified-Since</code> header on the request.</div>
+</td>
+</tr>
+<tr id="i21" class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/http/IfNoneMatch.html" title="class in org.apache.juneau.http">IfNoneMatch</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestHeaders.html#getIfNoneMatch--">getIfNoneMatch</a></span>()</code>
+<div class="block">Returns the <code>If-None-Match</code> header on the request.</div>
+</td>
+</tr>
+<tr id="i22" class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/http/IfRange.html" title="class in org.apache.juneau.http">IfRange</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestHeaders.html#getIfRange--">getIfRange</a></span>()</code>
+<div class="block">Returns the <code>If-Range</code> header on the request.</div>
+</td>
+</tr>
+<tr id="i23" class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/http/IfUnmodifiedSince.html" title="class in org.apache.juneau.http">IfUnmodifiedSince</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestHeaders.html#getIfUnmodifiedSince--">getIfUnmodifiedSince</a></span>()</code>
+<div class="block">Returns the <code>If-Unmodified-Since</code> header on the request.</div>
+</td>
+</tr>
+<tr id="i24" class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/http/MaxForwards.html" title="class in org.apache.juneau.http">MaxForwards</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestHeaders.html#getMaxForwards--">getMaxForwards</a></span>()</code>
+<div class="block">Returns the <code>Max-Forwards</code> header on the request.</div>
+</td>
+</tr>
+<tr id="i25" class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/http/Pragma.html" title="class in org.apache.juneau.http">Pragma</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestHeaders.html#getPragma--">getPragma</a></span>()</code>
+<div class="block">Returns the <code>Pragma</code> header on the request.</div>
+</td>
+</tr>
+<tr id="i26" class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/http/ProxyAuthorization.html" title="class in org.apache.juneau.http">ProxyAuthorization</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestHeaders.html#getProxyAuthorization--">getProxyAuthorization</a></span>()</code>
+<div class="block">Returns the <code>Proxy-Authorization</code> header on the request.</div>
+</td>
+</tr>
+<tr id="i27" class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/http/Range.html" title="class in org.apache.juneau.http">Range</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestHeaders.html#getRange--">getRange</a></span>()</code>
+<div class="block">Returns the <code>Range</code> header on the request.</div>
+</td>
+</tr>
+<tr id="i28" class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/http/Referer.html" title="class in org.apache.juneau.http">Referer</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestHeaders.html#getReferer--">getReferer</a></span>()</code>
+<div class="block">Returns the <code>Referer</code> header on the request.</div>
+</td>
+</tr>
+<tr id="i29" class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/http/TE.html" title="class in org.apache.juneau.http">TE</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestHeaders.html#getTE--">getTE</a></span>()</code>
+<div class="block">Returns the <code>TE</code> header on the request.</div>
+</td>
+</tr>
+<tr id="i30" class="altColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util">TimeZone</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestHeaders.html#getTimeZone--">getTimeZone</a></span>()</code>
+<div class="block">Returns the <code>Time-Zone</code> header value on the request if there is one.</div>
+</td>
+</tr>
+<tr id="i31" class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/http/Upgrade.html" title="class in org.apache.juneau.http">Upgrade</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestHeaders.html#getUpgrade--">getUpgrade</a></span>()</code>
+<div class="block">Returns the <code>Upgrade</code> header on the request.</div>
+</td>
+</tr>
+<tr id="i32" class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/http/UserAgent.html" title="class in org.apache.juneau.http">UserAgent</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestHeaders.html#getUserAgent--">getUserAgent</a></span>()</code>
+<div class="block">Returns the <code>User-Agent</code> header on the request.</div>
+</td>
+</tr>
+<tr id="i33" class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/http/Via.html" title="class in org.apache.juneau.http">Via</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestHeaders.html#getVia--">getVia</a></span>()</code>
+<div class="block">Returns the <code>Via</code> header on the request.</div>
+</td>
+</tr>
+<tr id="i34" class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/http/Warning.html" title="class in org.apache.juneau.http">Warning</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestHeaders.html#getWarning--">getWarning</a></span>()</code>
+<div class="block">Returns the <code>Warning</code> header on the request.</div>
+</td>
+</tr>
+<tr id="i35" class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RequestHeaders.html" title="class in org.apache.juneau.rest">RequestHeaders</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestHeaders.html#put-java.lang.String-java.util.Enumeration-">put</a></span>(<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> name,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Enumeration.html?is-external=true" title="class or interface in java.util">Enumeration</a><<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>> values)</code>
+<div class="block">Adds a set of header values to this object.</div>
+</td>
+</tr>
+<tr id="i36" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestHeaders.html#put-java.lang.String-java.lang.Object-">put</a></span>(<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> name,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code>
+<div class="block">Sets a request header value.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.util.TreeMap">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.util.<a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true" title="class or interface in java.util">TreeMap</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#ceilingEntry-K-" title="class or interface in java.util">ceilingEntry</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#ceilingKey-K-" title="class or interface in java.util">ceilingKey</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#clear--" title="class or interface in java.util">clear</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#clone--" title="class or interface in java.util">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#comparator--" title="class or interface in java.util">comparator</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#containsKey-java.lang.Object-" title="class or interface in java.util">containsKey</a>, <a href="http://docs.oracle
.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#containsValue-java.lang.Object-" title="class or interface in java.util">containsValue</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#descendingKeySet--" title="class or interface in java.util">descendingKeySet</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#descendingMap--" title="class or interface in java.util">descendingMap</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#entrySet--" title="class or interface in java.util">entrySet</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#firstEntry--" title="class or interface in java.util">firstEntry</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#firstKey--" title="class or interface in java.util">firstKey</a>, <a href="http://docs.oracle.com/
javase/7/docs/api/java/util/TreeMap.html?is-external=true#floorEntry-K-" title="class or interface in java.util">floorEntry</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#floorKey-K-" title="class or interface in java.util">floorKey</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#forEach-java.util.function.BiConsumer-" title="class or interface in java.util">forEach</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#get-java.lang.Object-" title="class or interface in java.util">get</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#headMap-K-" title="class or interface in java.util">headMap</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#headMap-K-boolean-" title="class or interface in java.util">headMap</a>, <a href="http://docs.oracle.com/javase/7/docs/ap
i/java/util/TreeMap.html?is-external=true#higherEntry-K-" title="class or interface in java.util">higherEntry</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#higherKey-K-" title="class or interface in java.util">higherKey</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#keySet--" title="class or interface in java.util">keySet</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#lastEntry--" title="class or interface in java.util">lastEntry</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#lastKey--" title="class or interface in java.util">lastKey</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#lowerEntry-K-" title="class or interface in java.util">lowerEntry</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#lowerKey
-K-" title="class or interface in java.util">lowerKey</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#navigableKeySet--" title="class or interface in java.util">navigableKeySet</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#pollFirstEntry--" title="class or interface in java.util">pollFirstEntry</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#pollLastEntry--" title="class or interface in java.util">pollLastEntry</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#put-K-V-" title="class or interface in java.util">put</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#putAll-java.util.Map-" title="class or interface in java.util">putAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#remove-java.lang.Object-" titl
e="class or interface in java.util">remove</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#replace-K-V-" title="class or interface in java.util">replace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#replace-K-V-V-" title="class or interface in java.util">replace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#replaceAll-java.util.function.BiFunction-" title="class or interface in java.util">replaceAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#size--" title="class or interface in java.util">size</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#subMap-K-boolean-K-boolean-" title="class or interface in java.util">subMap</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#subMap-K-K-" title="class or interf
ace in java.util">subMap</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#tailMap-K-" title="class or interface in java.util">tailMap</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#tailMap-K-boolean-" title="class or interface in java.util">tailMap</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#values--" title="class or interface in java.util">values</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.util.AbstractMap">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.util.<a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.html?is-external=true" title="class or interface in java.util">AbstractMap</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.util">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.html?is-external=true#hashCode--" title="class or interface in java.util">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.html?is-external=true#isEmpty--" title="class or interface in java.util">isEmpty</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.html?is-external=true#toString--" title="class or interface in java.util">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-
external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.util.Map">
+<!-- -->
+</a>
+<h3>Methods inherited from interface java.util.<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#compute-K-java.util.function.BiFunction-" title="class or interface in java.util">compute</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#computeIfAbsent-K-java.util.function.Function-" title="class or interface in java.util">computeIfAbsent</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#computeIfPresent-K-java.util.function.BiFunction-" title="class or interface in java.util">computeIfPresent</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.util">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#getOrDefault-java.lang.Object-V-" title="class or interface in java.util">getOrDefault</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-ex
ternal=true#hashCode--" title="class or interface in java.util">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#isEmpty--" title="class or interface in java.util">isEmpty</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#merge-K-V-java.util.function.BiFunction-" title="class or interface in java.util">merge</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#putIfAbsent-K-V-" title="class or interface in java.util">putIfAbsent</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#remove-java.lang.Object-java.lang.Object-" title="class or interface in java.util">remove</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="addDefault-java.util.Map-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>addDefault</h4>
+<pre>public <a href="../../../../org/apache/juneau/rest/RequestHeaders.html" title="class in org.apache.juneau.rest">RequestHeaders</a> <a href="../../../../src-html/org/apache/juneau/rest/RequestHeaders.html#line.64">addDefault</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> defaultEntries)</pre>
+<div class="block">Adds default entries to these headers.
+ <p>
+ This includes the default headers defined on the servlet and method levels.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>defaultEntries</code> - The default entries. Can be <jk>null</jk>.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>This object (for method chaining).</dd>
+</dl>
+</li>
+</ul>
+<a name="put-java.lang.String-java.util.Enumeration-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>put</h4>
+<pre>public <a href="../../../../org/apache/juneau/rest/RequestHeaders.html" title="class in org.apache.juneau.rest">RequestHeaders</a> <a href="../../../../src-html/org/apache/juneau/rest/RequestHeaders.html#line.83">put</a>(<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> name,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Enumeration.html?is-external=true" title="class or interface in java.util">Enumeration</a><<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>> values)</pre>
+<div class="block">Adds a set of header values to this object.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>name</code> - The header name.</dd>
+<dd><code>values</code> - The header values.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>This object (for method chaining).</dd>
+</dl>
+</li>
+</ul>
+<a name="getFirst-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getFirst</h4>
+<pre>public <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/rest/RequestHeaders.html#line.105">getFirst</a>(<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> name)</pre>
+<div class="block">Returns the specified header value, or <jk>null</jk> if the header doesn't exist.
+ <p>
+ If <code>allowHeaderParams</code> init parameter is <jk>true</jk>, then first looks for <code>&HeaderName=x</code> in the URL query string.
+ <p></div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>name</code> - The header name.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The header value, or <jk>null</jk> if it doesn't exist.</dd>
+</dl>
+</li>
+</ul>
+<a name="getFirst-java.lang.String-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getFirst</h4>
+<pre>public <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/rest/RequestHeaders.html#line.118">getFirst</a>(<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> name,
+ <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> def)</pre>
+<div class="block">Returns the specified header value, or a default value if the header doesn't exist.
+ <p>
+ If <code>allowHeaderParams</code> init parameter is <jk>true</jk>, then first looks for <code>&HeaderName=x</code> in the URL query string.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>name</code> - The HTTP header name.</dd>
+<dd><code>def</code> - The default value to return if the header value isn't found.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The header value, or the default value if the header isn't present.</dd>
+</dl>
+</li>
+</ul>
+<a name="put-java.lang.String-java.lang.Object-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>put</h4>
+<pre>public void <a href="../../../../src-html/org/apache/juneau/rest/RequestHeaders.html#line.135">put</a>(<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> name,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</pre>
+<div class="block">Sets a request header value.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>name</code> - The header name.</dd>
+<dd><code>value</code> - The header value.</dd>
+</dl>
+</li>
+</ul>
+<a name="get-java.lang.String-java.lang.Class-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>get</h4>
+<pre>public <T> T <a href="../../../../src-html/org/apache/juneau/rest/RequestHeaders.html#line.159">get</a>(<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> name,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type)</pre>
+<div class="block">Returns the specified header value converted to a POJO.
+ <p>
+ The type can be any POJO type convertable from a <code>String</code>
+ (See <a class="doclink" href="package-summary.html#PojosConvertableFromString">POJOs Convertable From Strings</a>).
+ <p>
+ <h5 class='section'>Examples:</h5>
+ <p class='bcode'>
+ <jc>// Parse into an integer.</jc>
+ <jk>int</jk> myheader = req.getHeader(<js>"My-Header"</js>, <jk>int</jk>.<jk>class</jk>);
+
+ <jc>// Parse a UUID.</jc>
+ UUID myheader = req.getHeader(<js>"My-Header"</js>, UUID.<jk>class</jk>);
+ </p></div>
+<dl>
+<dt><span class="paramLabel">Type Parameters:</span></dt>
+<dd><code>T</code> - The class type to convert the header value to.</dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>name</code> - The HTTP header name.</dd>
+<dd><code>type</code> - The class type to convert the header value to.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parameter value converted to the specified class type.</dd>
+</dl>
+</li>
+</ul>
+<a name="get-java.lang.String-java.lang.Object-java.lang.Class-">
+<!-- -->
+</a><a name="get-java.lang.String-T-java.lang.Class-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>get</h4>
+<pre>public <T> T <a href="../../../../src-html/org/apache/juneau/rest/RequestHeaders.html#line.173">get</a>(<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> name,
+ T def,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type)</pre>
+<div class="block">Same as <a href="../../../../org/apache/juneau/rest/RequestHeaders.html#get-java.lang.String-java.lang.Class-"><code>get(String, Class)</code></a> but returns a default value if not found.</div>
+<dl>
+<dt><span class="paramLabel">Type Parameters:</span></dt>
+<dd><code>T</code> - The class type to convert the header value to.</dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>name</code> - The HTTP header name.</dd>
+<dd><code>def</code> - The default value if the header was not specified or is <jk>null</jk>.</dd>
+<dd><code>type</code> - The class type to convert the header value to.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parameter value converted to the specified class type.</dd>
+</dl>
+</li>
+</ul>
+<a name="get-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>get</h4>
+<pre>public <T> T <a href="../../../../src-html/org/apache/juneau/rest/RequestHeaders.html#line.202">get</a>(<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> name,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> type,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>... args)
+ throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
+<div class="block">Returns the specified header value converted to a POJO.
+ <p>
+ The type can be any POJO type convertable from a <code>String</code>
+ (See <a class="doclink" href="package-summary.html#PojosConvertableFromString">POJOs Convertable From Strings</a>).
+ <p>
+ <h5 class='section'>Examples:</h5>
+ <p class='bcode'>
+ <jc>// Parse into a linked-list of strings.</jc>
+ List<String> myheader = req.getHeader(<js>"My-Header"</js>, LinkedList.<jk>class</jk>, String.<jk>class</jk>);
+ </p></div>
+<dl>
+<dt><span class="paramLabel">Type Parameters:</span></dt>
+<dd><code>T</code> - The class type to convert the header value to.</dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>name</code> - The HTTP header name.</dd>
+<dd><code>type</code> - The type of object to create.
+ <br>Can be any of the following: <a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/ParameterizedType.html?is-external=true" title="class or interface in java.lang.reflect"><code>ParameterizedType</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/GenericArrayType.html?is-external=true" title="class or interface in java.lang.reflect"><code>GenericArrayType</code></a></dd>
+<dd><code>args</code> - The type arguments of the class if it's a collection or map.
+ <br>Can be any of the following: <a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/ParameterizedType.html?is-external=true" title="class or interface in java.lang.reflect"><code>ParameterizedType</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/GenericArrayType.html?is-external=true" title="class or interface in java.lang.reflect"><code>GenericArrayType</code></a>
+ <br>Ignored if the main type is not a map or collection.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parameter value converted to the specified class type.</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></code> - If the header could not be converted to the specified type.</dd>
+</dl>
+</li>
+</ul>
+<a name="getAccept--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getAccept</h4>
+<pre>public <a href="../../../../org/apache/juneau/http/Accept.html" title="class in org.apache.juneau.http">Accept</a> <a href="../../../../src-html/org/apache/juneau/rest/RequestHeaders.html#line.220">getAccept</a>()</pre>
+<div class="block">Returns the <code>Accept</code> header on the request.
+ <p>
+ Content-Types that are acceptable for the response.
+
+ <h6 class='figure'>Example:</h6>
+ <p class='bcode'>
+ Accept: text/plain
+ </p></div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Accept</code> header on the request, or <jk>null</jk> if not found.</dd>
+</dl>
+</li>
+</ul>
+<a name="getAcceptCharset--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getAcceptCharset</h4>
+<pre>public <a href="../../../../org/apache/juneau/http/AcceptCharset.html" title="class in org.apache.juneau.http">AcceptCharset</a> <a href="../../../../src-html/org/apache/juneau/rest/RequestHeaders.html#line.236">getAcceptCharset</a>()</pre>
+<div class="block">Returns the <code>Accept-Charset</code> header on the request.
+ <p>
+ Character sets that are acceptable.
+
+ <h6 class='figure'>Example:</h6>
+ <p class='bcode'>
+ Accept-Charset: utf-8
+ </p></div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Accept-Charset</code> header on the request, or <jk>null</jk> if not found.</dd>
+</dl>
+</li>
+</ul>
+<a name="getAcceptEncoding--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getAcceptEncoding</h4>
+<pre>public <a href="../../../../org/apache/juneau/http/AcceptEncoding.html" title="class in org.apache.juneau.http">AcceptEncoding</a> <a href="../../../../src-html/org/apache/juneau/rest/RequestHeaders.html#line.252">getAcceptEncoding</a>()</pre>
+<div class="block">Returns the <code>Accept-Encoding</code> header on the request.
+ <p>
+ List of acceptable encodings.
+
+ <h6 class='figure'>Example:</h6>
+ <p class='bcode'>
+ Accept-Encoding: gzip, deflate
+ </p></div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Accept-Encoding</code> header on the request, or <jk>null</jk> if not found.</dd>
+</dl>
+</li>
+</ul>
+<a name="getAcceptLanguage--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getAcceptLanguage</h4>
+<pre>public <a href="../../../../org/apache/juneau/http/AcceptLanguage.html" title="class in org.apache.juneau.http">AcceptLanguage</a> <a href="../../../../src-html/org/apache/juneau/rest/RequestHeaders.html#line.268">getAcceptLanguage</a>()</pre>
+<div class="block">Returns the <code>Accept-Language</code> header on the request.
+ <p>
+ List of acceptable human languages for response.
+
+ <h6 class='figure'>Example:</h6>
+ <p class='bcode'>
+ Accept-Language: en-US
+ </p></div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Accept-Language</code> header on the request, or <jk>null</jk> if not found.</dd>
+</dl>
+</li>
+</ul>
+<a name="getAuthorization--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getAuthorization</h4>
+<pre>public <a href="../../../../org/apache/juneau/http/Authorization.html" title="class in org.apache.juneau.http">Authorization</a> <a href="../../../../src-html/org/apache/juneau/rest/RequestHeaders.html#line.284">getAuthorization</a>()</pre>
+<div class="block">Returns the <code>Authorization</code> header on the request.
+ <p>
+ Authentication credentials for HTTP authentication.
+
+ <h6 class='figure'>Example:</h6>
+ <p class='bcode'>
+ Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
+ </p></div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Authorization</code> header on the request, or <jk>null</jk> if not found.</dd>
+</dl>
+</li>
+</ul>
+<a name="getCacheControl--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getCacheControl</h4>
+<pre>public <a href="../../../../org/apache/juneau/http/CacheControl.html" title="class in org.apache.juneau.http">CacheControl</a> <a href="../../../../src-html/org/apache/juneau/rest/RequestHeaders.html#line.300">getCacheControl</a>()</pre>
+<div class="block">Returns the <code>Cache-Control</code> header on the request.
+ <p>
+ Used to specify directives that must be obeyed by all caching mechanisms along the request-response chain.
+
+ <h6 class='figure'>Example:</h6>
+ <p class='bcode'>
+ Cache-Control: no-cache
+ </p></div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Cache-Control</code> header on the request, or <jk>null</jk> if not found.</dd>
+</dl>
+</li>
+</ul>
+<a name="getConnection--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getConnection</h4>
+<pre>public <a href="../../../../org/apache/juneau/http/Connection.html" title="class in org.apache.juneau.http">Connection</a> <a href="../../../../src-html/org/apache/juneau/rest/RequestHeaders.html#line.317">getConnection</a>()</pre>
+<div class="block">Returns the <code>Connection</code> header on the request.
+ <p>
+ Control options for the current connection and list of hop-by-hop request fields.
+
+ <h6 class='figure'>Example:</h6>
+ <p class='bcode'>
+ Connection: keep-alive
+ Connection: Upgrade
+ </p></div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code></code> header on the request, or <jk>null</jk> if not found.</dd>
+</dl>
+</li>
+</ul>
+<a name="getContentLength--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getContentLength</h4>
+<pre>public <a href="../../../../org/apache/juneau/http/ContentLength.html" title="class in org.apache.juneau.http">ContentLength</a> <a href="../../../../src-html/org/apache/juneau/rest/RequestHeaders.html#line.333">getContentLength</a>()</pre>
+<div class="block">Returns the <code>Content-Length</code> header on the request.
+ <p>
+ The length of the request body in octets (8-bit bytes).
+
+ <h6 class='figure'>Example:</h6>
+ <p class='bcode'>
+ Content-Length: 348
+ </p></div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Content-Length</code> header on the request, or <jk>null</jk> if not found.</dd>
+</dl>
+</li>
+</ul>
+<a name="getContentType--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getContentType</h4>
+<pre>public <a href="../../../../org/apache/juneau/http/ContentType.html" title="class in org.apache.juneau.http">ContentType</a> <a href="../../../../src-html/org/apache/juneau/rest/RequestHeaders.html#line.349">getContentType</a>()</pre>
+<div class="block">Returns the <code>Content-Type</code> header on the request.
+ <p>
+ The MIME type of the body of the request (used with POST and PUT requests).
+
+ <h6 class='figure'>Example:</h6>
+ <p class='bcode'>
+ Content-Type: application/x-www-form-urlencoded
+ </p></div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Content-Type</code> header on the request, or <jk>null</jk> if not found.</dd>
+</dl>
+</li>
+</ul>
+<a name="getDate--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getDate</h4>
+<pre>public <a href="../../../../org/apache/juneau/http/Date.html" title="class in org.apache.juneau.http">Date</a> <a href="../../../../src-html/org/apache/juneau/rest/RequestHeaders.html#line.365">getDate</a>()</pre>
+<div class="block">Returns the <code>Date</code> header on the request.
+ <p>
+ The date and time that the message was originated (in "HTTP-date" format as defined by RFC 7231 Date/Time Formats).
+
+ <h6 class='figure'>Example:</h6>
+ <p class='bcode'>
+ Date: Tue, 15 Nov 1994 08:12:31 GMT
+ </p></div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Date</code> header on the request, or <jk>null</jk> if not found.</dd>
+</dl>
+</li>
+</ul>
+<a name="getExpect--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getExpect</h4>
+<pre>public <a href="../../../../org/apache/juneau/http/Expect.html" title="class in org.apache.juneau.http">Expect</a> <a href="../../../../src-html/org/apache/juneau/rest/RequestHeaders.html#line.381">getExpect</a>()</pre>
+<div class="block">Returns the <code>Expect</code> header on the request.
+ <p>
+ Indicates that particular server behaviors are required by the client.
+
+ <h6 class='figure'>Example:</h6>
+ <p class='bcode'>
+ Expect: 100-continue
+ </p></div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Expect</code> header on the request, or <jk>null</jk> if not found.</dd>
+</dl>
+</li>
+</ul>
+<a name="getFrom--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getFrom</h4>
+<pre>public <a href="../../../../org/apache/juneau/http/From.html" title="class in org.apache.juneau.http">From</a> <a href="../../../../src-html/org/apache/juneau/rest/RequestHeaders.html#line.397">getFrom</a>()</pre>
+<div class="block">Returns the <code>From</code> header on the request.
+ <p>
+ The email address of the user making the request.
+
+ <h6 class='figure'>Example:</h6>
+ <p class='bcode'>
+ From: user@example.com
+ </p></div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>From</code> header on the request, or <jk>null</jk> if not found.</dd>
+</dl>
+</li>
+</ul>
+<a name="getHost--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getHost</h4>
+<pre>public <a href="../../../../org/apache/juneau/http/Host.html" title="class in org.apache.juneau.http">Host</a> <a href="../../../../src-html/org/apache/juneau/rest/RequestHeaders.html#line.415">getHost</a>()</pre>
+<div class="block">Returns the <code>Host</code> header on the request.
+ <p>
+ The domain name of the server (for virtual hosting), and the TCP port number on which the server is listening.
+ The port number may be omitted if the port is the standard port for the service requested.
+
+ <h6 class='figure'>Example:</h6>
+ <p class='bcode'>
+ Host: en.wikipedia.org:8080
+ Host: en.wikipedia.org
+ </p></div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Host</code> header on the request, or <jk>null</jk> if not found.</dd>
+</dl>
+</li>
+</ul>
+<a name="getIfMatch--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getIfMatch</h4>
+<pre>public <a href="../../../../org/apache/juneau/http/IfMatch.html" title="class in org.apache.juneau.http">IfMatch</a> <a href="../../../../src-html/org/apache/juneau/rest/RequestHeaders.html#line.432">getIfMatch</a>()</pre>
+<div class="block">Returns the <code>If-Match</code> header on the request.
+ <p>
+ Only perform the action if the client supplied entity matches the same entity on the server.
+ This is mainly for methods like PUT to only update a resource if it has not been modified since the user last updated it.
+
+ <h6 class='figure'>Example:</h6>
+ <p class='bcode'>
+ If-Match: "737060cd8c284d8af7ad3082f209582d"
+ </p></div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>If-Match</code> header on the request, or <jk>null</jk> if not found.</dd>
+</dl>
+</li>
+</ul>
+<a name="getIfModifiedSince--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getIfModifiedSince</h4>
+<pre>public <a href="../../../../org/apache/juneau/http/IfModifiedSince.html" title="class in org.apache.juneau.http">IfModifiedSince</a> <a href="../../../../src-html/org/apache/juneau/rest/RequestHeaders.html#line.448">getIfModifiedSince</a>()</pre>
+<div class="block">Returns the <code>If-Modified-Since</code> header on the request.
+ <p>
+ Allows a 304 Not Modified to be returned if content is unchanged.
+
+ <h6 class='figure'>Example:</h6>
+ <p class='bcode'>
+ If-Modified-Since: Sat, 29 Oct 1994 19:43:31 GMT
+ </p></div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>If-Modified-Since</code> header on the request, or <jk>null</jk> if not found.</dd>
+</dl>
+</li>
+</ul>
+<a name="getIfNoneMatch--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getIfNoneMatch</h4>
+<pre>public <a href="../../../../org/apache/juneau/http/IfNoneMatch.html" title="class in org.apache.juneau.http">IfNoneMatch</a> <a href="../../../../src-html/org/apache/juneau/rest/RequestHeaders.html#line.464">getIfNoneMatch</a>()</pre>
+<div class="block">Returns the <code>If-None-Match</code> header on the request.
+ <p>
+ Allows a 304 Not Modified to be returned if content is unchanged, see HTTP ETag.
+
+ <h6 class='figure'>Example:</h6>
+ <p class='bcode'>
+ If-None-Match: "737060cd8c284d8af7ad3082f209582d"
+ </p></div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>If-None-Match</code> header on the request, or <jk>null</jk> if not found.</dd>
+</dl>
+</li>
+</ul>
+<a name="getIfRange--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getIfRange</h4>
+<pre>public <a href="../../../../org/apache/juneau/http/IfRange.html" title="class in org.apache.juneau.http">IfRange</a> <a href="../../../../src-html/org/apache/juneau/rest/RequestHeaders.html#line.480">getIfRange</a>()</pre>
+<div class="block">Returns the <code>If-Range</code> header on the request.
+ <p>
+ If the entity is unchanged, send me the part(s) that I am missing; otherwise, send me the entire new entity.
+
+ <h6 class='figure'>Example:</h6>
+ <p class='bcode'>
+ If-Range: "737060cd8c284d8af7ad3082f209582d"
+ </p></div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>If-Range</code> header on the request, or <jk>null</jk> if not found.</dd>
+</dl>
+</li>
+</ul>
+<a name="getIfUnmodifiedSince--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getIfUnmodifiedSince</h4>
+<pre>public <a href="../../../../org/apache/juneau/http/IfUnmodifiedSince.html" title="class in org.apache.juneau.http">IfUnmodifiedSince</a> <a href="../../../../src-html/org/apache/juneau/rest/RequestHeaders.html#line.496">getIfUnmodifiedSince</a>()</pre>
+<div class="block">Returns the <code>If-Unmodified-Since</code> header on the request.
+ <p>
+ Only send the response if the entity has not been modified since a specific time.
+
+ <h6 class='figure'>Example:</h6>
+ <p class='bcode'>
+ If-Unmodified-Since: Sat, 29 Oct 1994 19:43:31 GMT
+ </p></div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>If-Unmodified-Since</code> header on the request, or <jk>null</jk> if not found.</dd>
+</dl>
+</li>
+</ul>
+<a name="getMaxForwards--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getMaxForwards</h4>
+<pre>public <a href="../../../../org/apache/juneau/http/MaxForwards.html" title="class in org.apache.juneau.http">MaxForwards</a> <a href="../../../../src-html/org/apache/juneau/rest/RequestHeaders.html#line.512">getMaxForwards</a>()</pre>
+<div class="block">Returns the <code>Max-Forwards</code> header on the request.
+ <p>
+ Limit the number of times the message can be forwarded through proxies or gateways.
+
+ <h6 class='figure'>Example:</h6>
+ <p class='bcode'>
+ Max-Forwards: 10
+ </p></div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Max-Forwards</code> header on the request, or <jk>null</jk> if not found.</dd>
+</dl>
+</li>
+</ul>
+<a name="getPragma--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getPragma</h4>
+<pre>public <a href="../../../../org/apache/juneau/http/Pragma.html" title="class in org.apache.juneau.http">Pragma</a> <a href="../../../../src-html/org/apache/juneau/rest/RequestHeaders.html#line.528">getPragma</a>()</pre>
+<div class="block">Returns the <code>Pragma</code> header on the request.
+ <p>
+ Implementation-specific fields that may have various effects anywhere along the request-response chain.
+
+ <h6 class='figure'>Example:</h6>
+ <p class='bcode'>
+ Pragma: no-cache
+ </p></div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Pragma</code> header on the request, or <jk>null</jk> if not found.</dd>
+</dl>
+</li>
+</ul>
+<a name="getProxyAuthorization--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getProxyAuthorization</h4>
+<pre>public <a href="../../../../org/apache/juneau/http/ProxyAuthorization.html" title="class in org.apache.juneau.http">ProxyAuthorization</a> <a href="../../../../src-html/org/apache/juneau/rest/RequestHeaders.html#line.544">getProxyAuthorization</a>()</pre>
+<div class="block">Returns the <code>Proxy-Authorization</code> header on the request.
+ <p>
+ Authorization credentials for connecting to a proxy.
+
+ <h6 class='figure'>Example:</h6>
+ <p class='bcode'>
+ Proxy-Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
+ </p></div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Proxy-Authorization</code> header on the request, or <jk>null</jk> if not found.</dd>
+</dl>
+</li>
+</ul>
+<a name="getRange--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getRange</h4>
+<pre>public <a href="../../../../org/apache/juneau/http/Range.html" title="class in org.apache.juneau.http">Range</a> <a href="../../../../src-html/org/apache/juneau/rest/RequestHeaders.html#line.560">getRange</a>()</pre>
+<div class="block">Returns the <code>Range</code> header on the request.
+ <p>
+ Request only part of an entity. Bytes are numbered from 0.
+
+ <h6 class='figure'>Example:</h6>
+ <p class='bcode'>
+ Range: bytes=500-999
+ </p></div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Range</code> header on the request, or <jk>null</jk> if not found.</dd>
+</dl>
+</li>
+</ul>
+<a name="getReferer--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getReferer</h4>
+<pre>public <a href="../../../../org/apache/juneau/http/Referer.html" title="class in org.apache.juneau.http">Referer</a> <a href="../../../../src-html/org/apache/juneau/rest/RequestHeaders.html#line.576">getReferer</a>()</pre>
+<div class="block">Returns the <code>Referer</code> header on the request.
+ <p>
+ This is the address of the previous web page from which a link to the currently requested page was followed.
+
+ <h6 class='figure'>Example:</h6>
+ <p class='bcode'>
+ Referer: http://en.wikipedia.org/wiki/Main_Page
+ </p></div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Referer</code> header on the request, or <jk>null</jk> if not found.</dd>
+</dl>
+</li>
+</ul>
+<a name="getTE--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getTE</h4>
+<pre>public <a href="../../../../org/apache/juneau/http/TE.html" title="class in org.apache.juneau.http">TE</a> <a href="../../../../src-html/org/apache/juneau/rest/RequestHeaders.html#line.594">getTE</a>()</pre>
+<div class="block">Returns the <code>TE</code> header on the request.
+ <p>
+ The transfer encodings the user agent is willing to accept: the same values as for the response header field
+ Transfer-Encoding can be used, plus the "trailers" value (related to the "chunked" transfer method) to notify the
+ server it expects to receive additional fields in the trailer after the last, zero-sized, chunk.
+
+ <h6 class='figure'>Example:</h6>
+ <p class='bcode'>
+ TE: trailers, deflate
+ </p></div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>TE</code> header on the request, or <jk>null</jk> if not found.</dd>
+</dl>
+</li>
+</ul>
+<a name="getTimeZone--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getTimeZone</h4>
+<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util">TimeZone</a> <a href="../../../../src-html/org/apache/juneau/rest/RequestHeaders.html#line.605">getTimeZone</a>()</pre>
+<div class="block">Returns the <code>Time-Zone</code> header value on the request if there is one.
+ <p>
+ Example: <js>"GMT"</js>.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The <code>Time-Zone</code> header value on the request, or <jk>null</jk> if not present.</dd>
+</dl>
+</li>
+</ul>
+<a name="getUserAgent--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getUserAgent</h4>
+<pre>public <a href="../../../../org/apache/juneau/http/UserAgent.html" title="class in org.apache.juneau.http">UserAgent</a> <a href="../../../../src-html/org/apache/juneau/rest/RequestHeaders.html#line.624">getUserAgent</a>()</pre>
+<div class="block">Returns the <code>User-Agent</code> header on the request.
+ <p>
+ The user agent string of the user agent.
+
+ <h6 class='figure'>Example:</h6>
+ <p class='bcode'>
+ User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20100101 Firefox/21.0
+ </p></div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>User-Agent</code> header on the request, or <jk>null</jk> if not found.</dd>
+</dl>
+</li>
+</ul>
+<a name="getUpgrade--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getUpgrade</h4>
+<pre>public <a href="../../../../org/apache/juneau/http/Upgrade.html" title="class in org.apache.juneau.http">Upgrade</a> <a href="../../../../src-html/org/apache/juneau/rest/RequestHeaders.html#line.640">getUpgrade</a>()</pre>
+<div class="block">Returns the <code>Upgrade</code> header on the request.
+ <p>
+ Ask the server to upgrade to another protocol.
+
+ <h6 class='figure'>Example:</h6>
+ <p class='bcode'>
+ Upgrade: HTTP/2.0, HTTPS/1.3, IRC/6.9, RTA/x11, websocket
+ </p></div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Upgrade</code> header on the request, or <jk>null</jk> if not found.</dd>
+</dl>
+</li>
+</ul>
+<a name="getVia--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getVia</h4>
+<pre>public <a href="../../../../org/apache/juneau/http/Via.html" title="class in org.apache.juneau.http">Via</a> <a href="../../../../src-html/org/apache/juneau/rest/RequestHeaders.html#line.656">getVia</a>()</pre>
+<div class="block">Returns the <code>Via</code> header on the request.
+ <p>
+ Informs the server of proxies through which the request was sent.
+
+ <h6 class='figure'>Example:</h6>
+ <p class='bcode'>
+ Via: 1.0 fred, 1.1 example.com (Apache/1.1)
+ </p></div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Via</code> header on the request, or <jk>null</jk> if not found.</dd>
+</dl>
+</li>
+</ul>
+<a name="getWarning--">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>getWarning</h4>
+<pre>public <a href="../../../../org/apache/juneau/http/Warning.html" title="class in org.apache.juneau.http">Warning</a> <a href="../../../../src-html/org/apache/juneau/rest/RequestHeaders.html#line.672">getWarning</a>()</pre>
+<div class="block">Returns the <code>Warning</code> header on the request.
+ <p>
+ A general warning about possible problems with the entity body.
+
+ <h6 class='figure'>Example:</h6>
+ <p class='bcode'>
+ Warning: 199 Miscellaneous warning
+ </p></div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Warning</code> header on the request, or <jk>null</jk> if not found.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/rest/RequestFormData.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/rest/RequestPathParams.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/rest/RequestHeaders.html" target="_top">Frames</a></li>
+<li><a href="RequestHeaders.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li><a href="#nested.classes.inherited.from.class.java.util.AbstractMap">Nested</a> | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
[19/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/HeaderDate.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/HeaderDate.html b/content/site/apidocs/src-html/org/apache/juneau/http/HeaderDate.html
new file mode 100644
index 0000000..30ceb09
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/HeaderDate.html
@@ -0,0 +1,123 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>import org.apache.juneau.internal.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span><a name="line.16"></a>
+<span class="sourceLineNo">017</span>/**<a name="line.17"></a>
+<span class="sourceLineNo">018</span> * Category of headers that consist of a single HTTP-date.<a name="line.18"></a>
+<span class="sourceLineNo">019</span> * <p><a name="line.19"></a>
+<span class="sourceLineNo">020</span> * <h6 class='figure'>Example</h6><a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p class='bcode'><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * If-Modified-Since: Sat, 29 Oct 1994 19:43:31 GMT<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * </p><a name="line.23"></a>
+<span class="sourceLineNo">024</span> */<a name="line.24"></a>
+<span class="sourceLineNo">025</span>public class HeaderDate {<a name="line.25"></a>
+<span class="sourceLineNo">026</span><a name="line.26"></a>
+<span class="sourceLineNo">027</span> private final java.util.Date date;<a name="line.27"></a>
+<span class="sourceLineNo">028</span> private final String raw;<a name="line.28"></a>
+<span class="sourceLineNo">029</span><a name="line.29"></a>
+<span class="sourceLineNo">030</span> /**<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * Constructor.<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * @param raw The raw header value.<a name="line.32"></a>
+<span class="sourceLineNo">033</span> */<a name="line.33"></a>
+<span class="sourceLineNo">034</span> protected HeaderDate(String raw) {<a name="line.34"></a>
+<span class="sourceLineNo">035</span> this.raw = raw;<a name="line.35"></a>
+<span class="sourceLineNo">036</span> this.date = DateUtils.parseDate(raw);<a name="line.36"></a>
+<span class="sourceLineNo">037</span> }<a name="line.37"></a>
+<span class="sourceLineNo">038</span><a name="line.38"></a>
+<span class="sourceLineNo">039</span> /**<a name="line.39"></a>
+<span class="sourceLineNo">040</span> * Returns this header value as a {@link java.util.Date}.<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * @return This header value as a {@link java.util.Date}, or <jk>null</jk> if the header could not be parsed.<a name="line.41"></a>
+<span class="sourceLineNo">042</span> */<a name="line.42"></a>
+<span class="sourceLineNo">043</span> public java.util.Date asDate() {<a name="line.43"></a>
+<span class="sourceLineNo">044</span> return date;<a name="line.44"></a>
+<span class="sourceLineNo">045</span> }<a name="line.45"></a>
+<span class="sourceLineNo">046</span><a name="line.46"></a>
+<span class="sourceLineNo">047</span> @Override /* Object */<a name="line.47"></a>
+<span class="sourceLineNo">048</span> public String toString() {<a name="line.48"></a>
+<span class="sourceLineNo">049</span> return raw;<a name="line.49"></a>
+<span class="sourceLineNo">050</span> }<a name="line.50"></a>
+<span class="sourceLineNo">051</span>}<a name="line.51"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/HeaderEntityValidator.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/HeaderEntityValidator.html b/content/site/apidocs/src-html/org/apache/juneau/http/HeaderEntityValidator.html
new file mode 100644
index 0000000..000fec0
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/HeaderEntityValidator.html
@@ -0,0 +1,119 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Category of headers that consist of a single entity validator value.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * <p><a name="line.17"></a>
+<span class="sourceLineNo">018</span> * <h6 class='figure'>Example</h6><a name="line.18"></a>
+<span class="sourceLineNo">019</span> * <p class='bcode'><a name="line.19"></a>
+<span class="sourceLineNo">020</span> * ETag: "xyzzy"<a name="line.20"></a>
+<span class="sourceLineNo">021</span> * </p><a name="line.21"></a>
+<span class="sourceLineNo">022</span> */<a name="line.22"></a>
+<span class="sourceLineNo">023</span>public class HeaderEntityValidator {<a name="line.23"></a>
+<span class="sourceLineNo">024</span><a name="line.24"></a>
+<span class="sourceLineNo">025</span> private final EntityValidator value;<a name="line.25"></a>
+<span class="sourceLineNo">026</span><a name="line.26"></a>
+<span class="sourceLineNo">027</span> /**<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * Constructor.<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * @param value The raw header value.<a name="line.29"></a>
+<span class="sourceLineNo">030</span> */<a name="line.30"></a>
+<span class="sourceLineNo">031</span> protected HeaderEntityValidator(String value) {<a name="line.31"></a>
+<span class="sourceLineNo">032</span> this.value = new EntityValidator(value);<a name="line.32"></a>
+<span class="sourceLineNo">033</span> }<a name="line.33"></a>
+<span class="sourceLineNo">034</span><a name="line.34"></a>
+<span class="sourceLineNo">035</span> /**<a name="line.35"></a>
+<span class="sourceLineNo">036</span> * Returns this header value as a {@link EntityValidator} object.<a name="line.36"></a>
+<span class="sourceLineNo">037</span> * @return this header value as a {@link EntityValidator} object.<a name="line.37"></a>
+<span class="sourceLineNo">038</span> */<a name="line.38"></a>
+<span class="sourceLineNo">039</span> public EntityValidator asValidator() {<a name="line.39"></a>
+<span class="sourceLineNo">040</span> return value;<a name="line.40"></a>
+<span class="sourceLineNo">041</span> }<a name="line.41"></a>
+<span class="sourceLineNo">042</span><a name="line.42"></a>
+<span class="sourceLineNo">043</span> @Override /* Object */<a name="line.43"></a>
+<span class="sourceLineNo">044</span> public String toString() {<a name="line.44"></a>
+<span class="sourceLineNo">045</span> return value.toString();<a name="line.45"></a>
+<span class="sourceLineNo">046</span> }<a name="line.46"></a>
+<span class="sourceLineNo">047</span>}<a name="line.47"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/HeaderEntityValidatorArray.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/HeaderEntityValidatorArray.html b/content/site/apidocs/src-html/org/apache/juneau/http/HeaderEntityValidatorArray.html
new file mode 100644
index 0000000..b2b09a6
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/HeaderEntityValidatorArray.html
@@ -0,0 +1,127 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>import org.apache.juneau.internal.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span><a name="line.16"></a>
+<span class="sourceLineNo">017</span>/**<a name="line.17"></a>
+<span class="sourceLineNo">018</span> * Category of headers that consist of a comma-delimited list of entity validator values.<a name="line.18"></a>
+<span class="sourceLineNo">019</span> * <p><a name="line.19"></a>
+<span class="sourceLineNo">020</span> * <h6 class='figure'>Example</h6><a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p class='bcode'><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * If-Match: "xyzzy"<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * If-Match: "xyzzy", "r2d2xxxx", "c3piozzzz"<a name="line.23"></a>
+<span class="sourceLineNo">024</span> * If-Match: *<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * </p><a name="line.25"></a>
+<span class="sourceLineNo">026</span> */<a name="line.26"></a>
+<span class="sourceLineNo">027</span>public class HeaderEntityValidatorArray {<a name="line.27"></a>
+<span class="sourceLineNo">028</span><a name="line.28"></a>
+<span class="sourceLineNo">029</span> private final EntityValidator[] value;<a name="line.29"></a>
+<span class="sourceLineNo">030</span><a name="line.30"></a>
+<span class="sourceLineNo">031</span> /**<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * Constructor.<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * @param value The raw header value.<a name="line.33"></a>
+<span class="sourceLineNo">034</span> */<a name="line.34"></a>
+<span class="sourceLineNo">035</span> protected HeaderEntityValidatorArray(String value) {<a name="line.35"></a>
+<span class="sourceLineNo">036</span> String[] s = StringUtils.split(value, ',');<a name="line.36"></a>
+<span class="sourceLineNo">037</span> this.value = new EntityValidator[s.length];<a name="line.37"></a>
+<span class="sourceLineNo">038</span> for (int i = 0; i < s.length; i++) {<a name="line.38"></a>
+<span class="sourceLineNo">039</span> this.value[i] = new EntityValidator(s[i]);<a name="line.39"></a>
+<span class="sourceLineNo">040</span> }<a name="line.40"></a>
+<span class="sourceLineNo">041</span> }<a name="line.41"></a>
+<span class="sourceLineNo">042</span><a name="line.42"></a>
+<span class="sourceLineNo">043</span> /**<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * Returns this header value as an array of {@link EntityValidator} objects.<a name="line.44"></a>
+<span class="sourceLineNo">045</span> * @return this header value as an array of {@link EntityValidator} objects.<a name="line.45"></a>
+<span class="sourceLineNo">046</span> */<a name="line.46"></a>
+<span class="sourceLineNo">047</span> public EntityValidator[] asValidators() {<a name="line.47"></a>
+<span class="sourceLineNo">048</span> return value;<a name="line.48"></a>
+<span class="sourceLineNo">049</span> }<a name="line.49"></a>
+<span class="sourceLineNo">050</span><a name="line.50"></a>
+<span class="sourceLineNo">051</span> @Override /* Object */<a name="line.51"></a>
+<span class="sourceLineNo">052</span> public String toString() {<a name="line.52"></a>
+<span class="sourceLineNo">053</span> return StringUtils.join(value, ", ");<a name="line.53"></a>
+<span class="sourceLineNo">054</span> }<a name="line.54"></a>
+<span class="sourceLineNo">055</span>}<a name="line.55"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/HeaderEnum.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/HeaderEnum.html b/content/site/apidocs/src-html/org/apache/juneau/http/HeaderEnum.html
new file mode 100644
index 0000000..99653d3
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/HeaderEnum.html
@@ -0,0 +1,142 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Category of headers that consist of a single enum value.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * <p><a name="line.17"></a>
+<span class="sourceLineNo">018</span> * <h6 class='figure'>Example</h6><a name="line.18"></a>
+<span class="sourceLineNo">019</span> * <p class='bcode'><a name="line.19"></a>
+<span class="sourceLineNo">020</span> * Accept-Ranges: bytes<a name="line.20"></a>
+<span class="sourceLineNo">021</span> * </p><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * @param <E> The enum type.<a name="line.22"></a>
+<span class="sourceLineNo">023</span> */<a name="line.23"></a>
+<span class="sourceLineNo">024</span>public class HeaderEnum<E extends Enum<E>> {<a name="line.24"></a>
+<span class="sourceLineNo">025</span><a name="line.25"></a>
+<span class="sourceLineNo">026</span> private final String value;<a name="line.26"></a>
+<span class="sourceLineNo">027</span> private final E enumValue;<a name="line.27"></a>
+<span class="sourceLineNo">028</span><a name="line.28"></a>
+<span class="sourceLineNo">029</span> /**<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * Constructor.<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * @param value The raw header value.<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * @param enumClass The enum class.<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * @param def The default enum value if the value could not be parsed.<a name="line.33"></a>
+<span class="sourceLineNo">034</span> */<a name="line.34"></a>
+<span class="sourceLineNo">035</span> protected HeaderEnum(String value, Class<E> enumClass, E def) {<a name="line.35"></a>
+<span class="sourceLineNo">036</span> this.value = value;<a name="line.36"></a>
+<span class="sourceLineNo">037</span> E _enumValue = def;<a name="line.37"></a>
+<span class="sourceLineNo">038</span> try {<a name="line.38"></a>
+<span class="sourceLineNo">039</span> _enumValue = Enum.valueOf(enumClass, value.toUpperCase());<a name="line.39"></a>
+<span class="sourceLineNo">040</span> } catch (Exception e) {<a name="line.40"></a>
+<span class="sourceLineNo">041</span> _enumValue = def;<a name="line.41"></a>
+<span class="sourceLineNo">042</span> }<a name="line.42"></a>
+<span class="sourceLineNo">043</span> this.enumValue = _enumValue;<a name="line.43"></a>
+<span class="sourceLineNo">044</span> }<a name="line.44"></a>
+<span class="sourceLineNo">045</span><a name="line.45"></a>
+<span class="sourceLineNo">046</span> /**<a name="line.46"></a>
+<span class="sourceLineNo">047</span> * Returns <jk>true</jk> if the specified value is the same using {@link String#equalsIgnoreCase(String)}.<a name="line.47"></a>
+<span class="sourceLineNo">048</span> *<a name="line.48"></a>
+<span class="sourceLineNo">049</span> * @return <jk>true</jk> if the specified value is the same.<a name="line.49"></a>
+<span class="sourceLineNo">050</span> */<a name="line.50"></a>
+<span class="sourceLineNo">051</span> public E asEnum() {<a name="line.51"></a>
+<span class="sourceLineNo">052</span> return enumValue;<a name="line.52"></a>
+<span class="sourceLineNo">053</span> }<a name="line.53"></a>
+<span class="sourceLineNo">054</span><a name="line.54"></a>
+<span class="sourceLineNo">055</span> /**<a name="line.55"></a>
+<span class="sourceLineNo">056</span> * Returns this header as a simple string value.<a name="line.56"></a>
+<span class="sourceLineNo">057</span> * <p><a name="line.57"></a>
+<span class="sourceLineNo">058</span> * Functionally equivalent to calling {@link #toString()}.<a name="line.58"></a>
+<span class="sourceLineNo">059</span> *<a name="line.59"></a>
+<span class="sourceLineNo">060</span> * @return This header as a simple string.<a name="line.60"></a>
+<span class="sourceLineNo">061</span> */<a name="line.61"></a>
+<span class="sourceLineNo">062</span> public String asString() {<a name="line.62"></a>
+<span class="sourceLineNo">063</span> return value;<a name="line.63"></a>
+<span class="sourceLineNo">064</span> }<a name="line.64"></a>
+<span class="sourceLineNo">065</span><a name="line.65"></a>
+<span class="sourceLineNo">066</span> @Override /* Object */<a name="line.66"></a>
+<span class="sourceLineNo">067</span> public String toString() {<a name="line.67"></a>
+<span class="sourceLineNo">068</span> return value == null ? "" : value;<a name="line.68"></a>
+<span class="sourceLineNo">069</span> }<a name="line.69"></a>
+<span class="sourceLineNo">070</span>}<a name="line.70"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/HeaderInteger.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/HeaderInteger.html b/content/site/apidocs/src-html/org/apache/juneau/http/HeaderInteger.html
new file mode 100644
index 0000000..23330c1
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/HeaderInteger.html
@@ -0,0 +1,131 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Category of headers that consist of a single integer value.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * <p><a name="line.17"></a>
+<span class="sourceLineNo">018</span> * <h6 class='figure'>Example</h6><a name="line.18"></a>
+<span class="sourceLineNo">019</span> * <p class='bcode'><a name="line.19"></a>
+<span class="sourceLineNo">020</span> * Age: 300<a name="line.20"></a>
+<span class="sourceLineNo">021</span> * </p><a name="line.21"></a>
+<span class="sourceLineNo">022</span> */<a name="line.22"></a>
+<span class="sourceLineNo">023</span>public class HeaderInteger {<a name="line.23"></a>
+<span class="sourceLineNo">024</span><a name="line.24"></a>
+<span class="sourceLineNo">025</span> private final int value;<a name="line.25"></a>
+<span class="sourceLineNo">026</span><a name="line.26"></a>
+<span class="sourceLineNo">027</span> /**<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * Constructor.<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * @param value The raw header value.<a name="line.29"></a>
+<span class="sourceLineNo">030</span> */<a name="line.30"></a>
+<span class="sourceLineNo">031</span> protected HeaderInteger(String value) {<a name="line.31"></a>
+<span class="sourceLineNo">032</span> int _value = 0;<a name="line.32"></a>
+<span class="sourceLineNo">033</span> try {<a name="line.33"></a>
+<span class="sourceLineNo">034</span> _value = Integer.parseInt(value);<a name="line.34"></a>
+<span class="sourceLineNo">035</span> } catch (NumberFormatException e) {<a name="line.35"></a>
+<span class="sourceLineNo">036</span> try {<a name="line.36"></a>
+<span class="sourceLineNo">037</span> Long.parseLong(value);<a name="line.37"></a>
+<span class="sourceLineNo">038</span> _value = Integer.MAX_VALUE;<a name="line.38"></a>
+<span class="sourceLineNo">039</span> } catch (NumberFormatException e2) {}<a name="line.39"></a>
+<span class="sourceLineNo">040</span> }<a name="line.40"></a>
+<span class="sourceLineNo">041</span> this.value = _value;<a name="line.41"></a>
+<span class="sourceLineNo">042</span> }<a name="line.42"></a>
+<span class="sourceLineNo">043</span><a name="line.43"></a>
+<span class="sourceLineNo">044</span> /**<a name="line.44"></a>
+<span class="sourceLineNo">045</span> * Returns this header as a simple string value.<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * <p><a name="line.46"></a>
+<span class="sourceLineNo">047</span> * Functionally equivalent to calling {@link #toString()}.<a name="line.47"></a>
+<span class="sourceLineNo">048</span> *<a name="line.48"></a>
+<span class="sourceLineNo">049</span> * @return This header as a simple string.<a name="line.49"></a>
+<span class="sourceLineNo">050</span> */<a name="line.50"></a>
+<span class="sourceLineNo">051</span> public int asInt() {<a name="line.51"></a>
+<span class="sourceLineNo">052</span> return value;<a name="line.52"></a>
+<span class="sourceLineNo">053</span> }<a name="line.53"></a>
+<span class="sourceLineNo">054</span><a name="line.54"></a>
+<span class="sourceLineNo">055</span> @Override /* Object */<a name="line.55"></a>
+<span class="sourceLineNo">056</span> public String toString() {<a name="line.56"></a>
+<span class="sourceLineNo">057</span> return String.valueOf(value);<a name="line.57"></a>
+<span class="sourceLineNo">058</span> }<a name="line.58"></a>
+<span class="sourceLineNo">059</span>}<a name="line.59"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/HeaderRangeArray.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/HeaderRangeArray.html b/content/site/apidocs/src-html/org/apache/juneau/http/HeaderRangeArray.html
new file mode 100644
index 0000000..d735e1f
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/HeaderRangeArray.html
@@ -0,0 +1,146 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>import java.util.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span><a name="line.16"></a>
+<span class="sourceLineNo">017</span>import org.apache.juneau.internal.*;<a name="line.17"></a>
+<span class="sourceLineNo">018</span><a name="line.18"></a>
+<span class="sourceLineNo">019</span>/**<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * Category of headers that consist of simple comma-delimited lists of strings with q-values.<a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * <h6 class='figure'>Example</h6><a name="line.22"></a>
+<span class="sourceLineNo">023</span> * <p class='bcode'><a name="line.23"></a>
+<span class="sourceLineNo">024</span> * Accept-Encoding: compress;q=0.5, gzip;q=1.0<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * </p><a name="line.25"></a>
+<span class="sourceLineNo">026</span> */<a name="line.26"></a>
+<span class="sourceLineNo">027</span>public class HeaderRangeArray {<a name="line.27"></a>
+<span class="sourceLineNo">028</span><a name="line.28"></a>
+<span class="sourceLineNo">029</span> final StringRange[] typeRanges;<a name="line.29"></a>
+<span class="sourceLineNo">030</span> private final List<StringRange> typeRangesList;<a name="line.30"></a>
+<span class="sourceLineNo">031</span><a name="line.31"></a>
+<span class="sourceLineNo">032</span> /**<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * Constructor.<a name="line.33"></a>
+<span class="sourceLineNo">034</span> * @param value The raw header value.<a name="line.34"></a>
+<span class="sourceLineNo">035</span> */<a name="line.35"></a>
+<span class="sourceLineNo">036</span> protected HeaderRangeArray(String value) {<a name="line.36"></a>
+<span class="sourceLineNo">037</span> this.typeRanges = StringRange.parse(value);<a name="line.37"></a>
+<span class="sourceLineNo">038</span> this.typeRangesList = Collections.unmodifiableList(Arrays.asList(typeRanges));<a name="line.38"></a>
+<span class="sourceLineNo">039</span> }<a name="line.39"></a>
+<span class="sourceLineNo">040</span><a name="line.40"></a>
+<span class="sourceLineNo">041</span> /**<a name="line.41"></a>
+<span class="sourceLineNo">042</span> * Given a list of type values, returns the best match for this header.<a name="line.42"></a>
+<span class="sourceLineNo">043</span> *<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * @param types The types to match against.<a name="line.44"></a>
+<span class="sourceLineNo">045</span> * @return The index into the array of the best match, or <code>-1</code> if no suitable matches could be found.<a name="line.45"></a>
+<span class="sourceLineNo">046</span> */<a name="line.46"></a>
+<span class="sourceLineNo">047</span> public int findMatch(String[] types) {<a name="line.47"></a>
+<span class="sourceLineNo">048</span><a name="line.48"></a>
+<span class="sourceLineNo">049</span> // Type ranges are ordered by 'q'.<a name="line.49"></a>
+<span class="sourceLineNo">050</span> // So we only need to search until we've found a match.<a name="line.50"></a>
+<span class="sourceLineNo">051</span> for (StringRange mr : typeRanges)<a name="line.51"></a>
+<span class="sourceLineNo">052</span> for (int i = 0; i < types.length; i++)<a name="line.52"></a>
+<span class="sourceLineNo">053</span> if (mr.matches(types[i]))<a name="line.53"></a>
+<span class="sourceLineNo">054</span> return i;<a name="line.54"></a>
+<span class="sourceLineNo">055</span><a name="line.55"></a>
+<span class="sourceLineNo">056</span> return -1;<a name="line.56"></a>
+<span class="sourceLineNo">057</span> }<a name="line.57"></a>
+<span class="sourceLineNo">058</span><a name="line.58"></a>
+<span class="sourceLineNo">059</span> /**<a name="line.59"></a>
+<span class="sourceLineNo">060</span> * Returns the list of the types ranges that make up this header.<a name="line.60"></a>
+<span class="sourceLineNo">061</span> * <p><a name="line.61"></a>
+<span class="sourceLineNo">062</span> * The types ranges in the list are sorted by their q-value in descending order.<a name="line.62"></a>
+<span class="sourceLineNo">063</span> *<a name="line.63"></a>
+<span class="sourceLineNo">064</span> * @return An unmodifiable list of type ranges.<a name="line.64"></a>
+<span class="sourceLineNo">065</span> */<a name="line.65"></a>
+<span class="sourceLineNo">066</span> public List<StringRange> asSimpleRanges() {<a name="line.66"></a>
+<span class="sourceLineNo">067</span> return typeRangesList;<a name="line.67"></a>
+<span class="sourceLineNo">068</span> }<a name="line.68"></a>
+<span class="sourceLineNo">069</span><a name="line.69"></a>
+<span class="sourceLineNo">070</span> @Override /* Object */<a name="line.70"></a>
+<span class="sourceLineNo">071</span> public String toString() {<a name="line.71"></a>
+<span class="sourceLineNo">072</span> return StringUtils.join(typeRanges, ',');<a name="line.72"></a>
+<span class="sourceLineNo">073</span> }<a name="line.73"></a>
+<span class="sourceLineNo">074</span>}<a name="line.74"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/HeaderString.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/HeaderString.html b/content/site/apidocs/src-html/org/apache/juneau/http/HeaderString.html
new file mode 100644
index 0000000..50b29df
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/HeaderString.html
@@ -0,0 +1,144 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>import org.apache.juneau.internal.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span><a name="line.16"></a>
+<span class="sourceLineNo">017</span>/**<a name="line.17"></a>
+<span class="sourceLineNo">018</span> * Category of headers that consist of a single string value.<a name="line.18"></a>
+<span class="sourceLineNo">019</span> * <p><a name="line.19"></a>
+<span class="sourceLineNo">020</span> * <h6 class='figure'>Example</h6><a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p class='bcode'><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * Accept-Ranges: bytes<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * </p><a name="line.23"></a>
+<span class="sourceLineNo">024</span> */<a name="line.24"></a>
+<span class="sourceLineNo">025</span>public class HeaderString {<a name="line.25"></a>
+<span class="sourceLineNo">026</span><a name="line.26"></a>
+<span class="sourceLineNo">027</span> final String value;<a name="line.27"></a>
+<span class="sourceLineNo">028</span><a name="line.28"></a>
+<span class="sourceLineNo">029</span> /**<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * Constructor.<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * @param value The raw header value.<a name="line.31"></a>
+<span class="sourceLineNo">032</span> */<a name="line.32"></a>
+<span class="sourceLineNo">033</span> protected HeaderString(String value) {<a name="line.33"></a>
+<span class="sourceLineNo">034</span> this.value = StringUtils.trim(value);<a name="line.34"></a>
+<span class="sourceLineNo">035</span> }<a name="line.35"></a>
+<span class="sourceLineNo">036</span><a name="line.36"></a>
+<span class="sourceLineNo">037</span> /**<a name="line.37"></a>
+<span class="sourceLineNo">038</span> * Returns <jk>true</jk> if the specified value is the same using {@link String#equalsIgnoreCase(String)}.<a name="line.38"></a>
+<span class="sourceLineNo">039</span> *<a name="line.39"></a>
+<span class="sourceLineNo">040</span> * @param compare The value to compare against.<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * @return <jk>true</jk> if the specified value is the same.<a name="line.41"></a>
+<span class="sourceLineNo">042</span> */<a name="line.42"></a>
+<span class="sourceLineNo">043</span> public boolean eqIC(String compare) {<a name="line.43"></a>
+<span class="sourceLineNo">044</span> return value.equalsIgnoreCase(compare);<a name="line.44"></a>
+<span class="sourceLineNo">045</span> }<a name="line.45"></a>
+<span class="sourceLineNo">046</span><a name="line.46"></a>
+<span class="sourceLineNo">047</span> /**<a name="line.47"></a>
+<span class="sourceLineNo">048</span> * Returns <jk>true</jk> if the specified value is the same using {@link String#equals(Object)}.<a name="line.48"></a>
+<span class="sourceLineNo">049</span> *<a name="line.49"></a>
+<span class="sourceLineNo">050</span> * @param compare The value to compare against.<a name="line.50"></a>
+<span class="sourceLineNo">051</span> * @return <jk>true</jk> if the specified value is the same.<a name="line.51"></a>
+<span class="sourceLineNo">052</span> */<a name="line.52"></a>
+<span class="sourceLineNo">053</span> public boolean eq(String compare) {<a name="line.53"></a>
+<span class="sourceLineNo">054</span> return value.equals(compare);<a name="line.54"></a>
+<span class="sourceLineNo">055</span> }<a name="line.55"></a>
+<span class="sourceLineNo">056</span><a name="line.56"></a>
+<span class="sourceLineNo">057</span> /**<a name="line.57"></a>
+<span class="sourceLineNo">058</span> * Returns this header as a simple string value.<a name="line.58"></a>
+<span class="sourceLineNo">059</span> * <p><a name="line.59"></a>
+<span class="sourceLineNo">060</span> * Functionally equivalent to calling {@link #toString()}.<a name="line.60"></a>
+<span class="sourceLineNo">061</span> *<a name="line.61"></a>
+<span class="sourceLineNo">062</span> * @return This header as a simple string.<a name="line.62"></a>
+<span class="sourceLineNo">063</span> */<a name="line.63"></a>
+<span class="sourceLineNo">064</span> public String asString() {<a name="line.64"></a>
+<span class="sourceLineNo">065</span> return value;<a name="line.65"></a>
+<span class="sourceLineNo">066</span> }<a name="line.66"></a>
+<span class="sourceLineNo">067</span><a name="line.67"></a>
+<span class="sourceLineNo">068</span> @Override /* Object */<a name="line.68"></a>
+<span class="sourceLineNo">069</span> public String toString() {<a name="line.69"></a>
+<span class="sourceLineNo">070</span> return value == null ? "" : value;<a name="line.70"></a>
+<span class="sourceLineNo">071</span> }<a name="line.71"></a>
+<span class="sourceLineNo">072</span>}<a name="line.72"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/HeaderStringArray.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/HeaderStringArray.html b/content/site/apidocs/src-html/org/apache/juneau/http/HeaderStringArray.html
new file mode 100644
index 0000000..da6d563
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/HeaderStringArray.html
@@ -0,0 +1,152 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>import org.apache.juneau.internal.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span><a name="line.16"></a>
+<span class="sourceLineNo">017</span>/**<a name="line.17"></a>
+<span class="sourceLineNo">018</span> * Category of headers that consist of a comma-delimited list of string values.<a name="line.18"></a>
+<span class="sourceLineNo">019</span> * <p><a name="line.19"></a>
+<span class="sourceLineNo">020</span> * <h6 class='figure'>Example</h6><a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p class='bcode'><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * Allow: GET, PUT<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * </p><a name="line.23"></a>
+<span class="sourceLineNo">024</span> */<a name="line.24"></a>
+<span class="sourceLineNo">025</span>public class HeaderStringArray {<a name="line.25"></a>
+<span class="sourceLineNo">026</span><a name="line.26"></a>
+<span class="sourceLineNo">027</span> private final String[] value;<a name="line.27"></a>
+<span class="sourceLineNo">028</span><a name="line.28"></a>
+<span class="sourceLineNo">029</span> /**<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * Constructor.<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * @param value The raw header value.<a name="line.31"></a>
+<span class="sourceLineNo">032</span> */<a name="line.32"></a>
+<span class="sourceLineNo">033</span> protected HeaderStringArray(String value) {<a name="line.33"></a>
+<span class="sourceLineNo">034</span> this.value = StringUtils.split(value, ',');<a name="line.34"></a>
+<span class="sourceLineNo">035</span> }<a name="line.35"></a>
+<span class="sourceLineNo">036</span><a name="line.36"></a>
+<span class="sourceLineNo">037</span> /**<a name="line.37"></a>
+<span class="sourceLineNo">038</span> * Returns this header as a simple string value.<a name="line.38"></a>
+<span class="sourceLineNo">039</span> * <p><a name="line.39"></a>
+<span class="sourceLineNo">040</span> * Functionally equivalent to calling {@link #toString()}.<a name="line.40"></a>
+<span class="sourceLineNo">041</span> *<a name="line.41"></a>
+<span class="sourceLineNo">042</span> * @return This header as a simple string.<a name="line.42"></a>
+<span class="sourceLineNo">043</span> */<a name="line.43"></a>
+<span class="sourceLineNo">044</span> public String asString() {<a name="line.44"></a>
+<span class="sourceLineNo">045</span> return StringUtils.join(value, ',');<a name="line.45"></a>
+<span class="sourceLineNo">046</span> }<a name="line.46"></a>
+<span class="sourceLineNo">047</span><a name="line.47"></a>
+<span class="sourceLineNo">048</span> /**<a name="line.48"></a>
+<span class="sourceLineNo">049</span> * Returns <jk>true</jk> if this header contains the specified value.<a name="line.49"></a>
+<span class="sourceLineNo">050</span> *<a name="line.50"></a>
+<span class="sourceLineNo">051</span> * @param val The value to check for.<a name="line.51"></a>
+<span class="sourceLineNo">052</span> * @return <jk>true</jk> if this header contains the specified value.<a name="line.52"></a>
+<span class="sourceLineNo">053</span> */<a name="line.53"></a>
+<span class="sourceLineNo">054</span> public boolean contains(String val) {<a name="line.54"></a>
+<span class="sourceLineNo">055</span> if (val != null)<a name="line.55"></a>
+<span class="sourceLineNo">056</span> for (String v : value)<a name="line.56"></a>
+<span class="sourceLineNo">057</span> if (val.equals(v))<a name="line.57"></a>
+<span class="sourceLineNo">058</span> return true;<a name="line.58"></a>
+<span class="sourceLineNo">059</span> return false;<a name="line.59"></a>
+<span class="sourceLineNo">060</span> }<a name="line.60"></a>
+<span class="sourceLineNo">061</span><a name="line.61"></a>
+<span class="sourceLineNo">062</span> /**<a name="line.62"></a>
+<span class="sourceLineNo">063</span> * Returns <jk>true</jk> if this header contains the specified value using {@link String#equalsIgnoreCase(String)}.<a name="line.63"></a>
+<span class="sourceLineNo">064</span> *<a name="line.64"></a>
+<span class="sourceLineNo">065</span> * @param val The value to check for.<a name="line.65"></a>
+<span class="sourceLineNo">066</span> * @return <jk>true</jk> if this header contains the specified value.<a name="line.66"></a>
+<span class="sourceLineNo">067</span> */<a name="line.67"></a>
+<span class="sourceLineNo">068</span> public boolean containsIC(String val) {<a name="line.68"></a>
+<span class="sourceLineNo">069</span> if (val != null)<a name="line.69"></a>
+<span class="sourceLineNo">070</span> for (String v : value)<a name="line.70"></a>
+<span class="sourceLineNo">071</span> if (val.equalsIgnoreCase(v))<a name="line.71"></a>
+<span class="sourceLineNo">072</span> return true;<a name="line.72"></a>
+<span class="sourceLineNo">073</span> return false;<a name="line.73"></a>
+<span class="sourceLineNo">074</span> }<a name="line.74"></a>
+<span class="sourceLineNo">075</span><a name="line.75"></a>
+<span class="sourceLineNo">076</span> @Override /* Object */<a name="line.76"></a>
+<span class="sourceLineNo">077</span> public String toString() {<a name="line.77"></a>
+<span class="sourceLineNo">078</span> return asString();<a name="line.78"></a>
+<span class="sourceLineNo">079</span> }<a name="line.79"></a>
+<span class="sourceLineNo">080</span>}<a name="line.80"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/HeaderTimestamp.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/HeaderTimestamp.html b/content/site/apidocs/src-html/org/apache/juneau/http/HeaderTimestamp.html
new file mode 100644
index 0000000..a426458
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/HeaderTimestamp.html
@@ -0,0 +1,123 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>import org.apache.juneau.internal.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span><a name="line.16"></a>
+<span class="sourceLineNo">017</span>/**<a name="line.17"></a>
+<span class="sourceLineNo">018</span> * Category of headers that consist of a single HTTP-date.<a name="line.18"></a>
+<span class="sourceLineNo">019</span> * <p><a name="line.19"></a>
+<span class="sourceLineNo">020</span> * <h6 class='figure'>Example</h6><a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p class='bcode'><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * If-Modified-Since: Sat, 29 Oct 1994 19:43:31 GMT<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * </p><a name="line.23"></a>
+<span class="sourceLineNo">024</span> */<a name="line.24"></a>
+<span class="sourceLineNo">025</span>public class HeaderTimestamp {<a name="line.25"></a>
+<span class="sourceLineNo">026</span><a name="line.26"></a>
+<span class="sourceLineNo">027</span> private final java.util.Date date;<a name="line.27"></a>
+<span class="sourceLineNo">028</span> private final String raw;<a name="line.28"></a>
+<span class="sourceLineNo">029</span><a name="line.29"></a>
+<span class="sourceLineNo">030</span> /**<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * Constructor.<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * @param raw The raw header value.<a name="line.32"></a>
+<span class="sourceLineNo">033</span> */<a name="line.33"></a>
+<span class="sourceLineNo">034</span> protected HeaderTimestamp(String raw) {<a name="line.34"></a>
+<span class="sourceLineNo">035</span> this.raw = raw;<a name="line.35"></a>
+<span class="sourceLineNo">036</span> this.date = DateUtils.parseDate(raw);<a name="line.36"></a>
+<span class="sourceLineNo">037</span> }<a name="line.37"></a>
+<span class="sourceLineNo">038</span><a name="line.38"></a>
+<span class="sourceLineNo">039</span> /**<a name="line.39"></a>
+<span class="sourceLineNo">040</span> * Returns this header value as a {@link java.util.Date}.<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * @return This header value as a {@link java.util.Date}, or <jk>null</jk> if the header could not be parsed.<a name="line.41"></a>
+<span class="sourceLineNo">042</span> */<a name="line.42"></a>
+<span class="sourceLineNo">043</span> public java.util.Date asDate() {<a name="line.43"></a>
+<span class="sourceLineNo">044</span> return date;<a name="line.44"></a>
+<span class="sourceLineNo">045</span> }<a name="line.45"></a>
+<span class="sourceLineNo">046</span><a name="line.46"></a>
+<span class="sourceLineNo">047</span> @Override /* Object */<a name="line.47"></a>
+<span class="sourceLineNo">048</span> public String toString() {<a name="line.48"></a>
+<span class="sourceLineNo">049</span> return raw;<a name="line.49"></a>
+<span class="sourceLineNo">050</span> }<a name="line.50"></a>
+<span class="sourceLineNo">051</span>}<a name="line.51"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/HeaderUri.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/HeaderUri.html b/content/site/apidocs/src-html/org/apache/juneau/http/HeaderUri.html
new file mode 100644
index 0000000..c3af90c
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/HeaderUri.html
@@ -0,0 +1,134 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>import java.net.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span><a name="line.16"></a>
+<span class="sourceLineNo">017</span>import org.apache.juneau.internal.*;<a name="line.17"></a>
+<span class="sourceLineNo">018</span><a name="line.18"></a>
+<span class="sourceLineNo">019</span>/**<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * Category of headers that consist of a single URL value.<a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * <h6 class='figure'>Example</h6><a name="line.22"></a>
+<span class="sourceLineNo">023</span> * <p class='bcode'><a name="line.23"></a>
+<span class="sourceLineNo">024</span> * Location: http://www.w3.org/pub/WWW/People.html<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * </p><a name="line.25"></a>
+<span class="sourceLineNo">026</span> */<a name="line.26"></a>
+<span class="sourceLineNo">027</span>public class HeaderUri{<a name="line.27"></a>
+<span class="sourceLineNo">028</span><a name="line.28"></a>
+<span class="sourceLineNo">029</span> final String value;<a name="line.29"></a>
+<span class="sourceLineNo">030</span><a name="line.30"></a>
+<span class="sourceLineNo">031</span> /**<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * Constructor.<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * @param value The raw header value.<a name="line.33"></a>
+<span class="sourceLineNo">034</span> */<a name="line.34"></a>
+<span class="sourceLineNo">035</span> protected HeaderUri(String value) {<a name="line.35"></a>
+<span class="sourceLineNo">036</span> this.value = StringUtils.trim(value);<a name="line.36"></a>
+<span class="sourceLineNo">037</span> }<a name="line.37"></a>
+<span class="sourceLineNo">038</span><a name="line.38"></a>
+<span class="sourceLineNo">039</span> /**<a name="line.39"></a>
+<span class="sourceLineNo">040</span> * Returns this header as a {@link URI}.<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * @return This header as a {@link URI}.<a name="line.41"></a>
+<span class="sourceLineNo">042</span> */<a name="line.42"></a>
+<span class="sourceLineNo">043</span> public URI asURI() {<a name="line.43"></a>
+<span class="sourceLineNo">044</span> return URI.create(toString());<a name="line.44"></a>
+<span class="sourceLineNo">045</span> }<a name="line.45"></a>
+<span class="sourceLineNo">046</span><a name="line.46"></a>
+<span class="sourceLineNo">047</span> /**<a name="line.47"></a>
+<span class="sourceLineNo">048</span> * Returns this header as a simple string value.<a name="line.48"></a>
+<span class="sourceLineNo">049</span> * <p><a name="line.49"></a>
+<span class="sourceLineNo">050</span> * Functionally equivalent to calling {@link #toString()}.<a name="line.50"></a>
+<span class="sourceLineNo">051</span> *<a name="line.51"></a>
+<span class="sourceLineNo">052</span> * @return This header as a simple string.<a name="line.52"></a>
+<span class="sourceLineNo">053</span> */<a name="line.53"></a>
+<span class="sourceLineNo">054</span> public String asString() {<a name="line.54"></a>
+<span class="sourceLineNo">055</span> return value;<a name="line.55"></a>
+<span class="sourceLineNo">056</span> }<a name="line.56"></a>
+<span class="sourceLineNo">057</span><a name="line.57"></a>
+<span class="sourceLineNo">058</span> @Override /* Object */<a name="line.58"></a>
+<span class="sourceLineNo">059</span> public String toString() {<a name="line.59"></a>
+<span class="sourceLineNo">060</span> return value == null ? "" : value;<a name="line.60"></a>
+<span class="sourceLineNo">061</span> }<a name="line.61"></a>
+<span class="sourceLineNo">062</span>}<a name="line.62"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/HeaderUrl.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/HeaderUrl.html b/content/site/apidocs/src-html/org/apache/juneau/http/HeaderUrl.html
new file mode 100644
index 0000000..0a8189a
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/HeaderUrl.html
@@ -0,0 +1,134 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>import java.net.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span><a name="line.16"></a>
+<span class="sourceLineNo">017</span>import org.apache.juneau.internal.*;<a name="line.17"></a>
+<span class="sourceLineNo">018</span><a name="line.18"></a>
+<span class="sourceLineNo">019</span>/**<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * Category of headers that consist of a single URL value.<a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * <h6 class='figure'>Example</h6><a name="line.22"></a>
+<span class="sourceLineNo">023</span> * <p class='bcode'><a name="line.23"></a>
+<span class="sourceLineNo">024</span> * Location: http://www.w3.org/pub/WWW/People.html<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * </p><a name="line.25"></a>
+<span class="sourceLineNo">026</span> */<a name="line.26"></a>
+<span class="sourceLineNo">027</span>public class HeaderUrl{<a name="line.27"></a>
+<span class="sourceLineNo">028</span><a name="line.28"></a>
+<span class="sourceLineNo">029</span> final String value;<a name="line.29"></a>
+<span class="sourceLineNo">030</span><a name="line.30"></a>
+<span class="sourceLineNo">031</span> /**<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * Constructor.<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * @param value The raw header value.<a name="line.33"></a>
+<span class="sourceLineNo">034</span> */<a name="line.34"></a>
+<span class="sourceLineNo">035</span> protected HeaderUrl(String value) {<a name="line.35"></a>
+<span class="sourceLineNo">036</span> this.value = StringUtils.trim(value);<a name="line.36"></a>
+<span class="sourceLineNo">037</span> }<a name="line.37"></a>
+<span class="sourceLineNo">038</span><a name="line.38"></a>
+<span class="sourceLineNo">039</span> /**<a name="line.39"></a>
+<span class="sourceLineNo">040</span> * Returns this header as a {@link URI}.<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * @return This header as a {@link URI}.<a name="line.41"></a>
+<span class="sourceLineNo">042</span> */<a name="line.42"></a>
+<span class="sourceLineNo">043</span> public URI asURI() {<a name="line.43"></a>
+<span class="sourceLineNo">044</span> return URI.create(toString());<a name="line.44"></a>
+<span class="sourceLineNo">045</span> }<a name="line.45"></a>
+<span class="sourceLineNo">046</span><a name="line.46"></a>
+<span class="sourceLineNo">047</span> /**<a name="line.47"></a>
+<span class="sourceLineNo">048</span> * Returns this header as a simple string value.<a name="line.48"></a>
+<span class="sourceLineNo">049</span> * <p><a name="line.49"></a>
+<span class="sourceLineNo">050</span> * Functionally equivalent to calling {@link #toString()}.<a name="line.50"></a>
+<span class="sourceLineNo">051</span> *<a name="line.51"></a>
+<span class="sourceLineNo">052</span> * @return This header as a simple string.<a name="line.52"></a>
+<span class="sourceLineNo">053</span> */<a name="line.53"></a>
+<span class="sourceLineNo">054</span> public String asString() {<a name="line.54"></a>
+<span class="sourceLineNo">055</span> return value;<a name="line.55"></a>
+<span class="sourceLineNo">056</span> }<a name="line.56"></a>
+<span class="sourceLineNo">057</span><a name="line.57"></a>
+<span class="sourceLineNo">058</span> @Override /* Object */<a name="line.58"></a>
+<span class="sourceLineNo">059</span> public String toString() {<a name="line.59"></a>
+<span class="sourceLineNo">060</span> return value == null ? "" : value;<a name="line.60"></a>
+<span class="sourceLineNo">061</span> }<a name="line.61"></a>
+<span class="sourceLineNo">062</span>}<a name="line.62"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/HeaderValidator.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/HeaderValidator.html b/content/site/apidocs/src-html/org/apache/juneau/http/HeaderValidator.html
new file mode 100644
index 0000000..555a5f0
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/HeaderValidator.html
@@ -0,0 +1,119 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Category of headers that consist of a single validator value.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * <p><a name="line.17"></a>
+<span class="sourceLineNo">018</span> * <h6 class='figure'>Example</h6><a name="line.18"></a>
+<span class="sourceLineNo">019</span> * <p class='bcode'><a name="line.19"></a>
+<span class="sourceLineNo">020</span> * ETag: "xyzzy"<a name="line.20"></a>
+<span class="sourceLineNo">021</span> * </p><a name="line.21"></a>
+<span class="sourceLineNo">022</span> */<a name="line.22"></a>
+<span class="sourceLineNo">023</span>public class HeaderValidator {<a name="line.23"></a>
+<span class="sourceLineNo">024</span><a name="line.24"></a>
+<span class="sourceLineNo">025</span> private final EntityValidator value;<a name="line.25"></a>
+<span class="sourceLineNo">026</span><a name="line.26"></a>
+<span class="sourceLineNo">027</span> /**<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * Constructor.<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * @param value The raw header value.<a name="line.29"></a>
+<span class="sourceLineNo">030</span> */<a name="line.30"></a>
+<span class="sourceLineNo">031</span> protected HeaderValidator(String value) {<a name="line.31"></a>
+<span class="sourceLineNo">032</span> this.value = new EntityValidator(value);<a name="line.32"></a>
+<span class="sourceLineNo">033</span> }<a name="line.33"></a>
+<span class="sourceLineNo">034</span><a name="line.34"></a>
+<span class="sourceLineNo">035</span> /**<a name="line.35"></a>
+<span class="sourceLineNo">036</span> * Returns this header value as a {@link EntityValidator} object.<a name="line.36"></a>
+<span class="sourceLineNo">037</span> * @return this header value as a {@link EntityValidator} object.<a name="line.37"></a>
+<span class="sourceLineNo">038</span> */<a name="line.38"></a>
+<span class="sourceLineNo">039</span> public EntityValidator asValidator() {<a name="line.39"></a>
+<span class="sourceLineNo">040</span> return value;<a name="line.40"></a>
+<span class="sourceLineNo">041</span> }<a name="line.41"></a>
+<span class="sourceLineNo">042</span><a name="line.42"></a>
+<span class="sourceLineNo">043</span> @Override /* Object */<a name="line.43"></a>
+<span class="sourceLineNo">044</span> public String toString() {<a name="line.44"></a>
+<span class="sourceLineNo">045</span> return value.toString();<a name="line.45"></a>
+<span class="sourceLineNo">046</span> }<a name="line.46"></a>
+<span class="sourceLineNo">047</span>}<a name="line.47"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
[40/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/Pragma.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/Pragma.html b/content/site/apidocs/org/apache/juneau/http/Pragma.html
new file mode 100644
index 0000000..1ecfba0
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/Pragma.html
@@ -0,0 +1,294 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Pragma (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="Pragma (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/MediaTypeRange.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/ProxyAuthenticate.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/Pragma.html" target="_top">Frames</a></li>
+<li><a href="Pragma.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class Pragma" class="title">Class Pragma</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">org.apache.juneau.http.HeaderString</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.Pragma</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/Pragma.html#line.54">Pragma</a>
+extends <a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></pre>
+<div class="block">Represents a parsed <l>Pragma</l> HTTP request/response header.
+ <p>
+ Implementation-specific fields that may have various effects anywhere along the request-response chain.
+
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ Pragma: no-cache
+ </p>
+
+ <h6 class='topic'>RFC2616 Specification</h6>
+ The Pragma general-header field is used to include implementation- specific directives that might apply to any
+ recipient along the request/response chain.
+ All pragma directives specify optional behavior from the viewpoint of the protocol; however, some systems MAY
+ require that behavior be consistent with the directives.
+ <p class='bcode'>
+ Pragma = "Pragma" ":" 1#pragma-directive
+ pragma-directive = "no-cache" | extension-pragma
+ extension-pragma = token [ "=" ( token | quoted-string ) ]
+ </p>
+ <p>
+ When the no-cache directive is present in a request message, an application SHOULD forward the request toward the
+ origin server even if it has a cached copy of what is being requested.
+ This pragma directive has the same semantics as the no-cache cache-directive (see section 14.9) and is defined here
+ for backward compatibility with HTTP/1.0.
+ Clients SHOULD include both header fields when a no-cache request is sent to a server not known to be HTTP/1.1
+ compliant.
+ <p>
+ Pragma directives MUST be passed through by a proxy or gateway application, regardless of their significance to that
+ application, since the directives might be applicable to all recipients along the request/response chain.
+ It is not possible to specify a pragma for a specific recipient; however, any pragma directive not relevant to a
+ recipient SHOULD be ignored by that recipient.
+ <p>
+ HTTP/1.1 caches SHOULD treat "Pragma: no-cache" as if the client had sent "Cache-Control: no-cache".
+ No new Pragma directives will be defined in HTTP.
+ <p>
+ Note: because the meaning of "Pragma: no-cache as a response header field is not actually specified, it does not
+ provide a reliable replacement for "Cache-Control: no-cache" in a response.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/Pragma.html" title="class in org.apache.juneau.http">Pragma</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/Pragma.html#forString-java.lang.String-">forString</a></span>(<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> value)</code>
+<div class="block">Returns a parsed <code>Pragma</code> header.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.http.HeaderString">
+<!-- -->
+</a>
+<h3>Methods inherited from class org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></h3>
+<code><a href="../../../../org/apache/juneau/http/HeaderString.html#asString--">asString</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#eq-java.lang.String-">eq</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#eqIC-java.lang.String-">eqIC</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#toString--">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="forString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>forString</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/Pragma.html" title="class in org.apache.juneau.http">Pragma</a> <a href="../../../../src-html/org/apache/juneau/http/Pragma.html#line.62">forString</a>(<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> value)</pre>
+<div class="block">Returns a parsed <code>Pragma</code> header.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The <code>Pragma</code> header string.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Pragma</code> header, or <jk>null</jk> if the string was null.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/MediaTypeRange.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/ProxyAuthenticate.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/Pragma.html" target="_top">Frames</a></li>
+<li><a href="Pragma.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/ProxyAuthenticate.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/ProxyAuthenticate.html b/content/site/apidocs/org/apache/juneau/http/ProxyAuthenticate.html
new file mode 100644
index 0000000..0cfcd1a
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/ProxyAuthenticate.html
@@ -0,0 +1,281 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>ProxyAuthenticate (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="ProxyAuthenticate (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/Pragma.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/ProxyAuthorization.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/ProxyAuthenticate.html" target="_top">Frames</a></li>
+<li><a href="ProxyAuthenticate.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class ProxyAuthenticate" class="title">Class ProxyAuthenticate</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">org.apache.juneau.http.HeaderString</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.ProxyAuthenticate</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/ProxyAuthenticate.html#line.41">ProxyAuthenticate</a>
+extends <a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></pre>
+<div class="block">Represents a parsed <l> Proxy-Authenticate</l> HTTP response header.
+ <p>
+ Request authentication to access the proxy.
+
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ Proxy-Authenticate: Basic
+ </p>
+
+ <h6 class='topic'>RFC2616 Specification</h6>
+
+ The Proxy-Authenticate response-header field MUST be included as part of a 407 (Proxy Authentication Required)
+ response.
+ The field value consists of a challenge that indicates the authentication scheme and parameters applicable to the
+ proxy for this Request-URI.
+ <p class='bcode'>
+ Proxy-Authenticate = "Proxy-Authenticate" ":" 1#challenge
+ </p>
+ <p>
+ The HTTP access authentication process is described in "HTTP Authentication: Basic and Digest Access Authentication".
+ Unlike WWW-Authenticate, the Proxy-Authenticate header field applies only to the current connection and SHOULD NOT
+ be passed on to downstream clients.
+ However, an intermediate proxy might need to obtain its own credentials by requesting them from the downstream
+ client, which in some circumstances will appear as if the proxy is forwarding the Proxy-Authenticate header field.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/ProxyAuthenticate.html" title="class in org.apache.juneau.http">ProxyAuthenticate</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/ProxyAuthenticate.html#forString-java.lang.String-">forString</a></span>(<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> value)</code>
+<div class="block">Returns a parsed <code>Proxy-Authenticate</code> header.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.http.HeaderString">
+<!-- -->
+</a>
+<h3>Methods inherited from class org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></h3>
+<code><a href="../../../../org/apache/juneau/http/HeaderString.html#asString--">asString</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#eq-java.lang.String-">eq</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#eqIC-java.lang.String-">eqIC</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#toString--">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="forString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>forString</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/ProxyAuthenticate.html" title="class in org.apache.juneau.http">ProxyAuthenticate</a> <a href="../../../../src-html/org/apache/juneau/http/ProxyAuthenticate.html#line.49">forString</a>(<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> value)</pre>
+<div class="block">Returns a parsed <code>Proxy-Authenticate</code> header.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The <code>Proxy-Authenticate</code> header string.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Proxy-Authenticate</code> header, or <jk>null</jk> if the string was null.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/Pragma.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/ProxyAuthorization.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/ProxyAuthenticate.html" target="_top">Frames</a></li>
+<li><a href="ProxyAuthenticate.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/ProxyAuthorization.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/ProxyAuthorization.html b/content/site/apidocs/org/apache/juneau/http/ProxyAuthorization.html
new file mode 100644
index 0000000..ef20483
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/ProxyAuthorization.html
@@ -0,0 +1,283 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>ProxyAuthorization (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="ProxyAuthorization (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/ProxyAuthenticate.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/Range.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/ProxyAuthorization.html" target="_top">Frames</a></li>
+<li><a href="ProxyAuthorization.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class ProxyAuthorization" class="title">Class ProxyAuthorization</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">org.apache.juneau.http.HeaderString</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.ProxyAuthorization</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/ProxyAuthorization.html#line.43">ProxyAuthorization</a>
+extends <a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></pre>
+<div class="block">Represents a parsed <l>Proxy-Authorization</l> HTTP request header.
+ <p>
+ Authorization credentials for connecting to a proxy.
+
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ Proxy-Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
+ </p>
+
+ <h6 class='topic'>RFC2616 Specification</h6>
+
+ The Proxy-Authorization request-header field allows the client to identify itself (or its user) to a proxy which
+ requires authentication.
+ The Proxy-Authorization field value consists of credentials containing the authentication information of the user
+ agent for the proxy and/or realm of the resource being requested.
+ <p class='bcode'>
+ Proxy-Authorization = "Proxy-Authorization" ":" credentials
+ </p>
+ <p>
+ The HTTP access authentication process is described in "HTTP Authentication: Basic and Digest Access Authentication".
+ Unlike Authorization, the Proxy-Authorization header field applies only to the next outbound proxy that demanded
+ authentication using the Proxy-Authenticate field.
+ When multiple proxies are used in a chain, the Proxy-Authorization header field is consumed by the first outbound
+ proxy that was expecting to receive credentials.
+ A proxy MAY relay the credentials from the client request to the next proxy if that is the mechanism by which the
+ proxies cooperatively authenticate a given request.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/ProxyAuthorization.html" title="class in org.apache.juneau.http">ProxyAuthorization</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/ProxyAuthorization.html#forString-java.lang.String-">forString</a></span>(<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> value)</code>
+<div class="block">Returns a parsed <code>Proxy-Authorization</code> header.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.http.HeaderString">
+<!-- -->
+</a>
+<h3>Methods inherited from class org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></h3>
+<code><a href="../../../../org/apache/juneau/http/HeaderString.html#asString--">asString</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#eq-java.lang.String-">eq</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#eqIC-java.lang.String-">eqIC</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#toString--">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="forString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>forString</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/ProxyAuthorization.html" title="class in org.apache.juneau.http">ProxyAuthorization</a> <a href="../../../../src-html/org/apache/juneau/http/ProxyAuthorization.html#line.51">forString</a>(<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> value)</pre>
+<div class="block">Returns a parsed <code>Proxy-Authorization</code> header.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The <code>Proxy-Authorization</code> header string.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Proxy-Authorization</code> header, or <jk>null</jk> if the string was null.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/ProxyAuthenticate.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/Range.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/ProxyAuthorization.html" target="_top">Frames</a></li>
+<li><a href="ProxyAuthorization.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/Range.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/Range.html b/content/site/apidocs/org/apache/juneau/http/Range.html
new file mode 100644
index 0000000..8a00ea8
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/Range.html
@@ -0,0 +1,359 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Range (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="Range (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/ProxyAuthorization.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/Referer.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/Range.html" target="_top">Frames</a></li>
+<li><a href="Range.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class Range" class="title">Class Range</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">org.apache.juneau.http.HeaderString</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.Range</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/Range.html#line.119">Range</a>
+extends <a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></pre>
+<div class="block">Represents a parsed <l>Range</l> HTTP request header.
+ <p>
+ Request only part of an entity. Bytes are numbered from 0.
+
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ Range: bytes=500-999
+ </p>
+
+ <h6 class='topic'>RFC2616 Specification</h6>
+
+ Since all HTTP entities are represented in HTTP messages as sequences of bytes, the concept of a byte range is
+ meaningful for any HTTP entity.
+ (However, not all clients and servers need to support byte- range operations.)
+ <p>
+ Byte range specifications in HTTP apply to the sequence of bytes in the entity-body (not necessarily the same as the
+ message-body).
+ <p>
+ A byte range operation MAY specify a single range of bytes, or a set of ranges within a single entity.
+ <p class='bcode'>
+ ranges-specifier = byte-ranges-specifier
+ byte-ranges-specifier = bytes-unit "=" byte-range-set
+ byte-range-set = 1#( byte-range-spec | suffix-byte-range-spec )
+ byte-range-spec = first-byte-pos "-" [last-byte-pos]
+ first-byte-pos = 1*DIGIT
+ last-byte-pos = 1*DIGIT
+ </p>
+ <p>
+ The first-byte-pos value in a byte-range-spec gives the byte-offset of the first byte in a range.
+ The last-byte-pos value gives the byte-offset of the last byte in the range; that is, the byte positions specified
+ are inclusive.
+ Byte offsets start at zero.
+ <p>
+ If the last-byte-pos value is present, it MUST be greater than or equal to the first-byte-pos in that
+ byte-range-spec, or the byte- range-spec is syntactically invalid.
+ The recipient of a byte-range- set that includes one or more syntactically invalid byte-range-spec values MUST
+ ignore the header field that includes that byte-range-set.
+ <p>
+ If the last-byte-pos value is absent, or if the value is greater than or equal to the current length of the
+ entity-body, last-byte-pos is taken to be equal to one less than the current length of the entity-body in bytes.
+ <p>
+ By its choice of last-byte-pos, a client can limit the number of bytes retrieved without knowing the size of the
+ entity.
+ <p class='bcode'>
+ suffix-byte-range-spec = "-" suffix-length
+ suffix-length = 1*DIGIT
+ </p>
+ <p>
+ A suffix-byte-range-spec is used to specify the suffix of the entity-body, of a length given by the suffix-length
+ value.
+ (That is, this form specifies the last N bytes of an entity-body.)
+ If the entity is shorter than the specified suffix-length, the entire entity-body is used.
+ <p>
+ If a syntactically valid byte-range-set includes at least one byte- range-spec whose first-byte-pos is less than the
+ current length of the entity-body, or at least one suffix-byte-range-spec with a non-zero suffix-length, then the
+ byte-range-set is satisfiable.
+ Otherwise, the byte-range-set is unsatisfiable.
+ If the byte-range-set is unsatisfiable, the server SHOULD return a response with a status of 416 (Requested range
+ not satisfiable).
+ Otherwise, the server SHOULD return a response with a status of 206 (Partial Content) containing the satisfiable
+ ranges of the entity-body.
+ <p>
+ Examples of byte-ranges-specifier values (assuming an entity-body of length 10000):
+ <p class='bcode'>
+ - The first 500 bytes (byte offsets 0-499, inclusive): bytes=0-499
+ - The second 500 bytes (byte offsets 500-999, inclusive): bytes=500-999
+ - The final 500 bytes (byte offsets 9500-9999, inclusive): bytes=-500
+ - Or bytes=9500-
+ - The first and last bytes only (bytes 0 and 9999): bytes=0-0,-1
+ - Several legal but not canonical specifications of the second 500 bytes (byte offsets 500-999, inclusive):
+ bytes=500-600,601-999
+ bytes=500-700,601-999
+ </p>
+ <p>
+ HTTP retrieval requests using conditional or unconditional GET methods MAY request one or more sub-ranges of the
+ entity, instead of the entire entity, using the Range request header, which applies to the entity returned as the r
+ esult of the request:
+ <p class='bcode'>
+ Range = "Range" ":" ranges-specifier
+ </p>
+ <p>
+ A server MAY ignore the Range header.
+ However, HTTP/1.1 origin servers and intermediate caches ought to support byte ranges when possible, since Range
+ supports efficient recovery from partially failed transfers, and supports efficient partial retrieval of large
+ entities.
+ <p>
+ If the server supports the Range header and the specified range or ranges are appropriate for the entity:
+ <ul>
+ <li>The presence of a Range header in an unconditional GET modifies what is returned if the GET is otherwise
+ successful.
+ In other words, the response carries a status code of 206 (Partial Content) instead of 200 (OK).
+ <li>The presence of a Range header in a conditional GET (a request using one or both of If-Modified-Since and
+ If-None-Match, or one or both of If-Unmodified-Since and If-Match) modifies what is returned if the GET is
+ otherwise successful and the condition is true. It does not affect the 304 (Not Modified) response returned if
+ the conditional is false.
+ </ul>
+ In some cases, it might be more appropriate to use the If-Range header (see section 14.27) in addition to the Range
+ header.
+ <p>
+ If a proxy that supports ranges receives a Range request, forwards the request to an inbound server, and receives an
+ entire entity in reply, it SHOULD only return the requested range to its client.
+ It SHOULD store the entire received response in its cache if that is consistent with its cache allocation policies.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/Range.html" title="class in org.apache.juneau.http">Range</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/Range.html#forString-java.lang.String-">forString</a></span>(<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> value)</code>
+<div class="block">Returns a parsed <code>Range</code> header.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.http.HeaderString">
+<!-- -->
+</a>
+<h3>Methods inherited from class org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></h3>
+<code><a href="../../../../org/apache/juneau/http/HeaderString.html#asString--">asString</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#eq-java.lang.String-">eq</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#eqIC-java.lang.String-">eqIC</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#toString--">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="forString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>forString</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/Range.html" title="class in org.apache.juneau.http">Range</a> <a href="../../../../src-html/org/apache/juneau/http/Range.html#line.127">forString</a>(<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> value)</pre>
+<div class="block">Returns a parsed <code>Range</code> header.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The <code>Range</code> header string.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Range</code> header, or <jk>null</jk> if the string was null.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/ProxyAuthorization.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/Referer.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/Range.html" target="_top">Frames</a></li>
+<li><a href="Range.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/Referer.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/Referer.html b/content/site/apidocs/org/apache/juneau/http/Referer.html
new file mode 100644
index 0000000..1f7a3c3
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/Referer.html
@@ -0,0 +1,288 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Referer (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="Referer (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/Range.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/RetryAfter.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/Referer.html" target="_top">Frames</a></li>
+<li><a href="Referer.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class Referer" class="title">Class Referer</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../org/apache/juneau/http/HeaderUri.html" title="class in org.apache.juneau.http">org.apache.juneau.http.HeaderUri</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.Referer</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/Referer.html#line.48">Referer</a>
+extends <a href="../../../../org/apache/juneau/http/HeaderUri.html" title="class in org.apache.juneau.http">HeaderUri</a></pre>
+<div class="block">Represents a parsed <l>Referer</l> HTTP request header.
+ <p>
+ This is the address of the previous web page from which a link to the currently requested page was followed.
+ (The word “referrer” has been misspelled in the RFC as well as in most implementations to the point that it has
+ become standard usage and is considered correct terminology)
+
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ Referer: http://en.wikipedia.org/wiki/Main_Page
+ </p>
+
+ <h6 class='topic'>RFC2616 Specification</h6>
+
+ The Referer[sic] request-header field allows the client to specify, for the server's benefit, the address (URI) of
+ the resource from which the Request-URI was obtained (the "referrer", although the header field is misspelled.)
+ The Referer request-header allows a server to generate lists of back-links to resources for interest, logging,
+ optimized caching, etc.
+ It also allows obsolete or mistyped links to be traced for maintenance.
+ The Referer field MUST NOT be sent if the Request-URI was obtained from a source that does not have its own URI,
+ such as input from the user keyboard.
+ <p class='bcode'>
+ Referer = "Referer" ":" ( absoluteURI | relativeURI )
+ </p>
+ <p>
+ Example:
+ <p class='bcode'>
+ Referer: http://www.w3.org/hypertext/DataSources/Overview.html
+ </p>
+ <p>
+ If the field value is a relative URI, it SHOULD be interpreted relative to the Request-URI.
+ The URI MUST NOT include a fragment. See section 15.1.3 for security considerations.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/Referer.html" title="class in org.apache.juneau.http">Referer</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/Referer.html#forString-java.lang.String-">forString</a></span>(<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> value)</code>
+<div class="block">Returns a parsed <code>Referer</code> header.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.http.HeaderUri">
+<!-- -->
+</a>
+<h3>Methods inherited from class org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderUri.html" title="class in org.apache.juneau.http">HeaderUri</a></h3>
+<code><a href="../../../../org/apache/juneau/http/HeaderUri.html#asString--">asString</a>, <a href="../../../../org/apache/juneau/http/HeaderUri.html#asURI--">asURI</a>, <a href="../../../../org/apache/juneau/http/HeaderUri.html#toString--">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="forString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>forString</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/Referer.html" title="class in org.apache.juneau.http">Referer</a> <a href="../../../../src-html/org/apache/juneau/http/Referer.html#line.56">forString</a>(<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> value)</pre>
+<div class="block">Returns a parsed <code>Referer</code> header.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The <code>Referer</code> header string.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Referer</code> header, or <jk>null</jk> if the string was null.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/Range.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/RetryAfter.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/Referer.html" target="_top">Frames</a></li>
+<li><a href="Referer.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
[50/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/index-all.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/index-all.html b/content/site/apidocs/index-all.html
index e59a77a..9b80015 100644
--- a/content/site/apidocs/index-all.html
+++ b/content/site/apidocs/index-all.html
@@ -187,7 +187,7 @@
</dd>
<dt><a href="org/apache/juneau/http/Accept.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Accept</span></a> - Class in <a href="org/apache/juneau/http/package-summary.html">org.apache.juneau.http</a></dt>
<dd>
-<div class="block">Represents a parsed <code>Accept:</code> HTTP header.</div>
+<div class="block">Represents a parsed <l>Accept</l> HTTP request header.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestCall.html#accept-java.lang.Object-">accept(Object)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></dt>
<dd>
@@ -201,6 +201,10 @@
<dd>
<div class="block"><a class="./org/apache/juneau/dto/html5/doclink" href="https://www.w3.org/TR/html5/forms.html#attr-form-accept-charset">accept-charset</a> attribute.</div>
</dd>
+<dt><a href="org/apache/juneau/http/AcceptCharset.html" title="class in org.apache.juneau.http"><span class="typeNameLink">AcceptCharset</span></a> - Class in <a href="org/apache/juneau/http/package-summary.html">org.apache.juneau.http</a></dt>
+<dd>
+<div class="block">Represents a parsed <l>Accept-Charset</l> HTTP request header.</div>
+</dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestCall.html#acceptCharset-java.lang.Object-">acceptCharset(Object)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></dt>
<dd>
<div class="block">Sets the value for the <code>Accept-Charset</code> request header.</div>
@@ -211,7 +215,7 @@
</dd>
<dt><a href="org/apache/juneau/http/AcceptEncoding.html" title="class in org.apache.juneau.http"><span class="typeNameLink">AcceptEncoding</span></a> - Class in <a href="org/apache/juneau/http/package-summary.html">org.apache.juneau.http</a></dt>
<dd>
-<div class="block">Represents a parsed <code>Accept-Encoding:</code> HTTP header.</div>
+<div class="block">Represents a parsed <l>Accept-Encoding</l> HTTP request header.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestCall.html#acceptEncoding-java.lang.Object-">acceptEncoding(Object)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></dt>
<dd>
@@ -221,6 +225,10 @@
<dd>
<div class="block">Sets the value for the <code>Accept-Encoding</code> request header.</div>
</dd>
+<dt><a href="org/apache/juneau/http/AcceptLanguage.html" title="class in org.apache.juneau.http"><span class="typeNameLink">AcceptLanguage</span></a> - Class in <a href="org/apache/juneau/http/package-summary.html">org.apache.juneau.http</a></dt>
+<dd>
+<div class="block">Represents a parsed <l>Accept-Language</l> HTTP request header.</div>
+</dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestCall.html#acceptLanguage-java.lang.Object-">acceptLanguage(Object)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></dt>
<dd>
<div class="block">Sets the value for the <code>Accept-Language</code> request header.</div>
@@ -229,6 +237,10 @@
<dd>
<div class="block">Sets the value for the <code>Accept-Language</code> request header.</div>
</dd>
+<dt><a href="org/apache/juneau/http/AcceptRanges.html" title="class in org.apache.juneau.http"><span class="typeNameLink">AcceptRanges</span></a> - Class in <a href="org/apache/juneau/http/package-summary.html">org.apache.juneau.http</a></dt>
+<dd>
+<div class="block">Represents a parsed <l>Accept-Range</l> HTTP response header.</div>
+</dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/dto/html5/HtmlElement.html#accesskey-java.lang.String-">accesskey(String)</a></span> - Method in class org.apache.juneau.dto.html5.<a href="org/apache/juneau/dto/html5/HtmlElement.html" title="class in org.apache.juneau.dto.html5">HtmlElement</a></dt>
<dd>
<div class="block"><a class="./org/apache/juneau/dto/html5/doclink" href="https://www.w3.org/TR/html5/editing.html#the-accesskey-attribute">accesskey</a> attribute.</div>
@@ -401,6 +413,10 @@
<dd>
<div class="block">Adds class-level encoders to this resource.</div>
</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/RequestHeaders.html#addDefault-java.util.Map-">addDefault(Map<String, String>)</a></span> - Method in class org.apache.juneau.rest.<a href="org/apache/juneau/rest/RequestHeaders.html" title="class in org.apache.juneau.rest">RequestHeaders</a></dt>
+<dd>
+<div class="block">Adds default entries to these headers.</div>
+</dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/RestConfig.html#addDefaultRequestHeader-java.lang.String-java.lang.Object-">addDefaultRequestHeader(String, Object)</a></span> - Method in class org.apache.juneau.rest.<a href="org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a></dt>
<dd>
<div class="block">Adds class-level default HTTP request headers to this resource.</div>
@@ -593,6 +609,10 @@
<dd>
<div class="block">Bean property adder: <property>parameters</property>.</div>
</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/RestConfig.html#addParamResolvers-java.lang.Class...-">addParamResolvers(Class<? extends RestParam>...)</a></span> - Method in class org.apache.juneau.rest.<a href="org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a></dt>
+<dd>
+<div class="block">Adds class-level parameter resolvers to this resource.</div>
+</dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/RestConfig.html#addParsers-java.lang.Class...-">addParsers(Class<?>...)</a></span> - Method in class org.apache.juneau.rest.<a href="org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a></dt>
<dd>
<div class="block">Adds class-level parsers to this resource.</div>
@@ -875,6 +895,10 @@
<dd>
<div class="block">Logs a warning message.</div>
</dd>
+<dt><a href="org/apache/juneau/http/Age.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Age</span></a> - Class in <a href="org/apache/juneau/http/package-summary.html">org.apache.juneau.http</a></dt>
+<dd>
+<div class="block">Represents a parsed <l>Age</l> HTTP response header.</div>
+</dd>
<dt><a href="org/apache/juneau/utils/AList.html" title="class in org.apache.juneau.utils"><span class="typeNameLink">AList</span></a><<a href="org/apache/juneau/utils/AList.html" title="type parameter in AList">T</a>> - Class in <a href="org/apache/juneau/utils/package-summary.html">org.apache.juneau.utils</a></dt>
<dd>
<div class="block">An extension of <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.html?is-external=true" title="class or interface in java.util"><code>LinkedList</code></a> with a convenience <a href="org/apache/juneau/utils/AList.html#append-T-"><code>AList.append(Object)</code></a> method.</div>
@@ -885,6 +909,10 @@
<dd>
<div class="block">Synonym for <a href="org/apache/juneau/dto/swagger/SchemaInfo.html#addAllOf-java.lang.Object...-"><code>SchemaInfo.addAllOf(Object...)</code></a>.</div>
</dd>
+<dt><a href="org/apache/juneau/http/Allow.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Allow</span></a> - Class in <a href="org/apache/juneau/http/package-summary.html">org.apache.juneau.http</a></dt>
+<dd>
+<div class="block">Represents a parsed <l>Allow</l> HTTP response header.</div>
+</dd>
<dt><a href="org/apache/juneau/rest/client/AllowAllRedirects.html" title="class in org.apache.juneau.rest.client"><span class="typeNameLink">AllowAllRedirects</span></a> - Class in <a href="org/apache/juneau/rest/client/package-summary.html">org.apache.juneau.rest.client</a></dt>
<dd>
<div class="block">Redirect strategy that allows for redirects on any request type, not just <code>GET</code> or <code>HEAD</code>.</div>
@@ -1306,12 +1334,32 @@
<dd>
<div class="block">Constructor.</div>
</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/HeaderDate.html#asDate--">asDate()</a></span> - Method in class org.apache.juneau.http.<a href="org/apache/juneau/http/HeaderDate.html" title="class in org.apache.juneau.http">HeaderDate</a></dt>
+<dd>
+<div class="block">Returns this header value as a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util"><code>Date</code></a>.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/IfRange.html#asDate--">asDate()</a></span> - Method in class org.apache.juneau.http.<a href="org/apache/juneau/http/IfRange.html" title="class in org.apache.juneau.http">IfRange</a></dt>
+<dd>
+<div class="block">Returns this header value as a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util"><code>Date</code></a> object.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/RetryAfter.html#asDate--">asDate()</a></span> - Method in class org.apache.juneau.http.<a href="org/apache/juneau/http/RetryAfter.html" title="class in org.apache.juneau.http">RetryAfter</a></dt>
+<dd>
+<div class="block">Returns this header value as a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util"><code>Date</code></a> object.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/HeaderEnum.html#asEnum--">asEnum()</a></span> - Method in class org.apache.juneau.http.<a href="org/apache/juneau/http/HeaderEnum.html" title="class in org.apache.juneau.http">HeaderEnum</a></dt>
+<dd>
+<div class="block">Returns <jk>true</jk> if the specified value is the same using <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true#equalsIgnoreCase-java.lang.String-" title="class or interface in java.lang"><code>String.equalsIgnoreCase(String)</code></a>.</div>
+</dd>
<dt><a href="org/apache/juneau/utils/ASet.html" title="class in org.apache.juneau.utils"><span class="typeNameLink">ASet</span></a><<a href="org/apache/juneau/utils/ASet.html" title="type parameter in ASet">T</a>> - Class in <a href="org/apache/juneau/utils/package-summary.html">org.apache.juneau.utils</a></dt>
<dd>
<div class="block">An extension of <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashSet.html?is-external=true" title="class or interface in java.util"><code>LinkedHashSet</code></a> with a convenience <a href="org/apache/juneau/utils/ASet.html#append-T-"><code>ASet.append(Object)</code></a> method.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/utils/ASet.html#ASet--">ASet()</a></span> - Constructor for class org.apache.juneau.utils.<a href="org/apache/juneau/utils/ASet.html" title="class in org.apache.juneau.utils">ASet</a></dt>
<dd> </dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/RequestBody.html#asHex--">asHex()</a></span> - Method in class org.apache.juneau.rest.<a href="org/apache/juneau/rest/RequestBody.html" title="class in org.apache.juneau.rest">RequestBody</a></dt>
+<dd>
+<div class="block">Returns the HTTP body content as a simple hexadecimal character string.</div>
+</dd>
<dt><a href="org/apache/juneau/dto/html5/Aside.html" title="class in org.apache.juneau.dto.html5"><span class="typeNameLink">Aside</span></a> - Class in <a href="org/apache/juneau/dto/html5/package-summary.html">org.apache.juneau.dto.html5</a></dt>
<dd>
<div class="block">DTO for an HTML <a class="./org/apache/juneau/dto/html5/doclink" href="https://www.w3.org/TR/html5/sections.html#the-aside-element"><aside></a> element.</div>
@@ -1326,6 +1374,14 @@
<dd>
<div class="block">Creates an <a href="org/apache/juneau/dto/html5/Aside.html" title="class in org.apache.juneau.dto.html5"><code>Aside</code></a> element with the specified child nodes.</div>
</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/HeaderInteger.html#asInt--">asInt()</a></span> - Method in class org.apache.juneau.http.<a href="org/apache/juneau/http/HeaderInteger.html" title="class in org.apache.juneau.http">HeaderInteger</a></dt>
+<dd>
+<div class="block">Returns this header as a simple string value.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/RetryAfter.html#asInt--">asInt()</a></span> - Method in class org.apache.juneau.http.<a href="org/apache/juneau/http/RetryAfter.html" title="class in org.apache.juneau.http">RetryAfter</a></dt>
+<dd>
+<div class="block">Returns this header value as an integer.</div>
+</dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/BeanContext.html#asMap--">asMap()</a></span> - Method in class org.apache.juneau.<a href="org/apache/juneau/BeanContext.html" title="class in org.apache.juneau">BeanContext</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/BeanSession.html#asMap--">asMap()</a></span> - Method in class org.apache.juneau.<a href="org/apache/juneau/BeanSession.html" title="class in org.apache.juneau">BeanSession</a></dt>
@@ -1380,6 +1436,10 @@
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/xml/XmlSerializerContext.html#asMap--">asMap()</a></span> - Method in class org.apache.juneau.xml.<a href="org/apache/juneau/xml/XmlSerializerContext.html" title="class in org.apache.juneau.xml">XmlSerializerContext</a></dt>
<dd> </dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/Accept.html#asRanges--">asRanges()</a></span> - Method in class org.apache.juneau.http.<a href="org/apache/juneau/http/Accept.html" title="class in org.apache.juneau.http">Accept</a></dt>
+<dd>
+<div class="block">Returns the list of the media ranges that make up this header.</div>
+</dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/internal/ThrowableUtils.html#assertFieldNotNull-java.lang.Object-java.lang.String-">assertFieldNotNull(Object, String)</a></span> - Static method in class org.apache.juneau.internal.<a href="org/apache/juneau/internal/ThrowableUtils.html" title="class in org.apache.juneau.internal">ThrowableUtils</a></dt>
<dd>
<div class="block">Throws an <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang"><code>IllegalArgumentException</code></a> if the specified field is <jk>null</jk>.</div>
@@ -1400,6 +1460,58 @@
<dd>
<div class="block">Converts the specified array to a <code>Set</code>.</div>
</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/HeaderRangeArray.html#asSimpleRanges--">asSimpleRanges()</a></span> - Method in class org.apache.juneau.http.<a href="org/apache/juneau/http/HeaderRangeArray.html" title="class in org.apache.juneau.http">HeaderRangeArray</a></dt>
+<dd>
+<div class="block">Returns the list of the types ranges that make up this header.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/EntityValidator.html#asString--">asString()</a></span> - Method in class org.apache.juneau.http.<a href="org/apache/juneau/http/EntityValidator.html" title="class in org.apache.juneau.http">EntityValidator</a></dt>
+<dd>
+<div class="block">Returns the validator value stripped of quotes and weak tag.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/HeaderEnum.html#asString--">asString()</a></span> - Method in class org.apache.juneau.http.<a href="org/apache/juneau/http/HeaderEnum.html" title="class in org.apache.juneau.http">HeaderEnum</a></dt>
+<dd>
+<div class="block">Returns this header as a simple string value.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/HeaderString.html#asString--">asString()</a></span> - Method in class org.apache.juneau.http.<a href="org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></dt>
+<dd>
+<div class="block">Returns this header as a simple string value.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/HeaderStringArray.html#asString--">asString()</a></span> - Method in class org.apache.juneau.http.<a href="org/apache/juneau/http/HeaderStringArray.html" title="class in org.apache.juneau.http">HeaderStringArray</a></dt>
+<dd>
+<div class="block">Returns this header as a simple string value.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/HeaderUri.html#asString--">asString()</a></span> - Method in class org.apache.juneau.http.<a href="org/apache/juneau/http/HeaderUri.html" title="class in org.apache.juneau.http">HeaderUri</a></dt>
+<dd>
+<div class="block">Returns this header as a simple string value.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/RequestBody.html#asString--">asString()</a></span> - Method in class org.apache.juneau.rest.<a href="org/apache/juneau/rest/RequestBody.html" title="class in org.apache.juneau.rest">RequestBody</a></dt>
+<dd>
+<div class="block">Returns the HTTP body content as a plain string.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/RequestBody.html#asType-java.lang.Class-">asType(Class<T>)</a></span> - Method in class org.apache.juneau.rest.<a href="org/apache/juneau/rest/RequestBody.html" title="class in org.apache.juneau.rest">RequestBody</a></dt>
+<dd>
+<div class="block">Reads the input from the HTTP request as JSON, XML, or HTML and converts the input to a POJO.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/RequestBody.html#asType-java.lang.reflect.Type-java.lang.reflect.Type...-">asType(Type, Type...)</a></span> - Method in class org.apache.juneau.rest.<a href="org/apache/juneau/rest/RequestBody.html" title="class in org.apache.juneau.rest">RequestBody</a></dt>
+<dd>
+<div class="block">Reads the input from the HTTP request as JSON, XML, or HTML and converts the input to a POJO.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/HeaderUri.html#asURI--">asURI()</a></span> - Method in class org.apache.juneau.http.<a href="org/apache/juneau/http/HeaderUri.html" title="class in org.apache.juneau.http">HeaderUri</a></dt>
+<dd>
+<div class="block">Returns this header as a <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>.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/HeaderEntityValidator.html#asValidator--">asValidator()</a></span> - Method in class org.apache.juneau.http.<a href="org/apache/juneau/http/HeaderEntityValidator.html" title="class in org.apache.juneau.http">HeaderEntityValidator</a></dt>
+<dd>
+<div class="block">Returns this header value as a <a href="org/apache/juneau/http/EntityValidator.html" title="class in org.apache.juneau.http"><code>EntityValidator</code></a> object.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/IfRange.html#asValidator--">asValidator()</a></span> - Method in class org.apache.juneau.http.<a href="org/apache/juneau/http/IfRange.html" title="class in org.apache.juneau.http">IfRange</a></dt>
+<dd>
+<div class="block">Returns this header value as an <a href="org/apache/juneau/http/EntityValidator.html" title="class in org.apache.juneau.http"><code>EntityValidator</code></a> object.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/HeaderEntityValidatorArray.html#asValidators--">asValidators()</a></span> - Method in class org.apache.juneau.http.<a href="org/apache/juneau/http/HeaderEntityValidatorArray.html" title="class in org.apache.juneau.http">HeaderEntityValidatorArray</a></dt>
+<dd>
+<div class="block">Returns this header value as an array of <a href="org/apache/juneau/http/EntityValidator.html" title="class in org.apache.juneau.http"><code>EntityValidator</code></a> objects.</div>
+</dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/dto/html5/Script.html#async-java.lang.Object-">async(Object)</a></span> - Method in class org.apache.juneau.dto.html5.<a href="org/apache/juneau/dto/html5/Script.html" title="class in org.apache.juneau.dto.html5">Script</a></dt>
<dd>
<div class="block"><a class="./org/apache/juneau/dto/html5/doclink" href="https://www.w3.org/TR/html5/scripting-1.html#attr-script-async">async</a> attribute.</div>
@@ -1476,6 +1588,10 @@
<dd>
<div class="block">Creates an <a href="org/apache/juneau/dto/html5/Audio.html" title="class in org.apache.juneau.dto.html5"><code>Audio</code></a> element with the specified <a href="org/apache/juneau/dto/html5/Audio.html#src-java.lang.Object-"><code>Audio.src(Object)</code></a> attribute.</div>
</dd>
+<dt><a href="org/apache/juneau/http/Authorization.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Authorization</span></a> - Class in <a href="org/apache/juneau/http/package-summary.html">org.apache.juneau.http</a></dt>
+<dd>
+<div class="block">Represents a parsed <l>Authorization</l> HTTP request header.</div>
+</dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestCall.html#authorization-java.lang.Object-">authorization(Object)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></dt>
<dd>
<div class="block">Sets the value for the <code>Authorization</code> request header.</div>
@@ -3172,6 +3288,18 @@
<dd>
<div class="block">Add the specified input stream to this cache.</div>
</dd>
+<dt><a href="org/apache/juneau/internal/Cache.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Cache</span></a><<a href="org/apache/juneau/internal/Cache.html" title="type parameter in Cache">K</a>,<a href="org/apache/juneau/internal/Cache.html" title="type parameter in Cache">V</a>> - Class in <a href="org/apache/juneau/internal/package-summary.html">org.apache.juneau.internal</a></dt>
+<dd>
+<div class="block">Simple in-memory cache of objects.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/internal/Cache.html#Cache-boolean-int-">Cache(boolean, int)</a></span> - Constructor for class org.apache.juneau.internal.<a href="org/apache/juneau/internal/Cache.html" title="class in org.apache.juneau.internal">Cache</a></dt>
+<dd>
+<div class="block">Constructor.</div>
+</dd>
+<dt><a href="org/apache/juneau/http/CacheControl.html" title="class in org.apache.juneau.http"><span class="typeNameLink">CacheControl</span></a> - Class in <a href="org/apache/juneau/http/package-summary.html">org.apache.juneau.http</a></dt>
+<dd>
+<div class="block">Represents a parsed <l>Cache-Control</l> HTTP request header.</div>
+</dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestCall.html#cacheControl-java.lang.Object-">cacheControl(Object)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></dt>
<dd>
<div class="block">Sets the value for the <code>Cache-Control</code> request header.</div>
@@ -3395,6 +3523,10 @@
<dd>
<div class="block"><a class="./org/apache/juneau/dto/html5/doclink" href="https://www.w3.org/TR/html5/forms.html#attr-keygen-challenge">challenge</a> attribute.</div>
</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/internal/StringUtils.html#charAt-java.lang.String-int-">charAt(String, int)</a></span> - Static method in class org.apache.juneau.internal.<a href="org/apache/juneau/internal/StringUtils.html" title="class in org.apache.juneau.internal">StringUtils</a></dt>
+<dd>
+<div class="block">Returns the character at the specified index in the string without throwing exceptions.</div>
+</dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/utils/StringMessage.html#charAt-int-">charAt(int)</a></span> - Method in class org.apache.juneau.utils.<a href="org/apache/juneau/utils/StringMessage.html" title="class in org.apache.juneau.utils">StringMessage</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/utils/StringObject.html#charAt-int-">charAt(int)</a></span> - Method in class org.apache.juneau.utils.<a href="org/apache/juneau/utils/StringObject.html" title="class in org.apache.juneau.utils">StringObject</a></dt>
@@ -3948,6 +4080,8 @@
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/ini/Section.html#clear--">clear()</a></span> - Method in class org.apache.juneau.ini.<a href="org/apache/juneau/ini/Section.html" title="class in org.apache.juneau.ini">Section</a></dt>
<dd> </dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/internal/WrappedMap.html#clear--">clear()</a></span> - Method in class org.apache.juneau.internal.<a href="org/apache/juneau/internal/WrappedMap.html" title="class in org.apache.juneau.internal">WrappedMap</a></dt>
+<dd> </dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/ini/ConfigFile.html#clearHeaderComments-java.lang.String-">clearHeaderComments(String)</a></span> - Method in class org.apache.juneau.ini.<a href="org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a></dt>
<dd>
<div class="block">Removes any header comments from the specified section.</div>
@@ -3960,6 +4094,10 @@
<dd>
<div class="block">Removes all header comments from this section.</div>
</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/internal/DateUtils.html#clearThreadLocal--">clearThreadLocal()</a></span> - Static method in class org.apache.juneau.internal.<a href="org/apache/juneau/internal/DateUtils.html" title="class in org.apache.juneau.internal">DateUtils</a></dt>
+<dd>
+<div class="block">Clears thread-local variable containing <a href="http://docs.oracle.com/javase/7/docs/api/java/text/DateFormat.html?is-external=true" title="class or interface in java.text"><code>DateFormat</code></a> cache.</div>
+</dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestCall.html#clientVersion-java.lang.String-">clientVersion(String)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></dt>
<dd>
<div class="block">Sets the client version by setting the value for the <js>"X-Client-Version"</js> header.</div>
@@ -4198,7 +4336,7 @@
<dd>
<div class="block">Compares two MediaRanges for equality.</div>
</dd>
-<dt><span class="memberNameLink"><a href="org/apache/juneau/http/TypeRange.html#compareTo-org.apache.juneau.http.TypeRange-">compareTo(TypeRange)</a></span> - Method in class org.apache.juneau.http.<a href="org/apache/juneau/http/TypeRange.html" title="class in org.apache.juneau.http">TypeRange</a></dt>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/StringRange.html#compareTo-org.apache.juneau.http.StringRange-">compareTo(StringRange)</a></span> - Method in class org.apache.juneau.http.<a href="org/apache/juneau/http/StringRange.html" title="class in org.apache.juneau.http">StringRange</a></dt>
<dd>
<div class="block">Compares two MediaRanges for equality.</div>
</dd>
@@ -4289,6 +4427,10 @@
<dd>
<div class="block">Connects to the REST resource.</div>
</dd>
+<dt><a href="org/apache/juneau/http/Connection.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Connection</span></a> - Class in <a href="org/apache/juneau/http/package-summary.html">org.apache.juneau.http</a></dt>
+<dd>
+<div class="block">Represents a parsed <l>Connection</l> HTTP request header.</div>
+</dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestCall.html#connection-java.lang.Object-">connection(Object)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></dt>
<dd>
<div class="block">Sets the value for the <code>Connection</code> request header.</div>
@@ -4301,6 +4443,12 @@
<dd>
<div class="block">Default RetryOn that returns <jk>true</jk> if the HTTP connection could not be made.</div>
</dd>
+<dt><a href="org/apache/juneau/http/Constants.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Constants</span></a> - Class in <a href="org/apache/juneau/http/package-summary.html">org.apache.juneau.http</a></dt>
+<dd>
+<div class="block">Constants used by classes in this package.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/Constants.html#Constants--">Constants()</a></span> - Constructor for class org.apache.juneau.http.<a href="org/apache/juneau/http/Constants.html" title="class in org.apache.juneau.http">Constants</a></dt>
+<dd> </dd>
<dt><a href="org/apache/juneau/jena/Constants.html" title="class in org.apache.juneau.jena"><span class="typeNameLink">Constants</span></a> - Class in <a href="org/apache/juneau/jena/package-summary.html">org.apache.juneau.jena</a></dt>
<dd>
<div class="block">Constants used by the <a href="org/apache/juneau/jena/RdfSerializer.html" title="class in org.apache.juneau.jena"><code>RdfSerializer</code></a> and <a href="org/apache/juneau/jena/RdfParser.html" title="class in org.apache.juneau.jena"><code>RdfParser</code></a> classes.</div>
@@ -4361,6 +4509,10 @@
<dd>
<div class="block">Creates an <a href="org/apache/juneau/dto/swagger/Contact.html" title="class in org.apache.juneau.dto.swagger"><code>Contact</code></a> element with the specified <a href="org/apache/juneau/dto/swagger/Contact.html#name-java.lang.String-"><code>Contact.name(String)</code></a>, <a href="org/apache/juneau/dto/swagger/Contact.html#url-java.lang.String-"><code>Contact.url(String)</code></a>, and <a href="org/apache/juneau/dto/swagger/Contact.html#email-java.lang.String-"><code>Contact.email(String)</code></a>, attributes.</div>
</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/HeaderStringArray.html#contains-java.lang.String-">contains(String)</a></span> - Method in class org.apache.juneau.http.<a href="org/apache/juneau/http/HeaderStringArray.html" title="class in org.apache.juneau.http">HeaderStringArray</a></dt>
+<dd>
+<div class="block">Returns <jk>true</jk> if this header contains the specified value.</div>
+</dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/internal/ArrayUtils.html#contains-T-T:A-">contains(T, T[])</a></span> - Static method in class org.apache.juneau.internal.<a href="org/apache/juneau/internal/ArrayUtils.html" title="class in org.apache.juneau.internal">ArrayUtils</a></dt>
<dd>
<div class="block">Returns <jk>true</jk> if the specified array contains the specified element
@@ -4389,12 +4541,22 @@
<dd>
<div class="block">Returns <jk>true</jk> if the specified string exists in this store.</div>
</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/RequestQuery.html#containsAnyKeys-java.lang.String...-">containsAnyKeys(String...)</a></span> - Method in class org.apache.juneau.rest.<a href="org/apache/juneau/rest/RequestQuery.html" title="class in org.apache.juneau.rest">RequestQuery</a></dt>
+<dd>
+<div class="block">Returns <jk>true</jk> if the request contains any of the specified query parameters.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/HeaderStringArray.html#containsIC-java.lang.String-">containsIC(String)</a></span> - Method in class org.apache.juneau.http.<a href="org/apache/juneau/http/HeaderStringArray.html" title="class in org.apache.juneau.http">HeaderStringArray</a></dt>
+<dd>
+<div class="block">Returns <jk>true</jk> if this header contains the specified value using <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true#equalsIgnoreCase-java.lang.String-" title="class or interface in java.lang"><code>String.equalsIgnoreCase(String)</code></a>.</div>
+</dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/ini/ConfigFileImpl.html#containsKey-java.lang.Object-">containsKey(Object)</a></span> - Method in class org.apache.juneau.ini.<a href="org/apache/juneau/ini/ConfigFileImpl.html" title="class in org.apache.juneau.ini">ConfigFileImpl</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/ini/ConfigFileWrapped.html#containsKey-java.lang.Object-">containsKey(Object)</a></span> - Method in class org.apache.juneau.ini.<a href="org/apache/juneau/ini/ConfigFileWrapped.html" title="class in org.apache.juneau.ini">ConfigFileWrapped</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/ini/Section.html#containsKey-java.lang.Object-">containsKey(Object)</a></span> - Method in class org.apache.juneau.ini.<a href="org/apache/juneau/ini/Section.html" title="class in org.apache.juneau.ini">Section</a></dt>
<dd> </dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/internal/WrappedMap.html#containsKey-java.lang.Object-">containsKey(Object)</a></span> - Method in class org.apache.juneau.internal.<a href="org/apache/juneau/internal/WrappedMap.html" title="class in org.apache.juneau.internal">WrappedMap</a></dt>
+<dd> </dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/ObjectMap.html#containsKey-java.lang.Object-">containsKey(Object)</a></span> - Method in class org.apache.juneau.<a href="org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/utils/MessageBundle.html#containsKey-java.lang.String-">containsKey(String)</a></span> - Method in class org.apache.juneau.utils.<a href="org/apache/juneau/utils/MessageBundle.html" title="class in org.apache.juneau.utils">MessageBundle</a></dt>
@@ -4414,6 +4576,8 @@
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/ini/Section.html#containsValue-java.lang.Object-">containsValue(Object)</a></span> - Method in class org.apache.juneau.ini.<a href="org/apache/juneau/ini/Section.html" title="class in org.apache.juneau.ini">Section</a></dt>
<dd> </dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/internal/WrappedMap.html#containsValue-java.lang.Object-">containsValue(Object)</a></span> - Method in class org.apache.juneau.internal.<a href="org/apache/juneau/internal/WrappedMap.html" title="class in org.apache.juneau.internal">WrappedMap</a></dt>
+<dd> </dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/dto/atom/AtomBuilder.html#content--">content()</a></span> - Static method in class org.apache.juneau.dto.atom.<a href="org/apache/juneau/dto/atom/AtomBuilder.html" title="class in org.apache.juneau.dto.atom">AtomBuilder</a></dt>
<dd>
<div class="block">Creates a <a href="org/apache/juneau/dto/atom/Content.html" title="class in org.apache.juneau.dto.atom"><code>Content</code></a> element with the specified <a href="org/apache/juneau/dto/atom/Content.html#type-java.lang.String-"><code>Content.type(String)</code></a> attribute.</div>
@@ -4446,6 +4610,22 @@
<dd>
<div class="block"><a class="./org/apache/juneau/dto/html5/doclink" href="https://www.w3.org/TR/html5/editing.html#attr-contenteditable">contenteditable</a> attribute.</div>
</dd>
+<dt><a href="org/apache/juneau/http/ContentEncoding.html" title="class in org.apache.juneau.http"><span class="typeNameLink">ContentEncoding</span></a> - Class in <a href="org/apache/juneau/http/package-summary.html">org.apache.juneau.http</a></dt>
+<dd>
+<div class="block">Represents a parsed <l>Content-Encoding</l> HTTP response header.</div>
+</dd>
+<dt><a href="org/apache/juneau/http/ContentEncodingEnum.html" title="enum in org.apache.juneau.http"><span class="typeNameLink">ContentEncodingEnum</span></a> - Enum in <a href="org/apache/juneau/http/package-summary.html">org.apache.juneau.http</a></dt>
+<dd>
+<div class="block">Represents the possible values for a <code>Content-Encoding</code> header.</div>
+</dd>
+<dt><a href="org/apache/juneau/http/ContentLanguage.html" title="class in org.apache.juneau.http"><span class="typeNameLink">ContentLanguage</span></a> - Class in <a href="org/apache/juneau/http/package-summary.html">org.apache.juneau.http</a></dt>
+<dd>
+<div class="block">Represents a parsed <l>Content-Language</l> HTTP response header.</div>
+</dd>
+<dt><a href="org/apache/juneau/http/ContentLength.html" title="class in org.apache.juneau.http"><span class="typeNameLink">ContentLength</span></a> - Class in <a href="org/apache/juneau/http/package-summary.html">org.apache.juneau.http</a></dt>
+<dd>
+<div class="block">Represents a parsed <l>Content-Length</l> HTTP request/response header.</div>
+</dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestCall.html#contentLength-java.lang.Object-">contentLength(Object)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></dt>
<dd>
<div class="block">Sets the value for the <code>Content-Length</code> request header.</div>
@@ -4454,6 +4634,14 @@
<dd>
<div class="block">Sets the value for the <code>Content-Length</code> request header.</div>
</dd>
+<dt><a href="org/apache/juneau/http/ContentLocation.html" title="class in org.apache.juneau.http"><span class="typeNameLink">ContentLocation</span></a> - Class in <a href="org/apache/juneau/http/package-summary.html">org.apache.juneau.http</a></dt>
+<dd>
+<div class="block">Represents a parsed <l>Content-Location</l> HTTP response header.</div>
+</dd>
+<dt><a href="org/apache/juneau/http/ContentRange.html" title="class in org.apache.juneau.http"><span class="typeNameLink">ContentRange</span></a> - Class in <a href="org/apache/juneau/http/package-summary.html">org.apache.juneau.http</a></dt>
+<dd>
+<div class="block">Represents a parsed <l>Content-Range</l> HTTP response header.</div>
+</dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/ReaderResource.Builder.html#contents-java.lang.Object...-">contents(Object...)</a></span> - Method in class org.apache.juneau.rest.<a href="org/apache/juneau/rest/ReaderResource.Builder.html" title="class in org.apache.juneau.rest">ReaderResource.Builder</a></dt>
<dd>
<div class="block">Specifies the contents for this resource.</div>
@@ -4464,7 +4652,7 @@
</dd>
<dt><a href="org/apache/juneau/http/ContentType.html" title="class in org.apache.juneau.http"><span class="typeNameLink">ContentType</span></a> - Class in <a href="org/apache/juneau/http/package-summary.html">org.apache.juneau.http</a></dt>
<dd>
-<div class="block">Represents a parsed <code>Content-Type:</code> HTTP header.</div>
+<div class="block">Represents a parsed <l>Content-Type</l> HTTP request/response header.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestCall.html#contentType-java.lang.Object-">contentType(Object)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></dt>
<dd>
@@ -4927,6 +5115,10 @@
<dd>
<div class="block">Represents a row of data.</div>
</dd>
+<dt><a href="org/apache/juneau/http/Date.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Date</span></a> - Class in <a href="org/apache/juneau/http/package-summary.html">org.apache.juneau.http</a></dt>
+<dd>
+<div class="block">Represents a parsed <l>Date</l> HTTP request/response header.</div>
+</dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/microservice/resources/LogParser.Entry.html#date">date</a></span> - Variable in class org.apache.juneau.microservice.resources.<a href="org/apache/juneau/microservice/resources/LogParser.Entry.html" title="class in org.apache.juneau.microservice.resources">LogParser.Entry</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestCall.html#date-java.lang.Object-">date(Object)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></dt>
@@ -5149,6 +5341,11 @@
<dd>
<div class="block">Constructor</div>
</dd>
+<dt><a href="org/apache/juneau/internal/DateUtils.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">DateUtils</span></a> - Class in <a href="org/apache/juneau/internal/package-summary.html">org.apache.juneau.internal</a></dt>
+<dd>
+<div class="block">A utility class for parsing and formatting HTTP dates as used in cookies and
+ other headers.</div>
+</dd>
<dt><a href="org/apache/juneau/dto/html5/Dd.html" title="class in org.apache.juneau.dto.html5"><span class="typeNameLink">Dd</span></a> - Class in <a href="org/apache/juneau/dto/html5/package-summary.html">org.apache.juneau.dto.html5</a></dt>
<dd>
<div class="block">DTO for an HTML <a class="./org/apache/juneau/dto/html5/doclink" href="https://www.w3.org/TR/html5/grouping-content.html#the-dd-element"><dd></a> element.</div>
@@ -6234,6 +6431,14 @@
<dd>
<div class="block">An efficient method for checking if a string ends with a character.</div>
</dd>
+<dt><a href="org/apache/juneau/http/EntityValidator.html" title="class in org.apache.juneau.http"><span class="typeNameLink">EntityValidator</span></a> - Class in <a href="org/apache/juneau/http/package-summary.html">org.apache.juneau.http</a></dt>
+<dd>
+<div class="block">Represents a validator value.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/EntityValidator.html#EntityValidator-java.lang.String-">EntityValidator(String)</a></span> - Constructor for class org.apache.juneau.http.<a href="org/apache/juneau/http/EntityValidator.html" title="class in org.apache.juneau.http">EntityValidator</a></dt>
+<dd>
+<div class="block">Constructor.</div>
+</dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/dto/atom/Feed.html#entries-org.apache.juneau.dto.atom.Entry...-">entries(Entry...)</a></span> - Method in class org.apache.juneau.dto.atom.<a href="org/apache/juneau/dto/atom/Feed.html" title="class in org.apache.juneau.dto.atom">Feed</a></dt>
<dd>
<div class="block">Sets the entries in the feed.</div>
@@ -6286,6 +6491,8 @@
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/internal/SimpleMap.html#entrySet--">entrySet()</a></span> - Method in class org.apache.juneau.internal.<a href="org/apache/juneau/internal/SimpleMap.html" title="class in org.apache.juneau.internal">SimpleMap</a></dt>
<dd> </dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/internal/WrappedMap.html#entrySet--">entrySet()</a></span> - Method in class org.apache.juneau.internal.<a href="org/apache/juneau/internal/WrappedMap.html" title="class in org.apache.juneau.internal">WrappedMap</a></dt>
+<dd> </dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/ObjectMap.html#entrySet--">entrySet()</a></span> - Method in class org.apache.juneau.<a href="org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a></dt>
<dd> </dd>
<dt><a href="org/apache/juneau/transforms/EnumerationSwap.html" title="class in org.apache.juneau.transforms"><span class="typeNameLink">EnumerationSwap</span></a> - Class in <a href="org/apache/juneau/transforms/package-summary.html">org.apache.juneau.transforms</a></dt>
@@ -6314,6 +6521,14 @@
<dd>
<div class="block">Constructor.</div>
</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/HeaderString.html#eq-java.lang.String-">eq(String)</a></span> - Method in class org.apache.juneau.http.<a href="org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></dt>
+<dd>
+<div class="block">Returns <jk>true</jk> if the specified value is the same using <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang"><code>String.equals(Object)</code></a>.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/HeaderString.html#eqIC-java.lang.String-">eqIC(String)</a></span> - Method in class org.apache.juneau.http.<a href="org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></dt>
+<dd>
+<div class="block">Returns <jk>true</jk> if the specified value is the same using <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true#equalsIgnoreCase-java.lang.String-" title="class or interface in java.lang"><code>String.equalsIgnoreCase(String)</code></a>.</div>
+</dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/BeanContext.html#equals-java.lang.Object-">equals(Object)</a></span> - Method in class org.apache.juneau.<a href="org/apache/juneau/BeanContext.html" title="class in org.apache.juneau">BeanContext</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/ClassMeta.html#equals-java.lang.Object-">equals(Object)</a></span> - Method in class org.apache.juneau.<a href="org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a></dt>
@@ -6328,7 +6543,7 @@
<dd>
<div class="block">Returns <jk>true</jk> if the specified object is also a <code>MediaType</code>, and has the same qValue, type, parameters, and extensions.</div>
</dd>
-<dt><span class="memberNameLink"><a href="org/apache/juneau/http/TypeRange.html#equals-java.lang.Object-">equals(Object)</a></span> - Method in class org.apache.juneau.http.<a href="org/apache/juneau/http/TypeRange.html" title="class in org.apache.juneau.http">TypeRange</a></dt>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/StringRange.html#equals-java.lang.Object-">equals(Object)</a></span> - Method in class org.apache.juneau.http.<a href="org/apache/juneau/http/StringRange.html" title="class in org.apache.juneau.http">StringRange</a></dt>
<dd>
<div class="block">Returns <jk>true</jk> if the specified object is also a <code>MediaType</code>, and has the same qValue, type, parameters, and extensions.</div>
</dd>
@@ -6367,6 +6582,10 @@
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/html/HtmlWriter.html#eTag-int-java.lang.String-java.lang.String-boolean-">eTag(int, String, String, boolean)</a></span> - Method in class org.apache.juneau.html.<a href="org/apache/juneau/html/HtmlWriter.html" title="class in org.apache.juneau.html">HtmlWriter</a></dt>
<dd> </dd>
+<dt><a href="org/apache/juneau/http/ETag.html" title="class in org.apache.juneau.http"><span class="typeNameLink">ETag</span></a> - Class in <a href="org/apache/juneau/http/package-summary.html">org.apache.juneau.http</a></dt>
+<dd>
+<div class="block">Represents a parsed <l>ETag</l> HTTP response header.</div>
+</dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/xml/XmlWriter.html#eTag-java.lang.String-java.lang.String-boolean-">eTag(String, String, boolean)</a></span> - Method in class org.apache.juneau.xml.<a href="org/apache/juneau/xml/XmlWriter.html" title="class in org.apache.juneau.xml">XmlWriter</a></dt>
<dd>
<div class="block">Writes an end tag to the output: <code><xt></ns:name></xt></code></div>
@@ -6479,6 +6698,10 @@
<dd>
<div class="block"><b>Configuration property:</b> Serialize bean property collections/arrays as separate key/value pairs.</div>
</dd>
+<dt><a href="org/apache/juneau/http/Expect.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Expect</span></a> - Class in <a href="org/apache/juneau/http/package-summary.html">org.apache.juneau.http</a></dt>
+<dd>
+<div class="block">Represents a parsed <l>Expect</l> HTTP request header.</div>
+</dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestCall.html#expect-java.lang.Object-">expect(Object)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></dt>
<dd>
<div class="block">Sets the value for the <code>Expect</code> request header.</div>
@@ -6487,6 +6710,10 @@
<dd>
<div class="block">Sets the value for the <code>Expect</code> request header.</div>
</dd>
+<dt><a href="org/apache/juneau/http/Expires.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Expires</span></a> - Class in <a href="org/apache/juneau/http/package-summary.html">org.apache.juneau.http</a></dt>
+<dd>
+<div class="block">Represents a parsed <l>Expires</l> HTTP response header.</div>
+</dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/dto/swagger/Operation.html#externalDocs-org.apache.juneau.dto.swagger.ExternalDocumentation-">externalDocs(ExternalDocumentation)</a></span> - Method in class org.apache.juneau.dto.swagger.<a href="org/apache/juneau/dto/swagger/Operation.html" title="class in org.apache.juneau.dto.swagger">Operation</a></dt>
<dd>
<div class="block">Synonym for <a href="org/apache/juneau/dto/swagger/Operation.html#setExternalDocs-org.apache.juneau.dto.swagger.ExternalDocumentation-"><code>Operation.setExternalDocs(ExternalDocumentation)</code></a>.</div>
@@ -6750,14 +6977,14 @@
<dd>
<div class="block">Given a list of media types, returns the best match for this <code>Accept</code> header.</div>
</dd>
-<dt><span class="memberNameLink"><a href="org/apache/juneau/http/AcceptEncoding.html#findMatch-java.lang.String:A-">findMatch(String[])</a></span> - Method in class org.apache.juneau.http.<a href="org/apache/juneau/http/AcceptEncoding.html" title="class in org.apache.juneau.http">AcceptEncoding</a></dt>
-<dd>
-<div class="block">Given a list of content codings, returns the best match for this <code>Accept-Encoding</code> header.</div>
-</dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/http/ContentType.html#findMatch-org.apache.juneau.http.MediaType:A-">findMatch(MediaType[])</a></span> - Method in class org.apache.juneau.http.<a href="org/apache/juneau/http/ContentType.html" title="class in org.apache.juneau.http">ContentType</a></dt>
<dd>
<div class="block">Given a list of media types, returns the best match for this <code>Content-Type</code> header.</div>
</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/HeaderRangeArray.html#findMatch-java.lang.String:A-">findMatch(String[])</a></span> - Method in class org.apache.juneau.http.<a href="org/apache/juneau/http/HeaderRangeArray.html" title="class in org.apache.juneau.http">HeaderRangeArray</a></dt>
+<dd>
+<div class="block">Given a list of type values, returns the best match for this header.</div>
+</dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/jena/RdfUtils.html#findNamespace-java.util.List-java.util.List-">findNamespace(List<Rdf>, List<RdfSchema>)</a></span> - Static method in class org.apache.juneau.jena.<a href="org/apache/juneau/jena/RdfUtils.html" title="class in org.apache.juneau.jena">RdfUtils</a></dt>
<dd>
<div class="block">Find the namespace given a list of <ja>@Rdf</ja> and <ja>@RdfSchema</ja> annotations.</div>
@@ -6786,6 +7013,10 @@
<dd>
<div class="block">Returns the first entry that exists converted to a <a href="org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau"><code>ObjectMap</code></a>.</div>
</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/RestContext.html#findParams-java.lang.reflect.Method-boolean-org.apache.juneau.rest.UrlPathPattern-">findParams(Method, boolean, UrlPathPattern)</a></span> - Method in class org.apache.juneau.rest.<a href="org/apache/juneau/rest/RestContext.html" title="class in org.apache.juneau.rest">RestContext</a></dt>
+<dd>
+<div class="block">Finds the <a href="org/apache/juneau/rest/RestParam.html" title="class in org.apache.juneau.rest"><code>RestParam</code></a> instances to handle resolving objects on the calls to the specified Java method.</div>
+</dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/transform/SurrogateSwap.html#findPojoSwaps-java.lang.Class-">findPojoSwaps(Class<?>)</a></span> - Static method in class org.apache.juneau.transform.<a href="org/apache/juneau/transform/SurrogateSwap.html" title="class in org.apache.juneau.transform">SurrogateSwap</a></dt>
<dd>
<div class="block">Given the specified surrogate class, return the list of POJO swaps.</div>
@@ -6856,6 +7087,10 @@
<dd>
<div class="block">Creates a <a href="org/apache/juneau/dto/html5/Footer.html" title="class in org.apache.juneau.dto.html5"><code>Footer</code></a> element with the specified child nodes.</div>
</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/RestParam.html#forClass--">forClass()</a></span> - Method in class org.apache.juneau.rest.<a href="org/apache/juneau/rest/RestParam.html" title="class in org.apache.juneau.rest">RestParam</a></dt>
+<dd>
+<div class="block">Returns the parameter class type that this parameter resolver is meant for.</div>
+</dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/dto/html5/Button.html#form-java.lang.String-">form(String)</a></span> - Method in class org.apache.juneau.dto.html5.<a href="org/apache/juneau/dto/html5/Button.html" title="class in org.apache.juneau.dto.html5">Button</a></dt>
<dd>
<div class="block"><a class="./org/apache/juneau/dto/html5/doclink" href="https://www.w3.org/TR/html5/forms.html#attr-fae-form">form</a> attribute.</div>
@@ -6936,6 +7171,14 @@
</dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/microservice/resources/LogEntryFormatter.html#format-java.util.logging.LogRecord-">format(LogRecord)</a></span> - Method in class org.apache.juneau.microservice.resources.<a href="org/apache/juneau/microservice/resources/LogEntryFormatter.html" title="class in org.apache.juneau.microservice.resources">LogEntryFormatter</a></dt>
<dd> </dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/internal/DateUtils.html#formatDate-java.util.Date-">formatDate(Date)</a></span> - Static method in class org.apache.juneau.internal.<a href="org/apache/juneau/internal/DateUtils.html" title="class in org.apache.juneau.internal">DateUtils</a></dt>
+<dd>
+<div class="block">Formats the given date according to the RFC 1123 pattern.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/internal/DateUtils.html#formatDate-java.util.Date-java.lang.String-">formatDate(Date, String)</a></span> - Static method in class org.apache.juneau.internal.<a href="org/apache/juneau/internal/DateUtils.html" title="class in org.apache.juneau.internal">DateUtils</a></dt>
+<dd>
+<div class="block">Formats the given date according to the specified pattern.</div>
+</dd>
<dt><a href="org/apache/juneau/FormattedException.html" title="class in org.apache.juneau"><span class="typeNameLink">FormattedException</span></a> - Exception in <a href="org/apache/juneau/package-summary.html">org.apache.juneau</a></dt>
<dd>
<div class="block">Subclass of non-runtime exceptions that take in a message and zero or more arguments.</div>
@@ -7037,18 +7280,194 @@
<dd>
<div class="block">Returns a parsed <code>Accept</code> header.</div>
</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/AcceptCharset.html#forString-java.lang.String-">forString(String)</a></span> - Static method in class org.apache.juneau.http.<a href="org/apache/juneau/http/AcceptCharset.html" title="class in org.apache.juneau.http">AcceptCharset</a></dt>
+<dd>
+<div class="block">Returns a parsed <code>Accept-Charset</code> header.</div>
+</dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/http/AcceptEncoding.html#forString-java.lang.String-">forString(String)</a></span> - Static method in class org.apache.juneau.http.<a href="org/apache/juneau/http/AcceptEncoding.html" title="class in org.apache.juneau.http">AcceptEncoding</a></dt>
<dd>
<div class="block">Returns a parsed <code>Accept-Encoding</code> header.</div>
</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/AcceptLanguage.html#forString-java.lang.String-">forString(String)</a></span> - Static method in class org.apache.juneau.http.<a href="org/apache/juneau/http/AcceptLanguage.html" title="class in org.apache.juneau.http">AcceptLanguage</a></dt>
+<dd>
+<div class="block">Returns a parsed <code>Accept-Language</code> header.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/AcceptRanges.html#forString-java.lang.String-">forString(String)</a></span> - Static method in class org.apache.juneau.http.<a href="org/apache/juneau/http/AcceptRanges.html" title="class in org.apache.juneau.http">AcceptRanges</a></dt>
+<dd>
+<div class="block">Returns a parsed <code>Accept-Ranges</code> header.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/Age.html#forString-java.lang.String-">forString(String)</a></span> - Static method in class org.apache.juneau.http.<a href="org/apache/juneau/http/Age.html" title="class in org.apache.juneau.http">Age</a></dt>
+<dd>
+<div class="block">Returns a parsed <code>Age</code> header.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/Allow.html#forString-java.lang.String-">forString(String)</a></span> - Static method in class org.apache.juneau.http.<a href="org/apache/juneau/http/Allow.html" title="class in org.apache.juneau.http">Allow</a></dt>
+<dd>
+<div class="block">Returns a parsed <code>Allow</code> header.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/Authorization.html#forString-java.lang.String-">forString(String)</a></span> - Static method in class org.apache.juneau.http.<a href="org/apache/juneau/http/Authorization.html" title="class in org.apache.juneau.http">Authorization</a></dt>
+<dd>
+<div class="block">Returns a parsed <code>Authorization</code> header.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/CacheControl.html#forString-java.lang.String-">forString(String)</a></span> - Static method in class org.apache.juneau.http.<a href="org/apache/juneau/http/CacheControl.html" title="class in org.apache.juneau.http">CacheControl</a></dt>
+<dd>
+<div class="block">Returns a parsed <code>Cache-Control</code> header.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/Connection.html#forString-java.lang.String-">forString(String)</a></span> - Static method in class org.apache.juneau.http.<a href="org/apache/juneau/http/Connection.html" title="class in org.apache.juneau.http">Connection</a></dt>
+<dd>
+<div class="block">Returns a parsed <code>Connection</code> header.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/ContentEncoding.html#forString-java.lang.String-">forString(String)</a></span> - Static method in class org.apache.juneau.http.<a href="org/apache/juneau/http/ContentEncoding.html" title="class in org.apache.juneau.http">ContentEncoding</a></dt>
+<dd>
+<div class="block">Returns a parsed <code>Content-Encoding</code> header.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/ContentLanguage.html#forString-java.lang.String-">forString(String)</a></span> - Static method in class org.apache.juneau.http.<a href="org/apache/juneau/http/ContentLanguage.html" title="class in org.apache.juneau.http">ContentLanguage</a></dt>
+<dd>
+<div class="block">Returns a parsed <code>Content-Language</code> header.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/ContentLength.html#forString-java.lang.String-">forString(String)</a></span> - Static method in class org.apache.juneau.http.<a href="org/apache/juneau/http/ContentLength.html" title="class in org.apache.juneau.http">ContentLength</a></dt>
+<dd>
+<div class="block">Returns a parsed <code>Content-Length</code> header.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/ContentLocation.html#forString-java.lang.String-">forString(String)</a></span> - Static method in class org.apache.juneau.http.<a href="org/apache/juneau/http/ContentLocation.html" title="class in org.apache.juneau.http">ContentLocation</a></dt>
+<dd>
+<div class="block">Returns a parsed <code>Content-Location</code> header.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/ContentRange.html#forString-java.lang.String-">forString(String)</a></span> - Static method in class org.apache.juneau.http.<a href="org/apache/juneau/http/ContentRange.html" title="class in org.apache.juneau.http">ContentRange</a></dt>
+<dd>
+<div class="block">Returns a parsed <code>Content-Range</code> header.</div>
+</dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/http/ContentType.html#forString-java.lang.String-">forString(String)</a></span> - Static method in class org.apache.juneau.http.<a href="org/apache/juneau/http/ContentType.html" title="class in org.apache.juneau.http">ContentType</a></dt>
<dd>
<div class="block">Returns a parsed <code>Content-Type</code> header.</div>
</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/Date.html#forString-java.lang.String-">forString(String)</a></span> - Static method in class org.apache.juneau.http.<a href="org/apache/juneau/http/Date.html" title="class in org.apache.juneau.http">Date</a></dt>
+<dd>
+<div class="block">Returns a parsed <code>Date</code> header.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/ETag.html#forString-java.lang.String-">forString(String)</a></span> - Static method in class org.apache.juneau.http.<a href="org/apache/juneau/http/ETag.html" title="class in org.apache.juneau.http">ETag</a></dt>
+<dd>
+<div class="block">Returns a parsed <code>ETag</code> header.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/Expect.html#forString-java.lang.String-">forString(String)</a></span> - Static method in class org.apache.juneau.http.<a href="org/apache/juneau/http/Expect.html" title="class in org.apache.juneau.http">Expect</a></dt>
+<dd>
+<div class="block">Returns a parsed <code>Expect</code> header.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/Expires.html#forString-java.lang.String-">forString(String)</a></span> - Static method in class org.apache.juneau.http.<a href="org/apache/juneau/http/Expires.html" title="class in org.apache.juneau.http">Expires</a></dt>
+<dd>
+<div class="block">Returns a parsed <code>Expires</code> header.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/From.html#forString-java.lang.String-">forString(String)</a></span> - Static method in class org.apache.juneau.http.<a href="org/apache/juneau/http/From.html" title="class in org.apache.juneau.http">From</a></dt>
+<dd>
+<div class="block">Returns a parsed <code>From</code> header.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/Host.html#forString-java.lang.String-">forString(String)</a></span> - Static method in class org.apache.juneau.http.<a href="org/apache/juneau/http/Host.html" title="class in org.apache.juneau.http">Host</a></dt>
+<dd>
+<div class="block">Returns a parsed <code>Host</code> header.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/HttpMethod.html#forString-java.lang.String-">forString(String)</a></span> - Static method in enum org.apache.juneau.http.<a href="org/apache/juneau/http/HttpMethod.html" title="enum in org.apache.juneau.http">HttpMethod</a></dt>
+<dd>
+<div class="block">Returns the enum for the specified key.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/IfMatch.html#forString-java.lang.String-">forString(String)</a></span> - Static method in class org.apache.juneau.http.<a href="org/apache/juneau/http/IfMatch.html" title="class in org.apache.juneau.http">IfMatch</a></dt>
+<dd>
+<div class="block">Returns a parsed <code>If-Match</code> header.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/IfModifiedSince.html#forString-java.lang.String-">forString(String)</a></span> - Static method in class org.apache.juneau.http.<a href="org/apache/juneau/http/IfModifiedSince.html" title="class in org.apache.juneau.http">IfModifiedSince</a></dt>
+<dd>
+<div class="block">Returns a parsed <code>If-Modified-Since</code> header.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/IfNoneMatch.html#forString-java.lang.String-">forString(String)</a></span> - Static method in class org.apache.juneau.http.<a href="org/apache/juneau/http/IfNoneMatch.html" title="class in org.apache.juneau.http">IfNoneMatch</a></dt>
+<dd>
+<div class="block">Returns a parsed <code>If-None-Match</code> header.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/IfRange.html#forString-java.lang.String-">forString(String)</a></span> - Static method in class org.apache.juneau.http.<a href="org/apache/juneau/http/IfRange.html" title="class in org.apache.juneau.http">IfRange</a></dt>
+<dd>
+<div class="block">Returns a parsed <code>If-Range</code> header.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/IfUnmodifiedSince.html#forString-java.lang.String-">forString(String)</a></span> - Static method in class org.apache.juneau.http.<a href="org/apache/juneau/http/IfUnmodifiedSince.html" title="class in org.apache.juneau.http">IfUnmodifiedSince</a></dt>
+<dd>
+<div class="block">Returns a parsed <code>If-Unmodified-Since</code> header.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/LastModified.html#forString-java.lang.String-">forString(String)</a></span> - Static method in class org.apache.juneau.http.<a href="org/apache/juneau/http/LastModified.html" title="class in org.apache.juneau.http">LastModified</a></dt>
+<dd>
+<div class="block">Returns a parsed <code>Last-Modified</code> header.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/Location.html#forString-java.lang.String-">forString(String)</a></span> - Static method in class org.apache.juneau.http.<a href="org/apache/juneau/http/Location.html" title="class in org.apache.juneau.http">Location</a></dt>
+<dd>
+<div class="block">Returns a parsed <code>Location</code> header.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/MaxForwards.html#forString-java.lang.String-">forString(String)</a></span> - Static method in class org.apache.juneau.http.<a href="org/apache/juneau/http/MaxForwards.html" title="class in org.apache.juneau.http">MaxForwards</a></dt>
+<dd>
+<div class="block">Returns a parsed <code>Max-Forwards</code> header.</div>
+</dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/http/MediaType.html#forString-java.lang.String-">forString(String)</a></span> - Static method in class org.apache.juneau.http.<a href="org/apache/juneau/http/MediaType.html" title="class in org.apache.juneau.http">MediaType</a></dt>
<dd>
<div class="block">Returns the media type for the specified string.</div>
</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/Pragma.html#forString-java.lang.String-">forString(String)</a></span> - Static method in class org.apache.juneau.http.<a href="org/apache/juneau/http/Pragma.html" title="class in org.apache.juneau.http">Pragma</a></dt>
+<dd>
+<div class="block">Returns a parsed <code>Pragma</code> header.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/ProxyAuthenticate.html#forString-java.lang.String-">forString(String)</a></span> - Static method in class org.apache.juneau.http.<a href="org/apache/juneau/http/ProxyAuthenticate.html" title="class in org.apache.juneau.http">ProxyAuthenticate</a></dt>
+<dd>
+<div class="block">Returns a parsed <code>Proxy-Authenticate</code> header.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/ProxyAuthorization.html#forString-java.lang.String-">forString(String)</a></span> - Static method in class org.apache.juneau.http.<a href="org/apache/juneau/http/ProxyAuthorization.html" title="class in org.apache.juneau.http">ProxyAuthorization</a></dt>
+<dd>
+<div class="block">Returns a parsed <code>Proxy-Authorization</code> header.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/Range.html#forString-java.lang.String-">forString(String)</a></span> - Static method in class org.apache.juneau.http.<a href="org/apache/juneau/http/Range.html" title="class in org.apache.juneau.http">Range</a></dt>
+<dd>
+<div class="block">Returns a parsed <code>Range</code> header.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/Referer.html#forString-java.lang.String-">forString(String)</a></span> - Static method in class org.apache.juneau.http.<a href="org/apache/juneau/http/Referer.html" title="class in org.apache.juneau.http">Referer</a></dt>
+<dd>
+<div class="block">Returns a parsed <code>Referer</code> header.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/RetryAfter.html#forString-java.lang.String-">forString(String)</a></span> - Static method in class org.apache.juneau.http.<a href="org/apache/juneau/http/RetryAfter.html" title="class in org.apache.juneau.http">RetryAfter</a></dt>
+<dd>
+<div class="block">Returns a parsed <code>Retry-After</code> header.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/Server.html#forString-java.lang.String-">forString(String)</a></span> - Static method in class org.apache.juneau.http.<a href="org/apache/juneau/http/Server.html" title="class in org.apache.juneau.http">Server</a></dt>
+<dd>
+<div class="block">Returns a parsed <code>Server</code> header.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/TE.html#forString-java.lang.String-">forString(String)</a></span> - Static method in class org.apache.juneau.http.<a href="org/apache/juneau/http/TE.html" title="class in org.apache.juneau.http">TE</a></dt>
+<dd>
+<div class="block">Returns a parsed <code>Accept</code> header.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/Trailer.html#forString-java.lang.String-">forString(String)</a></span> - Static method in class org.apache.juneau.http.<a href="org/apache/juneau/http/Trailer.html" title="class in org.apache.juneau.http">Trailer</a></dt>
+<dd>
+<div class="block">Returns a parsed <code>Trailer</code> header.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/TransferEncoding.html#forString-java.lang.String-">forString(String)</a></span> - Static method in class org.apache.juneau.http.<a href="org/apache/juneau/http/TransferEncoding.html" title="class in org.apache.juneau.http">TransferEncoding</a></dt>
+<dd>
+<div class="block">Returns a parsed <code>Transfer-Encoding</code> header.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/Upgrade.html#forString-java.lang.String-">forString(String)</a></span> - Static method in class org.apache.juneau.http.<a href="org/apache/juneau/http/Upgrade.html" title="class in org.apache.juneau.http">Upgrade</a></dt>
+<dd>
+<div class="block">Returns a parsed <code>Upgrade</code> header.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/UserAgent.html#forString-java.lang.String-">forString(String)</a></span> - Static method in class org.apache.juneau.http.<a href="org/apache/juneau/http/UserAgent.html" title="class in org.apache.juneau.http">UserAgent</a></dt>
+<dd>
+<div class="block">Returns a parsed <code>User-Agent</code> header.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/Vary.html#forString-java.lang.String-">forString(String)</a></span> - Static method in class org.apache.juneau.http.<a href="org/apache/juneau/http/Vary.html" title="class in org.apache.juneau.http">Vary</a></dt>
+<dd>
+<div class="block">Returns a parsed <code>Vary</code> header.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/Via.html#forString-java.lang.String-">forString(String)</a></span> - Static method in class org.apache.juneau.http.<a href="org/apache/juneau/http/Via.html" title="class in org.apache.juneau.http">Via</a></dt>
+<dd>
+<div class="block">Returns a parsed <code>Via</code> header.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/Warning.html#forString-java.lang.String-">forString(String)</a></span> - Static method in class org.apache.juneau.http.<a href="org/apache/juneau/http/Warning.html" title="class in org.apache.juneau.http">Warning</a></dt>
+<dd>
+<div class="block">Returns a parsed <code>Warning</code> header.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/http/WwwAuthenticate.html#forString-java.lang.String-">forString(String)</a></span> - Static method in class org.apache.juneau.http.<a href="org/apache/juneau/http/WwwAuthenticate.html" title="class in org.apache.juneau.http">WwwAuthenticate</a></dt>
+<dd>
+<div class="block">Returns a parsed <code>WWW-Authenticate</code> header.</div>
+</dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestCall.html#forwarded-java.lang.Object-">forwarded(Object)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></dt>
<dd>
<div class="block">Sets the value for the <code>Forwarded</code> request header.</div>
@@ -7057,6 +7476,10 @@
<dd>
<div class="block">Sets the value for the <code>Forwarded</code> request header.</div>
</dd>
+<dt><a href="org/apache/juneau/http/From.html" title="class in org.apache.juneau.http"><span class="typeNameLink">From</span></a> - Class in <a href="org/apache/juneau/http/package-summary.html">org.apache.juneau.http</a></dt>
+<dd>
+<div class="block">Represents a parsed <l>From</l> HTTP request header.</div>
+</dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestCall.html#from-java.lang.Object-">from(Object)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></dt>
<dd>
<div class="block">Sets the value for the <code>From</code> request header.</div>
@@ -7143,6 +7566,10 @@
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/ini/Section.html#get-java.lang.Object-">get(Object)</a></span> - Method in class org.apache.juneau.ini.<a href="org/apache/juneau/ini/Section.html" title="class in org.apache.juneau.ini">Section</a></dt>
<dd> </dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/internal/Cache.html#get-K-">get(K)</a></span> - Method in class org.apache.juneau.internal.<a href="org/apache/juneau/internal/Cache.html" title="class in org.apache.juneau.internal">Cache</a></dt>
+<dd>
+<div class="block">Retrieves the value with the specified key from this cache.</div>
+</dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/internal/DelegateBeanMap.html#get-java.lang.Object-">get(Object)</a></span> - Method in class org.apache.juneau.internal.<a href="org/apache/juneau/internal/DelegateBeanMap.html" title="class in org.apache.juneau.internal">DelegateBeanMap</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/internal/HashCode.html#get--">get()</a></span> - Method in class org.apache.juneau.internal.<a href="org/apache/juneau/internal/HashCode.html" title="class in org.apache.juneau.internal">HashCode</a></dt>
@@ -7151,6 +7578,8 @@
</dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/internal/SimpleMap.html#get-java.lang.Object-">get(Object)</a></span> - Method in class org.apache.juneau.internal.<a href="org/apache/juneau/internal/SimpleMap.html" title="class in org.apache.juneau.internal">SimpleMap</a></dt>
<dd> </dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/internal/WrappedMap.html#get-java.lang.Object-">get(Object)</a></span> - Method in class org.apache.juneau.internal.<a href="org/apache/juneau/internal/WrappedMap.html" title="class in org.apache.juneau.internal">WrappedMap</a></dt>
+<dd> </dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/ObjectList.html#get-java.lang.Class-int-">get(Class<T>, int)</a></span> - Method in class org.apache.juneau.<a href="org/apache/juneau/ObjectList.html" title="class in org.apache.juneau">ObjectList</a></dt>
<dd>
<div class="block">Get the entry at the specified index, converted to the specified type (if possible).</div>
@@ -7186,6 +7615,56 @@
<dd>
<div class="block">Returns the specified property as the specified class type.</div>
</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/RequestFormData.html#get-java.lang.String-java.lang.Class-">get(String, Class<T>)</a></span> - Method in class org.apache.juneau.rest.<a href="org/apache/juneau/rest/RequestFormData.html" title="class in org.apache.juneau.rest">RequestFormData</a></dt>
+<dd>
+<div class="block">Returns the specified form data parameter value converted to a POJO using the
+ <a href="org/apache/juneau/urlencoding/UrlEncodingParser.html" title="class in org.apache.juneau.urlencoding"><code>UrlEncodingParser</code></a> registered with this servlet.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/RequestFormData.html#get-java.lang.String-T-java.lang.Class-">get(String, T, Class<T>)</a></span> - Method in class org.apache.juneau.rest.<a href="org/apache/juneau/rest/RequestFormData.html" title="class in org.apache.juneau.rest">RequestFormData</a></dt>
+<dd>
+<div class="block">Same as <a href="org/apache/juneau/rest/RequestFormData.html#get-java.lang.String-java.lang.Class-"><code>RequestFormData.get(String, Class)</code></a> except returns a default value if not specified.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/RequestFormData.html#get-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-">get(String, Type, Type...)</a></span> - Method in class org.apache.juneau.rest.<a href="org/apache/juneau/rest/RequestFormData.html" title="class in org.apache.juneau.rest">RequestFormData</a></dt>
+<dd>
+<div class="block">Returns the specified form data parameter value converted to a POJO using the
+ <a href="org/apache/juneau/urlencoding/UrlEncodingParser.html" title="class in org.apache.juneau.urlencoding"><code>UrlEncodingParser</code></a> registered with this servlet.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/RequestHeaders.html#get-java.lang.String-java.lang.Class-">get(String, Class<T>)</a></span> - Method in class org.apache.juneau.rest.<a href="org/apache/juneau/rest/RequestHeaders.html" title="class in org.apache.juneau.rest">RequestHeaders</a></dt>
+<dd>
+<div class="block">Returns the specified header value converted to a POJO.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/RequestHeaders.html#get-java.lang.String-T-java.lang.Class-">get(String, T, Class<T>)</a></span> - Method in class org.apache.juneau.rest.<a href="org/apache/juneau/rest/RequestHeaders.html" title="class in org.apache.juneau.rest">RequestHeaders</a></dt>
+<dd>
+<div class="block">Same as <a href="org/apache/juneau/rest/RequestHeaders.html#get-java.lang.String-java.lang.Class-"><code>RequestHeaders.get(String, Class)</code></a> but returns a default value if not found.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/RequestHeaders.html#get-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-">get(String, Type, Type...)</a></span> - Method in class org.apache.juneau.rest.<a href="org/apache/juneau/rest/RequestHeaders.html" title="class in org.apache.juneau.rest">RequestHeaders</a></dt>
+<dd>
+<div class="block">Returns the specified header value converted to a POJO.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/RequestPathParams.html#get-java.lang.String-java.lang.Class-">get(String, Class<T>)</a></span> - Method in class org.apache.juneau.rest.<a href="org/apache/juneau/rest/RequestPathParams.html" title="class in org.apache.juneau.rest">RequestPathParams</a></dt>
+<dd>
+<div class="block">Returns the specified path parameter converted to a POJO.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/RequestPathParams.html#get-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-">get(String, Type, Type...)</a></span> - Method in class org.apache.juneau.rest.<a href="org/apache/juneau/rest/RequestPathParams.html" title="class in org.apache.juneau.rest">RequestPathParams</a></dt>
+<dd>
+<div class="block">Returns the specified path parameter converted to a POJO.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/RequestQuery.html#get-java.lang.String-java.lang.Class-">get(String, Class<T>)</a></span> - Method in class org.apache.juneau.rest.<a href="org/apache/juneau/rest/RequestQuery.html" title="class in org.apache.juneau.rest">RequestQuery</a></dt>
+<dd>
+<div class="block">Returns the specified query parameter value converted to a POJO.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/RequestQuery.html#get-java.lang.String-T-java.lang.Class-">get(String, T, Class<T>)</a></span> - Method in class org.apache.juneau.rest.<a href="org/apache/juneau/rest/RequestQuery.html" title="class in org.apache.juneau.rest">RequestQuery</a></dt>
+<dd>
+<div class="block">Same as <a href="org/apache/juneau/rest/RequestQuery.html#get-java.lang.String-java.lang.Class-"><code>RequestQuery.get(String, Class)</code></a> except returns a default value if not found.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/RequestQuery.html#get-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-">get(String, Type, Type...)</a></span> - Method in class org.apache.juneau.rest.<a href="org/apache/juneau/rest/RequestQuery.html" title="class in org.apache.juneau.rest">RequestQuery</a></dt>
+<dd>
+<div class="block">Returns the specified query parameter value converted to a POJO.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/RequestQuery.html#get-java.lang.String-java.lang.Object-java.lang.reflect.Type-java.lang.reflect.Type...-">get(String, Object, Type, Type...)</a></span> - Method in class org.apache.juneau.rest.<a href="org/apache/juneau/rest/RequestQuery.html" title="class in org.apache.juneau.rest">RequestQuery</a></dt>
+<dd>
+<div class="block">Same as <a href="org/apache/juneau/rest/RequestQuery.html#get-java.lang.String-java.lang.Class-"><code>RequestQuery.get(String, Class)</code></a> except returns a default value if not found.</div>
+</dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/utils/MetadataMap.html#get-java.lang.Class-java.lang.Object-">get(Class<T>, Object)</a></span> - Method in class org.apache.juneau.utils.<a href="org/apache/juneau/utils/MetadataMap.html" title="class in org.apache.juneau.utils">MetadataMap</a></dt>
<dd>
<div class="block">Constructor.</div>
@@ -7215,15 +7694,23 @@
<dd>
<div class="block">Returns the <a href="org/apache/juneau/serializer/SerializerContext.html#SERIALIZER_absolutePathUriBase"><code>SerializerContext.SERIALIZER_absolutePathUriBase</code></a> setting value for this session.</div>
</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/RequestHeaders.html#getAccept--">getAccept()</a></span> - Method in class org.apache.juneau.rest.<a href="org/apache/juneau/rest/RequestHeaders.html" title="class in org.apache.juneau.rest">RequestHeaders</a></dt>
+<dd>
+<div class="block">Returns the <code>Accept</code> header on the request.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/RequestHeaders.html#getAcceptCharset--">getAcceptCharset()</a></span> - Method in class org.apache.juneau.rest.<a href="org/apache/juneau/rest/RequestHeaders.html" title="class in org.apache.juneau.rest">RequestHeaders</a></dt>
+<dd>
+<div class="block">Returns the <code>Accept-Charset</code> header on the request.</div>
+</dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/SimpleX509TrustManager.html#getAcceptedIssuers--">getAcceptedIssuers()</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/SimpleX509TrustManager.html" title="class in org.apache.juneau.rest.client">SimpleX509TrustManager</a></dt>
<dd> </dd>
-<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/RestRequest.html#getAcceptEncodingHeader--">getAcceptEncodingHeader()</a></span> - Method in class org.apache.juneau.rest.<a href="org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest">RestRequest</a></dt>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/RequestHeaders.html#getAcceptEncoding--">getAcceptEncoding()</a></span> - Method in class org.apache.juneau.rest.<a href="org/apache/juneau/rest/RequestHeaders.html" title="class in org.apache.juneau.rest">RequestHeaders</a></dt>
<dd>
<div class="block">Returns the <code>Accept-Encoding</code> header on the request.</div>
</dd>
-<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/RestRequest.html#getAcceptHeader--">getAcceptHeader()</a></span> - Method in class org.apache.juneau.rest.<a href="org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest">RestRequest</a></dt>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/RequestHeaders.html#getAcceptLanguage--">getAcceptLanguage()</a></span> - Method in class org.apache.juneau.rest.<a href="org/apache/juneau/rest/RequestHeaders.html" title="class in org.apache.juneau.rest">RequestHeaders</a></dt>
<dd>
-<div class="block">Returns the <code>Accept</code> header on the request.</div>
+<div class="block">Returns the <code>Accept-Language</code> header on the request.</div>
</dd>
<dt><span class="memberNameLink"><a href="org/apache/juneau/dto/jsonschema/Schema.html#getAdditionalItems--">getAdditionalItems()</a></span> - Method in class org.apache.juneau.dto.jsonschema.<a href="org/apache/juneau/dto/jsonschema/Schema.html" title="class in org.apache.juneau.dto.jsonschema">Schema</a></dt>
<dd>
@@ -7253,6 +7740,26 @@
<dd>
<div class="block">Bean property getter: <property>additionalProperties</property>.</div>
</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/RequestFormData.html#getAll-java.lang.String-java.lang.Class-">getAll(String, Class<T>)</a></span> - Method in class org.apache.juneau.rest.<a href="org/apache/juneau/rest/RequestFormData.html" title="class in org.apache.juneau.rest">RequestFormData</a></dt>
+<dd>
+<div class="block">Same as <a href="org/apache/juneau/rest/RequestFormData.html#get-java.lang.String-java.lang.Class-"><code>RequestFormData.get(String, Class)</code></a> except for use on multi-part parameters
+ (e.g.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/RequestFormData.html#getAll-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-">getAll(String, Type, Type...)</a></span> - Method in class org.apache.juneau.rest.<a href="org/apache/juneau/rest/RequestFormData.html" title="class in org.apache.juneau.rest">RequestFormData</a></dt>
+<dd>
+<div class="block">Same as <a href="org/apache/juneau/rest/RequestFormData.html#get-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>RequestFormData.get(String, Type, Type...)</code></a> except for use on multi-part parameters
+ (e.g.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/RequestQuery.html#getAll-java.lang.String-java.lang.Class-">getAll(String, Class<T>)</a></span> - Method in class org.apache.juneau.rest.<a href="org/apache/juneau/rest/RequestQuery.html" title="class in org.apache.juneau.rest">RequestQuery</a></dt>
+<dd>
+<div class="block">
<TRUNCATED>
[14/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/internal/ClassUtils.ClassComparator.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/internal/ClassUtils.ClassComparator.html b/content/site/apidocs/src-html/org/apache/juneau/internal/ClassUtils.ClassComparator.html
index 8380ab1..e983a73 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/internal/ClassUtils.ClassComparator.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/internal/ClassUtils.ClassComparator.html
@@ -153,527 +153,540 @@
<span class="sourceLineNo">145</span> }<a name="line.145"></a>
<span class="sourceLineNo">146</span><a name="line.146"></a>
<span class="sourceLineNo">147</span> /**<a name="line.147"></a>
-<span class="sourceLineNo">148</span> * Comparator for use with {@link TreeMap TreeMaps} with {@link Class} keys.<a name="line.148"></a>
-<span class="sourceLineNo">149</span> */<a name="line.149"></a>
-<span class="sourceLineNo">150</span> public final static class ClassComparator implements Comparator<Class<?>>, Serializable {<a name="line.150"></a>
-<span class="sourceLineNo">151</span><a name="line.151"></a>
-<span class="sourceLineNo">152</span> private static final long serialVersionUID = 1L;<a name="line.152"></a>
-<span class="sourceLineNo">153</span><a name="line.153"></a>
-<span class="sourceLineNo">154</span> @Override /* Comparator */<a name="line.154"></a>
-<span class="sourceLineNo">155</span> public int compare(Class<?> object1, Class<?> object2) {<a name="line.155"></a>
-<span class="sourceLineNo">156</span> return object1.getName().compareTo(object2.getName());<a name="line.156"></a>
-<span class="sourceLineNo">157</span> }<a name="line.157"></a>
+<span class="sourceLineNo">148</span> * Returns <jk>true</jk> if <code>parent</code> is a parent class or the same as <code>child</code>.<a name="line.148"></a>
+<span class="sourceLineNo">149</span> *<a name="line.149"></a>
+<span class="sourceLineNo">150</span> * @param parent The parent class.<a name="line.150"></a>
+<span class="sourceLineNo">151</span> * @param child The child class.<a name="line.151"></a>
+<span class="sourceLineNo">152</span> * @return <jk>true</jk> if <code>parent</code> is a parent class or the same as <code>child</code>.<a name="line.152"></a>
+<span class="sourceLineNo">153</span> */<a name="line.153"></a>
+<span class="sourceLineNo">154</span> public static boolean isParentClass(Class<?> parent, Type child) {<a name="line.154"></a>
+<span class="sourceLineNo">155</span> if (child instanceof Class)<a name="line.155"></a>
+<span class="sourceLineNo">156</span> return isParentClass(parent, (Class<?>)child);<a name="line.156"></a>
+<span class="sourceLineNo">157</span> return false;<a name="line.157"></a>
<span class="sourceLineNo">158</span> }<a name="line.158"></a>
<span class="sourceLineNo">159</span><a name="line.159"></a>
<span class="sourceLineNo">160</span> /**<a name="line.160"></a>
-<span class="sourceLineNo">161</span> * Returns the signature of the specified method.<a name="line.161"></a>
-<span class="sourceLineNo">162</span> * For no-arg methods, the signature will be a simple string such as <js>"toString"</js>.<a name="line.162"></a>
-<span class="sourceLineNo">163</span> * For methods with one or more args, the arguments will be fully-qualified class names (e.g. <js>"append(java.util.StringBuilder,boolean)"</js>)<a name="line.163"></a>
-<span class="sourceLineNo">164</span> *<a name="line.164"></a>
-<span class="sourceLineNo">165</span> * @param m The methods to get the signature on.<a name="line.165"></a>
-<span class="sourceLineNo">166</span> * @return The methods signature.<a name="line.166"></a>
-<span class="sourceLineNo">167</span> */<a name="line.167"></a>
-<span class="sourceLineNo">168</span> public static String getMethodSignature(Method m) {<a name="line.168"></a>
-<span class="sourceLineNo">169</span> StringBuilder sb = new StringBuilder(m.getName());<a name="line.169"></a>
-<span class="sourceLineNo">170</span> Class<?>[] pt = m.getParameterTypes();<a name="line.170"></a>
-<span class="sourceLineNo">171</span> if (pt.length > 0) {<a name="line.171"></a>
-<span class="sourceLineNo">172</span> sb.append('(');<a name="line.172"></a>
-<span class="sourceLineNo">173</span> for (int i = 0; i < pt.length; i++) {<a name="line.173"></a>
-<span class="sourceLineNo">174</span> if (i > 0)<a name="line.174"></a>
-<span class="sourceLineNo">175</span> sb.append(',');<a name="line.175"></a>
-<span class="sourceLineNo">176</span> sb.append(getReadableClassName(pt[i]));<a name="line.176"></a>
-<span class="sourceLineNo">177</span> }<a name="line.177"></a>
-<span class="sourceLineNo">178</span> sb.append(')');<a name="line.178"></a>
-<span class="sourceLineNo">179</span> }<a name="line.179"></a>
-<span class="sourceLineNo">180</span> return sb.toString();<a name="line.180"></a>
-<span class="sourceLineNo">181</span> }<a name="line.181"></a>
-<span class="sourceLineNo">182</span><a name="line.182"></a>
-<span class="sourceLineNo">183</span> private final static Map<Class<?>, Class<?>> pmap1 = new HashMap<Class<?>, Class<?>>(), pmap2 = new HashMap<Class<?>, Class<?>>();<a name="line.183"></a>
-<span class="sourceLineNo">184</span> static {<a name="line.184"></a>
-<span class="sourceLineNo">185</span> pmap1.put(boolean.class, Boolean.class);<a name="line.185"></a>
-<span class="sourceLineNo">186</span> pmap1.put(byte.class, Byte.class);<a name="line.186"></a>
-<span class="sourceLineNo">187</span> pmap1.put(short.class, Short.class);<a name="line.187"></a>
-<span class="sourceLineNo">188</span> pmap1.put(char.class, Character.class);<a name="line.188"></a>
-<span class="sourceLineNo">189</span> pmap1.put(int.class, Integer.class);<a name="line.189"></a>
-<span class="sourceLineNo">190</span> pmap1.put(long.class, Long.class);<a name="line.190"></a>
-<span class="sourceLineNo">191</span> pmap1.put(float.class, Float.class);<a name="line.191"></a>
-<span class="sourceLineNo">192</span> pmap1.put(double.class, Double.class);<a name="line.192"></a>
-<span class="sourceLineNo">193</span> pmap2.put(Boolean.class, boolean.class);<a name="line.193"></a>
-<span class="sourceLineNo">194</span> pmap2.put(Byte.class, byte.class);<a name="line.194"></a>
-<span class="sourceLineNo">195</span> pmap2.put(Short.class, short.class);<a name="line.195"></a>
-<span class="sourceLineNo">196</span> pmap2.put(Character.class, char.class);<a name="line.196"></a>
-<span class="sourceLineNo">197</span> pmap2.put(Integer.class, int.class);<a name="line.197"></a>
-<span class="sourceLineNo">198</span> pmap2.put(Long.class, long.class);<a name="line.198"></a>
-<span class="sourceLineNo">199</span> pmap2.put(Float.class, float.class);<a name="line.199"></a>
-<span class="sourceLineNo">200</span> pmap2.put(Double.class, double.class);<a name="line.200"></a>
-<span class="sourceLineNo">201</span> }<a name="line.201"></a>
-<span class="sourceLineNo">202</span><a name="line.202"></a>
-<span class="sourceLineNo">203</span> /**<a name="line.203"></a>
-<span class="sourceLineNo">204</span> * If the specified class is a primitive (e.g. <code><jk>int</jk>.<jk>class</jk></code>)<a name="line.204"></a>
-<span class="sourceLineNo">205</span> * returns it's wrapper class (e.g. <code>Integer.<jk>class</jk></code>).<a name="line.205"></a>
-<span class="sourceLineNo">206</span> *<a name="line.206"></a>
-<span class="sourceLineNo">207</span> * @param c The class.<a name="line.207"></a>
-<span class="sourceLineNo">208</span> * @return The wrapper class, or <jk>null</jk> if class is not a primitive.<a name="line.208"></a>
-<span class="sourceLineNo">209</span> */<a name="line.209"></a>
-<span class="sourceLineNo">210</span> public static Class<?> getPrimitiveWrapper(Class<?> c) {<a name="line.210"></a>
-<span class="sourceLineNo">211</span> return pmap1.get(c);<a name="line.211"></a>
-<span class="sourceLineNo">212</span> }<a name="line.212"></a>
-<span class="sourceLineNo">213</span><a name="line.213"></a>
-<span class="sourceLineNo">214</span> /**<a name="line.214"></a>
-<span class="sourceLineNo">215</span> * If the specified class is a primitive wrapper (e.g. <code><jk>Integer</jk>.<jk>class</jk></code>)<a name="line.215"></a>
-<span class="sourceLineNo">216</span> * returns it's primitive class (e.g. <code>int.<jk>class</jk></code>).<a name="line.216"></a>
-<span class="sourceLineNo">217</span> *<a name="line.217"></a>
-<span class="sourceLineNo">218</span> * @param c The class.<a name="line.218"></a>
-<span class="sourceLineNo">219</span> * @return The primitive class, or <jk>null</jk> if class is not a primitive wrapper.<a name="line.219"></a>
-<span class="sourceLineNo">220</span> */<a name="line.220"></a>
-<span class="sourceLineNo">221</span> public static Class<?> getPrimitiveForWrapper(Class<?> c) {<a name="line.221"></a>
-<span class="sourceLineNo">222</span> return pmap2.get(c);<a name="line.222"></a>
-<span class="sourceLineNo">223</span> }<a name="line.223"></a>
-<span class="sourceLineNo">224</span><a name="line.224"></a>
-<span class="sourceLineNo">225</span> /**<a name="line.225"></a>
-<span class="sourceLineNo">226</span> * If the specified class is a primitive (e.g. <code><jk>int</jk>.<jk>class</jk></code>)<a name="line.226"></a>
-<span class="sourceLineNo">227</span> * returns it's wrapper class (e.g. <code>Integer.<jk>class</jk></code>).<a name="line.227"></a>
-<span class="sourceLineNo">228</span> *<a name="line.228"></a>
-<span class="sourceLineNo">229</span> * @param c The class.<a name="line.229"></a>
-<span class="sourceLineNo">230</span> * @return The wrapper class if it's primitive, or the same class if class is not a primitive.<a name="line.230"></a>
-<span class="sourceLineNo">231</span> */<a name="line.231"></a>
-<span class="sourceLineNo">232</span> public static Class<?> getWrapperIfPrimitive(Class<?> c) {<a name="line.232"></a>
-<span class="sourceLineNo">233</span> if (! c.isPrimitive())<a name="line.233"></a>
-<span class="sourceLineNo">234</span> return c;<a name="line.234"></a>
-<span class="sourceLineNo">235</span> return pmap1.get(c);<a name="line.235"></a>
+<span class="sourceLineNo">161</span> * Comparator for use with {@link TreeMap TreeMaps} with {@link Class} keys.<a name="line.161"></a>
+<span class="sourceLineNo">162</span> */<a name="line.162"></a>
+<span class="sourceLineNo">163</span> public final static class ClassComparator implements Comparator<Class<?>>, Serializable {<a name="line.163"></a>
+<span class="sourceLineNo">164</span><a name="line.164"></a>
+<span class="sourceLineNo">165</span> private static final long serialVersionUID = 1L;<a name="line.165"></a>
+<span class="sourceLineNo">166</span><a name="line.166"></a>
+<span class="sourceLineNo">167</span> @Override /* Comparator */<a name="line.167"></a>
+<span class="sourceLineNo">168</span> public int compare(Class<?> object1, Class<?> object2) {<a name="line.168"></a>
+<span class="sourceLineNo">169</span> return object1.getName().compareTo(object2.getName());<a name="line.169"></a>
+<span class="sourceLineNo">170</span> }<a name="line.170"></a>
+<span class="sourceLineNo">171</span> }<a name="line.171"></a>
+<span class="sourceLineNo">172</span><a name="line.172"></a>
+<span class="sourceLineNo">173</span> /**<a name="line.173"></a>
+<span class="sourceLineNo">174</span> * Returns the signature of the specified method.<a name="line.174"></a>
+<span class="sourceLineNo">175</span> * For no-arg methods, the signature will be a simple string such as <js>"toString"</js>.<a name="line.175"></a>
+<span class="sourceLineNo">176</span> * For methods with one or more args, the arguments will be fully-qualified class names (e.g. <js>"append(java.util.StringBuilder,boolean)"</js>)<a name="line.176"></a>
+<span class="sourceLineNo">177</span> *<a name="line.177"></a>
+<span class="sourceLineNo">178</span> * @param m The methods to get the signature on.<a name="line.178"></a>
+<span class="sourceLineNo">179</span> * @return The methods signature.<a name="line.179"></a>
+<span class="sourceLineNo">180</span> */<a name="line.180"></a>
+<span class="sourceLineNo">181</span> public static String getMethodSignature(Method m) {<a name="line.181"></a>
+<span class="sourceLineNo">182</span> StringBuilder sb = new StringBuilder(m.getName());<a name="line.182"></a>
+<span class="sourceLineNo">183</span> Class<?>[] pt = m.getParameterTypes();<a name="line.183"></a>
+<span class="sourceLineNo">184</span> if (pt.length > 0) {<a name="line.184"></a>
+<span class="sourceLineNo">185</span> sb.append('(');<a name="line.185"></a>
+<span class="sourceLineNo">186</span> for (int i = 0; i < pt.length; i++) {<a name="line.186"></a>
+<span class="sourceLineNo">187</span> if (i > 0)<a name="line.187"></a>
+<span class="sourceLineNo">188</span> sb.append(',');<a name="line.188"></a>
+<span class="sourceLineNo">189</span> sb.append(getReadableClassName(pt[i]));<a name="line.189"></a>
+<span class="sourceLineNo">190</span> }<a name="line.190"></a>
+<span class="sourceLineNo">191</span> sb.append(')');<a name="line.191"></a>
+<span class="sourceLineNo">192</span> }<a name="line.192"></a>
+<span class="sourceLineNo">193</span> return sb.toString();<a name="line.193"></a>
+<span class="sourceLineNo">194</span> }<a name="line.194"></a>
+<span class="sourceLineNo">195</span><a name="line.195"></a>
+<span class="sourceLineNo">196</span> private final static Map<Class<?>, Class<?>> pmap1 = new HashMap<Class<?>, Class<?>>(), pmap2 = new HashMap<Class<?>, Class<?>>();<a name="line.196"></a>
+<span class="sourceLineNo">197</span> static {<a name="line.197"></a>
+<span class="sourceLineNo">198</span> pmap1.put(boolean.class, Boolean.class);<a name="line.198"></a>
+<span class="sourceLineNo">199</span> pmap1.put(byte.class, Byte.class);<a name="line.199"></a>
+<span class="sourceLineNo">200</span> pmap1.put(short.class, Short.class);<a name="line.200"></a>
+<span class="sourceLineNo">201</span> pmap1.put(char.class, Character.class);<a name="line.201"></a>
+<span class="sourceLineNo">202</span> pmap1.put(int.class, Integer.class);<a name="line.202"></a>
+<span class="sourceLineNo">203</span> pmap1.put(long.class, Long.class);<a name="line.203"></a>
+<span class="sourceLineNo">204</span> pmap1.put(float.class, Float.class);<a name="line.204"></a>
+<span class="sourceLineNo">205</span> pmap1.put(double.class, Double.class);<a name="line.205"></a>
+<span class="sourceLineNo">206</span> pmap2.put(Boolean.class, boolean.class);<a name="line.206"></a>
+<span class="sourceLineNo">207</span> pmap2.put(Byte.class, byte.class);<a name="line.207"></a>
+<span class="sourceLineNo">208</span> pmap2.put(Short.class, short.class);<a name="line.208"></a>
+<span class="sourceLineNo">209</span> pmap2.put(Character.class, char.class);<a name="line.209"></a>
+<span class="sourceLineNo">210</span> pmap2.put(Integer.class, int.class);<a name="line.210"></a>
+<span class="sourceLineNo">211</span> pmap2.put(Long.class, long.class);<a name="line.211"></a>
+<span class="sourceLineNo">212</span> pmap2.put(Float.class, float.class);<a name="line.212"></a>
+<span class="sourceLineNo">213</span> pmap2.put(Double.class, double.class);<a name="line.213"></a>
+<span class="sourceLineNo">214</span> }<a name="line.214"></a>
+<span class="sourceLineNo">215</span><a name="line.215"></a>
+<span class="sourceLineNo">216</span> /**<a name="line.216"></a>
+<span class="sourceLineNo">217</span> * If the specified class is a primitive (e.g. <code><jk>int</jk>.<jk>class</jk></code>)<a name="line.217"></a>
+<span class="sourceLineNo">218</span> * returns it's wrapper class (e.g. <code>Integer.<jk>class</jk></code>).<a name="line.218"></a>
+<span class="sourceLineNo">219</span> *<a name="line.219"></a>
+<span class="sourceLineNo">220</span> * @param c The class.<a name="line.220"></a>
+<span class="sourceLineNo">221</span> * @return The wrapper class, or <jk>null</jk> if class is not a primitive.<a name="line.221"></a>
+<span class="sourceLineNo">222</span> */<a name="line.222"></a>
+<span class="sourceLineNo">223</span> public static Class<?> getPrimitiveWrapper(Class<?> c) {<a name="line.223"></a>
+<span class="sourceLineNo">224</span> return pmap1.get(c);<a name="line.224"></a>
+<span class="sourceLineNo">225</span> }<a name="line.225"></a>
+<span class="sourceLineNo">226</span><a name="line.226"></a>
+<span class="sourceLineNo">227</span> /**<a name="line.227"></a>
+<span class="sourceLineNo">228</span> * If the specified class is a primitive wrapper (e.g. <code><jk>Integer</jk>.<jk>class</jk></code>)<a name="line.228"></a>
+<span class="sourceLineNo">229</span> * returns it's primitive class (e.g. <code>int.<jk>class</jk></code>).<a name="line.229"></a>
+<span class="sourceLineNo">230</span> *<a name="line.230"></a>
+<span class="sourceLineNo">231</span> * @param c The class.<a name="line.231"></a>
+<span class="sourceLineNo">232</span> * @return The primitive class, or <jk>null</jk> if class is not a primitive wrapper.<a name="line.232"></a>
+<span class="sourceLineNo">233</span> */<a name="line.233"></a>
+<span class="sourceLineNo">234</span> public static Class<?> getPrimitiveForWrapper(Class<?> c) {<a name="line.234"></a>
+<span class="sourceLineNo">235</span> return pmap2.get(c);<a name="line.235"></a>
<span class="sourceLineNo">236</span> }<a name="line.236"></a>
<span class="sourceLineNo">237</span><a name="line.237"></a>
<span class="sourceLineNo">238</span> /**<a name="line.238"></a>
-<span class="sourceLineNo">239</span> * Returns <jk>true</jk> if the specified class has the {@link Deprecated @Deprecated} annotation on it.<a name="line.239"></a>
-<span class="sourceLineNo">240</span> *<a name="line.240"></a>
-<span class="sourceLineNo">241</span> * @param c The class.<a name="line.241"></a>
-<span class="sourceLineNo">242</span> * @return <jk>true</jk> if the specified class has the {@link Deprecated @Deprecated} annotation on it.<a name="line.242"></a>
-<span class="sourceLineNo">243</span> */<a name="line.243"></a>
-<span class="sourceLineNo">244</span> public static boolean isNotDeprecated(Class<?> c) {<a name="line.244"></a>
-<span class="sourceLineNo">245</span> return ! c.isAnnotationPresent(Deprecated.class);<a name="line.245"></a>
-<span class="sourceLineNo">246</span> }<a name="line.246"></a>
-<span class="sourceLineNo">247</span><a name="line.247"></a>
-<span class="sourceLineNo">248</span> /**<a name="line.248"></a>
-<span class="sourceLineNo">249</span> * Returns <jk>true</jk> if the specified method has the {@link Deprecated @Deprecated} annotation on it.<a name="line.249"></a>
-<span class="sourceLineNo">250</span> *<a name="line.250"></a>
-<span class="sourceLineNo">251</span> * @param m The method.<a name="line.251"></a>
-<span class="sourceLineNo">252</span> * @return <jk>true</jk> if the specified method has the {@link Deprecated @Deprecated} annotation on it.<a name="line.252"></a>
-<span class="sourceLineNo">253</span> */<a name="line.253"></a>
-<span class="sourceLineNo">254</span> public static boolean isNotDeprecated(Method m) {<a name="line.254"></a>
-<span class="sourceLineNo">255</span> return ! m.isAnnotationPresent(Deprecated.class);<a name="line.255"></a>
-<span class="sourceLineNo">256</span><a name="line.256"></a>
-<span class="sourceLineNo">257</span> }<a name="line.257"></a>
-<span class="sourceLineNo">258</span><a name="line.258"></a>
-<span class="sourceLineNo">259</span> /**<a name="line.259"></a>
-<span class="sourceLineNo">260</span> * Returns <jk>true</jk> if the specified constructor has the {@link Deprecated @Deprecated} annotation on it.<a name="line.260"></a>
-<span class="sourceLineNo">261</span> *<a name="line.261"></a>
-<span class="sourceLineNo">262</span> * @param c The constructor.<a name="line.262"></a>
-<span class="sourceLineNo">263</span> * @return <jk>true</jk> if the specified constructor has the {@link Deprecated @Deprecated} annotation on it.<a name="line.263"></a>
-<span class="sourceLineNo">264</span> */<a name="line.264"></a>
-<span class="sourceLineNo">265</span> public static boolean isNotDeprecated(Constructor<?> c) {<a name="line.265"></a>
-<span class="sourceLineNo">266</span> return ! c.isAnnotationPresent(Deprecated.class);<a name="line.266"></a>
-<span class="sourceLineNo">267</span> }<a name="line.267"></a>
-<span class="sourceLineNo">268</span><a name="line.268"></a>
-<span class="sourceLineNo">269</span> /**<a name="line.269"></a>
-<span class="sourceLineNo">270</span> * Returns <jk>true</jk> if the specified class is public.<a name="line.270"></a>
-<span class="sourceLineNo">271</span> *<a name="line.271"></a>
-<span class="sourceLineNo">272</span> * @param c The class.<a name="line.272"></a>
-<span class="sourceLineNo">273</span> * @return <jk>true</jk> if the specified class is public.<a name="line.273"></a>
-<span class="sourceLineNo">274</span> */<a name="line.274"></a>
-<span class="sourceLineNo">275</span> public static boolean isPublic(Class<?> c) {<a name="line.275"></a>
-<span class="sourceLineNo">276</span> return Modifier.isPublic(c.getModifiers());<a name="line.276"></a>
-<span class="sourceLineNo">277</span> }<a name="line.277"></a>
-<span class="sourceLineNo">278</span><a name="line.278"></a>
-<span class="sourceLineNo">279</span> /**<a name="line.279"></a>
-<span class="sourceLineNo">280</span> * Returns <jk>true</jk> if the specified class is public.<a name="line.280"></a>
-<span class="sourceLineNo">281</span> *<a name="line.281"></a>
-<span class="sourceLineNo">282</span> * @param c The class.<a name="line.282"></a>
-<span class="sourceLineNo">283</span> * @return <jk>true</jk> if the specified class is public.<a name="line.283"></a>
-<span class="sourceLineNo">284</span> */<a name="line.284"></a>
-<span class="sourceLineNo">285</span> public static boolean isStatic(Class<?> c) {<a name="line.285"></a>
-<span class="sourceLineNo">286</span> return Modifier.isStatic(c.getModifiers());<a name="line.286"></a>
-<span class="sourceLineNo">287</span> }<a name="line.287"></a>
-<span class="sourceLineNo">288</span><a name="line.288"></a>
-<span class="sourceLineNo">289</span> /**<a name="line.289"></a>
-<span class="sourceLineNo">290</span> * Returns <jk>true</jk> if the specified method is public.<a name="line.290"></a>
-<span class="sourceLineNo">291</span> *<a name="line.291"></a>
-<span class="sourceLineNo">292</span> * @param m The method.<a name="line.292"></a>
-<span class="sourceLineNo">293</span> * @return <jk>true</jk> if the specified method is public.<a name="line.293"></a>
-<span class="sourceLineNo">294</span> */<a name="line.294"></a>
-<span class="sourceLineNo">295</span> public static boolean isPublic(Method m) {<a name="line.295"></a>
-<span class="sourceLineNo">296</span> return Modifier.isPublic(m.getModifiers());<a name="line.296"></a>
-<span class="sourceLineNo">297</span> }<a name="line.297"></a>
-<span class="sourceLineNo">298</span><a name="line.298"></a>
-<span class="sourceLineNo">299</span> /**<a name="line.299"></a>
-<span class="sourceLineNo">300</span> * Returns <jk>true</jk> if the specified method is static.<a name="line.300"></a>
-<span class="sourceLineNo">301</span> *<a name="line.301"></a>
-<span class="sourceLineNo">302</span> * @param m The method.<a name="line.302"></a>
-<span class="sourceLineNo">303</span> * @return <jk>true</jk> if the specified method is static.<a name="line.303"></a>
-<span class="sourceLineNo">304</span> */<a name="line.304"></a>
-<span class="sourceLineNo">305</span> public static boolean isStatic(Method m) {<a name="line.305"></a>
-<span class="sourceLineNo">306</span> return Modifier.isStatic(m.getModifiers());<a name="line.306"></a>
-<span class="sourceLineNo">307</span> }<a name="line.307"></a>
-<span class="sourceLineNo">308</span><a name="line.308"></a>
-<span class="sourceLineNo">309</span> /**<a name="line.309"></a>
-<span class="sourceLineNo">310</span> * Returns <jk>true</jk> if the specified constructor is public.<a name="line.310"></a>
-<span class="sourceLineNo">311</span> *<a name="line.311"></a>
-<span class="sourceLineNo">312</span> * @param c The constructor.<a name="line.312"></a>
-<span class="sourceLineNo">313</span> * @return <jk>true</jk> if the specified constructor is public.<a name="line.313"></a>
-<span class="sourceLineNo">314</span> */<a name="line.314"></a>
-<span class="sourceLineNo">315</span> public static boolean isPublic(Constructor<?> c) {<a name="line.315"></a>
-<span class="sourceLineNo">316</span> return Modifier.isPublic(c.getModifiers());<a name="line.316"></a>
-<span class="sourceLineNo">317</span> }<a name="line.317"></a>
-<span class="sourceLineNo">318</span><a name="line.318"></a>
-<span class="sourceLineNo">319</span><a name="line.319"></a>
-<span class="sourceLineNo">320</span> /**<a name="line.320"></a>
-<span class="sourceLineNo">321</span> * Locates the no-arg constructor for the specified class.<a name="line.321"></a>
-<span class="sourceLineNo">322</span> * Constructor must match the visibility requirements specified by parameter 'v'.<a name="line.322"></a>
-<span class="sourceLineNo">323</span> * If class is abstract, always returns <jk>null</jk>.<a name="line.323"></a>
-<span class="sourceLineNo">324</span> * Note that this also returns the 1-arg constructor for non-static member classes.<a name="line.324"></a>
-<span class="sourceLineNo">325</span> *<a name="line.325"></a>
-<span class="sourceLineNo">326</span> * @param c The class from which to locate the no-arg constructor.<a name="line.326"></a>
-<span class="sourceLineNo">327</span> * @param v The minimum visibility.<a name="line.327"></a>
-<span class="sourceLineNo">328</span> * @return The constructor, or <jk>null</jk> if no no-arg constructor exists with the required visibility.<a name="line.328"></a>
-<span class="sourceLineNo">329</span> */<a name="line.329"></a>
-<span class="sourceLineNo">330</span> @SuppressWarnings({"rawtypes","unchecked"})<a name="line.330"></a>
-<span class="sourceLineNo">331</span> public static final <T> Constructor<T> findNoArgConstructor(Class<T> c, Visibility v) {<a name="line.331"></a>
-<span class="sourceLineNo">332</span> int mod = c.getModifiers();<a name="line.332"></a>
-<span class="sourceLineNo">333</span> if (Modifier.isAbstract(mod))<a name="line.333"></a>
-<span class="sourceLineNo">334</span> return null;<a name="line.334"></a>
-<span class="sourceLineNo">335</span> boolean isMemberClass = c.isMemberClass() && ! isStatic(c);<a name="line.335"></a>
-<span class="sourceLineNo">336</span> for (Constructor cc : c.getConstructors()) {<a name="line.336"></a>
-<span class="sourceLineNo">337</span> mod = cc.getModifiers();<a name="line.337"></a>
-<span class="sourceLineNo">338</span> if (cc.getParameterTypes().length == (isMemberClass ? 1 : 0) && v.isVisible(mod) && isNotDeprecated(cc))<a name="line.338"></a>
-<span class="sourceLineNo">339</span> return v.transform(cc);<a name="line.339"></a>
-<span class="sourceLineNo">340</span> }<a name="line.340"></a>
-<span class="sourceLineNo">341</span> return null;<a name="line.341"></a>
-<span class="sourceLineNo">342</span> }<a name="line.342"></a>
-<span class="sourceLineNo">343</span><a name="line.343"></a>
-<span class="sourceLineNo">344</span> /**<a name="line.344"></a>
-<span class="sourceLineNo">345</span> * Finds the real parameter type of the specified class.<a name="line.345"></a>
-<span class="sourceLineNo">346</span> *<a name="line.346"></a>
-<span class="sourceLineNo">347</span> * @param c The class containing the parameters (e.g. PojoSwap&lt;T,S&gt;)<a name="line.347"></a>
-<span class="sourceLineNo">348</span> * @param index The zero-based index of the parameter to resolve.<a name="line.348"></a>
-<span class="sourceLineNo">349</span> * @param oc The class we're trying to resolve the parameter type for.<a name="line.349"></a>
-<span class="sourceLineNo">350</span> * @return The resolved real class.<a name="line.350"></a>
-<span class="sourceLineNo">351</span> */<a name="line.351"></a>
-<span class="sourceLineNo">352</span> public static Class<?> resolveParameterType(Class<?> c, int index, Class<?> oc) {<a name="line.352"></a>
-<span class="sourceLineNo">353</span><a name="line.353"></a>
-<span class="sourceLineNo">354</span> // We need to make up a mapping of type names.<a name="line.354"></a>
-<span class="sourceLineNo">355</span> Map<Type,Type> typeMap = new HashMap<Type,Type>();<a name="line.355"></a>
-<span class="sourceLineNo">356</span> while (c != oc.getSuperclass()) {<a name="line.356"></a>
-<span class="sourceLineNo">357</span> extractTypes(typeMap, oc);<a name="line.357"></a>
-<span class="sourceLineNo">358</span> oc = oc.getSuperclass();<a name="line.358"></a>
-<span class="sourceLineNo">359</span> }<a name="line.359"></a>
-<span class="sourceLineNo">360</span><a name="line.360"></a>
-<span class="sourceLineNo">361</span> ParameterizedType opt = (ParameterizedType)oc.getGenericSuperclass();<a name="line.361"></a>
-<span class="sourceLineNo">362</span> Type actualType = opt.getActualTypeArguments()[index];<a name="line.362"></a>
-<span class="sourceLineNo">363</span><a name="line.363"></a>
-<span class="sourceLineNo">364</span> if (typeMap.containsKey(actualType))<a name="line.364"></a>
-<span class="sourceLineNo">365</span> actualType = typeMap.get(actualType);<a name="line.365"></a>
+<span class="sourceLineNo">239</span> * If the specified class is a primitive (e.g. <code><jk>int</jk>.<jk>class</jk></code>)<a name="line.239"></a>
+<span class="sourceLineNo">240</span> * returns it's wrapper class (e.g. <code>Integer.<jk>class</jk></code>).<a name="line.240"></a>
+<span class="sourceLineNo">241</span> *<a name="line.241"></a>
+<span class="sourceLineNo">242</span> * @param c The class.<a name="line.242"></a>
+<span class="sourceLineNo">243</span> * @return The wrapper class if it's primitive, or the same class if class is not a primitive.<a name="line.243"></a>
+<span class="sourceLineNo">244</span> */<a name="line.244"></a>
+<span class="sourceLineNo">245</span> public static Class<?> getWrapperIfPrimitive(Class<?> c) {<a name="line.245"></a>
+<span class="sourceLineNo">246</span> if (! c.isPrimitive())<a name="line.246"></a>
+<span class="sourceLineNo">247</span> return c;<a name="line.247"></a>
+<span class="sourceLineNo">248</span> return pmap1.get(c);<a name="line.248"></a>
+<span class="sourceLineNo">249</span> }<a name="line.249"></a>
+<span class="sourceLineNo">250</span><a name="line.250"></a>
+<span class="sourceLineNo">251</span> /**<a name="line.251"></a>
+<span class="sourceLineNo">252</span> * Returns <jk>true</jk> if the specified class has the {@link Deprecated @Deprecated} annotation on it.<a name="line.252"></a>
+<span class="sourceLineNo">253</span> *<a name="line.253"></a>
+<span class="sourceLineNo">254</span> * @param c The class.<a name="line.254"></a>
+<span class="sourceLineNo">255</span> * @return <jk>true</jk> if the specified class has the {@link Deprecated @Deprecated} annotation on it.<a name="line.255"></a>
+<span class="sourceLineNo">256</span> */<a name="line.256"></a>
+<span class="sourceLineNo">257</span> public static boolean isNotDeprecated(Class<?> c) {<a name="line.257"></a>
+<span class="sourceLineNo">258</span> return ! c.isAnnotationPresent(Deprecated.class);<a name="line.258"></a>
+<span class="sourceLineNo">259</span> }<a name="line.259"></a>
+<span class="sourceLineNo">260</span><a name="line.260"></a>
+<span class="sourceLineNo">261</span> /**<a name="line.261"></a>
+<span class="sourceLineNo">262</span> * Returns <jk>true</jk> if the specified method has the {@link Deprecated @Deprecated} annotation on it.<a name="line.262"></a>
+<span class="sourceLineNo">263</span> *<a name="line.263"></a>
+<span class="sourceLineNo">264</span> * @param m The method.<a name="line.264"></a>
+<span class="sourceLineNo">265</span> * @return <jk>true</jk> if the specified method has the {@link Deprecated @Deprecated} annotation on it.<a name="line.265"></a>
+<span class="sourceLineNo">266</span> */<a name="line.266"></a>
+<span class="sourceLineNo">267</span> public static boolean isNotDeprecated(Method m) {<a name="line.267"></a>
+<span class="sourceLineNo">268</span> return ! m.isAnnotationPresent(Deprecated.class);<a name="line.268"></a>
+<span class="sourceLineNo">269</span><a name="line.269"></a>
+<span class="sourceLineNo">270</span> }<a name="line.270"></a>
+<span class="sourceLineNo">271</span><a name="line.271"></a>
+<span class="sourceLineNo">272</span> /**<a name="line.272"></a>
+<span class="sourceLineNo">273</span> * Returns <jk>true</jk> if the specified constructor has the {@link Deprecated @Deprecated} annotation on it.<a name="line.273"></a>
+<span class="sourceLineNo">274</span> *<a name="line.274"></a>
+<span class="sourceLineNo">275</span> * @param c The constructor.<a name="line.275"></a>
+<span class="sourceLineNo">276</span> * @return <jk>true</jk> if the specified constructor has the {@link Deprecated @Deprecated} annotation on it.<a name="line.276"></a>
+<span class="sourceLineNo">277</span> */<a name="line.277"></a>
+<span class="sourceLineNo">278</span> public static boolean isNotDeprecated(Constructor<?> c) {<a name="line.278"></a>
+<span class="sourceLineNo">279</span> return ! c.isAnnotationPresent(Deprecated.class);<a name="line.279"></a>
+<span class="sourceLineNo">280</span> }<a name="line.280"></a>
+<span class="sourceLineNo">281</span><a name="line.281"></a>
+<span class="sourceLineNo">282</span> /**<a name="line.282"></a>
+<span class="sourceLineNo">283</span> * Returns <jk>true</jk> if the specified class is public.<a name="line.283"></a>
+<span class="sourceLineNo">284</span> *<a name="line.284"></a>
+<span class="sourceLineNo">285</span> * @param c The class.<a name="line.285"></a>
+<span class="sourceLineNo">286</span> * @return <jk>true</jk> if the specified class is public.<a name="line.286"></a>
+<span class="sourceLineNo">287</span> */<a name="line.287"></a>
+<span class="sourceLineNo">288</span> public static boolean isPublic(Class<?> c) {<a name="line.288"></a>
+<span class="sourceLineNo">289</span> return Modifier.isPublic(c.getModifiers());<a name="line.289"></a>
+<span class="sourceLineNo">290</span> }<a name="line.290"></a>
+<span class="sourceLineNo">291</span><a name="line.291"></a>
+<span class="sourceLineNo">292</span> /**<a name="line.292"></a>
+<span class="sourceLineNo">293</span> * Returns <jk>true</jk> if the specified class is public.<a name="line.293"></a>
+<span class="sourceLineNo">294</span> *<a name="line.294"></a>
+<span class="sourceLineNo">295</span> * @param c The class.<a name="line.295"></a>
+<span class="sourceLineNo">296</span> * @return <jk>true</jk> if the specified class is public.<a name="line.296"></a>
+<span class="sourceLineNo">297</span> */<a name="line.297"></a>
+<span class="sourceLineNo">298</span> public static boolean isStatic(Class<?> c) {<a name="line.298"></a>
+<span class="sourceLineNo">299</span> return Modifier.isStatic(c.getModifiers());<a name="line.299"></a>
+<span class="sourceLineNo">300</span> }<a name="line.300"></a>
+<span class="sourceLineNo">301</span><a name="line.301"></a>
+<span class="sourceLineNo">302</span> /**<a name="line.302"></a>
+<span class="sourceLineNo">303</span> * Returns <jk>true</jk> if the specified method is public.<a name="line.303"></a>
+<span class="sourceLineNo">304</span> *<a name="line.304"></a>
+<span class="sourceLineNo">305</span> * @param m The method.<a name="line.305"></a>
+<span class="sourceLineNo">306</span> * @return <jk>true</jk> if the specified method is public.<a name="line.306"></a>
+<span class="sourceLineNo">307</span> */<a name="line.307"></a>
+<span class="sourceLineNo">308</span> public static boolean isPublic(Method m) {<a name="line.308"></a>
+<span class="sourceLineNo">309</span> return Modifier.isPublic(m.getModifiers());<a name="line.309"></a>
+<span class="sourceLineNo">310</span> }<a name="line.310"></a>
+<span class="sourceLineNo">311</span><a name="line.311"></a>
+<span class="sourceLineNo">312</span> /**<a name="line.312"></a>
+<span class="sourceLineNo">313</span> * Returns <jk>true</jk> if the specified method is static.<a name="line.313"></a>
+<span class="sourceLineNo">314</span> *<a name="line.314"></a>
+<span class="sourceLineNo">315</span> * @param m The method.<a name="line.315"></a>
+<span class="sourceLineNo">316</span> * @return <jk>true</jk> if the specified method is static.<a name="line.316"></a>
+<span class="sourceLineNo">317</span> */<a name="line.317"></a>
+<span class="sourceLineNo">318</span> public static boolean isStatic(Method m) {<a name="line.318"></a>
+<span class="sourceLineNo">319</span> return Modifier.isStatic(m.getModifiers());<a name="line.319"></a>
+<span class="sourceLineNo">320</span> }<a name="line.320"></a>
+<span class="sourceLineNo">321</span><a name="line.321"></a>
+<span class="sourceLineNo">322</span> /**<a name="line.322"></a>
+<span class="sourceLineNo">323</span> * Returns <jk>true</jk> if the specified constructor is public.<a name="line.323"></a>
+<span class="sourceLineNo">324</span> *<a name="line.324"></a>
+<span class="sourceLineNo">325</span> * @param c The constructor.<a name="line.325"></a>
+<span class="sourceLineNo">326</span> * @return <jk>true</jk> if the specified constructor is public.<a name="line.326"></a>
+<span class="sourceLineNo">327</span> */<a name="line.327"></a>
+<span class="sourceLineNo">328</span> public static boolean isPublic(Constructor<?> c) {<a name="line.328"></a>
+<span class="sourceLineNo">329</span> return Modifier.isPublic(c.getModifiers());<a name="line.329"></a>
+<span class="sourceLineNo">330</span> }<a name="line.330"></a>
+<span class="sourceLineNo">331</span><a name="line.331"></a>
+<span class="sourceLineNo">332</span><a name="line.332"></a>
+<span class="sourceLineNo">333</span> /**<a name="line.333"></a>
+<span class="sourceLineNo">334</span> * Locates the no-arg constructor for the specified class.<a name="line.334"></a>
+<span class="sourceLineNo">335</span> * Constructor must match the visibility requirements specified by parameter 'v'.<a name="line.335"></a>
+<span class="sourceLineNo">336</span> * If class is abstract, always returns <jk>null</jk>.<a name="line.336"></a>
+<span class="sourceLineNo">337</span> * Note that this also returns the 1-arg constructor for non-static member classes.<a name="line.337"></a>
+<span class="sourceLineNo">338</span> *<a name="line.338"></a>
+<span class="sourceLineNo">339</span> * @param c The class from which to locate the no-arg constructor.<a name="line.339"></a>
+<span class="sourceLineNo">340</span> * @param v The minimum visibility.<a name="line.340"></a>
+<span class="sourceLineNo">341</span> * @return The constructor, or <jk>null</jk> if no no-arg constructor exists with the required visibility.<a name="line.341"></a>
+<span class="sourceLineNo">342</span> */<a name="line.342"></a>
+<span class="sourceLineNo">343</span> @SuppressWarnings({"rawtypes","unchecked"})<a name="line.343"></a>
+<span class="sourceLineNo">344</span> public static final <T> Constructor<T> findNoArgConstructor(Class<T> c, Visibility v) {<a name="line.344"></a>
+<span class="sourceLineNo">345</span> int mod = c.getModifiers();<a name="line.345"></a>
+<span class="sourceLineNo">346</span> if (Modifier.isAbstract(mod))<a name="line.346"></a>
+<span class="sourceLineNo">347</span> return null;<a name="line.347"></a>
+<span class="sourceLineNo">348</span> boolean isMemberClass = c.isMemberClass() && ! isStatic(c);<a name="line.348"></a>
+<span class="sourceLineNo">349</span> for (Constructor cc : c.getConstructors()) {<a name="line.349"></a>
+<span class="sourceLineNo">350</span> mod = cc.getModifiers();<a name="line.350"></a>
+<span class="sourceLineNo">351</span> if (cc.getParameterTypes().length == (isMemberClass ? 1 : 0) && v.isVisible(mod) && isNotDeprecated(cc))<a name="line.351"></a>
+<span class="sourceLineNo">352</span> return v.transform(cc);<a name="line.352"></a>
+<span class="sourceLineNo">353</span> }<a name="line.353"></a>
+<span class="sourceLineNo">354</span> return null;<a name="line.354"></a>
+<span class="sourceLineNo">355</span> }<a name="line.355"></a>
+<span class="sourceLineNo">356</span><a name="line.356"></a>
+<span class="sourceLineNo">357</span> /**<a name="line.357"></a>
+<span class="sourceLineNo">358</span> * Finds the real parameter type of the specified class.<a name="line.358"></a>
+<span class="sourceLineNo">359</span> *<a name="line.359"></a>
+<span class="sourceLineNo">360</span> * @param c The class containing the parameters (e.g. PojoSwap&lt;T,S&gt;)<a name="line.360"></a>
+<span class="sourceLineNo">361</span> * @param index The zero-based index of the parameter to resolve.<a name="line.361"></a>
+<span class="sourceLineNo">362</span> * @param oc The class we're trying to resolve the parameter type for.<a name="line.362"></a>
+<span class="sourceLineNo">363</span> * @return The resolved real class.<a name="line.363"></a>
+<span class="sourceLineNo">364</span> */<a name="line.364"></a>
+<span class="sourceLineNo">365</span> public static Class<?> resolveParameterType(Class<?> c, int index, Class<?> oc) {<a name="line.365"></a>
<span class="sourceLineNo">366</span><a name="line.366"></a>
-<span class="sourceLineNo">367</span> if (actualType instanceof Class) {<a name="line.367"></a>
-<span class="sourceLineNo">368</span> return (Class<?>)actualType;<a name="line.368"></a>
-<span class="sourceLineNo">369</span><a name="line.369"></a>
-<span class="sourceLineNo">370</span> } else if (actualType instanceof GenericArrayType) {<a name="line.370"></a>
-<span class="sourceLineNo">371</span> Class<?> cmpntType = (Class<?>)((GenericArrayType)actualType).getGenericComponentType();<a name="line.371"></a>
-<span class="sourceLineNo">372</span> return Array.newInstance(cmpntType, 0).getClass();<a name="line.372"></a>
+<span class="sourceLineNo">367</span> // We need to make up a mapping of type names.<a name="line.367"></a>
+<span class="sourceLineNo">368</span> Map<Type,Type> typeMap = new HashMap<Type,Type>();<a name="line.368"></a>
+<span class="sourceLineNo">369</span> while (c != oc.getSuperclass()) {<a name="line.369"></a>
+<span class="sourceLineNo">370</span> extractTypes(typeMap, oc);<a name="line.370"></a>
+<span class="sourceLineNo">371</span> oc = oc.getSuperclass();<a name="line.371"></a>
+<span class="sourceLineNo">372</span> }<a name="line.372"></a>
<span class="sourceLineNo">373</span><a name="line.373"></a>
-<span class="sourceLineNo">374</span> } else if (actualType instanceof TypeVariable) {<a name="line.374"></a>
-<span class="sourceLineNo">375</span> TypeVariable<?> typeVariable = (TypeVariable<?>)actualType;<a name="line.375"></a>
-<span class="sourceLineNo">376</span> List<Class<?>> nestedOuterTypes = new LinkedList<Class<?>>();<a name="line.376"></a>
-<span class="sourceLineNo">377</span> for (Class<?> ec = oc.getEnclosingClass(); ec != null; ec = ec.getEnclosingClass()) {<a name="line.377"></a>
-<span class="sourceLineNo">378</span> try {<a name="line.378"></a>
-<span class="sourceLineNo">379</span> Class<?> outerClass = oc.getClass();<a name="line.379"></a>
-<span class="sourceLineNo">380</span> nestedOuterTypes.add(outerClass);<a name="line.380"></a>
-<span class="sourceLineNo">381</span> Map<Type,Type> outerTypeMap = new HashMap<Type,Type>();<a name="line.381"></a>
-<span class="sourceLineNo">382</span> extractTypes(outerTypeMap, outerClass);<a name="line.382"></a>
-<span class="sourceLineNo">383</span> for (Map.Entry<Type,Type> entry : outerTypeMap.entrySet()) {<a name="line.383"></a>
-<span class="sourceLineNo">384</span> Type key = entry.getKey(), value = entry.getValue();<a name="line.384"></a>
-<span class="sourceLineNo">385</span> if (key instanceof TypeVariable) {<a name="line.385"></a>
-<span class="sourceLineNo">386</span> TypeVariable<?> keyType = (TypeVariable<?>)key;<a name="line.386"></a>
-<span class="sourceLineNo">387</span> if (keyType.getName().equals(typeVariable.getName()) && isInnerClass(keyType.getGenericDeclaration(), typeVariable.getGenericDeclaration())) {<a name="line.387"></a>
-<span class="sourceLineNo">388</span> if (value instanceof Class)<a name="line.388"></a>
-<span class="sourceLineNo">389</span> return (Class<?>)value;<a name="line.389"></a>
-<span class="sourceLineNo">390</span> typeVariable = (TypeVariable<?>)entry.getValue();<a name="line.390"></a>
-<span class="sourceLineNo">391</span> }<a name="line.391"></a>
-<span class="sourceLineNo">392</span> }<a name="line.392"></a>
-<span class="sourceLineNo">393</span> }<a name="line.393"></a>
-<span class="sourceLineNo">394</span> } catch (Exception e) {<a name="line.394"></a>
-<span class="sourceLineNo">395</span> throw new RuntimeException(e);<a name="line.395"></a>
-<span class="sourceLineNo">396</span> }<a name="line.396"></a>
-<span class="sourceLineNo">397</span> }<a name="line.397"></a>
-<span class="sourceLineNo">398</span> throw new RuntimeException("Could not resolve type: " + actualType);<a name="line.398"></a>
-<span class="sourceLineNo">399</span> } else {<a name="line.399"></a>
-<span class="sourceLineNo">400</span> throw new RuntimeException("Invalid type found in resolveParameterType: " + actualType);<a name="line.400"></a>
-<span class="sourceLineNo">401</span> }<a name="line.401"></a>
-<span class="sourceLineNo">402</span> }<a name="line.402"></a>
-<span class="sourceLineNo">403</span><a name="line.403"></a>
-<span class="sourceLineNo">404</span> private static boolean isInnerClass(GenericDeclaration od, GenericDeclaration id) {<a name="line.404"></a>
-<span class="sourceLineNo">405</span> if (od instanceof Class && id instanceof Class) {<a name="line.405"></a>
-<span class="sourceLineNo">406</span> Class<?> oc = (Class<?>)od;<a name="line.406"></a>
-<span class="sourceLineNo">407</span> Class<?> ic = (Class<?>)id;<a name="line.407"></a>
-<span class="sourceLineNo">408</span> while ((ic = ic.getEnclosingClass()) != null)<a name="line.408"></a>
-<span class="sourceLineNo">409</span> if (ic == oc)<a name="line.409"></a>
-<span class="sourceLineNo">410</span> return true;<a name="line.410"></a>
-<span class="sourceLineNo">411</span> }<a name="line.411"></a>
-<span class="sourceLineNo">412</span> return false;<a name="line.412"></a>
-<span class="sourceLineNo">413</span> }<a name="line.413"></a>
-<span class="sourceLineNo">414</span><a name="line.414"></a>
-<span class="sourceLineNo">415</span> private static void extractTypes(Map<Type,Type> typeMap, Class<?> c) {<a name="line.415"></a>
-<span class="sourceLineNo">416</span> Type gs = c.getGenericSuperclass();<a name="line.416"></a>
-<span class="sourceLineNo">417</span> if (gs instanceof ParameterizedType) {<a name="line.417"></a>
-<span class="sourceLineNo">418</span> ParameterizedType pt = (ParameterizedType)gs;<a name="line.418"></a>
-<span class="sourceLineNo">419</span> Type[] typeParameters = ((Class<?>)pt.getRawType()).getTypeParameters();<a name="line.419"></a>
-<span class="sourceLineNo">420</span> Type[] actualTypeArguments = pt.getActualTypeArguments();<a name="line.420"></a>
-<span class="sourceLineNo">421</span> for (int i = 0; i < typeParameters.length; i++) {<a name="line.421"></a>
-<span class="sourceLineNo">422</span> if (typeMap.containsKey(actualTypeArguments[i]))<a name="line.422"></a>
-<span class="sourceLineNo">423</span> actualTypeArguments[i] = typeMap.get(actualTypeArguments[i]);<a name="line.423"></a>
-<span class="sourceLineNo">424</span> typeMap.put(typeParameters[i], actualTypeArguments[i]);<a name="line.424"></a>
-<span class="sourceLineNo">425</span> }<a name="line.425"></a>
-<span class="sourceLineNo">426</span> }<a name="line.426"></a>
-<span class="sourceLineNo">427</span> }<a name="line.427"></a>
-<span class="sourceLineNo">428</span><a name="line.428"></a>
-<span class="sourceLineNo">429</span> /**<a name="line.429"></a>
-<span class="sourceLineNo">430</span> * Finds a public method with the specified parameters.<a name="line.430"></a>
-<span class="sourceLineNo">431</span> *<a name="line.431"></a>
-<span class="sourceLineNo">432</span> * @param c The class to look for the method.<a name="line.432"></a>
-<span class="sourceLineNo">433</span> * @param name The method name.<a name="line.433"></a>
-<span class="sourceLineNo">434</span> * @param returnType The return type of the method.<a name="line.434"></a>
-<span class="sourceLineNo">435</span> * Can be a super type of the actual return type.<a name="line.435"></a>
-<span class="sourceLineNo">436</span> * For example, if the actual return type is <code>CharSequence</code>, then <code>Object</code> will match but <code>String</code> will not.<a name="line.436"></a>
-<span class="sourceLineNo">437</span> * @param parameterTypes The parameter types of the method.<a name="line.437"></a>
-<span class="sourceLineNo">438</span> * Can be subtypes of the actual parameter types.<a name="line.438"></a>
-<span class="sourceLineNo">439</span> * For example, if the parameter type is <code>CharSequence</code>, then <code>String</code> will match but <code>Object</code> will not.<a name="line.439"></a>
-<span class="sourceLineNo">440</span> * @return The matched method, or <jk>null</jk> if no match was found.<a name="line.440"></a>
-<span class="sourceLineNo">441</span> */<a name="line.441"></a>
-<span class="sourceLineNo">442</span> public static Method findPublicMethod(Class<?> c, String name, Class<?> returnType, Class<?>...parameterTypes) {<a name="line.442"></a>
-<span class="sourceLineNo">443</span> for (Method m : c.getMethods()) {<a name="line.443"></a>
-<span class="sourceLineNo">444</span> if (isPublic(m) && m.getName().equals(name)) {<a name="line.444"></a>
-<span class="sourceLineNo">445</span> Class<?> rt = m.getReturnType();<a name="line.445"></a>
-<span class="sourceLineNo">446</span> if (isParentClass(returnType, rt)) {<a name="line.446"></a>
-<span class="sourceLineNo">447</span> Class<?>[] pt = m.getParameterTypes();<a name="line.447"></a>
-<span class="sourceLineNo">448</span> if (pt.length == parameterTypes.length) {<a name="line.448"></a>
-<span class="sourceLineNo">449</span> boolean matches = true;<a name="line.449"></a>
-<span class="sourceLineNo">450</span> for (int i = 0; i < pt.length; i++) {<a name="line.450"></a>
-<span class="sourceLineNo">451</span> if (! isParentClass(pt[i], parameterTypes[i])) {<a name="line.451"></a>
-<span class="sourceLineNo">452</span> matches = false;<a name="line.452"></a>
-<span class="sourceLineNo">453</span> break;<a name="line.453"></a>
-<span class="sourceLineNo">454</span> }<a name="line.454"></a>
-<span class="sourceLineNo">455</span> }<a name="line.455"></a>
-<span class="sourceLineNo">456</span> if (matches)<a name="line.456"></a>
-<span class="sourceLineNo">457</span> return m;<a name="line.457"></a>
-<span class="sourceLineNo">458</span> }<a name="line.458"></a>
-<span class="sourceLineNo">459</span> }<a name="line.459"></a>
-<span class="sourceLineNo">460</span> }<a name="line.460"></a>
-<span class="sourceLineNo">461</span> }<a name="line.461"></a>
-<span class="sourceLineNo">462</span> return null;<a name="line.462"></a>
-<span class="sourceLineNo">463</span> }<a name="line.463"></a>
-<span class="sourceLineNo">464</span><a name="line.464"></a>
-<span class="sourceLineNo">465</span> /**<a name="line.465"></a>
-<span class="sourceLineNo">466</span> * Finds a public constructor with the specified parameters without throwing an exception.<a name="line.466"></a>
-<span class="sourceLineNo">467</span> *<a name="line.467"></a>
-<span class="sourceLineNo">468</span> * @param c The class to search for a constructor.<a name="line.468"></a>
-<span class="sourceLineNo">469</span> * @param parameterTypes The parameter types in the constructor.<a name="line.469"></a>
-<span class="sourceLineNo">470</span> * Can be subtypes of the actual constructor argument types.<a name="line.470"></a>
-<span class="sourceLineNo">471</span> * @return The matching constructor, or <jk>null</jk> if constructor could not be found.<a name="line.471"></a>
-<span class="sourceLineNo">472</span> */<a name="line.472"></a>
-<span class="sourceLineNo">473</span> @SuppressWarnings("unchecked")<a name="line.473"></a>
-<span class="sourceLineNo">474</span> public static <T> Constructor<T> findPublicConstructor(Class<T> c, Class<?>...parameterTypes) {<a name="line.474"></a>
-<span class="sourceLineNo">475</span> for (Constructor<?> n : c.getConstructors()) {<a name="line.475"></a>
-<span class="sourceLineNo">476</span> if (isPublic(n)) {<a name="line.476"></a>
-<span class="sourceLineNo">477</span> Class<?>[] pt = n.getParameterTypes();<a name="line.477"></a>
-<span class="sourceLineNo">478</span> if (pt.length == parameterTypes.length) {<a name="line.478"></a>
-<span class="sourceLineNo">479</span> boolean matches = true;<a name="line.479"></a>
-<span class="sourceLineNo">480</span> for (int i = 0; i < pt.length; i++) {<a name="line.480"></a>
-<span class="sourceLineNo">481</span> if (! isParentClass(pt[i], parameterTypes[i])) {<a name="line.481"></a>
-<span class="sourceLineNo">482</span> matches = false;<a name="line.482"></a>
-<span class="sourceLineNo">483</span> break;<a name="line.483"></a>
-<span class="sourceLineNo">484</span> }<a name="line.484"></a>
-<span class="sourceLineNo">485</span> }<a name="line.485"></a>
-<span class="sourceLineNo">486</span> if (matches)<a name="line.486"></a>
-<span class="sourceLineNo">487</span> return (Constructor<T>)n;<a name="line.487"></a>
-<span class="sourceLineNo">488</span> }<a name="line.488"></a>
-<span class="sourceLineNo">489</span> }<a name="line.489"></a>
-<span class="sourceLineNo">490</span> }<a name="line.490"></a>
-<span class="sourceLineNo">491</span> return null;<a name="line.491"></a>
-<span class="sourceLineNo">492</span> }<a name="line.492"></a>
-<span class="sourceLineNo">493</span><a name="line.493"></a>
-<span class="sourceLineNo">494</span> /**<a name="line.494"></a>
-<span class="sourceLineNo">495</span> * Finds the public constructor that can take in the specified arguments.<a name="line.495"></a>
-<span class="sourceLineNo">496</span> *<a name="line.496"></a>
-<span class="sourceLineNo">497</span> * @param c The class we're trying to construct.<a name="line.497"></a>
-<span class="sourceLineNo">498</span> * @param args The arguments we want to pass into the constructor.<a name="line.498"></a>
-<span class="sourceLineNo">499</span> * @return The constructor, or <jk>null</jk> if a public constructor could not be found that takes<a name="line.499"></a>
-<span class="sourceLineNo">500</span> * in the specified arguments.<a name="line.500"></a>
-<span class="sourceLineNo">501</span> */<a name="line.501"></a>
-<span class="sourceLineNo">502</span> public static <T> Constructor<T> findPublicConstructor(Class<T> c, Object...args) {<a name="line.502"></a>
-<span class="sourceLineNo">503</span> return findPublicConstructor(c, getClasses(args));<a name="line.503"></a>
-<span class="sourceLineNo">504</span> }<a name="line.504"></a>
-<span class="sourceLineNo">505</span><a name="line.505"></a>
-<span class="sourceLineNo">506</span> /**<a name="line.506"></a>
-<span class="sourceLineNo">507</span> * Returns the class types for the specified arguments.<a name="line.507"></a>
-<span class="sourceLineNo">508</span> *<a name="line.508"></a>
-<span class="sourceLineNo">509</span> * @param args The objects we're getting the classes of.<a name="line.509"></a>
-<span class="sourceLineNo">510</span> * @return The classes of the arguments.<a name="line.510"></a>
-<span class="sourceLineNo">511</span> */<a name="line.511"></a>
-<span class="sourceLineNo">512</span> public static Class<?>[] getClasses(Object...args) {<a name="line.512"></a>
-<span class="sourceLineNo">513</span> Class<?>[] pt = new Class<?>[args.length];<a name="line.513"></a>
-<span class="sourceLineNo">514</span> for (int i = 0; i < args.length; i++)<a name="line.514"></a>
-<span class="sourceLineNo">515</span> pt[i] = args[i] == null ? null : args[i].getClass();<a name="line.515"></a>
-<span class="sourceLineNo">516</span> return pt;<a name="line.516"></a>
+<span class="sourceLineNo">374</span> ParameterizedType opt = (ParameterizedType)oc.getGenericSuperclass();<a name="line.374"></a>
+<span class="sourceLineNo">375</span> Type actualType = opt.getActualTypeArguments()[index];<a name="line.375"></a>
+<span class="sourceLineNo">376</span><a name="line.376"></a>
+<span class="sourceLineNo">377</span> if (typeMap.containsKey(actualType))<a name="line.377"></a>
+<span class="sourceLineNo">378</span> actualType = typeMap.get(actualType);<a name="line.378"></a>
+<span class="sourceLineNo">379</span><a name="line.379"></a>
+<span class="sourceLineNo">380</span> if (actualType instanceof Class) {<a name="line.380"></a>
+<span class="sourceLineNo">381</span> return (Class<?>)actualType;<a name="line.381"></a>
+<span class="sourceLineNo">382</span><a name="line.382"></a>
+<span class="sourceLineNo">383</span> } else if (actualType instanceof GenericArrayType) {<a name="line.383"></a>
+<span class="sourceLineNo">384</span> Class<?> cmpntType = (Class<?>)((GenericArrayType)actualType).getGenericComponentType();<a name="line.384"></a>
+<span class="sourceLineNo">385</span> return Array.newInstance(cmpntType, 0).getClass();<a name="line.385"></a>
+<span class="sourceLineNo">386</span><a name="line.386"></a>
+<span class="sourceLineNo">387</span> } else if (actualType instanceof TypeVariable) {<a name="line.387"></a>
+<span class="sourceLineNo">388</span> TypeVariable<?> typeVariable = (TypeVariable<?>)actualType;<a name="line.388"></a>
+<span class="sourceLineNo">389</span> List<Class<?>> nestedOuterTypes = new LinkedList<Class<?>>();<a name="line.389"></a>
+<span class="sourceLineNo">390</span> for (Class<?> ec = oc.getEnclosingClass(); ec != null; ec = ec.getEnclosingClass()) {<a name="line.390"></a>
+<span class="sourceLineNo">391</span> try {<a name="line.391"></a>
+<span class="sourceLineNo">392</span> Class<?> outerClass = oc.getClass();<a name="line.392"></a>
+<span class="sourceLineNo">393</span> nestedOuterTypes.add(outerClass);<a name="line.393"></a>
+<span class="sourceLineNo">394</span> Map<Type,Type> outerTypeMap = new HashMap<Type,Type>();<a name="line.394"></a>
+<span class="sourceLineNo">395</span> extractTypes(outerTypeMap, outerClass);<a name="line.395"></a>
+<span class="sourceLineNo">396</span> for (Map.Entry<Type,Type> entry : outerTypeMap.entrySet()) {<a name="line.396"></a>
+<span class="sourceLineNo">397</span> Type key = entry.getKey(), value = entry.getValue();<a name="line.397"></a>
+<span class="sourceLineNo">398</span> if (key instanceof TypeVariable) {<a name="line.398"></a>
+<span class="sourceLineNo">399</span> TypeVariable<?> keyType = (TypeVariable<?>)key;<a name="line.399"></a>
+<span class="sourceLineNo">400</span> if (keyType.getName().equals(typeVariable.getName()) && isInnerClass(keyType.getGenericDeclaration(), typeVariable.getGenericDeclaration())) {<a name="line.400"></a>
+<span class="sourceLineNo">401</span> if (value instanceof Class)<a name="line.401"></a>
+<span class="sourceLineNo">402</span> return (Class<?>)value;<a name="line.402"></a>
+<span class="sourceLineNo">403</span> typeVariable = (TypeVariable<?>)entry.getValue();<a name="line.403"></a>
+<span class="sourceLineNo">404</span> }<a name="line.404"></a>
+<span class="sourceLineNo">405</span> }<a name="line.405"></a>
+<span class="sourceLineNo">406</span> }<a name="line.406"></a>
+<span class="sourceLineNo">407</span> } catch (Exception e) {<a name="line.407"></a>
+<span class="sourceLineNo">408</span> throw new RuntimeException(e);<a name="line.408"></a>
+<span class="sourceLineNo">409</span> }<a name="line.409"></a>
+<span class="sourceLineNo">410</span> }<a name="line.410"></a>
+<span class="sourceLineNo">411</span> throw new RuntimeException("Could not resolve type: " + actualType);<a name="line.411"></a>
+<span class="sourceLineNo">412</span> } else {<a name="line.412"></a>
+<span class="sourceLineNo">413</span> throw new RuntimeException("Invalid type found in resolveParameterType: " + actualType);<a name="line.413"></a>
+<span class="sourceLineNo">414</span> }<a name="line.414"></a>
+<span class="sourceLineNo">415</span> }<a name="line.415"></a>
+<span class="sourceLineNo">416</span><a name="line.416"></a>
+<span class="sourceLineNo">417</span> private static boolean isInnerClass(GenericDeclaration od, GenericDeclaration id) {<a name="line.417"></a>
+<span class="sourceLineNo">418</span> if (od instanceof Class && id instanceof Class) {<a name="line.418"></a>
+<span class="sourceLineNo">419</span> Class<?> oc = (Class<?>)od;<a name="line.419"></a>
+<span class="sourceLineNo">420</span> Class<?> ic = (Class<?>)id;<a name="line.420"></a>
+<span class="sourceLineNo">421</span> while ((ic = ic.getEnclosingClass()) != null)<a name="line.421"></a>
+<span class="sourceLineNo">422</span> if (ic == oc)<a name="line.422"></a>
+<span class="sourceLineNo">423</span> return true;<a name="line.423"></a>
+<span class="sourceLineNo">424</span> }<a name="line.424"></a>
+<span class="sourceLineNo">425</span> return false;<a name="line.425"></a>
+<span class="sourceLineNo">426</span> }<a name="line.426"></a>
+<span class="sourceLineNo">427</span><a name="line.427"></a>
+<span class="sourceLineNo">428</span> private static void extractTypes(Map<Type,Type> typeMap, Class<?> c) {<a name="line.428"></a>
+<span class="sourceLineNo">429</span> Type gs = c.getGenericSuperclass();<a name="line.429"></a>
+<span class="sourceLineNo">430</span> if (gs instanceof ParameterizedType) {<a name="line.430"></a>
+<span class="sourceLineNo">431</span> ParameterizedType pt = (ParameterizedType)gs;<a name="line.431"></a>
+<span class="sourceLineNo">432</span> Type[] typeParameters = ((Class<?>)pt.getRawType()).getTypeParameters();<a name="line.432"></a>
+<span class="sourceLineNo">433</span> Type[] actualTypeArguments = pt.getActualTypeArguments();<a name="line.433"></a>
+<span class="sourceLineNo">434</span> for (int i = 0; i < typeParameters.length; i++) {<a name="line.434"></a>
+<span class="sourceLineNo">435</span> if (typeMap.containsKey(actualTypeArguments[i]))<a name="line.435"></a>
+<span class="sourceLineNo">436</span> actualTypeArguments[i] = typeMap.get(actualTypeArguments[i]);<a name="line.436"></a>
+<span class="sourceLineNo">437</span> typeMap.put(typeParameters[i], actualTypeArguments[i]);<a name="line.437"></a>
+<span class="sourceLineNo">438</span> }<a name="line.438"></a>
+<span class="sourceLineNo">439</span> }<a name="line.439"></a>
+<span class="sourceLineNo">440</span> }<a name="line.440"></a>
+<span class="sourceLineNo">441</span><a name="line.441"></a>
+<span class="sourceLineNo">442</span> /**<a name="line.442"></a>
+<span class="sourceLineNo">443</span> * Finds a public method with the specified parameters.<a name="line.443"></a>
+<span class="sourceLineNo">444</span> *<a name="line.444"></a>
+<span class="sourceLineNo">445</span> * @param c The class to look for the method.<a name="line.445"></a>
+<span class="sourceLineNo">446</span> * @param name The method name.<a name="line.446"></a>
+<span class="sourceLineNo">447</span> * @param returnType The return type of the method.<a name="line.447"></a>
+<span class="sourceLineNo">448</span> * Can be a super type of the actual return type.<a name="line.448"></a>
+<span class="sourceLineNo">449</span> * For example, if the actual return type is <code>CharSequence</code>, then <code>Object</code> will match but <code>String</code> will not.<a name="line.449"></a>
+<span class="sourceLineNo">450</span> * @param parameterTypes The parameter types of the method.<a name="line.450"></a>
+<span class="sourceLineNo">451</span> * Can be subtypes of the actual parameter types.<a name="line.451"></a>
+<span class="sourceLineNo">452</span> * For example, if the parameter type is <code>CharSequence</code>, then <code>String</code> will match but <code>Object</code> will not.<a name="line.452"></a>
+<span class="sourceLineNo">453</span> * @return The matched method, or <jk>null</jk> if no match was found.<a name="line.453"></a>
+<span class="sourceLineNo">454</span> */<a name="line.454"></a>
+<span class="sourceLineNo">455</span> public static Method findPublicMethod(Class<?> c, String name, Class<?> returnType, Class<?>...parameterTypes) {<a name="line.455"></a>
+<span class="sourceLineNo">456</span> for (Method m : c.getMethods()) {<a name="line.456"></a>
+<span class="sourceLineNo">457</span> if (isPublic(m) && m.getName().equals(name)) {<a name="line.457"></a>
+<span class="sourceLineNo">458</span> Class<?> rt = m.getReturnType();<a name="line.458"></a>
+<span class="sourceLineNo">459</span> if (isParentClass(returnType, rt)) {<a name="line.459"></a>
+<span class="sourceLineNo">460</span> Class<?>[] pt = m.getParameterTypes();<a name="line.460"></a>
+<span class="sourceLineNo">461</span> if (pt.length == parameterTypes.length) {<a name="line.461"></a>
+<span class="sourceLineNo">462</span> boolean matches = true;<a name="line.462"></a>
+<span class="sourceLineNo">463</span> for (int i = 0; i < pt.length; i++) {<a name="line.463"></a>
+<span class="sourceLineNo">464</span> if (! isParentClass(pt[i], parameterTypes[i])) {<a name="line.464"></a>
+<span class="sourceLineNo">465</span> matches = false;<a name="line.465"></a>
+<span class="sourceLineNo">466</span> break;<a name="line.466"></a>
+<span class="sourceLineNo">467</span> }<a name="line.467"></a>
+<span class="sourceLineNo">468</span> }<a name="line.468"></a>
+<span class="sourceLineNo">469</span> if (matches)<a name="line.469"></a>
+<span class="sourceLineNo">470</span> return m;<a name="line.470"></a>
+<span class="sourceLineNo">471</span> }<a name="line.471"></a>
+<span class="sourceLineNo">472</span> }<a name="line.472"></a>
+<span class="sourceLineNo">473</span> }<a name="line.473"></a>
+<span class="sourceLineNo">474</span> }<a name="line.474"></a>
+<span class="sourceLineNo">475</span> return null;<a name="line.475"></a>
+<span class="sourceLineNo">476</span> }<a name="line.476"></a>
+<span class="sourceLineNo">477</span><a name="line.477"></a>
+<span class="sourceLineNo">478</span> /**<a name="line.478"></a>
+<span class="sourceLineNo">479</span> * Finds a public constructor with the specified parameters without throwing an exception.<a name="line.479"></a>
+<span class="sourceLineNo">480</span> *<a name="line.480"></a>
+<span class="sourceLineNo">481</span> * @param c The class to search for a constructor.<a name="line.481"></a>
+<span class="sourceLineNo">482</span> * @param parameterTypes The parameter types in the constructor.<a name="line.482"></a>
+<span class="sourceLineNo">483</span> * Can be subtypes of the actual constructor argument types.<a name="line.483"></a>
+<span class="sourceLineNo">484</span> * @return The matching constructor, or <jk>null</jk> if constructor could not be found.<a name="line.484"></a>
+<span class="sourceLineNo">485</span> */<a name="line.485"></a>
+<span class="sourceLineNo">486</span> @SuppressWarnings("unchecked")<a name="line.486"></a>
+<span class="sourceLineNo">487</span> public static <T> Constructor<T> findPublicConstructor(Class<T> c, Class<?>...parameterTypes) {<a name="line.487"></a>
+<span class="sourceLineNo">488</span> for (Constructor<?> n : c.getConstructors()) {<a name="line.488"></a>
+<span class="sourceLineNo">489</span> if (isPublic(n)) {<a name="line.489"></a>
+<span class="sourceLineNo">490</span> Class<?>[] pt = n.getParameterTypes();<a name="line.490"></a>
+<span class="sourceLineNo">491</span> if (pt.length == parameterTypes.length) {<a name="line.491"></a>
+<span class="sourceLineNo">492</span> boolean matches = true;<a name="line.492"></a>
+<span class="sourceLineNo">493</span> for (int i = 0; i < pt.length; i++) {<a name="line.493"></a>
+<span class="sourceLineNo">494</span> if (! isParentClass(pt[i], parameterTypes[i])) {<a name="line.494"></a>
+<span class="sourceLineNo">495</span> matches = false;<a name="line.495"></a>
+<span class="sourceLineNo">496</span> break;<a name="line.496"></a>
+<span class="sourceLineNo">497</span> }<a name="line.497"></a>
+<span class="sourceLineNo">498</span> }<a name="line.498"></a>
+<span class="sourceLineNo">499</span> if (matches)<a name="line.499"></a>
+<span class="sourceLineNo">500</span> return (Constructor<T>)n;<a name="line.500"></a>
+<span class="sourceLineNo">501</span> }<a name="line.501"></a>
+<span class="sourceLineNo">502</span> }<a name="line.502"></a>
+<span class="sourceLineNo">503</span> }<a name="line.503"></a>
+<span class="sourceLineNo">504</span> return null;<a name="line.504"></a>
+<span class="sourceLineNo">505</span> }<a name="line.505"></a>
+<span class="sourceLineNo">506</span><a name="line.506"></a>
+<span class="sourceLineNo">507</span> /**<a name="line.507"></a>
+<span class="sourceLineNo">508</span> * Finds the public constructor that can take in the specified arguments.<a name="line.508"></a>
+<span class="sourceLineNo">509</span> *<a name="line.509"></a>
+<span class="sourceLineNo">510</span> * @param c The class we're trying to construct.<a name="line.510"></a>
+<span class="sourceLineNo">511</span> * @param args The arguments we want to pass into the constructor.<a name="line.511"></a>
+<span class="sourceLineNo">512</span> * @return The constructor, or <jk>null</jk> if a public constructor could not be found that takes<a name="line.512"></a>
+<span class="sourceLineNo">513</span> * in the specified arguments.<a name="line.513"></a>
+<span class="sourceLineNo">514</span> */<a name="line.514"></a>
+<span class="sourceLineNo">515</span> public static <T> Constructor<T> findPublicConstructor(Class<T> c, Object...args) {<a name="line.515"></a>
+<span class="sourceLineNo">516</span> return findPublicConstructor(c, getClasses(args));<a name="line.516"></a>
<span class="sourceLineNo">517</span> }<a name="line.517"></a>
<span class="sourceLineNo">518</span><a name="line.518"></a>
-<span class="sourceLineNo">519</span>// This code is inherently unsafe (but still potentially useful?)<a name="line.519"></a>
-<span class="sourceLineNo">520</span>//<a name="line.520"></a>
-<span class="sourceLineNo">521</span>// /**<a name="line.521"></a>
-<span class="sourceLineNo">522</span>// * Converts class name strings to ClassMeta objects.<a name="line.522"></a>
-<span class="sourceLineNo">523</span>// *<a name="line.523"></a>
-<span class="sourceLineNo">524</span>// * <h5 class='section'>Example:</h5><a name="line.524"></a>
-<span class="sourceLineNo">525</span>// * <ul><a name="line.525"></a>
-<span class="sourceLineNo">526</span>// * <li><js>"java.lang.String"</js><a name="line.526"></a>
-<span class="sourceLineNo">527</span>// * <li><js>"com.foo.sample.MyBean[]"</js><a name="line.527"></a>
-<span class="sourceLineNo">528</span>// * <li><js>"java.util.HashMap<java.lang.String,java.lang.Integer>"</js><a name="line.528"></a>
-<span class="sourceLineNo">529</span>// * <li><js>"[Ljava.lang.String;"</js> (i.e. the value of <code>String[].<jk>class</jk>.getName()</code>)<a name="line.529"></a>
-<span class="sourceLineNo">530</span>// * </ul><a name="line.530"></a>
-<span class="sourceLineNo">531</span>// *<a name="line.531"></a>
-<span class="sourceLineNo">532</span>// * @param s The class name.<a name="line.532"></a>
-<span class="sourceLineNo">533</span>// * @return The ClassMeta corresponding to the class name string.<a name="line.533"></a>
-<span class="sourceLineNo">534</span>// */<a name="line.534"></a>
-<span class="sourceLineNo">535</span>// protected final ClassMeta<?> getClassMetaFromString(String s) {<a name="line.535"></a>
-<span class="sourceLineNo">536</span>// int d = 0;<a name="line.536"></a>
-<span class="sourceLineNo">537</span>// if (s == null || s.isEmpty())<a name="line.537"></a>
-<span class="sourceLineNo">538</span>// return null;<a name="line.538"></a>
-<span class="sourceLineNo">539</span>//<a name="line.539"></a>
-<span class="sourceLineNo">540</span>// // Check for Class.getName() on array class types.<a name="line.540"></a>
-<span class="sourceLineNo">541</span>// if (s.charAt(0) == '[') {<a name="line.541"></a>
-<span class="sourceLineNo">542</span>// try {<a name="line.542"></a>
-<span class="sourceLineNo">543</span>// return getClassMeta(findClass(s));<a name="line.543"></a>
-<span class="sourceLineNo">544</span>// } catch (ClassNotFoundException e) {<a name="line.544"></a>
-<span class="sourceLineNo">545</span>// throw new RuntimeException(e);<a name="line.545"></a>
-<span class="sourceLineNo">546</span>// }<a name="line.546"></a>
-<span class="sourceLineNo">547</span>// }<a name="line.547"></a>
-<span class="sourceLineNo">548</span>//<a name="line.548"></a>
-<span class="sourceLineNo">549</span>// int i1 = 0;<a name="line.549"></a>
-<span class="sourceLineNo">550</span>// int i2 = 0;<a name="line.550"></a>
-<span class="sourceLineNo">551</span>// int dim = 0;<a name="line.551"></a>
-<span class="sourceLineNo">552</span>// List<ClassMeta<?>> p = null;<a name="line.552"></a>
-<span class="sourceLineNo">553</span>// for (int i = 0; i < s.length(); i++) {<a name="line.553"></a>
-<span class="sourceLineNo">554</span>// char c = s.charAt(i);<a name="line.554"></a>
-<span class="sourceLineNo">555</span>// if (c == '<') {<a name="line.555"></a>
-<span class="sourceLineNo">556</span>// if (d == 0) {<a name="line.556"></a>
-<span class="sourceLineNo">557</span>// i1 = i;<a name="line.557"></a>
-<span class="sourceLineNo">558</span>// i2 = i+1;<a name="line.558"></a>
-<span class="sourceLineNo">559</span>// p = new LinkedList<ClassMeta<?>>();<a name="line.559"></a>
-<span class="sourceLineNo">560</span>// }<a name="line.560"></a>
-<span class="sourceLineNo">561</span>// d++;<a name="line.561"></a>
-<span class="sourceLineNo">562</span>// } else if (c == '>') {<a name="line.562"></a>
-<span class="sourceLineNo">563</span>// d--;<a name="line.563"></a>
-<span class="sourceLineNo">564</span>// if (d == 0 && p != null)<a name="line.564"></a>
-<span class="sourceLineNo">565</span>// p.add(getClassMetaFromString(s.substring(i2, i)));<a name="line.565"></a>
-<span class="sourceLineNo">566</span>// } else if (c == ',' && d == 1) {<a name="line.566"></a>
-<span class="sourceLineNo">567</span>// if (p != null)<a name="line.567"></a>
-<span class="sourceLineNo">568</span>// p.add(getClassMetaFromString(s.substring(i2, i)));<a name="line.568"></a>
-<span class="sourceLineNo">569</span>// i2 = i+1;<a name="line.569"></a>
-<span class="sourceLineNo">570</span>// }<a name="line.570"></a>
-<span class="sourceLineNo">571</span>// if (c == '[') {<a name="line.571"></a>
-<span class="sourceLineNo">572</span>// if (i1 == 0)<a name="line.572"></a>
-<span class="sourceLineNo">573</span>// i1 = i;<a name="line.573"></a>
-<span class="sourceLineNo">574</span>// dim++;<a name="line.574"></a>
-<span class="sourceLineNo">575</span>// }<a name="line.575"></a>
-<span class="sourceLineNo">576</span>// }<a name="line.576"></a>
-<span class="sourceLineNo">577</span>// if (i1 == 0)<a name="line.577"></a>
-<span class="sourceLineNo">578</span>// i1 = s.length();<a name="line.578"></a>
-<span class="sourceLineNo">579</span>// try {<a name="line.579"></a>
-<span class="sourceLineNo">580</span>// String name = s.substring(0, i1).trim();<a name="line.580"></a>
-<span class="sourceLineNo">581</span>// char x = name.charAt(0);<a name="line.581"></a>
-<span class="sourceLineNo">582</span>// Class<?> c = null;<a name="line.582"></a>
-<span class="sourceLineNo">583</span>// if (x >= 'b' && x <= 's') {<a name="line.583"></a>
-<span class="sourceLineNo">584</span>// if (x == 'b' && name.equals("boolean"))<a name="line.584"></a>
-<span class="sourceLineNo">585</span>// c = boolean.class;<a name="line.585"></a>
-<span class="sourceLineNo">586</span>// else if (x == 'b' && name.equals("byte"))<a name="line.586"></a>
-<span class="sourceLineNo">587</span>// c = byte.class;<a name="line.587"></a>
-<span class="sourceLineNo">588</span>// else if (x == 'c' && name.equals("char"))<a name="line.588"></a>
-<span class="sourceLineNo">589</span>// c = char.class;<a name="line.589"></a>
-<span class="sourceLineNo">590</span>// else if (x == 'd' && name.equals("double"))<a name="line.590"></a>
-<span class="sourceLineNo">591</span>// c = double.class;<a name="line.591"></a>
-<span class="sourceLineNo">592</span>// else if (x == 'i' && name.equals("int"))<a name="line.592"></a>
-<span class="sourceLineNo">593</span>// c = int.class;<a name="line.593"></a>
-<span class="sourceLineNo">594</span>// else if (x == 'l' && name.equals("long"))<a name="line.594"></a>
-<span class="sourceLineNo">595</span>// c = long.class;<a name="line.595"></a>
-<span class="sourceLineNo">596</span>// else if (x == 's' && name.equals("short"))<a name="line.596"></a>
-<span class="sourceLineNo">597</span>// c = short.class;<a name="line.597"></a>
-<span class="sourceLineNo">598</span>// else<a name="line.598"></a>
-<span class="sourceLineNo">599</span>// c = findClass(name);<a name="line.599"></a>
-<span class="sourceLineNo">600</span>// } else {<a name="line.600"></a>
-<span class="sourceLineNo">601</span>// c = findClass(name);<a name="line.601"></a>
-<span class="sourceLineNo">602</span>// }<a name="line.602"></a>
-<span class="sourceLineNo">603</span>//<a name="line.603"></a>
-<span class="sourceLineNo">604</span>// ClassMeta<?> cm = getClassMeta(c);<a name="line.604"></a>
-<span class="sourceLineNo">605</span>//<a name="line.605"></a>
-<span class="sourceLineNo">606</span>// if (p != null) {<a name="line.606"></a>
-<span class="sourceLineNo">607</span>// if (cm.isMap())<a name="line.607"></a>
-<span class="sourceLineNo">608</span>// cm = new ClassMeta(c, this).setKeyType(p.get(0)).setValueType(p.get(1));<a name="line.608"></a>
-<span class="sourceLineNo">609</span>// if (cm.isCollection())<a name="line.609"></a>
-<span class="sourceLineNo">610</span>// cm = new ClassMeta(c, this).setElementType(p.get(0));<a name="line.610"></a>
-<span class="sourceLineNo">611</span>// }<a name="line.611"></a>
-<span class="sourceLineNo">612</span>//<a name="line.612"></a>
-<span class="sourceLineNo">613</span>// while (dim > 0) {<a name="line.613"></a>
-<span class="sourceLineNo">614</span>// cm = new ClassMeta(Array.newInstance(cm.getInnerClass(), 0).getClass(), this);<a name="line.614"></a>
-<span class="sourceLineNo">615</span>// dim--;<a name="line.615"></a>
-<span class="sourceLineNo">616</span>// }<a name="line.616"></a>
-<span class="sourceLineNo">617</span>//<a name="line.617"></a>
-<span class="sourceLineNo">618</span>// return cm;<a name="line.618"></a>
-<span class="sourceLineNo">619</span>// } catch (ClassNotFoundException e) {<a name="line.619"></a>
-<span class="sourceLineNo">620</span>// throw new RuntimeException(e);<a name="line.620"></a>
-<span class="sourceLineNo">621</span>// }<a name="line.621"></a>
-<span class="sourceLineNo">622</span>// }<a name="line.622"></a>
-<span class="sourceLineNo">623</span>//<a name="line.623"></a>
-<span class="sourceLineNo">624</span>// private Class<?> findClass(String name) throws ClassNotFoundException {<a name="line.624"></a>
-<span class="sourceLineNo">625</span>// return classLoader == null ? Class.forName(name) : Class.forName(name, true, classLoader);<a name="line.625"></a>
-<span class="sourceLineNo">626</span>// }<a name="line.626"></a>
-<span class="sourceLineNo">627</span><a name="line.627"></a>
-<span class="sourceLineNo">628</span> /**<a name="line.628"></a>
-<span class="sourceLineNo">629</span> * Returns a {@link MethodInfo} bean that describes the specified method.<a name="line.629"></a>
-<span class="sourceLineNo">630</span> * @param m The method to describe.<a name="line.630"></a>
-<span class="sourceLineNo">631</span> * @return The bean with information about the method.<a name="line.631"></a>
-<span class="sourceLineNo">632</span> */<a name="line.632"></a>
-<span class="sourceLineNo">633</span> public static MethodInfo getMethodInfo(Method m) {<a name="line.633"></a>
-<span class="sourceLineNo">634</span> return new MethodInfo(m);<a name="line.634"></a>
-<span class="sourceLineNo">635</span> }<a name="line.635"></a>
-<span class="sourceLineNo">636</span><a name="line.636"></a>
-<span class="sourceLineNo">637</span> /**<a name="line.637"></a>
-<span class="sourceLineNo">638</span> * Returns {@link MethodInfo} beans that describe the specified methods.<a name="line.638"></a>
-<span class="sourceLineNo">639</span> * @param m The methods to describe.<a name="line.639"></a>
-<span class="sourceLineNo">640</span> * @return The beans with information about the methods.<a name="line.640"></a>
-<span class="sourceLineNo">641</span> */<a name="line.641"></a>
-<span class="sourceLineNo">642</span> public static MethodInfo[] getMethodInfo(Collection<Method> m) {<a name="line.642"></a>
-<span class="sourceLineNo">643</span> MethodInfo[] mi = new MethodInfo[m.size()];<a name="line.643"></a>
-<span class="sourceLineNo">644</span> int i = 0;<a name="line.644"></a>
-<span class="sourceLineNo">645</span> for (Method mm : m)<a name="line.645"></a>
-<span class="sourceLineNo">646</span> mi[i++] = getMethodInfo(mm);<a name="line.646"></a>
-<span class="sourceLineNo">647</span> return mi;<a name="line.647"></a>
+<span class="sourceLineNo">519</span> /**<a name="line.519"></a>
+<span class="sourceLineNo">520</span> * Returns the class types for the specified arguments.<a name="line.520"></a>
+<span class="sourceLineNo">521</span> *<a name="line.521"></a>
+<span class="sourceLineNo">522</span> * @param args The objects we're getting the classes of.<a name="line.522"></a>
+<span class="sourceLineNo">523</span> * @return The classes of the arguments.<a name="line.523"></a>
+<span class="sourceLineNo">524</span> */<a name="line.524"></a>
+<span class="sourceLineNo">525</span> public static Class<?>[] getClasses(Object...args) {<a name="line.525"></a>
+<span class="sourceLineNo">526</span> C
<TRUNCATED>
[07/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/rest/RestConfig.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/rest/RestConfig.html b/content/site/apidocs/src-html/org/apache/juneau/rest/RestConfig.html
index a5128ee..c4f7b03 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/rest/RestConfig.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/rest/RestConfig.html
@@ -93,1120 +93,1135 @@
<span class="sourceLineNo">085</span><a name="line.85"></a>
<span class="sourceLineNo">086</span> List<Class<?>><a name="line.86"></a>
<span class="sourceLineNo">087</span> beanFilters = new ArrayList<Class<?>>(),<a name="line.87"></a>
-<span class="sourceLineNo">088</span> pojoSwaps = new ArrayList<Class<?>>();<a name="line.88"></a>
-<span class="sourceLineNo">089</span> SerializerGroupBuilder serializers = new SerializerGroupBuilder();<a name="line.89"></a>
-<span class="sourceLineNo">090</span> ParserGroupBuilder parsers = new ParserGroupBuilder();<a name="line.90"></a>
-<span class="sourceLineNo">091</span> EncoderGroupBuilder encoders = new EncoderGroupBuilder().append(IdentityEncoder.INSTANCE);<a name="line.91"></a>
-<span class="sourceLineNo">092</span> List<Object> converters = new ArrayList<Object>();<a name="line.92"></a>
-<span class="sourceLineNo">093</span> List<Object> guards = new ArrayList<Object>();<a name="line.93"></a>
-<span class="sourceLineNo">094</span> MimetypesFileTypeMap mimeTypes = new MimetypesFileTypeMap();<a name="line.94"></a>
-<span class="sourceLineNo">095</span> Map<String,String> defaultRequestHeaders = new TreeMap<String,String>(String.CASE_INSENSITIVE_ORDER);<a name="line.95"></a>
-<span class="sourceLineNo">096</span> Map<String,Object> defaultResponseHeaders = new LinkedHashMap<String,Object>();<a name="line.96"></a>
-<span class="sourceLineNo">097</span> List<Object> responseHandlers = new ArrayList<Object>();<a name="line.97"></a>
-<span class="sourceLineNo">098</span> List<Object> childResources = new ArrayList<Object>();<a name="line.98"></a>
-<span class="sourceLineNo">099</span> List<MediaType> supportedContentTypes, supportedAcceptTypes;<a name="line.99"></a>
-<span class="sourceLineNo">100</span> List<Object> styleSheets;<a name="line.100"></a>
-<span class="sourceLineNo">101</span> Object favIcon;<a name="line.101"></a>
-<span class="sourceLineNo">102</span> List<Object> staticFiles;<a name="line.102"></a>
-<span class="sourceLineNo">103</span> RestContext parentContext;<a name="line.103"></a>
-<span class="sourceLineNo">104</span> String path, pageTitle, pageText, pageLinks;<a name="line.104"></a>
-<span class="sourceLineNo">105</span> String clientVersionHeader = "X-Client-Version";<a name="line.105"></a>
-<span class="sourceLineNo">106</span><a name="line.106"></a>
-<span class="sourceLineNo">107</span> Object resourceResolver = RestResourceResolver.class;<a name="line.107"></a>
-<span class="sourceLineNo">108</span> Object logger = RestLogger.Normal.class;<a name="line.108"></a>
-<span class="sourceLineNo">109</span> Object callHandler = RestCallHandler.class;<a name="line.109"></a>
-<span class="sourceLineNo">110</span> Object infoProvider = RestInfoProvider.class;<a name="line.110"></a>
-<span class="sourceLineNo">111</span><a name="line.111"></a>
-<span class="sourceLineNo">112</span> /**<a name="line.112"></a>
-<span class="sourceLineNo">113</span> * Constructor.<a name="line.113"></a>
-<span class="sourceLineNo">114</span> * @param config The servlet config passed into the servlet by the servlet container.<a name="line.114"></a>
-<span class="sourceLineNo">115</span> * @param resource The class annotated with <ja>@RestResource</ja>.<a name="line.115"></a>
-<span class="sourceLineNo">116</span> * @throws ServletException Something bad happened.<a name="line.116"></a>
-<span class="sourceLineNo">117</span> */<a name="line.117"></a>
-<span class="sourceLineNo">118</span> RestConfig(ServletConfig config, Class<?> resourceClass, RestContext parentContext) throws ServletException {<a name="line.118"></a>
-<span class="sourceLineNo">119</span> this.inner = config;<a name="line.119"></a>
-<span class="sourceLineNo">120</span> this.parentContext = parentContext;<a name="line.120"></a>
-<span class="sourceLineNo">121</span> try {<a name="line.121"></a>
-<span class="sourceLineNo">122</span><a name="line.122"></a>
-<span class="sourceLineNo">123</span> ConfigFileBuilder cfb = new ConfigFileBuilder();<a name="line.123"></a>
-<span class="sourceLineNo">124</span><a name="line.124"></a>
-<span class="sourceLineNo">125</span> properties = new ObjectMap();<a name="line.125"></a>
-<span class="sourceLineNo">126</span> configFile = cfb.build();<a name="line.126"></a>
-<span class="sourceLineNo">127</span> varResolverBuilder = new VarResolverBuilder()<a name="line.127"></a>
-<span class="sourceLineNo">128</span> .vars(<a name="line.128"></a>
-<span class="sourceLineNo">129</span> SystemPropertiesVar.class,<a name="line.129"></a>
-<span class="sourceLineNo">130</span> EnvVariablesVar.class,<a name="line.130"></a>
-<span class="sourceLineNo">131</span> ConfigFileVar.class,<a name="line.131"></a>
-<span class="sourceLineNo">132</span> IfVar.class,<a name="line.132"></a>
-<span class="sourceLineNo">133</span> SwitchVar.class<a name="line.133"></a>
-<span class="sourceLineNo">134</span> );<a name="line.134"></a>
-<span class="sourceLineNo">135</span><a name="line.135"></a>
-<span class="sourceLineNo">136</span> VarResolver vr = varResolverBuilder.build();<a name="line.136"></a>
-<span class="sourceLineNo">137</span><a name="line.137"></a>
-<span class="sourceLineNo">138</span> Map<Class<?>,RestResource> restResourceAnnotationsParentFirst = ReflectionUtils.findAnnotationsMapParentFirst(RestResource.class, resourceClass);<a name="line.138"></a>
-<span class="sourceLineNo">139</span><a name="line.139"></a>
-<span class="sourceLineNo">140</span> // Find our config file. It's the last non-empty @RestResource.config().<a name="line.140"></a>
-<span class="sourceLineNo">141</span> String configPath = "";<a name="line.141"></a>
-<span class="sourceLineNo">142</span> for (RestResource r : restResourceAnnotationsParentFirst.values())<a name="line.142"></a>
-<span class="sourceLineNo">143</span> if (! r.config().isEmpty())<a name="line.143"></a>
-<span class="sourceLineNo">144</span> configPath = r.config();<a name="line.144"></a>
-<span class="sourceLineNo">145</span> String cf = vr.resolve(configPath);<a name="line.145"></a>
-<span class="sourceLineNo">146</span> if (! cf.isEmpty())<a name="line.146"></a>
-<span class="sourceLineNo">147</span> configFile = cfb.build(cf);<a name="line.147"></a>
-<span class="sourceLineNo">148</span> configFile = configFile.getResolving(vr);<a name="line.148"></a>
-<span class="sourceLineNo">149</span><a name="line.149"></a>
-<span class="sourceLineNo">150</span> // Add our config file to the variable resolver.<a name="line.150"></a>
-<span class="sourceLineNo">151</span> varResolverBuilder.contextObject(ConfigFileVar.SESSION_config, configFile);<a name="line.151"></a>
-<span class="sourceLineNo">152</span> vr = varResolverBuilder.build();<a name="line.152"></a>
-<span class="sourceLineNo">153</span><a name="line.153"></a>
-<span class="sourceLineNo">154</span> // Add our servlet URI to our properties.<a name="line.154"></a>
-<span class="sourceLineNo">155</span> ServletContext ctx = config.getServletContext();<a name="line.155"></a>
-<span class="sourceLineNo">156</span> String ctxPath = ctx.getContextPath();<a name="line.156"></a>
-<span class="sourceLineNo">157</span> // Workaround for bug in Jetty that causes context path to always end in "null".<a name="line.157"></a>
-<span class="sourceLineNo">158</span> if (ctxPath.endsWith("null"))<a name="line.158"></a>
-<span class="sourceLineNo">159</span> ctxPath = ctxPath.substring(0, ctxPath.length()-4);<a name="line.159"></a>
-<span class="sourceLineNo">160</span> properties.put(SERIALIZER_relativeUriBase, ctxPath);<a name="line.160"></a>
-<span class="sourceLineNo">161</span><a name="line.161"></a>
-<span class="sourceLineNo">162</span> // Add the servlet init parameters to our properties.<a name="line.162"></a>
-<span class="sourceLineNo">163</span> for (Enumeration<String> ep = config.getInitParameterNames(); ep.hasMoreElements();) {<a name="line.163"></a>
-<span class="sourceLineNo">164</span> String p = ep.nextElement();<a name="line.164"></a>
-<span class="sourceLineNo">165</span> String initParam = config.getInitParameter(p);<a name="line.165"></a>
-<span class="sourceLineNo">166</span> properties.put(vr.resolve(p), vr.resolve(initParam));<a name="line.166"></a>
-<span class="sourceLineNo">167</span> }<a name="line.167"></a>
-<span class="sourceLineNo">168</span><a name="line.168"></a>
-<span class="sourceLineNo">169</span> // Load stuff from parent-to-child order.<a name="line.169"></a>
-<span class="sourceLineNo">170</span> // This allows child settings to overwrite parent settings.<a name="line.170"></a>
-<span class="sourceLineNo">171</span> for (Map.Entry<Class<?>,RestResource> e : restResourceAnnotationsParentFirst.entrySet()) {<a name="line.171"></a>
-<span class="sourceLineNo">172</span> Class<?> c = e.getKey();<a name="line.172"></a>
-<span class="sourceLineNo">173</span> RestResource r = e.getValue();<a name="line.173"></a>
-<span class="sourceLineNo">174</span> for (Property p : r.properties())<a name="line.174"></a>
-<span class="sourceLineNo">175</span> properties.append(vr.resolve(p.name()), vr.resolve(p.value()));<a name="line.175"></a>
-<span class="sourceLineNo">176</span> addSerializers(r.serializers());<a name="line.176"></a>
-<span class="sourceLineNo">177</span> addParsers(r.parsers());<a name="line.177"></a>
-<span class="sourceLineNo">178</span> addEncoders(r.encoders());<a name="line.178"></a>
-<span class="sourceLineNo">179</span> addDefaultRequestHeaders(r.defaultRequestHeaders());<a name="line.179"></a>
-<span class="sourceLineNo">180</span> addDefaultResponseHeaders(r.defaultResponseHeaders());<a name="line.180"></a>
-<span class="sourceLineNo">181</span> addResponseHandlers(r.responseHandlers());<a name="line.181"></a>
-<span class="sourceLineNo">182</span> addConverters(r.converters());<a name="line.182"></a>
-<span class="sourceLineNo">183</span> addGuards(reverse(r.guards()));<a name="line.183"></a>
-<span class="sourceLineNo">184</span> addChildResources(r.children());<a name="line.184"></a>
-<span class="sourceLineNo">185</span> addBeanFilters(r.beanFilters());<a name="line.185"></a>
-<span class="sourceLineNo">186</span> addPojoSwaps(r.pojoSwaps());<a name="line.186"></a>
-<span class="sourceLineNo">187</span> if (! r.stylesheet().isEmpty())<a name="line.187"></a>
-<span class="sourceLineNo">188</span> setStyleSheet(c, r.stylesheet());<a name="line.188"></a>
-<span class="sourceLineNo">189</span> if (! r.favicon().isEmpty())<a name="line.189"></a>
-<span class="sourceLineNo">190</span> setFavIcon(c, r.favicon());<a name="line.190"></a>
-<span class="sourceLineNo">191</span> if (! r.staticFiles().isEmpty())<a name="line.191"></a>
-<span class="sourceLineNo">192</span> addStaticFiles(c, r.staticFiles());<a name="line.192"></a>
-<span class="sourceLineNo">193</span> if (! r.path().isEmpty())<a name="line.193"></a>
-<span class="sourceLineNo">194</span> setPath(r.path());<a name="line.194"></a>
-<span class="sourceLineNo">195</span> if (! r.clientVersionHeader().isEmpty())<a name="line.195"></a>
-<span class="sourceLineNo">196</span> setClientVersionHeader(r.clientVersionHeader());<a name="line.196"></a>
-<span class="sourceLineNo">197</span> if (! r.pageTitle().isEmpty())<a name="line.197"></a>
-<span class="sourceLineNo">198</span> setPageTitle(r.pageTitle());<a name="line.198"></a>
-<span class="sourceLineNo">199</span> if (! r.pageText().isEmpty())<a name="line.199"></a>
-<span class="sourceLineNo">200</span> setPageText(r.pageText());<a name="line.200"></a>
-<span class="sourceLineNo">201</span> if (! r.pageLinks().isEmpty())<a name="line.201"></a>
-<span class="sourceLineNo">202</span> setPageLinks(r.pageLinks());<a name="line.202"></a>
-<span class="sourceLineNo">203</span> if (r.resourceResolver() != RestResourceResolver.class)<a name="line.203"></a>
-<span class="sourceLineNo">204</span> setResourceResolver(r.resourceResolver());<a name="line.204"></a>
-<span class="sourceLineNo">205</span> if (r.logger() != RestLogger.Normal.class)<a name="line.205"></a>
-<span class="sourceLineNo">206</span> setLogger(r.logger());<a name="line.206"></a>
-<span class="sourceLineNo">207</span> if (r.callHandler() != RestCallHandler.class)<a name="line.207"></a>
-<span class="sourceLineNo">208</span> setCallHandler(r.callHandler());<a name="line.208"></a>
-<span class="sourceLineNo">209</span> if (r.infoProvider() != RestInfoProvider.class)<a name="line.209"></a>
-<span class="sourceLineNo">210</span> setInfoProvider(r.infoProvider());<a name="line.210"></a>
-<span class="sourceLineNo">211</span> }<a name="line.211"></a>
-<span class="sourceLineNo">212</span><a name="line.212"></a>
-<span class="sourceLineNo">213</span> addResponseHandlers(<a name="line.213"></a>
-<span class="sourceLineNo">214</span> StreamableHandler.class,<a name="line.214"></a>
-<span class="sourceLineNo">215</span> WritableHandler.class,<a name="line.215"></a>
-<span class="sourceLineNo">216</span> ReaderHandler.class,<a name="line.216"></a>
-<span class="sourceLineNo">217</span> InputStreamHandler.class,<a name="line.217"></a>
-<span class="sourceLineNo">218</span> RedirectHandler.class,<a name="line.218"></a>
-<span class="sourceLineNo">219</span> DefaultHandler.class<a name="line.219"></a>
-<span class="sourceLineNo">220</span> );<a name="line.220"></a>
-<span class="sourceLineNo">221</span><a name="line.221"></a>
-<span class="sourceLineNo">222</span> addMimeTypes(<a name="line.222"></a>
-<span class="sourceLineNo">223</span> "text/css css CSS",<a name="line.223"></a>
-<span class="sourceLineNo">224</span> "text/html html htm HTML",<a name="line.224"></a>
-<span class="sourceLineNo">225</span> "text/plain txt text TXT",<a name="line.225"></a>
-<span class="sourceLineNo">226</span> "application/javascript js",<a name="line.226"></a>
-<span class="sourceLineNo">227</span> "image/png png",<a name="line.227"></a>
-<span class="sourceLineNo">228</span> "image/gif gif",<a name="line.228"></a>
-<span class="sourceLineNo">229</span> "application/xml xml XML",<a name="line.229"></a>
-<span class="sourceLineNo">230</span> "application/json json JSON"<a name="line.230"></a>
-<span class="sourceLineNo">231</span> );<a name="line.231"></a>
-<span class="sourceLineNo">232</span> } catch (Exception e) {<a name="line.232"></a>
-<span class="sourceLineNo">233</span> throw new ServletException(e);<a name="line.233"></a>
-<span class="sourceLineNo">234</span> }<a name="line.234"></a>
-<span class="sourceLineNo">235</span> }<a name="line.235"></a>
-<span class="sourceLineNo">236</span><a name="line.236"></a>
-<span class="sourceLineNo">237</span> /**<a name="line.237"></a>
-<span class="sourceLineNo">238</span> * Adds the specified {@link Var} classes to this config.<a name="line.238"></a>
-<span class="sourceLineNo">239</span> * <p><a name="line.239"></a>
-<span class="sourceLineNo">240</span> * These variables affect the variable resolver returned by {@link RestRequest#getVarResolverSession()} which is<a name="line.240"></a>
-<span class="sourceLineNo">241</span> * used to resolve string variables of the form <js>"$X{...}"</js>.<a name="line.241"></a>
-<span class="sourceLineNo">242</span> * <p><a name="line.242"></a>
-<span class="sourceLineNo">243</span> * By default, this config includes the following variables:<a name="line.243"></a>
-<span class="sourceLineNo">244</span> * <ul class='spaced-list'><a name="line.244"></a>
-<span class="sourceLineNo">245</span> * <li>{@link SystemPropertiesVar}<a name="line.245"></a>
-<span class="sourceLineNo">246</span> * <li>{@link EnvVariablesVar}<a name="line.246"></a>
-<span class="sourceLineNo">247</span> * <li>{@link ConfigFileVar}<a name="line.247"></a>
-<span class="sourceLineNo">248</span> * <li>{@link IfVar}<a name="line.248"></a>
-<span class="sourceLineNo">249</span> * <li>{@link SwitchVar}<a name="line.249"></a>
-<span class="sourceLineNo">250</span> * </ul><a name="line.250"></a>
-<span class="sourceLineNo">251</span> * <p><a name="line.251"></a>
-<span class="sourceLineNo">252</span> * Later during the construction of {@link RestContext}, we add the following variables:<a name="line.252"></a>
-<span class="sourceLineNo">253</span> * <ul><a name="line.253"></a>
-<span class="sourceLineNo">254</span> * <li>{@link LocalizationVar}<a name="line.254"></a>
-<span class="sourceLineNo">255</span> * <li>{@link RequestVar}<a name="line.255"></a>
-<span class="sourceLineNo">256</span> * <li>{@link SerializedRequestAttrVar}<a name="line.256"></a>
-<span class="sourceLineNo">257</span> * <li>{@link ServletInitParamVar}<a name="line.257"></a>
-<span class="sourceLineNo">258</span> * <li>{@link UrlEncodeVar}<a name="line.258"></a>
-<span class="sourceLineNo">259</span> * </ul><a name="line.259"></a>
-<span class="sourceLineNo">260</span> *<a name="line.260"></a>
-<span class="sourceLineNo">261</span> * @param vars The {@link Var} classes to add to this config.<a name="line.261"></a>
-<span class="sourceLineNo">262</span> * @return This object (for method chaining).<a name="line.262"></a>
-<span class="sourceLineNo">263</span> */<a name="line.263"></a>
-<span class="sourceLineNo">264</span> public RestConfig addVars(Class<?>...vars) {<a name="line.264"></a>
-<span class="sourceLineNo">265</span> this.varResolverBuilder.vars(vars);<a name="line.265"></a>
-<span class="sourceLineNo">266</span> return this;<a name="line.266"></a>
-<span class="sourceLineNo">267</span> }<a name="line.267"></a>
-<span class="sourceLineNo">268</span><a name="line.268"></a>
-<span class="sourceLineNo">269</span> /**<a name="line.269"></a>
-<span class="sourceLineNo">270</span> * Adds a var context object to this config.<a name="line.270"></a>
-<span class="sourceLineNo">271</span> * <p><a name="line.271"></a>
-<span class="sourceLineNo">272</span> * Var context objects are read-only objects associated with the variable resolver for<a name="line.272"></a>
-<span class="sourceLineNo">273</span> * vars that require external information.<a name="line.273"></a>
-<span class="sourceLineNo">274</span> * <p><a name="line.274"></a>
-<span class="sourceLineNo">275</span> * For example, the {@link ConfigFileVar} needs access to this resource's {@link ConfigFile} through the {@link ConfigFileVar#SESSION_config}<a name="line.275"></a>
-<span class="sourceLineNo">276</span> * object that can be specified as either a session object (temporary) or context object (permanent).<a name="line.276"></a>
-<span class="sourceLineNo">277</span> * In this case, we call the following code to add it to the context map:<a name="line.277"></a>
-<span class="sourceLineNo">278</span> * <p class='bcode'><a name="line.278"></a>
-<span class="sourceLineNo">279</span> * config.addVarContextObject(<jsf>SESSION_config</jsf>, configFile);<a name="line.279"></a>
-<span class="sourceLineNo">280</span> * </p><a name="line.280"></a>
-<span class="sourceLineNo">281</span> *<a name="line.281"></a>
-<span class="sourceLineNo">282</span> * @param name The context object key (i.e. the name that the Var class looks for).<a name="line.282"></a>
-<span class="sourceLineNo">283</span> * @param object The context object.<a name="line.283"></a>
-<span class="sourceLineNo">284</span> * @return This object (for method chaining).<a name="line.284"></a>
-<span class="sourceLineNo">285</span> */<a name="line.285"></a>
-<span class="sourceLineNo">286</span> public RestConfig addVarContextObject(String name, Object object) {<a name="line.286"></a>
-<span class="sourceLineNo">287</span> this.varResolverBuilder.contextObject(name, object);<a name="line.287"></a>
-<span class="sourceLineNo">288</span> return this;<a name="line.288"></a>
-<span class="sourceLineNo">289</span> }<a name="line.289"></a>
-<span class="sourceLineNo">290</span><a name="line.290"></a>
-<span class="sourceLineNo">291</span> /**<a name="line.291"></a>
-<span class="sourceLineNo">292</span> * Overwrites the default config file with a custom config file.<a name="line.292"></a>
-<span class="sourceLineNo">293</span> * <p><a name="line.293"></a>
-<span class="sourceLineNo">294</span> * By default, the config file is determined using the {@link RestResource#config() @RestResource.config()} annotation.<a name="line.294"></a>
-<span class="sourceLineNo">295</span> * This method allows you to programmatically override it with your own custom config file.<a name="line.295"></a>
-<span class="sourceLineNo">296</span> *<a name="line.296"></a>
-<span class="sourceLineNo">297</span> * @param configFile The new config file.<a name="line.297"></a>
-<span class="sourceLineNo">298</span> * @return This object (for method chaining).<a name="line.298"></a>
-<span class="sourceLineNo">299</span> */<a name="line.299"></a>
-<span class="sourceLineNo">300</span> public RestConfig setConfigFile(ConfigFile configFile) {<a name="line.300"></a>
-<span class="sourceLineNo">301</span> this.configFile = configFile;<a name="line.301"></a>
-<span class="sourceLineNo">302</span> return this;<a name="line.302"></a>
-<span class="sourceLineNo">303</span> }<a name="line.303"></a>
-<span class="sourceLineNo">304</span><a name="line.304"></a>
-<span class="sourceLineNo">305</span> /**<a name="line.305"></a>
-<span class="sourceLineNo">306</span> * Sets a property on this resource.<a name="line.306"></a>
-<span class="sourceLineNo">307</span> * <p><a name="line.307"></a>
-<span class="sourceLineNo">308</span> * This is the programmatic equivalent to the {@link RestResource#properties()} annotation.<a name="line.308"></a>
-<span class="sourceLineNo">309</span> *<a name="line.309"></a>
-<span class="sourceLineNo">310</span> * @param key The property name.<a name="line.310"></a>
-<span class="sourceLineNo">311</span> * @param value The property value.<a name="line.311"></a>
-<span class="sourceLineNo">312</span> * @return This object (for method chaining).<a name="line.312"></a>
-<span class="sourceLineNo">313</span> */<a name="line.313"></a>
-<span class="sourceLineNo">314</span> public RestConfig setProperty(String key, Object value) {<a name="line.314"></a>
-<span class="sourceLineNo">315</span> this.properties.put(key, value);<a name="line.315"></a>
-<span class="sourceLineNo">316</span> return this;<a name="line.316"></a>
-<span class="sourceLineNo">317</span> }<a name="line.317"></a>
-<span class="sourceLineNo">318</span><a name="line.318"></a>
-<span class="sourceLineNo">319</span> /**<a name="line.319"></a>
-<span class="sourceLineNo">320</span> * Sets multiple properties on this resource.<a name="line.320"></a>
-<span class="sourceLineNo">321</span> * <p><a name="line.321"></a>
-<span class="sourceLineNo">322</span> * This is the programmatic equivalent to the {@link RestResource#properties() @RestResource.properties()} annotation.<a name="line.322"></a>
+<span class="sourceLineNo">088</span> pojoSwaps = new ArrayList<Class<?>>(),<a name="line.88"></a>
+<span class="sourceLineNo">089</span> paramResolvers = new ArrayList<Class<?>>();<a name="line.89"></a>
+<span class="sourceLineNo">090</span> SerializerGroupBuilder serializers = new SerializerGroupBuilder();<a name="line.90"></a>
+<span class="sourceLineNo">091</span> ParserGroupBuilder parsers = new ParserGroupBuilder();<a name="line.91"></a>
+<span class="sourceLineNo">092</span> EncoderGroupBuilder encoders = new EncoderGroupBuilder().append(IdentityEncoder.INSTANCE);<a name="line.92"></a>
+<span class="sourceLineNo">093</span> List<Object> converters = new ArrayList<Object>();<a name="line.93"></a>
+<span class="sourceLineNo">094</span> List<Object> guards = new ArrayList<Object>();<a name="line.94"></a>
+<span class="sourceLineNo">095</span> MimetypesFileTypeMap mimeTypes = new MimetypesFileTypeMap();<a name="line.95"></a>
+<span class="sourceLineNo">096</span> Map<String,String> defaultRequestHeaders = new TreeMap<String,String>(String.CASE_INSENSITIVE_ORDER);<a name="line.96"></a>
+<span class="sourceLineNo">097</span> Map<String,Object> defaultResponseHeaders = new LinkedHashMap<String,Object>();<a name="line.97"></a>
+<span class="sourceLineNo">098</span> List<Object> responseHandlers = new ArrayList<Object>();<a name="line.98"></a>
+<span class="sourceLineNo">099</span> List<Object> childResources = new ArrayList<Object>();<a name="line.99"></a>
+<span class="sourceLineNo">100</span> List<MediaType> supportedContentTypes, supportedAcceptTypes;<a name="line.100"></a>
+<span class="sourceLineNo">101</span> List<Object> styleSheets;<a name="line.101"></a>
+<span class="sourceLineNo">102</span> Object favIcon;<a name="line.102"></a>
+<span class="sourceLineNo">103</span> List<Object> staticFiles;<a name="line.103"></a>
+<span class="sourceLineNo">104</span> RestContext parentContext;<a name="line.104"></a>
+<span class="sourceLineNo">105</span> String path, pageTitle, pageText, pageLinks;<a name="line.105"></a>
+<span class="sourceLineNo">106</span> String clientVersionHeader = "X-Client-Version";<a name="line.106"></a>
+<span class="sourceLineNo">107</span><a name="line.107"></a>
+<span class="sourceLineNo">108</span> Object resourceResolver = RestResourceResolver.class;<a name="line.108"></a>
+<span class="sourceLineNo">109</span> Object logger = RestLogger.Normal.class;<a name="line.109"></a>
+<span class="sourceLineNo">110</span> Object callHandler = RestCallHandler.class;<a name="line.110"></a>
+<span class="sourceLineNo">111</span> Object infoProvider = RestInfoProvider.class;<a name="line.111"></a>
+<span class="sourceLineNo">112</span><a name="line.112"></a>
+<span class="sourceLineNo">113</span> /**<a name="line.113"></a>
+<span class="sourceLineNo">114</span> * Constructor.<a name="line.114"></a>
+<span class="sourceLineNo">115</span> * @param config The servlet config passed into the servlet by the servlet container.<a name="line.115"></a>
+<span class="sourceLineNo">116</span> * @param resource The class annotated with <ja>@RestResource</ja>.<a name="line.116"></a>
+<span class="sourceLineNo">117</span> * @throws ServletException Something bad happened.<a name="line.117"></a>
+<span class="sourceLineNo">118</span> */<a name="line.118"></a>
+<span class="sourceLineNo">119</span> RestConfig(ServletConfig config, Class<?> resourceClass, RestContext parentContext) throws ServletException {<a name="line.119"></a>
+<span class="sourceLineNo">120</span> this.inner = config;<a name="line.120"></a>
+<span class="sourceLineNo">121</span> this.parentContext = parentContext;<a name="line.121"></a>
+<span class="sourceLineNo">122</span> try {<a name="line.122"></a>
+<span class="sourceLineNo">123</span><a name="line.123"></a>
+<span class="sourceLineNo">124</span> ConfigFileBuilder cfb = new ConfigFileBuilder();<a name="line.124"></a>
+<span class="sourceLineNo">125</span><a name="line.125"></a>
+<span class="sourceLineNo">126</span> properties = new ObjectMap();<a name="line.126"></a>
+<span class="sourceLineNo">127</span> configFile = cfb.build();<a name="line.127"></a>
+<span class="sourceLineNo">128</span> varResolverBuilder = new VarResolverBuilder()<a name="line.128"></a>
+<span class="sourceLineNo">129</span> .vars(<a name="line.129"></a>
+<span class="sourceLineNo">130</span> SystemPropertiesVar.class,<a name="line.130"></a>
+<span class="sourceLineNo">131</span> EnvVariablesVar.class,<a name="line.131"></a>
+<span class="sourceLineNo">132</span> ConfigFileVar.class,<a name="line.132"></a>
+<span class="sourceLineNo">133</span> IfVar.class,<a name="line.133"></a>
+<span class="sourceLineNo">134</span> SwitchVar.class<a name="line.134"></a>
+<span class="sourceLineNo">135</span> );<a name="line.135"></a>
+<span class="sourceLineNo">136</span><a name="line.136"></a>
+<span class="sourceLineNo">137</span> VarResolver vr = varResolverBuilder.build();<a name="line.137"></a>
+<span class="sourceLineNo">138</span><a name="line.138"></a>
+<span class="sourceLineNo">139</span> Map<Class<?>,RestResource> restResourceAnnotationsParentFirst = ReflectionUtils.findAnnotationsMapParentFirst(RestResource.class, resourceClass);<a name="line.139"></a>
+<span class="sourceLineNo">140</span><a name="line.140"></a>
+<span class="sourceLineNo">141</span> // Find our config file. It's the last non-empty @RestResource.config().<a name="line.141"></a>
+<span class="sourceLineNo">142</span> String configPath = "";<a name="line.142"></a>
+<span class="sourceLineNo">143</span> for (RestResource r : restResourceAnnotationsParentFirst.values())<a name="line.143"></a>
+<span class="sourceLineNo">144</span> if (! r.config().isEmpty())<a name="line.144"></a>
+<span class="sourceLineNo">145</span> configPath = r.config();<a name="line.145"></a>
+<span class="sourceLineNo">146</span> String cf = vr.resolve(configPath);<a name="line.146"></a>
+<span class="sourceLineNo">147</span> if (! cf.isEmpty())<a name="line.147"></a>
+<span class="sourceLineNo">148</span> configFile = cfb.build(cf);<a name="line.148"></a>
+<span class="sourceLineNo">149</span> configFile = configFile.getResolving(vr);<a name="line.149"></a>
+<span class="sourceLineNo">150</span><a name="line.150"></a>
+<span class="sourceLineNo">151</span> // Add our config file to the variable resolver.<a name="line.151"></a>
+<span class="sourceLineNo">152</span> varResolverBuilder.contextObject(ConfigFileVar.SESSION_config, configFile);<a name="line.152"></a>
+<span class="sourceLineNo">153</span> vr = varResolverBuilder.build();<a name="line.153"></a>
+<span class="sourceLineNo">154</span><a name="line.154"></a>
+<span class="sourceLineNo">155</span> // Add our servlet URI to our properties.<a name="line.155"></a>
+<span class="sourceLineNo">156</span> ServletContext ctx = config.getServletContext();<a name="line.156"></a>
+<span class="sourceLineNo">157</span> String ctxPath = ctx.getContextPath();<a name="line.157"></a>
+<span class="sourceLineNo">158</span> // Workaround for bug in Jetty that causes context path to always end in "null".<a name="line.158"></a>
+<span class="sourceLineNo">159</span> if (ctxPath.endsWith("null"))<a name="line.159"></a>
+<span class="sourceLineNo">160</span> ctxPath = ctxPath.substring(0, ctxPath.length()-4);<a name="line.160"></a>
+<span class="sourceLineNo">161</span> properties.put(SERIALIZER_relativeUriBase, ctxPath);<a name="line.161"></a>
+<span class="sourceLineNo">162</span><a name="line.162"></a>
+<span class="sourceLineNo">163</span> // Add the servlet init parameters to our properties.<a name="line.163"></a>
+<span class="sourceLineNo">164</span> for (Enumeration<String> ep = config.getInitParameterNames(); ep.hasMoreElements();) {<a name="line.164"></a>
+<span class="sourceLineNo">165</span> String p = ep.nextElement();<a name="line.165"></a>
+<span class="sourceLineNo">166</span> String initParam = config.getInitParameter(p);<a name="line.166"></a>
+<span class="sourceLineNo">167</span> properties.put(vr.resolve(p), vr.resolve(initParam));<a name="line.167"></a>
+<span class="sourceLineNo">168</span> }<a name="line.168"></a>
+<span class="sourceLineNo">169</span><a name="line.169"></a>
+<span class="sourceLineNo">170</span> // Load stuff from parent-to-child order.<a name="line.170"></a>
+<span class="sourceLineNo">171</span> // This allows child settings to overwrite parent settings.<a name="line.171"></a>
+<span class="sourceLineNo">172</span> for (Map.Entry<Class<?>,RestResource> e : restResourceAnnotationsParentFirst.entrySet()) {<a name="line.172"></a>
+<span class="sourceLineNo">173</span> Class<?> c = e.getKey();<a name="line.173"></a>
+<span class="sourceLineNo">174</span> RestResource r = e.getValue();<a name="line.174"></a>
+<span class="sourceLineNo">175</span> for (Property p : r.properties())<a name="line.175"></a>
+<span class="sourceLineNo">176</span> properties.append(vr.resolve(p.name()), vr.resolve(p.value()));<a name="line.176"></a>
+<span class="sourceLineNo">177</span> addSerializers(r.serializers());<a name="line.177"></a>
+<span class="sourceLineNo">178</span> addParsers(r.parsers());<a name="line.178"></a>
+<span class="sourceLineNo">179</span> addEncoders(r.encoders());<a name="line.179"></a>
+<span class="sourceLineNo">180</span> addDefaultRequestHeaders(r.defaultRequestHeaders());<a name="line.180"></a>
+<span class="sourceLineNo">181</span> addDefaultResponseHeaders(r.defaultResponseHeaders());<a name="line.181"></a>
+<span class="sourceLineNo">182</span> addResponseHandlers(r.responseHandlers());<a name="line.182"></a>
+<span class="sourceLineNo">183</span> addConverters(r.converters());<a name="line.183"></a>
+<span class="sourceLineNo">184</span> addGuards(reverse(r.guards()));<a name="line.184"></a>
+<span class="sourceLineNo">185</span> addChildResources(r.children());<a name="line.185"></a>
+<span class="sourceLineNo">186</span> addBeanFilters(r.beanFilters());<a name="line.186"></a>
+<span class="sourceLineNo">187</span> addPojoSwaps(r.pojoSwaps());<a name="line.187"></a>
+<span class="sourceLineNo">188</span> addParamResolvers(r.paramResolvers());<a name="line.188"></a>
+<span class="sourceLineNo">189</span> if (! r.stylesheet().isEmpty())<a name="line.189"></a>
+<span class="sourceLineNo">190</span> setStyleSheet(c, r.stylesheet());<a name="line.190"></a>
+<span class="sourceLineNo">191</span> if (! r.favicon().isEmpty())<a name="line.191"></a>
+<span class="sourceLineNo">192</span> setFavIcon(c, r.favicon());<a name="line.192"></a>
+<span class="sourceLineNo">193</span> if (! r.staticFiles().isEmpty())<a name="line.193"></a>
+<span class="sourceLineNo">194</span> addStaticFiles(c, r.staticFiles());<a name="line.194"></a>
+<span class="sourceLineNo">195</span> if (! r.path().isEmpty())<a name="line.195"></a>
+<span class="sourceLineNo">196</span> setPath(r.path());<a name="line.196"></a>
+<span class="sourceLineNo">197</span> if (! r.clientVersionHeader().isEmpty())<a name="line.197"></a>
+<span class="sourceLineNo">198</span> setClientVersionHeader(r.clientVersionHeader());<a name="line.198"></a>
+<span class="sourceLineNo">199</span> if (! r.pageTitle().isEmpty())<a name="line.199"></a>
+<span class="sourceLineNo">200</span> setPageTitle(r.pageTitle());<a name="line.200"></a>
+<span class="sourceLineNo">201</span> if (! r.pageText().isEmpty())<a name="line.201"></a>
+<span class="sourceLineNo">202</span> setPageText(r.pageText());<a name="line.202"></a>
+<span class="sourceLineNo">203</span> if (! r.pageLinks().isEmpty())<a name="line.203"></a>
+<span class="sourceLineNo">204</span> setPageLinks(r.pageLinks());<a name="line.204"></a>
+<span class="sourceLineNo">205</span> if (r.resourceResolver() != RestResourceResolver.class)<a name="line.205"></a>
+<span class="sourceLineNo">206</span> setResourceResolver(r.resourceResolver());<a name="line.206"></a>
+<span class="sourceLineNo">207</span> if (r.logger() != RestLogger.Normal.class)<a name="line.207"></a>
+<span class="sourceLineNo">208</span> setLogger(r.logger());<a name="line.208"></a>
+<span class="sourceLineNo">209</span> if (r.callHandler() != RestCallHandler.class)<a name="line.209"></a>
+<span class="sourceLineNo">210</span> setCallHandler(r.callHandler());<a name="line.210"></a>
+<span class="sourceLineNo">211</span> if (r.infoProvider() != RestInfoProvider.class)<a name="line.211"></a>
+<span class="sourceLineNo">212</span> setInfoProvider(r.infoProvider());<a name="line.212"></a>
+<span class="sourceLineNo">213</span> }<a name="line.213"></a>
+<span class="sourceLineNo">214</span><a name="line.214"></a>
+<span class="sourceLineNo">215</span> addResponseHandlers(<a name="line.215"></a>
+<span class="sourceLineNo">216</span> StreamableHandler.class,<a name="line.216"></a>
+<span class="sourceLineNo">217</span> WritableHandler.class,<a name="line.217"></a>
+<span class="sourceLineNo">218</span> ReaderHandler.class,<a name="line.218"></a>
+<span class="sourceLineNo">219</span> InputStreamHandler.class,<a name="line.219"></a>
+<span class="sourceLineNo">220</span> RedirectHandler.class,<a name="line.220"></a>
+<span class="sourceLineNo">221</span> DefaultHandler.class<a name="line.221"></a>
+<span class="sourceLineNo">222</span> );<a name="line.222"></a>
+<span class="sourceLineNo">223</span><a name="line.223"></a>
+<span class="sourceLineNo">224</span> addMimeTypes(<a name="line.224"></a>
+<span class="sourceLineNo">225</span> "text/css css CSS",<a name="line.225"></a>
+<span class="sourceLineNo">226</span> "text/html html htm HTML",<a name="line.226"></a>
+<span class="sourceLineNo">227</span> "text/plain txt text TXT",<a name="line.227"></a>
+<span class="sourceLineNo">228</span> "application/javascript js",<a name="line.228"></a>
+<span class="sourceLineNo">229</span> "image/png png",<a name="line.229"></a>
+<span class="sourceLineNo">230</span> "image/gif gif",<a name="line.230"></a>
+<span class="sourceLineNo">231</span> "application/xml xml XML",<a name="line.231"></a>
+<span class="sourceLineNo">232</span> "application/json json JSON"<a name="line.232"></a>
+<span class="sourceLineNo">233</span> );<a name="line.233"></a>
+<span class="sourceLineNo">234</span> } catch (Exception e) {<a name="line.234"></a>
+<span class="sourceLineNo">235</span> throw new ServletException(e);<a name="line.235"></a>
+<span class="sourceLineNo">236</span> }<a name="line.236"></a>
+<span class="sourceLineNo">237</span> }<a name="line.237"></a>
+<span class="sourceLineNo">238</span><a name="line.238"></a>
+<span class="sourceLineNo">239</span> /**<a name="line.239"></a>
+<span class="sourceLineNo">240</span> * Adds the specified {@link Var} classes to this config.<a name="line.240"></a>
+<span class="sourceLineNo">241</span> * <p><a name="line.241"></a>
+<span class="sourceLineNo">242</span> * These variables affect the variable resolver returned by {@link RestRequest#getVarResolverSession()} which is<a name="line.242"></a>
+<span class="sourceLineNo">243</span> * used to resolve string variables of the form <js>"$X{...}"</js>.<a name="line.243"></a>
+<span class="sourceLineNo">244</span> * <p><a name="line.244"></a>
+<span class="sourceLineNo">245</span> * By default, this config includes the following variables:<a name="line.245"></a>
+<span class="sourceLineNo">246</span> * <ul class='spaced-list'><a name="line.246"></a>
+<span class="sourceLineNo">247</span> * <li>{@link SystemPropertiesVar}<a name="line.247"></a>
+<span class="sourceLineNo">248</span> * <li>{@link EnvVariablesVar}<a name="line.248"></a>
+<span class="sourceLineNo">249</span> * <li>{@link ConfigFileVar}<a name="line.249"></a>
+<span class="sourceLineNo">250</span> * <li>{@link IfVar}<a name="line.250"></a>
+<span class="sourceLineNo">251</span> * <li>{@link SwitchVar}<a name="line.251"></a>
+<span class="sourceLineNo">252</span> * </ul><a name="line.252"></a>
+<span class="sourceLineNo">253</span> * <p><a name="line.253"></a>
+<span class="sourceLineNo">254</span> * Later during the construction of {@link RestContext}, we add the following variables:<a name="line.254"></a>
+<span class="sourceLineNo">255</span> * <ul><a name="line.255"></a>
+<span class="sourceLineNo">256</span> * <li>{@link LocalizationVar}<a name="line.256"></a>
+<span class="sourceLineNo">257</span> * <li>{@link RequestVar}<a name="line.257"></a>
+<span class="sourceLineNo">258</span> * <li>{@link SerializedRequestAttrVar}<a name="line.258"></a>
+<span class="sourceLineNo">259</span> * <li>{@link ServletInitParamVar}<a name="line.259"></a>
+<span class="sourceLineNo">260</span> * <li>{@link UrlEncodeVar}<a name="line.260"></a>
+<span class="sourceLineNo">261</span> * </ul><a name="line.261"></a>
+<span class="sourceLineNo">262</span> *<a name="line.262"></a>
+<span class="sourceLineNo">263</span> * @param vars The {@link Var} classes to add to this config.<a name="line.263"></a>
+<span class="sourceLineNo">264</span> * @return This object (for method chaining).<a name="line.264"></a>
+<span class="sourceLineNo">265</span> */<a name="line.265"></a>
+<span class="sourceLineNo">266</span> public RestConfig addVars(Class<?>...vars) {<a name="line.266"></a>
+<span class="sourceLineNo">267</span> this.varResolverBuilder.vars(vars);<a name="line.267"></a>
+<span class="sourceLineNo">268</span> return this;<a name="line.268"></a>
+<span class="sourceLineNo">269</span> }<a name="line.269"></a>
+<span class="sourceLineNo">270</span><a name="line.270"></a>
+<span class="sourceLineNo">271</span> /**<a name="line.271"></a>
+<span class="sourceLineNo">272</span> * Adds a var context object to this config.<a name="line.272"></a>
+<span class="sourceLineNo">273</span> * <p><a name="line.273"></a>
+<span class="sourceLineNo">274</span> * Var context objects are read-only objects associated with the variable resolver for<a name="line.274"></a>
+<span class="sourceLineNo">275</span> * vars that require external information.<a name="line.275"></a>
+<span class="sourceLineNo">276</span> * <p><a name="line.276"></a>
+<span class="sourceLineNo">277</span> * For example, the {@link ConfigFileVar} needs access to this resource's {@link ConfigFile} through the {@link ConfigFileVar#SESSION_config}<a name="line.277"></a>
+<span class="sourceLineNo">278</span> * object that can be specified as either a session object (temporary) or context object (permanent).<a name="line.278"></a>
+<span class="sourceLineNo">279</span> * In this case, we call the following code to add it to the context map:<a name="line.279"></a>
+<span class="sourceLineNo">280</span> * <p class='bcode'><a name="line.280"></a>
+<span class="sourceLineNo">281</span> * config.addVarContextObject(<jsf>SESSION_config</jsf>, configFile);<a name="line.281"></a>
+<span class="sourceLineNo">282</span> * </p><a name="line.282"></a>
+<span class="sourceLineNo">283</span> *<a name="line.283"></a>
+<span class="sourceLineNo">284</span> * @param name The context object key (i.e. the name that the Var class looks for).<a name="line.284"></a>
+<span class="sourceLineNo">285</span> * @param object The context object.<a name="line.285"></a>
+<span class="sourceLineNo">286</span> * @return This object (for method chaining).<a name="line.286"></a>
+<span class="sourceLineNo">287</span> */<a name="line.287"></a>
+<span class="sourceLineNo">288</span> public RestConfig addVarContextObject(String name, Object object) {<a name="line.288"></a>
+<span class="sourceLineNo">289</span> this.varResolverBuilder.contextObject(name, object);<a name="line.289"></a>
+<span class="sourceLineNo">290</span> return this;<a name="line.290"></a>
+<span class="sourceLineNo">291</span> }<a name="line.291"></a>
+<span class="sourceLineNo">292</span><a name="line.292"></a>
+<span class="sourceLineNo">293</span> /**<a name="line.293"></a>
+<span class="sourceLineNo">294</span> * Overwrites the default config file with a custom config file.<a name="line.294"></a>
+<span class="sourceLineNo">295</span> * <p><a name="line.295"></a>
+<span class="sourceLineNo">296</span> * By default, the config file is determined using the {@link RestResource#config() @RestResource.config()} annotation.<a name="line.296"></a>
+<span class="sourceLineNo">297</span> * This method allows you to programmatically override it with your own custom config file.<a name="line.297"></a>
+<span class="sourceLineNo">298</span> *<a name="line.298"></a>
+<span class="sourceLineNo">299</span> * @param configFile The new config file.<a name="line.299"></a>
+<span class="sourceLineNo">300</span> * @return This object (for method chaining).<a name="line.300"></a>
+<span class="sourceLineNo">301</span> */<a name="line.301"></a>
+<span class="sourceLineNo">302</span> public RestConfig setConfigFile(ConfigFile configFile) {<a name="line.302"></a>
+<span class="sourceLineNo">303</span> this.configFile = configFile;<a name="line.303"></a>
+<span class="sourceLineNo">304</span> return this;<a name="line.304"></a>
+<span class="sourceLineNo">305</span> }<a name="line.305"></a>
+<span class="sourceLineNo">306</span><a name="line.306"></a>
+<span class="sourceLineNo">307</span> /**<a name="line.307"></a>
+<span class="sourceLineNo">308</span> * Sets a property on this resource.<a name="line.308"></a>
+<span class="sourceLineNo">309</span> * <p><a name="line.309"></a>
+<span class="sourceLineNo">310</span> * This is the programmatic equivalent to the {@link RestResource#properties()} annotation.<a name="line.310"></a>
+<span class="sourceLineNo">311</span> *<a name="line.311"></a>
+<span class="sourceLineNo">312</span> * @param key The property name.<a name="line.312"></a>
+<span class="sourceLineNo">313</span> * @param value The property value.<a name="line.313"></a>
+<span class="sourceLineNo">314</span> * @return This object (for method chaining).<a name="line.314"></a>
+<span class="sourceLineNo">315</span> */<a name="line.315"></a>
+<span class="sourceLineNo">316</span> public RestConfig setProperty(String key, Object value) {<a name="line.316"></a>
+<span class="sourceLineNo">317</span> this.properties.put(key, value);<a name="line.317"></a>
+<span class="sourceLineNo">318</span> return this;<a name="line.318"></a>
+<span class="sourceLineNo">319</span> }<a name="line.319"></a>
+<span class="sourceLineNo">320</span><a name="line.320"></a>
+<span class="sourceLineNo">321</span> /**<a name="line.321"></a>
+<span class="sourceLineNo">322</span> * Sets multiple properties on this resource.<a name="line.322"></a>
<span class="sourceLineNo">323</span> * <p><a name="line.323"></a>
-<span class="sourceLineNo">324</span> * Values in the map are added to the existing properties and are overwritten if duplicates are found.<a name="line.324"></a>
-<span class="sourceLineNo">325</span> *<a name="line.325"></a>
-<span class="sourceLineNo">326</span> * @param properties The new properties to add to this config.<a name="line.326"></a>
-<span class="sourceLineNo">327</span> * @return This object (for method chaining).<a name="line.327"></a>
-<span class="sourceLineNo">328</span> */<a name="line.328"></a>
-<span class="sourceLineNo">329</span> public RestConfig setProperties(Map<String,Object> properties) {<a name="line.329"></a>
-<span class="sourceLineNo">330</span> this.properties.putAll(properties);<a name="line.330"></a>
-<span class="sourceLineNo">331</span> return this;<a name="line.331"></a>
-<span class="sourceLineNo">332</span> }<a name="line.332"></a>
-<span class="sourceLineNo">333</span><a name="line.333"></a>
-<span class="sourceLineNo">334</span> /**<a name="line.334"></a>
-<span class="sourceLineNo">335</span> * Adds class-level bean filters to this resource.<a name="line.335"></a>
-<span class="sourceLineNo">336</span> * <p><a name="line.336"></a>
-<span class="sourceLineNo">337</span> * This is the programmatic equivalent to the {@link RestResource#beanFilters() @RestResource.beanFilters()} annotation.<a name="line.337"></a>
+<span class="sourceLineNo">324</span> * This is the programmatic equivalent to the {@link RestResource#properties() @RestResource.properties()} annotation.<a name="line.324"></a>
+<span class="sourceLineNo">325</span> * <p><a name="line.325"></a>
+<span class="sourceLineNo">326</span> * Values in the map are added to the existing properties and are overwritten if duplicates are found.<a name="line.326"></a>
+<span class="sourceLineNo">327</span> *<a name="line.327"></a>
+<span class="sourceLineNo">328</span> * @param properties The new properties to add to this config.<a name="line.328"></a>
+<span class="sourceLineNo">329</span> * @return This object (for method chaining).<a name="line.329"></a>
+<span class="sourceLineNo">330</span> */<a name="line.330"></a>
+<span class="sourceLineNo">331</span> public RestConfig setProperties(Map<String,Object> properties) {<a name="line.331"></a>
+<span class="sourceLineNo">332</span> this.properties.putAll(properties);<a name="line.332"></a>
+<span class="sourceLineNo">333</span> return this;<a name="line.333"></a>
+<span class="sourceLineNo">334</span> }<a name="line.334"></a>
+<span class="sourceLineNo">335</span><a name="line.335"></a>
+<span class="sourceLineNo">336</span> /**<a name="line.336"></a>
+<span class="sourceLineNo">337</span> * Adds class-level bean filters to this resource.<a name="line.337"></a>
<span class="sourceLineNo">338</span> * <p><a name="line.338"></a>
-<span class="sourceLineNo">339</span> * Values are added AFTER those found in the annotation and therefore take precedence over those defined via the annotation.<a name="line.339"></a>
-<span class="sourceLineNo">340</span> *<a name="line.340"></a>
-<span class="sourceLineNo">341</span> * @param beanFilters The bean filters to add to this config.<a name="line.341"></a>
-<span class="sourceLineNo">342</span> * @return This object (for method chaining).<a name="line.342"></a>
-<span class="sourceLineNo">343</span> */<a name="line.343"></a>
-<span class="sourceLineNo">344</span> public RestConfig addBeanFilters(Class<?>...beanFilters) {<a name="line.344"></a>
-<span class="sourceLineNo">345</span> this.beanFilters.addAll(Arrays.asList(beanFilters));<a name="line.345"></a>
-<span class="sourceLineNo">346</span> return this;<a name="line.346"></a>
-<span class="sourceLineNo">347</span> }<a name="line.347"></a>
-<span class="sourceLineNo">348</span><a name="line.348"></a>
-<span class="sourceLineNo">349</span> /**<a name="line.349"></a>
-<span class="sourceLineNo">350</span> * Adds class-level pojo swaps to this resource.<a name="line.350"></a>
-<span class="sourceLineNo">351</span> * <p><a name="line.351"></a>
-<span class="sourceLineNo">352</span> * This is the programmatic equivalent to the {@link RestResource#pojoSwaps() @RestResource.pojoSwaps()} annotation.<a name="line.352"></a>
+<span class="sourceLineNo">339</span> * This is the programmatic equivalent to the {@link RestResource#beanFilters() @RestResource.beanFilters()} annotation.<a name="line.339"></a>
+<span class="sourceLineNo">340</span> * <p><a name="line.340"></a>
+<span class="sourceLineNo">341</span> * Values are added AFTER those found in the annotation and therefore take precedence over those defined via the annotation.<a name="line.341"></a>
+<span class="sourceLineNo">342</span> *<a name="line.342"></a>
+<span class="sourceLineNo">343</span> * @param beanFilters The bean filters to add to this config.<a name="line.343"></a>
+<span class="sourceLineNo">344</span> * @return This object (for method chaining).<a name="line.344"></a>
+<span class="sourceLineNo">345</span> */<a name="line.345"></a>
+<span class="sourceLineNo">346</span> public RestConfig addBeanFilters(Class<?>...beanFilters) {<a name="line.346"></a>
+<span class="sourceLineNo">347</span> this.beanFilters.addAll(Arrays.asList(beanFilters));<a name="line.347"></a>
+<span class="sourceLineNo">348</span> return this;<a name="line.348"></a>
+<span class="sourceLineNo">349</span> }<a name="line.349"></a>
+<span class="sourceLineNo">350</span><a name="line.350"></a>
+<span class="sourceLineNo">351</span> /**<a name="line.351"></a>
+<span class="sourceLineNo">352</span> * Adds class-level pojo swaps to this resource.<a name="line.352"></a>
<span class="sourceLineNo">353</span> * <p><a name="line.353"></a>
-<span class="sourceLineNo">354</span> * Values are added AFTER those found in the annotation and therefore take precedence over those defined via the annotation.<a name="line.354"></a>
-<span class="sourceLineNo">355</span> *<a name="line.355"></a>
-<span class="sourceLineNo">356</span> * @param pojoSwaps The pojo swaps to add to this config.<a name="line.356"></a>
-<span class="sourceLineNo">357</span> * @return This object (for method chaining).<a name="line.357"></a>
-<span class="sourceLineNo">358</span> */<a name="line.358"></a>
-<span class="sourceLineNo">359</span> public RestConfig addPojoSwaps(Class<?>...pojoSwaps) {<a name="line.359"></a>
-<span class="sourceLineNo">360</span> this.pojoSwaps.addAll(Arrays.asList(pojoSwaps));<a name="line.360"></a>
-<span class="sourceLineNo">361</span> return this;<a name="line.361"></a>
-<span class="sourceLineNo">362</span> }<a name="line.362"></a>
-<span class="sourceLineNo">363</span><a name="line.363"></a>
-<span class="sourceLineNo">364</span> /**<a name="line.364"></a>
-<span class="sourceLineNo">365</span> * Adds class-level serializers to this resource.<a name="line.365"></a>
-<span class="sourceLineNo">366</span> * <p><a name="line.366"></a>
-<span class="sourceLineNo">367</span> * This is the programmatic equivalent to the {@link RestResource#serializers() @RestResource.serializers()} annotation.<a name="line.367"></a>
+<span class="sourceLineNo">354</span> * This is the programmatic equivalent to the {@link RestResource#pojoSwaps() @RestResource.pojoSwaps()} annotation.<a name="line.354"></a>
+<span class="sourceLineNo">355</span> * <p><a name="line.355"></a>
+<span class="sourceLineNo">356</span> * Values are added AFTER those found in the annotation and therefore take precedence over those defined via the annotation.<a name="line.356"></a>
+<span class="sourceLineNo">357</span> *<a name="line.357"></a>
+<span class="sourceLineNo">358</span> * @param pojoSwaps The pojo swaps to add to this config.<a name="line.358"></a>
+<span class="sourceLineNo">359</span> * @return This object (for method chaining).<a name="line.359"></a>
+<span class="sourceLineNo">360</span> */<a name="line.360"></a>
+<span class="sourceLineNo">361</span> public RestConfig addPojoSwaps(Class<?>...pojoSwaps) {<a name="line.361"></a>
+<span class="sourceLineNo">362</span> this.pojoSwaps.addAll(Arrays.asList(pojoSwaps));<a name="line.362"></a>
+<span class="sourceLineNo">363</span> return this;<a name="line.363"></a>
+<span class="sourceLineNo">364</span> }<a name="line.364"></a>
+<span class="sourceLineNo">365</span><a name="line.365"></a>
+<span class="sourceLineNo">366</span> /**<a name="line.366"></a>
+<span class="sourceLineNo">367</span> * Adds class-level parameter resolvers to this resource.<a name="line.367"></a>
<span class="sourceLineNo">368</span> * <p><a name="line.368"></a>
-<span class="sourceLineNo">369</span> * Values are added AFTER those found in the annotation and therefore take precedence over those defined via the annotation.<a name="line.369"></a>
+<span class="sourceLineNo">369</span> * This is the programmatic equivalent to the {@link RestResource#paramResolvers() @RestResource.paramResolvers()} annotation.<a name="line.369"></a>
<span class="sourceLineNo">370</span> *<a name="line.370"></a>
-<span class="sourceLineNo">371</span> * @param serializers The serializer classes to add to this config.<a name="line.371"></a>
+<span class="sourceLineNo">371</span> * @param paramResolvers The parameter resolvers to add to this config.<a name="line.371"></a>
<span class="sourceLineNo">372</span> * @return This object (for method chaining).<a name="line.372"></a>
<span class="sourceLineNo">373</span> */<a name="line.373"></a>
-<span class="sourceLineNo">374</span> public RestConfig addSerializers(Class<?>...serializers) {<a name="line.374"></a>
-<span class="sourceLineNo">375</span> this.serializers.append(serializers);<a name="line.375"></a>
+<span class="sourceLineNo">374</span> public RestConfig addParamResolvers(Class<? extends RestParam>...paramResolvers) {<a name="line.374"></a>
+<span class="sourceLineNo">375</span> this.paramResolvers.addAll(Arrays.asList(paramResolvers));<a name="line.375"></a>
<span class="sourceLineNo">376</span> return this;<a name="line.376"></a>
<span class="sourceLineNo">377</span> }<a name="line.377"></a>
<span class="sourceLineNo">378</span><a name="line.378"></a>
<span class="sourceLineNo">379</span> /**<a name="line.379"></a>
<span class="sourceLineNo">380</span> * Adds class-level serializers to this resource.<a name="line.380"></a>
<span class="sourceLineNo">381</span> * <p><a name="line.381"></a>
-<span class="sourceLineNo">382</span> * Same as {@link #addSerializers(Class...)} except allows you to pass in serializer instances.<a name="line.382"></a>
-<span class="sourceLineNo">383</span> * The actual serializer ends up being the result of this operation using the bean filters, pojo swaps, and properties on this config:<a name="line.383"></a>
-<span class="sourceLineNo">384</span> * <p class='bcode'><a name="line.384"></a>
-<span class="sourceLineNo">385</span> * serializer = serializer.builder().beanFilters(beanFilters).pojoSwaps(pojoSwaps).properties(properties).build();<a name="line.385"></a>
-<span class="sourceLineNo">386</span> * </p><a name="line.386"></a>
-<span class="sourceLineNo">387</span> * <p><a name="line.387"></a>
-<span class="sourceLineNo">388</span> * Values are added AFTER those found in the annotation and therefore take precedence over those defined via the annotation.<a name="line.388"></a>
-<span class="sourceLineNo">389</span> *<a name="line.389"></a>
-<span class="sourceLineNo">390</span> * @param serializers The serializers to add to this config.<a name="line.390"></a>
-<span class="sourceLineNo">391</span> * @return This object (for method chaining).<a name="line.391"></a>
-<span class="sourceLineNo">392</span> */<a name="line.392"></a>
-<span class="sourceLineNo">393</span> public RestConfig addSerializers(Serializer...serializers) {<a name="line.393"></a>
-<span class="sourceLineNo">394</span> this.serializers.append(serializers);<a name="line.394"></a>
-<span class="sourceLineNo">395</span> return this;<a name="line.395"></a>
-<span class="sourceLineNo">396</span> }<a name="line.396"></a>
-<span class="sourceLineNo">397</span><a name="line.397"></a>
-<span class="sourceLineNo">398</span> /**<a name="line.398"></a>
-<span class="sourceLineNo">399</span> * Adds class-level parsers to this resource.<a name="line.399"></a>
-<span class="sourceLineNo">400</span> * <p><a name="line.400"></a>
-<span class="sourceLineNo">401</span> * This is the programmatic equivalent to the {@link RestResource#parsers() @RestResource.parsers()} annotation.<a name="line.401"></a>
+<span class="sourceLineNo">382</span> * This is the programmatic equivalent to the {@link RestResource#serializers() @RestResource.serializers()} annotation.<a name="line.382"></a>
+<span class="sourceLineNo">383</span> * <p><a name="line.383"></a>
+<span class="sourceLineNo">384</span> * Values are added AFTER those found in the annotation and therefore take precedence over those defined via the annotation.<a name="line.384"></a>
+<span class="sourceLineNo">385</span> *<a name="line.385"></a>
+<span class="sourceLineNo">386</span> * @param serializers The serializer classes to add to this config.<a name="line.386"></a>
+<span class="sourceLineNo">387</span> * @return This object (for method chaining).<a name="line.387"></a>
+<span class="sourceLineNo">388</span> */<a name="line.388"></a>
+<span class="sourceLineNo">389</span> public RestConfig addSerializers(Class<?>...serializers) {<a name="line.389"></a>
+<span class="sourceLineNo">390</span> this.serializers.append(serializers);<a name="line.390"></a>
+<span class="sourceLineNo">391</span> return this;<a name="line.391"></a>
+<span class="sourceLineNo">392</span> }<a name="line.392"></a>
+<span class="sourceLineNo">393</span><a name="line.393"></a>
+<span class="sourceLineNo">394</span> /**<a name="line.394"></a>
+<span class="sourceLineNo">395</span> * Adds class-level serializers to this resource.<a name="line.395"></a>
+<span class="sourceLineNo">396</span> * <p><a name="line.396"></a>
+<span class="sourceLineNo">397</span> * Same as {@link #addSerializers(Class...)} except allows you to pass in serializer instances.<a name="line.397"></a>
+<span class="sourceLineNo">398</span> * The actual serializer ends up being the result of this operation using the bean filters, pojo swaps, and properties on this config:<a name="line.398"></a>
+<span class="sourceLineNo">399</span> * <p class='bcode'><a name="line.399"></a>
+<span class="sourceLineNo">400</span> * serializer = serializer.builder().beanFilters(beanFilters).pojoSwaps(pojoSwaps).properties(properties).build();<a name="line.400"></a>
+<span class="sourceLineNo">401</span> * </p><a name="line.401"></a>
<span class="sourceLineNo">402</span> * <p><a name="line.402"></a>
<span class="sourceLineNo">403</span> * Values are added AFTER those found in the annotation and therefore take precedence over those defined via the annotation.<a name="line.403"></a>
<span class="sourceLineNo">404</span> *<a name="line.404"></a>
-<span class="sourceLineNo">405</span> * @param parsers The parser classes to add to this config.<a name="line.405"></a>
+<span class="sourceLineNo">405</span> * @param serializers The serializers to add to this config.<a name="line.405"></a>
<span class="sourceLineNo">406</span> * @return This object (for method chaining).<a name="line.406"></a>
<span class="sourceLineNo">407</span> */<a name="line.407"></a>
-<span class="sourceLineNo">408</span> public RestConfig addParsers(Class<?>...parsers) {<a name="line.408"></a>
-<span class="sourceLineNo">409</span> this.parsers.append(parsers);<a name="line.409"></a>
+<span class="sourceLineNo">408</span> public RestConfig addSerializers(Serializer...serializers) {<a name="line.408"></a>
+<span class="sourceLineNo">409</span> this.serializers.append(serializers);<a name="line.409"></a>
<span class="sourceLineNo">410</span> return this;<a name="line.410"></a>
<span class="sourceLineNo">411</span> }<a name="line.411"></a>
<span class="sourceLineNo">412</span><a name="line.412"></a>
<span class="sourceLineNo">413</span> /**<a name="line.413"></a>
<span class="sourceLineNo">414</span> * Adds class-level parsers to this resource.<a name="line.414"></a>
<span class="sourceLineNo">415</span> * <p><a name="line.415"></a>
-<span class="sourceLineNo">416</span> * Same as {@link #addParsers(Class...)} except allows you to pass in parser instances.<a name="line.416"></a>
-<span class="sourceLineNo">417</span> * The actual parser ends up being the result of this operation using the bean filters, pojo swaps, and properties on this config:<a name="line.417"></a>
-<span class="sourceLineNo">418</span> * <p class='bcode'><a name="line.418"></a>
-<span class="sourceLineNo">419</span> * parser = parser.builder().beanFilters(beanFilters).pojoSwaps(pojoSwaps).properties(properties).build();<a name="line.419"></a>
-<span class="sourceLineNo">420</span> * </p><a name="line.420"></a>
-<span class="sourceLineNo">421</span> * <p><a name="line.421"></a>
-<span class="sourceLineNo">422</span> * Values are added AFTER those found in the annotation and therefore take precedence over those defined via the annotation.<a name="line.422"></a>
-<span class="sourceLineNo">423</span> *<a name="line.423"></a>
-<span class="sourceLineNo">424</span> * @param parsers The parsers to add to this config.<a name="line.424"></a>
-<span class="sourceLineNo">425</span> * @return This object (for method chaining).<a name="line.425"></a>
-<span class="sourceLineNo">426</span> */<a name="line.426"></a>
-<span class="sourceLineNo">427</span> public RestConfig addParsers(Parser...parsers) {<a name="line.427"></a>
-<span class="sourceLineNo">428</span> this.parsers.append(parsers);<a name="line.428"></a>
-<span class="sourceLineNo">429</span> return this;<a name="line.429"></a>
-<span class="sourceLineNo">430</span> }<a name="line.430"></a>
-<span class="sourceLineNo">431</span><a name="line.431"></a>
-<span class="sourceLineNo">432</span> /**<a name="line.432"></a>
-<span class="sourceLineNo">433</span> * Adds class-level encoders to this resource.<a name="line.433"></a>
-<span class="sourceLineNo">434</span> * <p><a name="line.434"></a>
-<span class="sourceLineNo">435</span> * This is the programmatic equivalent to the {@link RestResource#encoders() @RestResource.encoders()} annotation.<a name="line.435"></a>
+<span class="sourceLineNo">416</span> * This is the programmatic equivalent to the {@link RestResource#parsers() @RestResource.parsers()} annotation.<a name="line.416"></a>
+<span class="sourceLineNo">417</span> * <p><a name="line.417"></a>
+<span class="sourceLineNo">418</span> * Values are added AFTER those found in the annotation and therefore take precedence over those defined via the annotation.<a name="line.418"></a>
+<span class="sourceLineNo">419</span> *<a name="line.419"></a>
+<span class="sourceLineNo">420</span> * @param parsers The parser classes to add to this config.<a name="line.420"></a>
+<span class="sourceLineNo">421</span> * @return This object (for method chaining).<a name="line.421"></a>
+<span class="sourceLineNo">422</span> */<a name="line.422"></a>
+<span class="sourceLineNo">423</span> public RestConfig addParsers(Class<?>...parsers) {<a name="line.423"></a>
+<span class="sourceLineNo">424</span> this.parsers.append(parsers);<a name="line.424"></a>
+<span class="sourceLineNo">425</span> return this;<a name="line.425"></a>
+<span class="sourceLineNo">426</span> }<a name="line.426"></a>
+<span class="sourceLineNo">427</span><a name="line.427"></a>
+<span class="sourceLineNo">428</span> /**<a name="line.428"></a>
+<span class="sourceLineNo">429</span> * Adds class-level parsers to this resource.<a name="line.429"></a>
+<span class="sourceLineNo">430</span> * <p><a name="line.430"></a>
+<span class="sourceLineNo">431</span> * Same as {@link #addParsers(Class...)} except allows you to pass in parser instances.<a name="line.431"></a>
+<span class="sourceLineNo">432</span> * The actual parser ends up being the result of this operation using the bean filters, pojo swaps, and properties on this config:<a name="line.432"></a>
+<span class="sourceLineNo">433</span> * <p class='bcode'><a name="line.433"></a>
+<span class="sourceLineNo">434</span> * parser = parser.builder().beanFilters(beanFilters).pojoSwaps(pojoSwaps).properties(properties).build();<a name="line.434"></a>
+<span class="sourceLineNo">435</span> * </p><a name="line.435"></a>
<span class="sourceLineNo">436</span> * <p><a name="line.436"></a>
<span class="sourceLineNo">437</span> * Values are added AFTER those found in the annotation and therefore take precedence over those defined via the annotation.<a name="line.437"></a>
-<span class="sourceLineNo">438</span> * <p><a name="line.438"></a>
-<span class="sourceLineNo">439</span> * By default, only the {@link IdentityEncoder} is included in this list.<a name="line.439"></a>
-<span class="sourceLineNo">440</span> *<a name="line.440"></a>
-<span class="sourceLineNo">441</span> * @param encoders The parser classes to add to this config.<a name="line.441"></a>
-<span class="sourceLineNo">442</span> * @return This object (for method chaining).<a name="line.442"></a>
-<span class="sourceLineNo">443</span> */<a name="line.443"></a>
-<span class="sourceLineNo">444</span> public RestConfig addEncoders(Class<?>...encoders) {<a name="line.444"></a>
-<span class="sourceLineNo">445</span> this.encoders.append(encoders);<a name="line.445"></a>
-<span class="sourceLineNo">446</span> return this;<a name="line.446"></a>
-<span class="sourceLineNo">447</span> }<a name="line.447"></a>
-<span class="sourceLineNo">448</span><a name="line.448"></a>
-<span class="sourceLineNo">449</span> /**<a name="line.449"></a>
-<span class="sourceLineNo">450</span> * Adds class-level encoders to this resource.<a name="line.450"></a>
+<span class="sourceLineNo">438</span> *<a name="line.438"></a>
+<span class="sourceLineNo">439</span> * @param parsers The parsers to add to this config.<a name="line.439"></a>
+<span class="sourceLineNo">440</span> * @return This object (for method chaining).<a name="line.440"></a>
+<span class="sourceLineNo">441</span> */<a name="line.441"></a>
+<span class="sourceLineNo">442</span> public RestConfig addParsers(Parser...parsers) {<a name="line.442"></a>
+<span class="sourceLineNo">443</span> this.parsers.append(parsers);<a name="line.443"></a>
+<span class="sourceLineNo">444</span> return this;<a name="line.444"></a>
+<span class="sourceLineNo">445</span> }<a name="line.445"></a>
+<span class="sourceLineNo">446</span><a name="line.446"></a>
+<span class="sourceLineNo">447</span> /**<a name="line.447"></a>
+<span class="sourceLineNo">448</span> * Adds class-level encoders to this resource.<a name="line.448"></a>
+<span class="sourceLineNo">449</span> * <p><a name="line.449"></a>
+<span class="sourceLineNo">450</span> * This is the programmatic equivalent to the {@link RestResource#encoders() @RestResource.encoders()} annotation.<a name="line.450"></a>
<span class="sourceLineNo">451</span> * <p><a name="line.451"></a>
-<span class="sourceLineNo">452</span> * Same as {@link #addEncoders(Class...)} except allows you to pass in encoder instances.<a name="line.452"></a>
-<span class="sourceLineNo">453</span> *<a name="line.453"></a>
-<span class="sourceLineNo">454</span> * @param encoders The encoders to add to this config.<a name="line.454"></a>
-<span class="sourceLineNo">455</span> * @return This object (for method chaining).<a name="line.455"></a>
-<span class="sourceLineNo">456</span> */<a name="line.456"></a>
-<span class="sourceLineNo">457</span> public RestConfig addEncoders(Encoder...encoders) {<a name="line.457"></a>
-<span class="sourceLineNo">458</span> this.encoders.append(encoders);<a name="line.458"></a>
-<span class="sourceLineNo">459</span> return this;<a name="line.459"></a>
-<span class="sourceLineNo">460</span> }<a name="line.460"></a>
-<span class="sourceLineNo">461</span><a name="line.461"></a>
-<span class="sourceLineNo">462</span> /**<a name="line.462"></a>
-<span class="sourceLineNo">463</span> * Adds class-level converters to this resource.<a name="line.463"></a>
-<span class="sourceLineNo">464</span> * <p><a name="line.464"></a>
-<span class="sourceLineNo">465</span> * This is the programmatic equivalent to the {@link RestResource#converters() @RestResource.converters()} annotation.<a name="line.465"></a>
+<span class="sourceLineNo">452</span> * Values are added AFTER those found in the annotation and therefore take precedence over those defined via the annotation.<a name="line.452"></a>
+<span class="sourceLineNo">453</span> * <p><a name="line.453"></a>
+<span class="sourceLineNo">454</span> * By default, only the {@link IdentityEncoder} is included in this list.<a name="line.454"></a>
+<span class="sourceLineNo">455</span> *<a name="line.455"></a>
+<span class="sourceLineNo">456</span> * @param encoders The parser classes to add to this config.<a name="line.456"></a>
+<span class="sourceLineNo">457</span> * @return This object (for method chaining).<a name="line.457"></a>
+<span class="sourceLineNo">458</span> */<a name="line.458"></a>
+<span class="sourceLineNo">459</span> public RestConfig addEncoders(Class<?>...encoders) {<a name="line.459"></a>
+<span class="sourceLineNo">460</span> this.encoders.append(encoders);<a name="line.460"></a>
+<span class="sourceLineNo">461</span> return this;<a name="line.461"></a>
+<span class="sourceLineNo">462</span> }<a name="line.462"></a>
+<span class="sourceLineNo">463</span><a name="line.463"></a>
+<span class="sourceLineNo">464</span> /**<a name="line.464"></a>
+<span class="sourceLineNo">465</span> * Adds class-level encoders to this resource.<a name="line.465"></a>
<span class="sourceLineNo">466</span> * <p><a name="line.466"></a>
-<span class="sourceLineNo">467</span> * Values are added AFTER those found in the annotation and therefore take precedence over those defined via the annotation.<a name="line.467"></a>
-<span class="sourceLineNo">468</span> * <p><a name="line.468"></a>
-<span class="sourceLineNo">469</span> * By default, this config includes the following converters:<a name="line.469"></a>
-<span class="sourceLineNo">470</span> * <ul class='spaced-list'><a name="line.470"></a>
-<span class="sourceLineNo">471</span> * <li>{@link StreamableHandler}<a name="line.471"></a>
-<span class="sourceLineNo">472</span> * <li>{@link WritableHandler}<a name="line.472"></a>
-<span class="sourceLineNo">473</span> * <li>{@link ReaderHandler}<a name="line.473"></a>
-<span class="sourceLineNo">474</span> * <li>{@link InputStreamHandler}<a name="line.474"></a>
-<span class="sourceLineNo">475</span> * <li>{@link RedirectHandler}<a name="line.475"></a>
-<span class="sourceLineNo">476</span> * <li>{@link DefaultHandler}<a name="line.476"></a>
-<span class="sourceLineNo">477</span> * </ul><a name="line.477"></a>
-<span class="sourceLineNo">478</span> *<a name="line.478"></a>
-<span class="sourceLineNo">479</span> * @param converters The converter classes to add to this config.<a name="line.479"></a>
-<span class="sourceLineNo">480</span> * @return This object (for method chaining).<a name="line.480"></a>
-<span class="sourceLineNo">481</span> */<a name="line.481"></a>
-<span class="sourceLineNo">482</span> public RestConfig addConverters(Class<?>...converters) {<a name="line.482"></a>
-<span class="sourceLineNo">483</span> this.converters.addAll(Arrays.asList(converters));<a name="line.483"></a>
-<span class="sourceLineNo">484</span> return this;<a name="line.484"></a>
-<span class="sourceLineNo">485</span> }<a name="line.485"></a>
-<span class="sourceLineNo">486</span><a name="line.486"></a>
-<span class="sourceLineNo">487</span> /**<a name="line.487"></a>
-<span class="sourceLineNo">488</span> * Adds class-level encoders to this resource.<a name="line.488"></a>
-<span class="sourceLineNo">489</span> * <p><a name="line.489"></a>
-<span class="sourceLineNo">490</span> * Same as {@link #addConverters(Class...)} except allows you to pass in converter instances.<a name="line.490"></a>
-<span class="sourceLineNo">491</span> *<a name="line.491"></a>
-<span class="sourceLineNo">492</span> * @param converters The converters to add to this config.<a name="line.492"></a>
-<span class="sourceLineNo">493</span> * @return This object (for method chaining).<a name="line.493"></a>
-<span class="sourceLineNo">494</span> */<a name="line.494"></a>
-<span class="sourceLineNo">495</span> public RestConfig addConverters(RestConverter...converters) {<a name="line.495"></a>
-<span class="sourceLineNo">496</span> this.converters.addAll(Arrays.asList(converters));<a name="line.496"></a>
-<span class="sourceLineNo">497</span> return this;<a name="line.497"></a>
-<span class="sourceLineNo">498</span> }<a name="line.498"></a>
-<span class="sourceLineNo">499</span><a name="line.499"></a>
-<span class="sourceLineNo">500</span> /**<a name="line.500"></a>
-<span class="sourceLineNo">501</span> * Adds class-level guards to this resource.<a name="line.501"></a>
-<span class="sourceLineNo">502</span> * <p><a name="line.502"></a>
-<span class="sourceLineNo">503</span> * This is the programmatic equivalent to the {@link RestResource#guards() @RestResource.guards()} annotation.<a name="line.503"></a>
+<span class="sourceLineNo">467</span> * Same as {@link #addEncoders(Class...)} except allows you to pass in encoder instances.<a name="line.467"></a>
+<span class="sourceLineNo">468</span> *<a name="line.468"></a>
+<span class="sourceLineNo">469</span> * @param encoders The encoders to add to this config.<a name="line.469"></a>
+<span class="sourceLineNo">470</span> * @return This object (for method chaining).<a name="line.470"></a>
+<span class="sourceLineNo">471</span> */<a name="line.471"></a>
+<span class="sourceLineNo">472</span> public RestConfig addEncoders(Encoder...encoders) {<a name="line.472"></a>
+<span class="sourceLineNo">473</span> this.encoders.append(encoders);<a name="line.473"></a>
+<span class="sourceLineNo">474</span> return this;<a name="line.474"></a>
+<span class="sourceLineNo">475</span> }<a name="line.475"></a>
+<span class="sourceLineNo">476</span><a name="line.476"></a>
+<span class="sourceLineNo">477</span> /**<a name="line.477"></a>
+<span class="sourceLineNo">478</span> * Adds class-level converters to this resource.<a name="line.478"></a>
+<span class="sourceLineNo">479</span> * <p><a name="line.479"></a>
+<span class="sourceLineNo">480</span> * This is the programmatic equivalent to the {@link RestResource#converters() @RestResource.converters()} annotation.<a name="line.480"></a>
+<span class="sourceLineNo">481</span> * <p><a name="line.481"></a>
+<span class="sourceLineNo">482</span> * Values are added AFTER those found in the annotation and therefore take precedence over those defined via the annotation.<a name="line.482"></a>
+<span class="sourceLineNo">483</span> * <p><a name="line.483"></a>
+<span class="sourceLineNo">484</span> * By default, this config includes the following converters:<a name="line.484"></a>
+<span class="sourceLineNo">485</span> * <ul class='spaced-list'><a name="line.485"></a>
+<span class="sourceLineNo">486</span> * <li>{@link StreamableHandler}<a name="line.486"></a>
+<span class="sourceLineNo">487</span> * <li>{@link WritableHandler}<a name="line.487"></a>
+<span class="sourceLineNo">488</span> * <li>{@link ReaderHandler}<a name="line.488"></a>
+<span class="sourceLineNo">489</span> * <li>{@link InputStreamHandler}<a name="line.489"></a>
+<span class="sourceLineNo">490</span> * <li>{@link RedirectHandler}<a name="line.490"></a>
+<span class="sourceLineNo">491</span> * <li>{@link DefaultHandler}<a name="line.491"></a>
+<span class="sourceLineNo">492</span> * </ul><a name="line.492"></a>
+<span class="sourceLineNo">493</span> *<a name="line.493"></a>
+<span class="sourceLineNo">494</span> * @param converters The converter classes to add to this config.<a name="line.494"></a>
+<span class="sourceLineNo">495</span> * @return This object (for method chaining).<a name="line.495"></a>
+<span class="sourceLineNo">496</span> */<a name="line.496"></a>
+<span class="sourceLineNo">497</span> public RestConfig addConverters(Class<?>...converters) {<a name="line.497"></a>
+<span class="sourceLineNo">498</span> this.converters.addAll(Arrays.asList(converters));<a name="line.498"></a>
+<span class="sourceLineNo">499</span> return this;<a name="line.499"></a>
+<span class="sourceLineNo">500</span> }<a name="line.500"></a>
+<span class="sourceLineNo">501</span><a name="line.501"></a>
+<span class="sourceLineNo">502</span> /**<a name="line.502"></a>
+<span class="sourceLineNo">503</span> * Adds class-level encoders to this resource.<a name="line.503"></a>
<span class="sourceLineNo">504</span> * <p><a name="line.504"></a>
-<span class="sourceLineNo">505</span> * Values are added AFTER those found in the annotation and therefore take precedence over those defined via the annotation.<a name="line.505"></a>
+<span class="sourceLineNo">505</span> * Same as {@link #addConverters(Class...)} except allows you to pass in converter instances.<a name="line.505"></a>
<span class="sourceLineNo">506</span> *<a name="line.506"></a>
-<span class="sourceLineNo">507</span> * @param guards The guard classes to add to this config.<a name="line.507"></a>
+<span class="sourceLineNo">507</span> * @param converters The converters to add to this config.<a name="line.507"></a>
<span class="sourceLineNo">508</span> * @return This object (for method chaining).<a name="line.508"></a>
<span class="sourceLineNo">509</span> */<a name="line.509"></a>
-<span class="sourceLineNo">510</span> public RestConfig addGuards(Class<?>...guards) {<a name="line.510"></a>
-<span class="sourceLineNo">511</span> this.guards.addAll(Arrays.asList(guards));<a name="line.511"></a>
+<span class="sourceLineNo">510</span> public RestConfig addConverters(RestConverter...converters) {<a name="line.510"></a>
+<span class="sourceLineNo">511</span> this.converters.addAll(Arrays.asList(converters));<a name="line.511"></a>
<span class="sourceLineNo">512</span> return this;<a name="line.512"></a>
<span class="sourceLineNo">513</span> }<a name="line.513"></a>
<span class="sourceLineNo">514</span><a name="line.514"></a>
<span class="sourceLineNo">515</span> /**<a name="line.515"></a>
<span class="sourceLineNo">516</span> * Adds class-level guards to this resource.<a name="line.516"></a>
<span class="sourceLineNo">517</span> * <p><a name="line.517"></a>
-<span class="sourceLineNo">518</span> * Same as {@link #addGuards(Class...)} except allows you to pass in guard instances.<a name="line.518"></a>
-<span class="sourceLineNo">519</span> *<a name="line.519"></a>
-<span class="sourceLineNo">520</span> * @param guards The guards to add to this config.<a name="line.520"></a>
-<span class="sourceLineNo">521</span> * @return This object (for method chaining).<a name="line.521"></a>
-<span class="sourceLineNo">522</span> */<a name="line.522"></a>
-<span class="sourceLineNo">523</span> public RestConfig addGuards(RestGuard...guards) {<a name="line.523"></a>
-<span class="sourceLineNo">524</span> this.guards.addAll(Arrays.asList(guards));<a name="line.524"></a>
-<span class="sourceLineNo">525</span> return this;<a name="line.525"></a>
-<span class="sourceLineNo">526</span> }<a name="line.526"></a>
-<span class="sourceLineNo">527</span><a name="line.527"></a>
-<span class="sourceLineNo">528</span> /**<a name="line.528"></a>
-<span class="sourceLineNo">529</span> * Adds MIME-type definitions.<a name="line.529"></a>
-<span class="sourceLineNo">530</span> * <p><a name="line.530"></a>
-<span class="sourceLineNo">531</span> * These definitions are used in the following locations for setting the media type on responses:<a name="line.531"></a>
-<span class="sourceLineNo">532</span> * <ul><a name="line.532"></a>
-<span class="sourceLineNo">533</span> * <li>{@link RestRequest#getReaderResource(String)}<a name="line.533"></a>
-<span class="sourceLineNo">534</span> * <li>Static files resolved through {@link RestResource#staticFiles()}<a name="line.534"></a>
-<span class="sourceLineNo">535</span> * </ul><a name="line.535"></a>
-<span class="sourceLineNo">536</span> * <p><a name="line.536"></a>
-<span class="sourceLineNo">537</span> * Refer to {@link MimetypesFileTypeMap#addMimeTypes(String)} for an explanation of the format.<a name="line.537"></a>
-<span class="sourceLineNo">538</span> * <p><a name="line.538"></a>
-<span class="sourceLineNo">539</span> * By default, this config includes the following mime-type definitions:<a name="line.539"></a>
-<span class="sourceLineNo">540</span> * <ul class='spaced-list'><a name="line.540"></a>
-<span class="sourceLineNo">541</span> * <li><js>"text/css css CSS"</js><a name="line.541"></a>
-<span class="sourceLineNo">542</span> * <li><js>"text/html html htm HTML"</js><a name="line.542"></a>
-<span class="sourceLineNo">543</span> * <li><js>"text/plain txt text TXT"</js><a name="line.543"></a>
-<span class="sourceLineNo">544</span> * <li><js>"application/javascript js"</js><a name="line.544"></a>
-<span class="sourceLineNo">545</span> * <li><js>"image/png png"</js><a name="line.545"></a>
-<span class="sourceLineNo">546</span> * <li><js>"image/gif gif"</js><a name="line.546"></a>
-<span class="sourceLineNo">547</span> * <li><js>"application/xml xml XML"</js><a name="line.547"></a>
-<span class="sourceLineNo">548</span> * <li><js>"application/json json JSON"</js><a name="line.548"></a>
-<span class="sourceLineNo">549</span> * </ul><a name="line.549"></a>
-<span class="sourceLineNo">550</span> *<a name="line.550"></a>
-<span class="sourceLineNo">551</span> * @param mimeTypes The MIME-types to add to this config.<a name="line.551"></a>
-<span class="sourceLineNo">552</span> * @return This object (for method chaining).<a name="line.552"></a>
-<span class="sourceLineNo">553</span> */<a name="line.553"></a>
-<span class="sourceLineNo">554</span> public RestConfig addMimeTypes(String...mimeTypes) {<a name="line.554"></a>
-<span class="sourceLineNo">555</span> for (St
<TRUNCATED>
[24/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/urlencoding/UrlEncodingParser.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/urlencoding/UrlEncodingParser.html b/content/site/apidocs/org/apache/juneau/urlencoding/UrlEncodingParser.html
index 3a14955..9de67ca 100644
--- a/content/site/apidocs/org/apache/juneau/urlencoding/UrlEncodingParser.html
+++ b/content/site/apidocs/org/apache/juneau/urlencoding/UrlEncodingParser.html
@@ -283,7 +283,8 @@ extends <a href="../../../../org/apache/juneau/uon/UonParser.html" title="class
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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="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/urlencoding/UrlEncodingParser.html#parseIntoSimpleMap-java.lang.String-">parseIntoSimpleMap</a></span>(<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> qs)</code>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingParser.html#parseIntoSimpleMap-java.lang.String-java.util.Map-">parseIntoSimpleMap</a></span>(<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> qs,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]> map)</code>
<div class="block">Parse a URL query string into a simple map of key/value pairs.</div>
</td>
</tr>
@@ -439,18 +440,20 @@ extends <a href="../../../../org/apache/juneau/uon/UonParser.html" title="class
</dl>
</li>
</ul>
-<a name="parseIntoSimpleMap-java.lang.String-">
+<a name="parseIntoSimpleMap-java.lang.String-java.util.Map-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseIntoSimpleMap</h4>
-<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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="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/urlencoding/UrlEncodingParser.html#line.339">parseIntoSimpleMap</a>(<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> qs)
+<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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="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/urlencoding/UrlEncodingParser.html#line.340">parseIntoSimpleMap</a>(<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> qs,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]> map)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
<div class="block">Parse a URL query string into a simple map of key/value pairs.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>qs</code> - The query string to parse.</dd>
+<dd><code>map</code> - The map to parse into. If <jk>null</jk>, then a new <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true" title="class or interface in java.util"><code>TreeMap</code></a> will be used.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A sorted <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true" title="class or interface in java.util"><code>TreeMap</code></a> of query string entries.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
@@ -464,7 +467,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonParser.html" title="class
<ul class="blockList">
<li class="blockList">
<h4>parsePart</h4>
-<pre>public <T> T <a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingParser.html#line.430">parsePart</a>(<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> in,
+<pre>public <T> T <a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingParser.html#line.431">parsePart</a>(<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> in,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> type,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>... args)
throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
@@ -490,7 +493,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonParser.html" title="class
<ul class="blockList">
<li class="blockList">
<h4>parsePart</h4>
-<pre>public <T> T <a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingParser.html#line.444">parsePart</a>(<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> in,
+<pre>public <T> T <a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingParser.html#line.445">parsePart</a>(<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> in,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type)
throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
<div class="block">Parses a single query parameter or header value into the specified class type.</div>
@@ -511,7 +514,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonParser.html" title="class
<ul class="blockList">
<li class="blockList">
<h4>parsePart</h4>
-<pre>public <T> T <a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingParser.html#line.459">parsePart</a>(<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> in,
+<pre>public <T> T <a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingParser.html#line.460">parsePart</a>(<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> in,
<a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T> type)
throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
<div class="block">Same as <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingParser.html#parsePart-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>parsePart(String, Type, Type...)</code></a> except the type has already
@@ -533,7 +536,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonParser.html" title="class
<ul class="blockList">
<li class="blockList">
<h4>createSession</h4>
-<pre>public <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingParserSession.html" title="class in org.apache.juneau.urlencoding">UrlEncodingParserSession</a> <a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingParser.html#line.491">createSession</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> input,
+<pre>public <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingParserSession.html" title="class in org.apache.juneau.urlencoding">UrlEncodingParserSession</a> <a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingParser.html#line.492">createSession</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> input,
<a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a> op,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> javaMethod,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> outer,
@@ -571,7 +574,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonParser.html" title="class
<ul class="blockList">
<li class="blockList">
<h4>doParse</h4>
-<pre>protected <T> T <a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingParser.html#line.496">doParse</a>(<a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a> session,
+<pre>protected <T> T <a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingParser.html#line.497">doParse</a>(<a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a> session,
<a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T> type)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/juneau/parser/Parser.html#doParse-org.apache.juneau.parser.ParserSession-org.apache.juneau.ClassMeta-">Parser</a></code></span></div>
@@ -600,7 +603,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonParser.html" title="class
<ul class="blockListLast">
<li class="blockList">
<h4>doParseIntoMap</h4>
-<pre>protected <K,V> <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><K,V> <a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingParser.html#line.504">doParseIntoMap</a>(<a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a> session,
+<pre>protected <K,V> <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><K,V> <a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingParser.html#line.505">doParseIntoMap</a>(<a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a> session,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><K,V> m,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> keyType,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> valueType)
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/xml/XmlParser.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/xml/XmlParser.html b/content/site/apidocs/org/apache/juneau/xml/XmlParser.html
index 358f168..6c4dc43 100644
--- a/content/site/apidocs/org/apache/juneau/xml/XmlParser.html
+++ b/content/site/apidocs/org/apache/juneau/xml/XmlParser.html
@@ -128,7 +128,7 @@ var activeTableTab = "activeTableTab";
<hr>
<br>
<pre><a href="../../../../org/apache/juneau/annotation/Consumes.html" title="annotation in org.apache.juneau.annotation">@Consumes</a>(<a href="../../../../org/apache/juneau/annotation/Consumes.html#value--">value</a>="text/xml,application/xml")
-public class <a href="../../../../src-html/org/apache/juneau/xml/XmlParser.html#line.52">XmlParser</a>
+public class <a href="../../../../src-html/org/apache/juneau/xml/XmlParser.html#line.53">XmlParser</a>
extends <a href="../../../../org/apache/juneau/parser/ReaderParser.html" title="class in org.apache.juneau.parser">ReaderParser</a></pre>
<div class="block">Parses text generated by the <a href="../../../../org/apache/juneau/xml/XmlSerializer.html" title="class in org.apache.juneau.xml"><code>XmlSerializer</code></a> class back into a POJO model.
@@ -316,7 +316,7 @@ extends <a href="../../../../org/apache/juneau/parser/ReaderParser.html" title="
<ul class="blockListLast">
<li class="blockList">
<h4>DEFAULT</h4>
-<pre>public static final <a href="../../../../org/apache/juneau/xml/XmlParser.html" title="class in org.apache.juneau.xml">XmlParser</a> <a href="../../../../src-html/org/apache/juneau/xml/XmlParser.html#line.55">DEFAULT</a></pre>
+<pre>public static final <a href="../../../../org/apache/juneau/xml/XmlParser.html" title="class in org.apache.juneau.xml">XmlParser</a> <a href="../../../../src-html/org/apache/juneau/xml/XmlParser.html#line.56">DEFAULT</a></pre>
<div class="block">Default parser, all default settings.</div>
</li>
</ul>
@@ -334,7 +334,7 @@ extends <a href="../../../../org/apache/juneau/parser/ReaderParser.html" title="
<ul class="blockListLast">
<li class="blockList">
<h4>XmlParser</h4>
-<pre>public <a href="../../../../src-html/org/apache/juneau/xml/XmlParser.html#line.66">XmlParser</a>(<a href="../../../../org/apache/juneau/PropertyStore.html" title="class in org.apache.juneau">PropertyStore</a> propertyStore)</pre>
+<pre>public <a href="../../../../src-html/org/apache/juneau/xml/XmlParser.html#line.67">XmlParser</a>(<a href="../../../../org/apache/juneau/PropertyStore.html" title="class in org.apache.juneau">PropertyStore</a> propertyStore)</pre>
<div class="block">Constructor.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -356,7 +356,7 @@ extends <a href="../../../../org/apache/juneau/parser/ReaderParser.html" title="
<ul class="blockList">
<li class="blockList">
<h4>builder</h4>
-<pre>public <a href="../../../../org/apache/juneau/xml/XmlParserBuilder.html" title="class in org.apache.juneau.xml">XmlParserBuilder</a> <a href="../../../../src-html/org/apache/juneau/xml/XmlParser.html#line.72">builder</a>()</pre>
+<pre>public <a href="../../../../org/apache/juneau/xml/XmlParserBuilder.html" title="class in org.apache.juneau.xml">XmlParserBuilder</a> <a href="../../../../src-html/org/apache/juneau/xml/XmlParser.html#line.73">builder</a>()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/juneau/CoreObject.html#builder--">CoreObject</a></code></span></div>
<div class="block">Creates a new builder class for this object so that a new object can be created
that expands upon the current object's settings.</div>
@@ -374,7 +374,7 @@ extends <a href="../../../../org/apache/juneau/parser/ReaderParser.html" title="
<ul class="blockList">
<li class="blockList">
<h4>parseAnything</h4>
-<pre>protected <T> T <a href="../../../../src-html/org/apache/juneau/xml/XmlParser.html#line.89">parseAnything</a>(<a href="../../../../org/apache/juneau/xml/XmlParserSession.html" title="class in org.apache.juneau.xml">XmlParserSession</a> session,
+<pre>protected <T> T <a href="../../../../src-html/org/apache/juneau/xml/XmlParser.html#line.90">parseAnything</a>(<a href="../../../../org/apache/juneau/xml/XmlParserSession.html" title="class in org.apache.juneau.xml">XmlParserSession</a> session,
<a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T> eType,
<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> currAttr,
<a href="http://docs.oracle.com/javase/7/docs/api/javax/xml/stream/XMLStreamReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamReader</a> r,
@@ -405,7 +405,7 @@ extends <a href="../../../../org/apache/juneau/parser/ReaderParser.html" title="
<ul class="blockList">
<li class="blockList">
<h4>createSession</h4>
-<pre>public <a href="../../../../org/apache/juneau/xml/XmlParserSession.html" title="class in org.apache.juneau.xml">XmlParserSession</a> <a href="../../../../src-html/org/apache/juneau/xml/XmlParser.html#line.499">createSession</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> input,
+<pre>public <a href="../../../../org/apache/juneau/xml/XmlParserSession.html" title="class in org.apache.juneau.xml">XmlParserSession</a> <a href="../../../../src-html/org/apache/juneau/xml/XmlParser.html#line.500">createSession</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> input,
<a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a> op,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> javaMethod,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> outer,
@@ -443,7 +443,7 @@ extends <a href="../../../../org/apache/juneau/parser/ReaderParser.html" title="
<ul class="blockList">
<li class="blockList">
<h4>doParse</h4>
-<pre>protected <T> T <a href="../../../../src-html/org/apache/juneau/xml/XmlParser.html#line.504">doParse</a>(<a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a> session,
+<pre>protected <T> T <a href="../../../../src-html/org/apache/juneau/xml/XmlParser.html#line.505">doParse</a>(<a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a> session,
<a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T> type)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/juneau/parser/Parser.html#doParse-org.apache.juneau.parser.ParserSession-org.apache.juneau.ClassMeta-">Parser</a></code></span></div>
@@ -472,7 +472,7 @@ extends <a href="../../../../org/apache/juneau/parser/ReaderParser.html" title="
<ul class="blockList">
<li class="blockList">
<h4>doParseIntoMap</h4>
-<pre>protected <K,V> <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><K,V> <a href="../../../../src-html/org/apache/juneau/xml/XmlParser.html#line.510">doParseIntoMap</a>(<a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a> session,
+<pre>protected <K,V> <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><K,V> <a href="../../../../src-html/org/apache/juneau/xml/XmlParser.html#line.511">doParseIntoMap</a>(<a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a> session,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><K,V> m,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> keyType,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> valueType)
@@ -502,7 +502,7 @@ extends <a href="../../../../org/apache/juneau/parser/ReaderParser.html" title="
<ul class="blockListLast">
<li class="blockList">
<h4>doParseIntoCollection</h4>
-<pre>protected <E> <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><E> <a href="../../../../src-html/org/apache/juneau/xml/XmlParser.html#line.517">doParseIntoCollection</a>(<a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a> session,
+<pre>protected <E> <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><E> <a href="../../../../src-html/org/apache/juneau/xml/XmlParser.html#line.518">doParseIntoCollection</a>(<a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a> session,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><E> c,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> elementType)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/overview-summary.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/overview-summary.html b/content/site/apidocs/overview-summary.html
index 4089f98..7378122 100644
--- a/content/site/apidocs/overview-summary.html
+++ b/content/site/apidocs/overview-summary.html
@@ -3409,14 +3409,16 @@
String method = req.getMethod();
<jc>// Attributes (from URL pattern variables)</jc>
- String a1 = req.getPathParameter(<js>"a1"</js>, String.<jk>class</jk>);
- <jk>int</jk> a2 = req.getPathParameter(<js>"a2"</js>, <jk>int</jk>.<jk>class</jk>);
- UUID a3 = req.getPathParameter(<js>"a3"</js>, UUID.<jk>class</jk>);
+ RequestPathParams path = req.getPathParams();
+ String a1 = path.get(<js>"a1"</js>, String.<jk>class</jk>);
+ <jk>int</jk> a2 = path.get(<js>"a2"</js>, <jk>int</jk>.<jk>class</jk>);
+ UUID a3 = path.get(<js>"a3"</js>, UUID.<jk>class</jk>);
<jc>// Optional GET parameters</jc>
- <jk>int</jk> p1 = req.getQueryParameter(<js>"p1"</js>, <jk>int</jk>.<jk>class</jk>, 0);
- String p2 = req.getQueryParameter(<js>"p2"</js>, String.<jk>class</jk>);
- UUID p3 = req.getQueryParameter(<js>"p3"</js>, UUID.<jk>class</jk>);
+ RequestQuery query = req.getQuery();
+ <jk>int</jk> p1 = query.get(<js>"p1"</js>, <jk>int</jk>.<jk>class</jk>, 0);
+ String p2 = query.get(<js>"p2"</js>, String.<jk>class</jk>);
+ UUID p3 = query.get(<js>"p3"</js>, UUID.<jk>class</jk>);
<jc>// URL pattern post-match</jc>
String remainder = req.getPathRemainder();
@@ -3431,10 +3433,45 @@
method, a1, a2, a3, remainder, p1, p2, p3, lang, doNotTrack);
res.setOutput(output);
}
+
+ <jd>/** Example GET request using resolved parameter objects */</jd>
+ <ja>@RestMethod</ja>(name=<js>"GET"</js>, path=<js>"/example3/{a1}/{a2}/{a3}/*"</js>, rc={200})
+ <jk>public void</jk> doGetExample3(
+ HttpMethod httpMethod,
+ RequestPathParams path,
+ RequestQuery query,
+ <ja>@PathRemainder</ja> String remainder,
+ AcceptLanguage acceptLanguage,
+ Accept accept,
+ DNT dnt
+ ) <jk>throws</jk> Exception {
+
+ String method = httpMethod.toString();
+
+ <jc>// Attributes (from URL pattern variables)</jc>
+ String a1 = path.get(<js>"a1"</js>, String.<jk>class</jk>);
+ <jk>int</jk> a2 = path.get(<js>"a2"</js>, <jk>int</jk>.<jk>class</jk>);
+ UUID a3 = path.get(<js>"a3"</js>, UUID.<jk>class</jk>);
+
+ <jc>// Optional GET parameters</jc>
+ <jk>int</jk> p1 = query.get(<js>"p1"</js>, <jk>int</jk>.<jk>class</jk>, 0);
+ String p2 = query.get(<js>"p2"</js>, String.<jk>class</jk>);
+ UUID p3 = query.get(<js>"p3"</js>, UUID.<jk>class</jk>);
+
+ <jc>// Headers</jc>
+ String lang = acceptLanguage.toString();
+ <jk>int</jk> doNotTrack = dnt.asType(<jk>int</jk>.<jk>class</jk>);
+
+ <jc>// Send back a simple String response</jc>
+ String output = String.format(
+ <js>"method=%s, a1=%s, a2=%d, a3=%s, remainder=%s, p1=%d, p2=%s, p3=%s, lang=%s, dnt=%d"</js>,
+ method, a1, a2, a3, remainder, p1, p2, p3, lang, doNotTrack);
+ res.setOutput(output);
+ }
}
</p>
<p>
- The class consists of 3 methods:
+ The class consists of 4 methods:
</p>
<ul class='javahierarchy'>
<li class='m'><l>doGetExample()</l>
@@ -3453,13 +3490,21 @@
<li class='m'><l>doGetExample2()</l>
<br>Identical to <l>doGetExample1()</l> but shows how to use the <a href="org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest"><code>RestRequest</code></a> and <a href="org/apache/juneau/rest/RestResponse.html" title="class in org.apache.juneau.rest"><code>RestResponse</code></a> objects:
<ul>
- <li class='m'><a href="org/apache/juneau/rest/RestRequest.html#getPathParameter-java.lang.String-java.lang.Class-"><code>RestRequest.getPathParameter(String,Class)</code></a>
- <li class='m'><a href="org/apache/juneau/rest/RestRequest.html#getQueryParameter-java.lang.String-java.lang.Class-"><code>RestRequest.getQueryParameter(String,Class)</code></a>
- <li class='m'><a href="org/apache/juneau/rest/RestRequest.html#getHeader-java.lang.String-java.lang.Class-"><code>RestRequest.getHeader(String,Class)</code></a>
+ <li class='m'><a href="org/apache/juneau/rest/RestRequest.html#getPathParams--"><code>RestRequest.getPathParams()</code></a>
+ <li class='m'><a href="org/apache/juneau/rest/RestRequest.html#getQuery--"><code>RestRequest.getQuery()</code></a>
+ <li class='m'><a href="org/apache/juneau/rest/RestRequest.html#getFormData--"><code>RestRequest.getFormData()</code></a>
+ <li class='m'><a href="org/apache/juneau/rest/RestRequest.html#getHeaders--"><code>RestRequest.getHeaders()</code></a>
<li class='m'><a href="org/apache/juneau/rest/RestRequest.html#getMethod--"><code>RestRequest.getMethod()</code></a>
<li class='m'><a href="org/apache/juneau/rest/RestRequest.html#getPathRemainder--"><code>RestRequest.getPathRemainder()</code></a>
</ul>
Method sets the POJO to be serialized using the <a href="org/apache/juneau/rest/RestResponse.html#setOutput-java.lang.Object-"><code>RestResponse.setOutput(Object)</code></a> method.
+ <li class='m'><l>doGetExample2()</l>
+ <br>Identical to <l>doGetExample1()</l> but uses automatically resolved parameters based on class type.
+ <br>Juneau automatically recognizes specific class types such as common header types and automatically
+ resolves them to objects for you.
+ <br>See <a class='doclink' href='org/apache/juneau/rest/package-summary.html#RestResources.MethodSignature'>Rest Resources / Method Signature</a>
+ for the list of all automatically support parameter types, and <a href="org/apache/juneau/rest/annotation/RestResource.html#paramResolvers--"><code>@RestResource.paramResolvers()</code></a>
+ for defining your own custom parameter type resolvers.
</ul>
<p>
@@ -6263,29 +6308,92 @@
<h6 class='topic'>org.apache.juneau</h6>
<ul class='spaced-list'>
<li>New package: <a href="org/apache/juneau/http/package-summary.html"><code>org.apache.juneau.http</code></a>.
- <ul>
- <li><a href="org/apache/juneau/http/Accept.html" title="class in org.apache.juneau.http"><code>Accept</code></a>
- <li><a href="org/apache/juneau/http/AcceptEncoding.html" title="class in org.apache.juneau.http"><code>AcceptEncoding</code></a>
- <li><a href="org/apache/juneau/http/ContentType.html" title="class in org.apache.juneau.http"><code>ContentType</code></a>
- </ul>
<li>Support for dynamic beans. See <a href="org/apache/juneau/annotation/BeanProperty.html#name--"><code>@BeanProperty.name()</code></a>.
<li>New doc: <a class='doclink' href='#Core.JacksonComparison'>2.12 - Comparison with Jackson</a>
</ul>
<h6 class='topic'>org.apache.juneau.rest</h6>
<ul class='spaced-list'>
- <li>The following object types can now be specified as unannotated arguments on REST Java methods:
- <ul>
- <li><a href="org/apache/juneau/http/Accept.html" title="class in org.apache.juneau.http"><code>Accept</code></a>
- <li><a href="org/apache/juneau/http/AcceptEncoding.html" title="class in org.apache.juneau.http"><code>AcceptEncoding</code></a>
- <li><a href="org/apache/juneau/http/ContentType.html" title="class in org.apache.juneau.http"><code>ContentType</code></a>
- </ul>
- <li>New methods on <a href="org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest"><code>RestRequest</code></a>:
- <ul>
- <li><a href="org/apache/juneau/rest/RestRequest.html#getAcceptHeader--"><code>getAcceptHeader()</code></a>
- <li><a href="org/apache/juneau/rest/RestRequest.html#getAcceptEncodingHeader--"><code>getAcceptEncodingHeader()</code></a>
- <li><a href="org/apache/juneau/rest/RestRequest.html#getContentTypeHeader--"><code>getContentTypeHeader()</code></a>
- </ul>
+ <li>The <a href="org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest"><code>RestRequest</code></a> class functionality has been broken up into the following
+ functional pieces to reduce its complexity:
+ <ul>
+ <li><a href="org/apache/juneau/rest/RestRequest.html#getBody--"><code>RestRequest.getBody()</code></a> - The request body.
+ <li><a href="org/apache/juneau/rest/RestRequest.html#getHeaders--"><code>RestRequest.getHeaders()</code></a> - The request headers.
+ <li><a href="org/apache/juneau/rest/RestRequest.html#getQuery--"><code>RestRequest.getQuery()</code></a> - The request query parameters.
+ <li><a href="org/apache/juneau/rest/RestRequest.html#getFormData--"><code>RestRequest.getFormData()</code></a> - The request form data parameters.
+ <li><a href="org/apache/juneau/rest/RestRequest.html#getPathParams--"><code>RestRequest.getPathParams()</code></a> - The path variables.
+ </ul>
+ The following classes have been introduced:
+ <ul>
+ <li><a href="org/apache/juneau/rest/RequestBody.html" title="class in org.apache.juneau.rest"><code>RequestBody</code></a>
+ <li><a href="org/apache/juneau/rest/RequestHeaders.html" title="class in org.apache.juneau.rest"><code>RequestHeaders</code></a>
+ <li><a href="org/apache/juneau/rest/RequestQuery.html" title="class in org.apache.juneau.rest"><code>RequestQuery</code></a>
+ <li><a href="org/apache/juneau/rest/RequestFormData.html" title="class in org.apache.juneau.rest"><code>RequestFormData</code></a>
+ <li><a href="org/apache/juneau/rest/RequestPathParams.html" title="class in org.apache.juneau.rest"><code>RequestPathParams</code></a>
+ </ul>
+ <li>The unannotated parameter types that can be passed in through REST Java methods has been significantly expanded.
+ <br>For reference, the previous supported types were:
+ <ul>
+ <li><a href="org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest"><code>RestRequest</code></a> - The request object.
+ <li><a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletRequest.html?is-external=true" title="class or interface in javax.servlet.http"><code>HttpServletRequest</code></a> - The superclass of <code>RestRequest</code>.
+ <li><a href="org/apache/juneau/rest/RestResponse.html" title="class in org.apache.juneau.rest"><code>RestResponse</code></a> - The response object.
+ <li><a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletResponse.html?is-external=true" title="class or interface in javax.servlet.http"><code>HttpServletResponse</code></a> - The superclass of <code>RestResponse</code>.
+ </ul>
+ The new supported types are:
+ <ul>
+ <li><a href="org/apache/juneau/http/Accept.html" title="class in org.apache.juneau.http"><code>Accept</code></a>
+ <li><a href="org/apache/juneau/http/AcceptCharset.html" title="class in org.apache.juneau.http"><code>AcceptCharset</code></a>
+ <li><a href="org/apache/juneau/http/AcceptEncoding.html" title="class in org.apache.juneau.http"><code>AcceptEncoding</code></a>
+ <li><a href="org/apache/juneau/http/AcceptLanguage.html" title="class in org.apache.juneau.http"><code>AcceptLanguage</code></a>
+ <li><a href="org/apache/juneau/http/Authorization.html" title="class in org.apache.juneau.http"><code>Authorization</code></a>
+ <li><a href="org/apache/juneau/http/CacheControl.html" title="class in org.apache.juneau.http"><code>CacheControl</code></a>
+ <li><a href="org/apache/juneau/http/Connection.html" title="class in org.apache.juneau.http"><code>Connection</code></a>
+ <li><a href="org/apache/juneau/http/ContentLength.html" title="class in org.apache.juneau.http"><code>ContentLength</code></a>
+ <li><a href="org/apache/juneau/http/ContentType.html" title="class in org.apache.juneau.http"><code>ContentType</code></a>
+ <li><a href="org/apache/juneau/http/Date.html" title="class in org.apache.juneau.http"><code>Date</code></a>
+ <li><a href="org/apache/juneau/http/Expect.html" title="class in org.apache.juneau.http"><code>Expect</code></a>
+ <li><a href="org/apache/juneau/http/From.html" title="class in org.apache.juneau.http"><code>From</code></a>
+ <li><a href="org/apache/juneau/http/Host.html" title="class in org.apache.juneau.http"><code>Host</code></a>
+ <li><a href="org/apache/juneau/http/IfMatch.html" title="class in org.apache.juneau.http"><code>IfMatch</code></a>
+ <li><a href="org/apache/juneau/http/IfModifiedSince.html" title="class in org.apache.juneau.http"><code>IfModifiedSince</code></a>
+ <li><a href="org/apache/juneau/http/IfNoneMatch.html" title="class in org.apache.juneau.http"><code>IfNoneMatch</code></a>
+ <li><a href="org/apache/juneau/http/IfRange.html" title="class in org.apache.juneau.http"><code>IfRange</code></a>
+ <li><a href="org/apache/juneau/http/IfUnmodifiedSince.html" title="class in org.apache.juneau.http"><code>IfUnmodifiedSince</code></a>
+ <li><a href="org/apache/juneau/http/MaxForwards.html" title="class in org.apache.juneau.http"><code>MaxForwards</code></a>
+ <li><a href="org/apache/juneau/http/Pragma.html" title="class in org.apache.juneau.http"><code>Pragma</code></a>
+ <li><a href="org/apache/juneau/http/ProxyAuthorization.html" title="class in org.apache.juneau.http"><code>ProxyAuthorization</code></a>
+ <li><a href="org/apache/juneau/http/Range.html" title="class in org.apache.juneau.http"><code>Range</code></a>
+ <li><a href="org/apache/juneau/http/Referer.html" title="class in org.apache.juneau.http"><code>Referer</code></a>
+ <li><a href="org/apache/juneau/http/TE.html" title="class in org.apache.juneau.http"><code>TE</code></a>
+ <li><a href="org/apache/juneau/http/UserAgent.html" title="class in org.apache.juneau.http"><code>UserAgent</code></a>
+ <li><a href="org/apache/juneau/http/Upgrade.html" title="class in org.apache.juneau.http"><code>Upgrade</code></a>
+ <li><a href="org/apache/juneau/http/Via.html" title="class in org.apache.juneau.http"><code>Via</code></a>
+ <li><a href="org/apache/juneau/http/Warning.html" title="class in org.apache.juneau.http"><code>Warning</code></a>
+ <li><a href="http://docs.oracle.com/javase/7/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util"><code>TimeZone</code></a>
+ <li><a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a>
+ <li><a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletInputStream.html?is-external=true" title="class or interface in javax.servlet"><code>ServletInputStream</code></a>
+ <li><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io"><code>Reader</code></a>
+ <li><a href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io"><code>OutputStream</code></a>
+ <li><a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletOutputStream.html?is-external=true" title="class or interface in javax.servlet"><code>ServletOutputStream</code></a>
+ <li><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io"><code>Writer</code></a>
+ <li><a href="http://docs.oracle.com/javase/7/docs/api/java/util/ResourceBundle.html?is-external=true" title="class or interface in java.util"><code>ResourceBundle</code></a> - Client-localized resource bundle.
+ <li><a href="org/apache/juneau/utils/MessageBundle.html" title="class in org.apache.juneau.utils"><code>MessageBundle</code></a> - A resource bundle with additional features.
+ <li><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util"><code>Locale</code></a> - Client locale.
+ <li><a href="org/apache/juneau/rest/RequestHeaders.html" title="class in org.apache.juneau.rest"><code>RequestHeaders</code></a> - API for accessing request headers.
+ <li><a href="org/apache/juneau/rest/RequestQuery.html" title="class in org.apache.juneau.rest"><code>RequestQuery</code></a> - API for accessing request query parameters.
+ <li><a href="org/apache/juneau/rest/RequestFormData.html" title="class in org.apache.juneau.rest"><code>RequestFormData</code></a> - API for accessing request form data.
+ <li><a href="org/apache/juneau/rest/RequestPathParams.html" title="class in org.apache.juneau.rest"><code>RequestPathParams</code></a> - API for accessing path variables.
+ <li><a href="org/apache/juneau/rest/RequestBody.html" title="class in org.apache.juneau.rest"><code>RequestBody</code></a> - API for accessing request body.
+ <li><a href="org/apache/juneau/http/HttpMethod.html" title="enum in org.apache.juneau.http"><code>HttpMethod</code></a> - The method name matched (when using <code><ja>@RestMethod</ja>(name=<js>"*"</js>)</code>)
+ <li><a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Logger.html?is-external=true" title="class or interface in java.util.logging"><code>Logger</code></a> - The logger to use for logging.
+ <li><a href="org/apache/juneau/internal/JuneauLogger.html" title="class in org.apache.juneau.internal"><code>JuneauLogger</code></a> - Logger with additional features.
+ <li><a href="org/apache/juneau/rest/RestContext.html" title="class in org.apache.juneau.rest"><code>RestContext</code></a> - The resource read-only context.
+ <li><a href="org/apache/juneau/parser/Parser.html" title="class in org.apache.juneau.parser"><code>Parser</code></a> - The parser matching the request content type.
+ <li><a href="org/apache/juneau/dto/swagger/Swagger.html" title="class in org.apache.juneau.dto.swagger"><code>Swagger</code></a> - The auto-generated Swagger doc.
+ <li><a href="org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini"><code>ConfigFile</code></a> - The external config file for the resource.
+ </ul>
+ <li>A new annotation <a href="org/apache/juneau/rest/annotation/RestResource.html#paramResolvers--"><code>@RestResource.paramResolvers()</code></a>
+ that allows you to define your own custom Java method parameter resolvers.
</ul>
<h6 class='topic'>org.apache.juneau.rest.client</h6>
@@ -6800,28 +6908,28 @@
<h6 class='topic'>org.apache.juneau.rest</h6>
<ul class='spaced-list'>
<li><a href="org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest"><code>RestRequest</code></a> now passes locale and timezone to serializers/parsers/transforms.
- <li>New <a href="org/apache/juneau/rest/RestRequest.html#getTimeZone--"><code>RestRequest.getTimeZone()</code></a> method.
+ <li><code><del>RestRequest.getTimeZone()</del></code> method.
<li>Standardized the following methods in <a href="org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest"><code>RestRequest</code></a> to remove dependency on <code>ClassMeta</code>
objects and eliminate the need for casts:
<ul>
- <li><a href="org/apache/juneau/rest/RestRequest.html#getHeader-java.lang.String-java.lang.Class-"><code>getHeader(String,Class)</code></a>
- <li><a href="org/apache/juneau/rest/RestRequest.html#getHeader-java.lang.String-T-java.lang.Class-"><code>getHeader(String)</code></a>
- <li><a href="org/apache/juneau/rest/RestRequest.html#getHeader-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>RestRequest.getHeader(String,Type,Type...)</code></a>
- <li><a href="org/apache/juneau/rest/RestRequest.html#getQueryParameter-java.lang.String-java.lang.Class-"><code>RestRequest.getQueryParameter(String,Class)</code></a>
- <li><a href="org/apache/juneau/rest/RestRequest.html#getQueryParameter-java.lang.String-T-java.lang.Class-"><code>RestRequest.getQueryParameter(String,Object,Class)</code></a>
- <li><a href="org/apache/juneau/rest/RestRequest.html#getQueryParameter-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>RestRequest.getQueryParameter(String,Type,Type...)</code></a>
- <li><a href="org/apache/juneau/rest/RestRequest.html#getQueryParameter-java.lang.String-java.lang.Object-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>RestRequest.getQueryParameter(String,Object,Type,Type...)</code></a>
- <li><a href="org/apache/juneau/rest/RestRequest.html#getQueryParameters-java.lang.String-java.lang.Class-"><code>RestRequest.getQueryParameters(String,Class)</code></a>
- <li><a href="org/apache/juneau/rest/RestRequest.html#getQueryParameters-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>RestRequest.getQueryParameters(String,Type,Type...)</code></a>
- <li><a href="org/apache/juneau/rest/RestRequest.html#getFormDataParameter-java.lang.String-java.lang.Class-"><code>RestRequest.getFormDataParameter(String,Class)</code></a>
- <li><a href="org/apache/juneau/rest/RestRequest.html#getFormDataParameter-java.lang.String-T-java.lang.Class-"><code>RestRequest.getFormDataParameter(String,Object,Class)</code></a>
- <li><a href="org/apache/juneau/rest/RestRequest.html#getFormDataParameters-java.lang.String-java.lang.Class-"><code>RestRequest.getFormDataParameters(String,Class)</code></a>
- <li><a href="org/apache/juneau/rest/RestRequest.html#getFormDataParameter-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>RestRequest.getFormDataParameter(String,Type,Type...)</code></a>
- <li><a href="org/apache/juneau/rest/RestRequest.html#getFormDataParameters-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>RestRequest.getFormDataParameters(String,Type,Type...)</code></a>
- <li><a href="org/apache/juneau/rest/RestRequest.html#getPathParameter-java.lang.String-java.lang.Class-"><code>RestRequest.getPathParameter(String,Class)</code></a>
- <li><a href="org/apache/juneau/rest/RestRequest.html#getPathParameter-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>RestRequest.getPathParameter(String,Type,Type...)</code></a>
- <li><a href="org/apache/juneau/rest/RestRequest.html#getBody-java.lang.Class-"><code>RestRequest.getBody(Class)</code></a>
- <li><a href="org/apache/juneau/rest/RestRequest.html#getBody-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>RestRequest.getBody(Type,Type...)</code></a>
+ <li><code><del>RestRequest.getHeader(String,Class)</del></code>
+ <li><code><del>RestRequest.getHeader(String,Object,Class)</del></code>
+ <li><code><del>RestRequest.getHeader(String,Type,Type...)</del></code>
+ <li><code><del>RestRequest.getQueryParameter(String,Class)</del></code>
+ <li><code><del>RestRequest.getQueryParameter(String,Object,Class)</del></code>
+ <li><code><del>RestRequest.getQueryParameter(String,Type,Type...)</del></code>
+ <li><code><del>RestRequest.getQueryParameter(String,Object,Type,Type...)</del></code>
+ <li><code><del>RestRequest.getQueryParameters(String,Class)</del></code>
+ <li><code><del>RestRequest.getQueryParameters(String,Type,Type...)</del></code>
+ <li><code><del>RestRequest.getFormDataParameter(String,Class)</del></code>
+ <li><code><del>RestRequest.getFormDataParameter(String,Object,Class)</del></code>
+ <li><code><del>RestRequest.getFormDataParameters(String,Class)</del></code>
+ <li><code><del>RestRequest.getFormDataParameter(String,Type,Type...)</del></code>
+ <li><code><del>RestRequest.getFormDataParameters(String,Type,Type...)</del></code>
+ <li><code><del>RestRequest.getPathParameter(String,Class)</del></code>
+ <li><code><del>RestRequest.getPathParameter(String,Type,Type...)</del></code>
+ <li><code><del>RestRequest.getBody(Class)</del></code>
+ <li><code><del>RestRequest.getBody(Type,Type...)</del></code>
</ul>
<li>New methods on <a href="org/apache/juneau/rest/client/NameValuePairs.html" title="class in org.apache.juneau.rest.client"><code>NameValuePairs</code></a>
<li>Fixed issue where whitespace was not added to UON/URL-Encoding output when <code>&plainText=true</code> specified.
@@ -7717,8 +7825,8 @@
<ul>
<li>Added new methods:
<ul>
- <li><a href="org/apache/juneau/rest/RestRequest.html#getQueryParameterMap--"><code>RestRequest.getQueryParameterMap()</code></a>
- <li><a href="org/apache/juneau/rest/RestRequest.html#getQueryParameterNames--"><code>RestRequest.getQueryParameterNames()</code></a>
+ <li><code><del>RestRequest.getQueryParameterMap()</del></code>
+ <li><code><del>RestRequest.getQueryParameterNames()</del></code>
<li><a href="org/apache/juneau/rest/RestRequest.html#getPathInfoUndecoded--"><code>RestRequest.getPathInfoUndecoded()</code></a>
<li><a href="org/apache/juneau/rest/RestRequest.html#getPathRemainderUndecoded--"><code>RestRequest.getPathRemainderUndecoded()</code></a>
<li><a href="org/apache/juneau/rest/RestRequest.html#getTrimmedRequestURI--"><code>RestRequest.getTrimmedRequestURI()</code></a>
@@ -7867,24 +7975,24 @@
<ul class='spaced-list'>
<li>New methods in <a href="org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client"><code>RestCall</code></a>:
<ol>
-<li><a href="org/apache/juneau/rest/RestRequest.html#getHeader-java.lang.String-java.lang.Class-"><code>RestRequest.getHeader(String,Class)</code></a>
-<li><a href="org/apache/juneau/rest/RestRequest.html#getHeader-java.lang.String-T-java.lang.Class-"><code>RestRequest.getHeader(String,Object,Class)</code></a>
-<li><a href="org/apache/juneau/rest/RestRequest.html#getHeader-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>RestRequest.getHeader(String,Type,Type...)</code></a>
-<li><a href="org/apache/juneau/rest/RestRequest.html#getQueryParameter-java.lang.String-java.lang.Class-"><code>RestRequest.getQueryParameter(String,Class)</code></a>
-<li><a href="org/apache/juneau/rest/RestRequest.html#getQueryParameter-java.lang.String-T-java.lang.Class-"><code>RestRequest.getQueryParameter(String,Object,Class)</code></a>
-<li><a href="org/apache/juneau/rest/RestRequest.html#getQueryParameter-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>RestRequest.getQueryParameter(String,Type,Type...)</code></a>
-<li><a href="org/apache/juneau/rest/RestRequest.html#getQueryParameter-java.lang.String-java.lang.Object-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>RestRequest.getQueryParameter(String,Object,Type,Type...)</code></a>
-<li><a href="org/apache/juneau/rest/RestRequest.html#getQueryParameters-java.lang.String-java.lang.Class-"><code>RestRequest.getQueryParameters(String,Class)</code></a>
-<li><a href="org/apache/juneau/rest/RestRequest.html#getQueryParameters-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>RestRequest.getQueryParameters(String,Type,Type...)</code></a>
-<li><a href="org/apache/juneau/rest/RestRequest.html#getFormDataParameter-java.lang.String-java.lang.Class-"><code>RestRequest.getFormDataParameter(String,Class)</code></a>
-<li><a href="org/apache/juneau/rest/RestRequest.html#getFormDataParameter-java.lang.String-T-java.lang.Class-"><code>RestRequest.getFormDataParameter(String,Object,Class)</code></a>
-<li><a href="org/apache/juneau/rest/RestRequest.html#getFormDataParameters-java.lang.String-java.lang.Class-"><code>RestRequest.getFormDataParameters(String,Class)</code></a>
-<li><a href="org/apache/juneau/rest/RestRequest.html#getFormDataParameter-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>RestRequest.getFormDataParameter(String,Type,Type...)</code></a>
-<li><a href="org/apache/juneau/rest/RestRequest.html#getFormDataParameters-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>RestRequest.getFormDataParameters(String,Type,Type...)</code></a>
-<li><a href="org/apache/juneau/rest/RestRequest.html#getPathParameter-java.lang.String-java.lang.Class-"><code>RestRequest.getPathParameter(String,Class)</code></a>
-<li><a href="org/apache/juneau/rest/RestRequest.html#getPathParameter-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>RestRequest.getPathParameter(String,Type,Type...)</code></a>
-<li><a href="org/apache/juneau/rest/RestRequest.html#getBody-java.lang.Class-"><code>RestRequest.getBody(Class)</code></a>
-<li><a href="org/apache/juneau/rest/RestRequest.html#getBody-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>RestRequest.getBody(Type,Type...)</code></a>
+ <li><code><del>RestRequest.getHeader(String,Class)</del></code>
+ <li><code><del>RestRequest.getHeader(String,Object,Class)</del></code>
+ <li><code><del>RestRequest.getHeader(String,Type,Type...)</del></code>
+ <li><code><del>RestRequest.getQueryParameter(String,Class)</del></code>
+ <li><code><del>RestRequest.getQueryParameter(String,Object,Class)</del></code>
+ <li><code><del>RestRequest.getQueryParameter(String,Type,Type...)</del></code>
+ <li><code><del>RestRequest.getQueryParameter(String,Object,Type,Type...)</del></code>
+ <li><code><del>RestRequest.getQueryParameters(String,Class)</del></code>
+ <li><code><del>RestRequest.getQueryParameters(String,Type,Type...)</del></code>
+ <li><code><del>RestRequest.getFormDataParameter(String,Class)</del></code>
+ <li><code><del>RestRequest.getFormDataParameter(String,Object,Class)</del></code>
+ <li><code><del>RestRequest.getFormDataParameters(String,Class)</del></code>
+ <li><code><del>RestRequest.getFormDataParameter(String,Type,Type...)</del></code>
+ <li><code><del>RestRequest.getFormDataParameters(String,Type,Type...)</del></code>
+ <li><code><del>RestRequest.getPathParameter(String,Class)</del></code>
+ <li><code><del>RestRequest.getPathParameter(String,Type,Type...)</del></code>
+ <li><code><del>RestRequest.getBody(Class)</del></code>
+ <li><code><del>RestRequest.getBody(Type,Type...)</del></code>
</ol>
</li>
</ul>
@@ -7924,8 +8032,8 @@
explicitely specify which HTTP methods can be used in the <code>&method</code> parameter.
<li>New methods added to <a href="org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest"><code>RestRequest</code></a>:
<ul>
- <li><a href="org/apache/juneau/rest/RestRequest.html#getParser--"><code>RestRequest.getParser()</code></a>
- <li><a href="org/apache/juneau/rest/RestRequest.html#getReaderParser--"><code>RestRequest.getReaderParser()</code></a>
+ <li><code><del>RestRequest.getParser()</del></code>
+ <li><code><del>RestRequest.getReaderParser()</del></code>
</ul>
</ul>
</div>
@@ -8049,7 +8157,7 @@
<li>New methods on <a href="org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest"><code>RestRequest</code></a> for handling multi-part parameters:
<ul>
<li><del><code>RestRequest.getParameters(String,Class)</code></del>
- <li><a href="org/apache/juneau/rest/RestRequest.html#getQueryParameters-java.lang.String-java.lang.Class-"><code>RestRequest.getQueryParameters(String,Class)</code></a>
+ <li><code><del>RestRequest#getQueryParameters(String,Class)</del></code>
</ul>
</li>
<li>Fixed Jetty issue in <a href="org/apache/juneau/rest/RestResponse.html#setHeader-java.lang.String-java.lang.String-"><code>RestResponse.setHeader(String,String)</code></a> where setting
@@ -8109,7 +8217,7 @@
<li>Fixed major issue that prevented parsing URL-Encoded form posts into POJOs.
Calling <del><code>HttpServlet.getParameter(String)</code></del> was forcing the underlying servlet code to process the HTTP body itself, preventing the <code>UrlEncodingSerializer</code>
class from being able to parse the content. Updated code no longer inadvertantly calls this method.
- <li>New <a href="org/apache/juneau/rest/RestRequest.html#getQueryParameter-java.lang.String-"><code>RestRequest.getQueryParameter(String)</code></a>, <a href="org/apache/juneau/rest/RestRequest.html#hasQueryParameter-java.lang.String-"><code>RestRequest.hasQueryParameter(String)</code></a>, and <a href="org/apache/juneau/rest/RestRequest.html#hasAnyQueryParameters-java.lang.String...-"><code>RestRequest.hasAnyQueryParameters(String[])</code></a>
+ <li>New <code><del>RestRequest.getQueryParameter(String)</del></code>, <code><del>RestRequest.hasQueryParameter(String)</del></code>, and <code><del>RestRequest.hasAnyQueryParameters(String[])</del></code>
methods that only look for parameters in the URL query string to prevent loading and parsing of URL-Encoded form posts.
<li>New <del><code>@QParam</code></del> and <del><code>@HasQParam</code></del> annotations for accessing query parameters from the URL query string.
<li><code>&plainText</code> parameter can now specify a false value.
[26/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/rest/RestRequest.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/RestRequest.html b/content/site/apidocs/org/apache/juneau/rest/RestRequest.html
index 7b24506..3195912 100644
--- a/content/site/apidocs/org/apache/juneau/rest/RestRequest.html
+++ b/content/site/apidocs/org/apache/juneau/rest/RestRequest.html
@@ -18,7 +18,7 @@
catch(err) {
}
//-->
-var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10,"i71":10,"i72":10,"i73":10,"i74":10,"i75":10,"i76":10,"i77":10,"i78":10,"i79":10,"i80":10,"i81":10,"i82":10,"i83":10,"i84":10,"i85":10,"i86":10,"i87":10,"i88":10,"i89":10,"i90":10,"i91":10,"i92":10};
+var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -48,7 +48,7 @@ var activeTableTab = "activeTableTab";
</div>
<div class="subNav">
<ul class="navList">
-<li><a href="../../../../org/apache/juneau/rest/RestMatcherReflecting.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/rest/RestParamType.html" title="enum in org.apache.juneau.rest"><span class="typeNameLink">Prev Class</span></a></li>
<li><a href="../../../../org/apache/juneau/rest/RestResourceResolver.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">Next Class</span></a></li>
</ul>
<ul class="navList">
@@ -122,7 +122,7 @@ var activeTableTab = "activeTableTab";
</dl>
<hr>
<br>
-<pre>public final class <a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.67">RestRequest</a>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.65">RestRequest</a>
extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletRequestWrapper.html?is-external=true" title="class or interface in javax.servlet.http">HttpServletRequestWrapper</a></pre>
<div class="block">Represents an HTTP request for a REST resource.
<p>
@@ -176,408 +176,236 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
-<td class="colFirst"><code><a href="../../../../org/apache/juneau/http/AcceptEncoding.html" title="class in org.apache.juneau.http">AcceptEncoding</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getAcceptEncodingHeader--">getAcceptEncodingHeader</a></span>()</code>
-<div class="block">Returns the <code>Accept-Encoding</code> header on the request.</div>
-</td>
-</tr>
-<tr id="i1" class="rowColor">
-<td class="colFirst"><code><a href="../../../../org/apache/juneau/http/Accept.html" title="class in org.apache.juneau.http">Accept</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getAcceptHeader--">getAcceptHeader</a></span>()</code>
-<div class="block">Returns the <code>Accept</code> header on the request.</div>
-</td>
-</tr>
-<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/BeanSession.html" title="class in org.apache.juneau">BeanSession</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getBeanSession--">getBeanSession</a></span>()</code>
<div class="block">Returns the <a href="../../../../org/apache/juneau/BeanSession.html" title="class in org.apache.juneau"><code>BeanSession</code></a> associated with this request.</div>
</td>
</tr>
-<tr id="i3" class="rowColor">
-<td class="colFirst"><code><T> T</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getBody-java.lang.Class-">getBody</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type)</code>
-<div class="block">Reads the input from the HTTP request as JSON, XML, or HTML and converts the input to a POJO.</div>
-</td>
-</tr>
-<tr id="i4" class="altColor">
-<td class="colFirst"><code><T> T</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getBody-java.lang.reflect.Type-java.lang.reflect.Type...-">getBody</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> type,
- <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>... args)</code>
-<div class="block">Reads the input from the HTTP request as JSON, XML, or HTML and converts the input to a POJO.</div>
-</td>
-</tr>
-<tr id="i5" class="rowColor">
-<td class="colFirst"><code><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/rest/RestRequest.html#getBodyAsString--">getBodyAsString</a></span>()</code>
-<div class="block">Returns the HTTP body content as a plain string.</div>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RequestBody.html" title="class in org.apache.juneau.rest">RequestBody</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getBody--">getBody</a></span>()</code>
+<div class="block">Returns the body of this HTTP request.</div>
</td>
</tr>
-<tr id="i6" class="altColor">
+<tr id="i2" class="altColor">
<td class="colFirst"><code><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/rest/RestRequest.html#getCharacterEncoding--">getCharacterEncoding</a></span>()</code>
<div class="block">Returns the charset specified on the <code>Content-Type</code> header, or <js>"UTF-8"</js> if not specified.</div>
</td>
</tr>
-<tr id="i7" class="rowColor">
+<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getConfigFile--">getConfigFile</a></span>()</code>
<div class="block">Returns the config file associated with the servlet.</div>
</td>
</tr>
-<tr id="i8" class="altColor">
+<tr id="i4" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getContentLength--">getContentLength</a></span>()</code> </td>
</tr>
-<tr id="i9" class="rowColor">
-<td class="colFirst"><code><a href="../../../../org/apache/juneau/http/ContentType.html" title="class in org.apache.juneau.http">ContentType</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getContentTypeHeader--">getContentTypeHeader</a></span>()</code>
-<div class="block">Returns the <code>Content-Type</code> header on the request.</div>
-</td>
-</tr>
-<tr id="i10" class="altColor">
+<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RestContext.html" title="class in org.apache.juneau.rest">RestContext</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getContext--">getContext</a></span>()</code>
<div class="block">Returns the servlet handling the request.</div>
</td>
</tr>
-<tr id="i11" class="rowColor">
+<tr id="i6" class="altColor">
<td class="colFirst"><code><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/rest/RestRequest.html#getDescription--">getDescription</a></span>()</code>
<div class="block">Returns a string of the form <js>"HTTP method-name full-url"</js></div>
</td>
</tr>
-<tr id="i12" class="altColor">
-<td class="colFirst"><code><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/rest/RestRequest.html#getFormDataParameter-java.lang.String-">getFormDataParameter</a></span>(<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> name)</code>
-<div class="block">Returns a form data parameter value.</div>
-</td>
-</tr>
-<tr id="i13" class="rowColor">
-<td class="colFirst"><code><T> T</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getFormDataParameter-java.lang.String-java.lang.Class-">getFormDataParameter</a></span>(<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> name,
- <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type)</code>
-<div class="block">Returns the specified form data parameter value converted to a POJO using the
- <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingParser.html" title="class in org.apache.juneau.urlencoding"><code>UrlEncodingParser</code></a> registered with this servlet.</div>
+<tr id="i7" class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RequestFormData.html" title="class in org.apache.juneau.rest">RequestFormData</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getFormData--">getFormData</a></span>()</code>
+<div class="block">Retrieves the URL-encoded form data from the request if the body has already been cached locally.</div>
</td>
</tr>
-<tr id="i14" class="altColor">
+<tr id="i8" class="altColor">
<td class="colFirst"><code><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/rest/RestRequest.html#getFormDataParameter-java.lang.String-java.lang.String-">getFormDataParameter</a></span>(<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> name,
- <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> def)</code>
-<div class="block">Same as <a href="../../../../org/apache/juneau/rest/RestRequest.html#getFormDataParameter-java.lang.String-"><code>getFormDataParameter(String)</code></a> except returns a default value if <jk>null</jk> or empty.</div>
-</td>
-</tr>
-<tr id="i15" class="rowColor">
-<td class="colFirst"><code><T> T</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getFormDataParameter-java.lang.String-T-java.lang.Class-">getFormDataParameter</a></span>(<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> name,
- T def,
- <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type)</code>
-<div class="block">Same as <a href="../../../../org/apache/juneau/rest/RestRequest.html#getFormDataParameter-java.lang.String-java.lang.Class-"><code>getFormDataParameter(String, Class)</code></a> except returns a default value if not specified.</div>
-</td>
-</tr>
-<tr id="i16" class="altColor">
-<td class="colFirst"><code><T> T</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getFormDataParameter-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-">getFormDataParameter</a></span>(<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> name,
- <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> type,
- <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>... args)</code>
-<div class="block">Returns the specified form data parameter value converted to a POJO using the
- <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingParser.html" title="class in org.apache.juneau.urlencoding"><code>UrlEncodingParser</code></a> registered with this servlet.</div>
-</td>
-</tr>
-<tr id="i17" class="rowColor">
-<td class="colFirst"><code><T> T</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getFormDataParameters-java.lang.String-java.lang.Class-">getFormDataParameters</a></span>(<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> name,
- <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type)</code>
-<div class="block">Same as <a href="../../../../org/apache/juneau/rest/RestRequest.html#getFormDataParameter-java.lang.String-java.lang.Class-"><code>getFormDataParameter(String, Class)</code></a> except for use on multi-part parameters
- (e.g.</div>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getFormData-java.lang.String-">getFormData</a></span>(<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> name)</code>
+<div class="block">Convenience method for calling <code>getFormData().getFirst(name);</code>.</div>
</td>
</tr>
-<tr id="i18" class="altColor">
-<td class="colFirst"><code><T> T</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getFormDataParameters-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-">getFormDataParameters</a></span>(<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> name,
- <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> type,
- <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>... args)</code>
-<div class="block">Same as <a href="../../../../org/apache/juneau/rest/RestRequest.html#getFormDataParameter-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>getFormDataParameter(String, Type, Type...)</code></a> except for use on multi-part parameters
- (e.g.</div>
+<tr id="i9" class="rowColor">
+<td class="colFirst"><code><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/rest/RestRequest.html#getFormData-java.lang.String-java.lang.String-">getFormData</a></span>(<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> name,
+ <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> def)</code>
+<div class="block">Convenience method for calling <code>getFormData().getFirst(name, def);</code>.</div>
</td>
</tr>
-<tr id="i19" class="rowColor">
+<tr id="i10" class="altColor">
<td class="colFirst"><code><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/rest/RestRequest.html#getHeader-java.lang.String-">getHeader</a></span>(<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> name)</code>
-<div class="block">Returns the specified header value, or <jk>null</jk> if the header doesn't exist.</div>
-</td>
-</tr>
-<tr id="i20" class="altColor">
-<td class="colFirst"><code><T> T</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getHeader-java.lang.String-java.lang.Class-">getHeader</a></span>(<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> name,
- <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type)</code>
-<div class="block">Returns the specified header value converted to a POJO.</div>
+<div class="block">Convenience method for calling <code>getHeaders().getFirst(name);</code></div>
</td>
</tr>
-<tr id="i21" class="rowColor">
+<tr id="i11" class="rowColor">
<td class="colFirst"><code><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/rest/RestRequest.html#getHeader-java.lang.String-java.lang.String-">getHeader</a></span>(<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> name,
<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> def)</code>
-<div class="block">Returns the specified header value, or a default value if the header doesn't exist.</div>
-</td>
-</tr>
-<tr id="i22" class="altColor">
-<td class="colFirst"><code><T> T</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getHeader-java.lang.String-T-java.lang.Class-">getHeader</a></span>(<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> name,
- T def,
- <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type)</code>
-<div class="block">Same as <a href="../../../../org/apache/juneau/rest/RestRequest.html#getHeader-java.lang.String-java.lang.Class-"><code>getHeader(String, Class)</code></a> but returns a default value if not found.</div>
-</td>
-</tr>
-<tr id="i23" class="rowColor">
-<td class="colFirst"><code><T> T</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getHeader-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-">getHeader</a></span>(<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> name,
- <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> type,
- <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>... args)</code>
-<div class="block">Returns the specified header value converted to a POJO.</div>
+<div class="block">Convenience method for calling <code>getHeaders().getFirst(name, def);</code></div>
</td>
</tr>
-<tr id="i24" class="altColor">
-<td class="colFirst"><code><a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a></code></td>
+<tr id="i12" class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RequestHeaders.html" title="class in org.apache.juneau.rest">RequestHeaders</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getHeaders--">getHeaders</a></span>()</code>
-<div class="block">Returns all the request headers as an <a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau"><code>ObjectMap</code></a>.</div>
+<div class="block">Returns the headers on this request.</div>
</td>
</tr>
-<tr id="i25" class="rowColor">
+<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Enumeration.html?is-external=true" title="class or interface in java.util">Enumeration</a><<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/rest/RestRequest.html#getHeaders-java.lang.String-">getHeaders</a></span>(<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> name)</code> </td>
</tr>
-<tr id="i26" class="altColor">
+<tr id="i14" class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/http/HttpMethod.html" title="enum in org.apache.juneau.http">HttpMethod</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getHttpMethod--">getHttpMethod</a></span>()</code>
+<div class="block">Returns the HTTP 1.1 method name of the request as an enum.</div>
+</td>
+</tr>
+<tr id="i15" class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletInputStream.html?is-external=true" title="class or interface in javax.servlet">ServletInputStream</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getInputStream--">getInputStream</a></span>()</code>
<div class="block">Returns the HTTP body content as an <a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a>.</div>
</td>
</tr>
-<tr id="i27" class="rowColor">
+<tr id="i16" class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getJavaMethod--">getJavaMethod</a></span>()</code>
<div class="block">Returns the java method handling the request.</div>
</td>
</tr>
-<tr id="i28" class="altColor">
+<tr id="i17" class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getLocale--">getLocale</a></span>()</code> </td>
</tr>
-<tr id="i29" class="rowColor">
+<tr id="i18" class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Enumeration.html?is-external=true" title="class or interface in java.util">Enumeration</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getLocales--">getLocales</a></span>()</code> </td>
</tr>
-<tr id="i30" class="altColor">
+<tr id="i19" class="rowColor">
<td class="colFirst"><code><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/rest/RestRequest.html#getMessage-java.lang.String-java.lang.Object...-">getMessage</a></span>(<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> key,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... args)</code>
<div class="block">Shortcut method for calling <a href="../../../../org/apache/juneau/utils/MessageBundle.html#getString-java.util.Locale-java.lang.String-java.lang.Object...-"><code>MessageBundle.getString(Locale, String, Object...)</code></a> based on the request locale.</div>
</td>
</tr>
-<tr id="i31" class="rowColor">
+<tr id="i20" class="altColor">
<td class="colFirst"><code><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/rest/RestRequest.html#getMethod--">getMethod</a></span>()</code>
<div class="block">Returns the method of this request.</div>
</td>
</tr>
-<tr id="i32" class="altColor">
+<tr id="i21" class="rowColor">
<td class="colFirst"><code><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/rest/RestRequest.html#getMethodDescription--">getMethodDescription</a></span>()</code>
<div class="block">Returns the localized method description.</div>
</td>
</tr>
-<tr id="i33" class="rowColor">
+<tr id="i22" class="altColor">
<td class="colFirst"><code><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/rest/RestRequest.html#getMethodSummary--">getMethodSummary</a></span>()</code>
<div class="block">Returns the localized method summary.</div>
</td>
</tr>
-<tr id="i34" class="altColor">
+<tr id="i23" class="rowColor">
<td class="colFirst"><code>protected <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/rest/RestRequest.html#getPageLinks--">getPageLinks</a></span>()</code>
<div class="block">Returns the localized page links for HTML views.</div>
</td>
</tr>
-<tr id="i35" class="rowColor">
+<tr id="i24" class="altColor">
<td class="colFirst"><code>protected <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/rest/RestRequest.html#getPageText--">getPageText</a></span>()</code>
<div class="block">Returns the localized page text for HTML views.</div>
</td>
</tr>
-<tr id="i36" class="altColor">
+<tr id="i25" class="rowColor">
<td class="colFirst"><code>protected <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/rest/RestRequest.html#getPageTitle--">getPageTitle</a></span>()</code>
<div class="block">Returns the localized page title for HTML views.</div>
</td>
</tr>
-<tr id="i37" class="rowColor">
-<td class="colFirst"><code><a href="../../../../org/apache/juneau/parser/Parser.html" title="class in org.apache.juneau.parser">Parser</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getParser--">getParser</a></span>()</code>
-<div class="block">Returns the parser matching the request <code>Content-Type</code> header.</div>
-</td>
-</tr>
-<tr id="i38" class="altColor">
+<tr id="i26" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/parser/ParserGroup.html" title="class in org.apache.juneau.parser">ParserGroup</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getParserGroup--">getParserGroup</a></span>()</code>
<div class="block">Returns the parsers associated with this request.</div>
</td>
</tr>
-<tr id="i39" class="rowColor">
-<td class="colFirst"><code><a href="../../../../org/apache/juneau/parser/ParserMatch.html" title="class in org.apache.juneau.parser">ParserMatch</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getParserMatch--">getParserMatch</a></span>()</code>
-<div class="block">Returns the parser and media type matching the request <code>Content-Type</code> header.</div>
-</td>
-</tr>
-<tr id="i40" class="altColor">
+<tr id="i27" class="rowColor">
<td class="colFirst"><code><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/rest/RestRequest.html#getPathInfoParts--">getPathInfoParts</a></span>()</code>
<div class="block">Returns the value <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletRequestWrapper.html?is-external=true#getPathInfo--" title="class or interface in javax.servlet.http"><code>HttpServletRequestWrapper.getPathInfo()</code></a> split on the <js>'/'</js> character.</div>
</td>
</tr>
-<tr id="i41" class="rowColor">
+<tr id="i28" class="altColor">
<td class="colFirst"><code><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/rest/RestRequest.html#getPathInfoUndecoded--">getPathInfoUndecoded</a></span>()</code>
<div class="block">Same as <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletRequest.html?is-external=true#getPathInfo--" title="class or interface in javax.servlet.http"><code>HttpServletRequest.getPathInfo()</code></a> except returns the path undecoded.</div>
</td>
</tr>
-<tr id="i42" class="altColor">
+<tr id="i29" class="rowColor">
<td class="colFirst"><code><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/rest/RestRequest.html#getPathParameter-java.lang.String-">getPathParameter</a></span>(<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> name)</code>
-<div class="block">Returns a path parameter value.</div>
-</td>
-</tr>
-<tr id="i43" class="rowColor">
-<td class="colFirst"><code><T> T</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getPathParameter-java.lang.String-java.lang.Class-">getPathParameter</a></span>(<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> name,
- <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type)</code>
-<div class="block">Returns the specified path parameter converted to a POJO.</div>
+<div class="block">Convenience method for calling <code>getPathParams().get(name);</code>.</div>
</td>
</tr>
-<tr id="i44" class="altColor">
-<td class="colFirst"><code><T> T</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getPathParameter-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-">getPathParameter</a></span>(<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> name,
- <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> type,
- <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>... args)</code>
-<div class="block">Returns the specified path parameter converted to a POJO.</div>
+<tr id="i30" class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RequestPathParams.html" title="class in org.apache.juneau.rest">RequestPathParams</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getPathParams--">getPathParams</a></span>()</code>
+<div class="block">Retrieves the URL-encoded form data from the request if the body has already been cached locally.</div>
</td>
</tr>
-<tr id="i45" class="rowColor">
+<tr id="i31" class="rowColor">
<td class="colFirst"><code><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/rest/RestRequest.html#getPathRemainder--">getPathRemainder</a></span>()</code>
<div class="block">Returns the decoded remainder of the URL following any path pattern matches.</div>
</td>
</tr>
-<tr id="i46" class="altColor">
+<tr id="i32" class="altColor">
<td class="colFirst"><code><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/rest/RestRequest.html#getPathRemainderUndecoded--">getPathRemainderUndecoded</a></span>()</code>
<div class="block">Same as <a href="../../../../org/apache/juneau/rest/RestRequest.html#getPathRemainder--"><code>getPathRemainder()</code></a> but doesn't decode characters.</div>
</td>
</tr>
-<tr id="i47" class="rowColor">
+<tr id="i33" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getProperties--">getProperties</a></span>()</code>
<div class="block">Retrieve the properties active for this request.</div>
</td>
</tr>
-<tr id="i48" class="altColor">
-<td class="colFirst"><code><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/rest/RestRequest.html#getQueryParameter-java.lang.String-">getQueryParameter</a></span>(<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> name)</code>
-<div class="block">Returns a query parameter value.</div>
-</td>
-</tr>
-<tr id="i49" class="rowColor">
-<td class="colFirst"><code><T> T</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getQueryParameter-java.lang.String-java.lang.Class-">getQueryParameter</a></span>(<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> name,
- <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type)</code>
-<div class="block">Returns the specified query parameter value converted to a POJO.</div>
-</td>
-</tr>
-<tr id="i50" class="altColor">
-<td class="colFirst"><code><T> T</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getQueryParameter-java.lang.String-java.lang.Object-java.lang.reflect.Type-java.lang.reflect.Type...-">getQueryParameter</a></span>(<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> name,
- <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> def,
- <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> type,
- <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>... args)</code>
-<div class="block">Same as <a href="../../../../org/apache/juneau/rest/RestRequest.html#getQueryParameter-java.lang.String-java.lang.Class-"><code>getQueryParameter(String, Class)</code></a> except returns a default value if not found.</div>
-</td>
-</tr>
-<tr id="i51" class="rowColor">
-<td class="colFirst"><code><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/rest/RestRequest.html#getQueryParameter-java.lang.String-java.lang.String-">getQueryParameter</a></span>(<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> name,
- <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> def)</code>
-<div class="block">Same as <a href="../../../../org/apache/juneau/rest/RestRequest.html#getQueryParameter-java.lang.String-"><code>getQueryParameter(String)</code></a> but returns the specified default value if the query parameter was not specified.</div>
-</td>
-</tr>
-<tr id="i52" class="altColor">
-<td class="colFirst"><code><T> T</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getQueryParameter-java.lang.String-T-java.lang.Class-">getQueryParameter</a></span>(<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> name,
- T def,
- <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type)</code>
-<div class="block">Same as <a href="../../../../org/apache/juneau/rest/RestRequest.html#getQueryParameter-java.lang.String-java.lang.Class-"><code>getQueryParameter(String, Class)</code></a> except returns a default value if not found.</div>
-</td>
-</tr>
-<tr id="i53" class="rowColor">
-<td class="colFirst"><code><T> T</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getQueryParameter-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-">getQueryParameter</a></span>(<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> name,
- <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> type,
- <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>... args)</code>
-<div class="block">Returns the specified query parameter value converted to a POJO.</div>
-</td>
-</tr>
-<tr id="i54" class="altColor">
-<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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="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/rest/RestRequest.html#getQueryParameterMap--">getQueryParameterMap</a></span>()</code>
+<tr id="i34" class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RequestQuery.html" title="class in org.apache.juneau.rest">RequestQuery</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getQuery--">getQuery</a></span>()</code>
<div class="block">Equivalent to <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletRequestWrapper.html?is-external=true#getParameterMap--" title="class or interface in javax.servlet"><code>ServletRequestWrapper.getParameterMap()</code></a>, but only looks for query parameters in the URL, not form posts.</div>
</td>
</tr>
-<tr id="i55" class="rowColor">
-<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a><<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/rest/RestRequest.html#getQueryParameterNames--">getQueryParameterNames</a></span>()</code>
-<div class="block">Equivalent to <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletRequestWrapper.html?is-external=true#getParameterNames--" title="class or interface in javax.servlet"><code>ServletRequestWrapper.getParameterNames()</code></a>, but only looks for query parameters in the URL, not form posts.</div>
-</td>
-</tr>
-<tr id="i56" class="altColor">
-<td class="colFirst"><code><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/rest/RestRequest.html#getQueryParameters-java.lang.String-">getQueryParameters</a></span>(<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> name)</code>
-<div class="block">Returns the list of all query parameters with the specified name.</div>
-</td>
-</tr>
-<tr id="i57" class="rowColor">
-<td class="colFirst"><code><T> T</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getQueryParameters-java.lang.String-java.lang.Class-">getQueryParameters</a></span>(<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> name,
- <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c)</code>
-<div class="block">Same as <a href="../../../../org/apache/juneau/rest/RestRequest.html#getQueryParameter-java.lang.String-java.lang.Class-"><code>getQueryParameter(String, Class)</code></a> except for use on multi-part parameters
- (e.g.</div>
+<tr id="i35" class="rowColor">
+<td class="colFirst"><code><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/rest/RestRequest.html#getQuery-java.lang.String-">getQuery</a></span>(<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> name)</code>
+<div class="block">Convenience method for calling <code>getQueryParams().getFirst(name);</code></div>
</td>
</tr>
-<tr id="i58" class="altColor">
-<td class="colFirst"><code><T> T</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getQueryParameters-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-">getQueryParameters</a></span>(<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> name,
- <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> type,
- <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>... args)</code>
-<div class="block">Same as <a href="../../../../org/apache/juneau/rest/RestRequest.html#getQueryParameter-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>getQueryParameter(String, Type, Type...)</code></a> except for use on multi-part parameters
- (e.g.</div>
+<tr id="i36" class="altColor">
+<td class="colFirst"><code><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/rest/RestRequest.html#getQuery-java.lang.String-java.lang.String-">getQuery</a></span>(<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> name,
+ <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> def)</code>
+<div class="block">Convenience method for calling <code>getQueryParams().getFirst(name, def);</code></div>
</td>
</tr>
-<tr id="i59" class="rowColor">
+<tr id="i37" class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/BufferedReader.html?is-external=true" title="class or interface in java.io">BufferedReader</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getReader--">getReader</a></span>()</code>
<div class="block">Returns the HTTP body content as a <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io"><code>Reader</code></a>.</div>
</td>
</tr>
-<tr id="i60" class="altColor">
-<td class="colFirst"><code><a href="../../../../org/apache/juneau/parser/ReaderParser.html" title="class in org.apache.juneau.parser">ReaderParser</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getReaderParser--">getReaderParser</a></span>()</code>
-<div class="block">Returns the reader parser matching the request <code>Content-Type</code> header.</div>
-</td>
-</tr>
-<tr id="i61" class="rowColor">
+<tr id="i38" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/ReaderResource.html" title="class in org.apache.juneau.rest">ReaderResource</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getReaderResource-java.lang.String-">getReaderResource</a></span>(<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> name)</code>
<div class="block">Same as <a href="../../../../org/apache/juneau/rest/RestRequest.html#getReaderResource-java.lang.String-boolean-"><code>getReaderResource(String, boolean)</code></a> with <code>resolveVars == <jk>false</jk></code></div>
</td>
</tr>
-<tr id="i62" class="altColor">
+<tr id="i39" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/ReaderResource.html" title="class in org.apache.juneau.rest">ReaderResource</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getReaderResource-java.lang.String-boolean-">getReaderResource</a></span>(<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> name,
boolean resolveVars)</code>
@@ -585,7 +413,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
constructed using <a href="../../../../org/apache/juneau/rest/RestConfig.html#addMimeTypes-java.lang.String...-"><code>RestConfig.addMimeTypes(String...)</code></a> to determine the media type.</div>
</td>
</tr>
-<tr id="i63" class="rowColor">
+<tr id="i40" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/ReaderResource.html" title="class in org.apache.juneau.rest">ReaderResource</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getReaderResource-java.lang.String-boolean-org.apache.juneau.http.MediaType-">getReaderResource</a></span>(<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> name,
boolean resolveVars,
@@ -593,179 +421,149 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
<div class="block">Returns an instance of a <a href="../../../../org/apache/juneau/rest/ReaderResource.html" title="class in org.apache.juneau.rest"><code>ReaderResource</code></a> that represents the contents of a resource text file from the classpath.</div>
</td>
</tr>
-<tr id="i64" class="altColor">
+<tr id="i41" class="rowColor">
<td class="colFirst"><code><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/rest/RestRequest.html#getRelativeServletURI--">getRelativeServletURI</a></span>()</code>
<div class="block">Gets the path-absolute relative URI of the servlet (e.g.</div>
</td>
</tr>
-<tr id="i65" class="rowColor">
+<tr id="i42" class="altColor">
<td class="colFirst"><code><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/rest/RestRequest.html#getRequestParentURI--">getRequestParentURI</a></span>()</code>
<div class="block">Returns the URI of the parent resource.</div>
</td>
</tr>
-<tr id="i66" class="altColor">
+<tr id="i43" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/utils/MessageBundle.html" title="class in org.apache.juneau.utils">MessageBundle</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getResourceBundle--">getResourceBundle</a></span>()</code>
<div class="block">Returns the resource bundle for the request locale.</div>
</td>
</tr>
-<tr id="i67" class="rowColor">
+<tr id="i44" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/serializer/SerializerGroup.html" title="class in org.apache.juneau.serializer">SerializerGroup</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getSerializerGroup--">getSerializerGroup</a></span>()</code>
<div class="block">Returns the serializers associated with this request.</div>
</td>
</tr>
-<tr id="i68" class="altColor">
+<tr id="i45" class="rowColor">
<td class="colFirst"><code><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/rest/RestRequest.html#getServletDescription--">getServletDescription</a></span>()</code>
<div class="block">Returns the localized servlet description.</div>
</td>
</tr>
-<tr id="i69" class="rowColor">
+<tr id="i46" class="altColor">
<td class="colFirst"><code><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/rest/RestRequest.html#getServletParentURI--">getServletParentURI</a></span>()</code>
<div class="block">Returns the URI of the parent of this servlet.</div>
</td>
</tr>
-<tr id="i70" class="altColor">
+<tr id="i47" class="rowColor">
<td class="colFirst"><code><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/rest/RestRequest.html#getServletTitle--">getServletTitle</a></span>()</code>
<div class="block">Returns the localized servlet title.</div>
</td>
</tr>
-<tr id="i71" class="rowColor">
+<tr id="i48" class="altColor">
<td class="colFirst"><code><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/rest/RestRequest.html#getServletURI--">getServletURI</a></span>()</code>
<div class="block">Gets the URI of the servlet (e.g.</div>
</td>
</tr>
-<tr id="i72" class="altColor">
+<tr id="i49" class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getServletURIBuilder--">getServletURIBuilder</a></span>()</code>
<div class="block">Returns a <code>StringBuffer</code> prefilled with the string <code><js>"/[contextPath]/[servletPath]"</js></code>.</div>
</td>
</tr>
-<tr id="i73" class="rowColor">
+<tr id="i50" class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../org/apache/juneau/http/MediaType.html" title="class in org.apache.juneau.http">MediaType</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getSupportedMediaTypes--">getSupportedMediaTypes</a></span>()</code>
<div class="block">Returns the media types that are valid for <code>Content-Type</code> headers on the request.</div>
</td>
</tr>
-<tr id="i74" class="altColor">
+<tr id="i51" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/dto/swagger/Swagger.html" title="class in org.apache.juneau.dto.swagger">Swagger</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getSwagger--">getSwagger</a></span>()</code>
<div class="block">Returns the localized swagger associated with the servlet.</div>
</td>
</tr>
-<tr id="i75" class="rowColor">
+<tr id="i52" class="altColor">
<td class="colFirst"><code>protected <a href="../../../../org/apache/juneau/dto/swagger/Swagger.html" title="class in org.apache.juneau.dto.swagger">Swagger</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getSwaggerFromFile--">getSwaggerFromFile</a></span>()</code>
<div class="block">Returns the localized Swagger from the file system.</div>
</td>
</tr>
-<tr id="i76" class="altColor">
-<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util">TimeZone</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getTimeZone--">getTimeZone</a></span>()</code>
-<div class="block">Returns the <code>Time-Zone</code> header value on the request if there is one.</div>
-</td>
-</tr>
-<tr id="i77" class="rowColor">
+<tr id="i53" class="rowColor">
<td class="colFirst"><code><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/rest/RestRequest.html#getTrimmedRequestURI--">getTrimmedRequestURI</a></span>()</code>
<div class="block">Same as <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletRequestWrapper.html?is-external=true#getRequestURI--" title="class or interface in javax.servlet.http"><code>HttpServletRequestWrapper.getRequestURI()</code></a> but trims trailing slashes from the result.</div>
</td>
</tr>
-<tr id="i78" class="altColor">
+<tr id="i54" class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getTrimmedRequestURL--">getTrimmedRequestURL</a></span>()</code>
<div class="block">Same as <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletRequestWrapper.html?is-external=true#getRequestURL--" title="class or interface in javax.servlet.http"><code>HttpServletRequestWrapper.getRequestURL()</code></a> but trims trailing slashes from the result.</div>
</td>
</tr>
-<tr id="i79" class="rowColor">
-<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getUnbufferedReader--">getUnbufferedReader</a></span>()</code>
-<div class="block">Same as <a href="../../../../org/apache/juneau/rest/RestRequest.html#getReader--"><code>getReader()</code></a>, but doesn't encapsulate the result in a <a href="http://docs.oracle.com/javase/7/docs/api/java/io/BufferedReader.html?is-external=true" title="class or interface in java.io"><code>BufferedReader</code></a>;</div>
-</td>
-</tr>
-<tr id="i80" class="altColor">
+<tr id="i55" class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getURL-java.lang.String-">getURL</a></span>(<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> path)</code>
<div class="block">Returns a resolved URL.</div>
</td>
</tr>
-<tr id="i81" class="rowColor">
+<tr id="i56" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/svl/VarResolverSession.html" title="class in org.apache.juneau.svl">VarResolverSession</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#getVarResolverSession--">getVarResolverSession</a></span>()</code>
<div class="block">Returns the variable resolver session for this request using session objects created by <a href="../../../../org/apache/juneau/rest/RestCallHandler.html#getSessionObjects-org.apache.juneau.rest.RestRequest-"><code>RestCallHandler.getSessionObjects(RestRequest)</code></a>.</div>
</td>
</tr>
-<tr id="i82" class="altColor">
-<td class="colFirst"><code>boolean</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#hasAnyQueryParameters-java.lang.String...-">hasAnyQueryParameters</a></span>(<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>... params)</code>
-<div class="block">Returns <jk>true</jk> if the request contains any of the specified query parameters.</div>
-</td>
-</tr>
-<tr id="i83" class="rowColor">
-<td class="colFirst"><code>boolean</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#hasFormDataParameter-java.lang.String-">hasFormDataParameter</a></span>(<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> name)</code>
-<div class="block">Returns <jk>true</jk> if the form data parameters on this request contains the specified entry.</div>
-</td>
-</tr>
-<tr id="i84" class="altColor">
-<td class="colFirst"><code>boolean</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#hasQueryParameter-java.lang.String-">hasQueryParameter</a></span>(<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> name)</code>
-<div class="block">Returns <jk>true</jk> if the query parameters on this request contains the specified entry.</div>
-</td>
-</tr>
-<tr id="i85" class="rowColor">
+<tr id="i57" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#isPlainText--">isPlainText</a></span>()</code>
<div class="block">Returns <jk>true</jk> if <code>&plainText=true</code> was specified as a URL parameter.</div>
</td>
</tr>
-<tr id="i86" class="altColor">
+<tr id="i58" class="altColor">
<td class="colFirst"><code><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/rest/RestRequest.html#resolveVars-java.lang.String-">resolveVars</a></span>(<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> input)</code>
<div class="block">Shortcut for calling <code>getVarResolverSession().resolve(input)</code>.</div>
</td>
</tr>
-<tr id="i87" class="rowColor">
+<tr id="i59" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#setCharacterEncoding-java.lang.String-">setCharacterEncoding</a></span>(<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> charset)</code>
<div class="block">Sets the charset to expect on the request body.</div>
</td>
</tr>
-<tr id="i88" class="altColor">
+<tr id="i60" class="altColor">
<td class="colFirst"><code>void</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#setFormDataParameter-java.lang.String-java.lang.Object-">setFormDataParameter</a></span>(<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> name,
- <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code>
-<div class="block">Sets a request form data parameter value.</div>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#setFormData-java.lang.String-java.lang.Object-">setFormData</a></span>(<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> name,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code>
+<div class="block">Convenience method for calling <code>getFormData().put(name, value);</code>.</div>
</td>
</tr>
-<tr id="i89" class="rowColor">
+<tr id="i61" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#setHeader-java.lang.String-java.lang.Object-">setHeader</a></span>(<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> name,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code>
-<div class="block">Sets a request header value.</div>
+<div class="block">Convenience method for calling <code>getHeaders().put(name, value);</code></div>
</td>
</tr>
-<tr id="i90" class="altColor">
+<tr id="i62" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#setPathParameter-java.lang.String-java.lang.String-">setPathParameter</a></span>(<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> name,
<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> value)</code>
-<div class="block">Sets a path parameter value.</div>
+<div class="block">Convenience method for calling <code>getPathParams().put(name, value);</code>.</div>
</td>
</tr>
-<tr id="i91" class="rowColor">
+<tr id="i63" class="rowColor">
<td class="colFirst"><code>void</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#setQueryParameter-java.lang.String-java.lang.Object-">setQueryParameter</a></span>(<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> name,
- <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code>
-<div class="block">Sets a request query parameter value.</div>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestRequest.html#setQuery-java.lang.String-java.lang.Object-">setQuery</a></span>(<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> name,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code>
+<div class="block">Convenience method for calling <code>getQueryParams().put(name, value);</code>.</div>
</td>
</tr>
-<tr id="i92" class="altColor">
+<tr id="i64" class="altColor">
<td class="colFirst"><code><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/rest/RestRequest.html#toString--">toString</a></span>()</code> </td>
</tr>
@@ -818,7 +616,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
<ul class="blockList">
<li class="blockList">
<h4>getDescription</h4>
-<pre>public <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/rest/RestRequest.html#line.177">getDescription</a>()</pre>
+<pre>public <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/rest/RestRequest.html#line.198">getDescription</a>()</pre>
<div class="block">Returns a string of the form <js>"HTTP method-name full-url"</js></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
@@ -832,7 +630,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
<ul class="blockList">
<li class="blockList">
<h4>getProperties</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/rest/RestRequest.html#line.202">getProperties</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/rest/RestRequest.html#line.223">getProperties</a>()</pre>
<div class="block">Retrieve the properties active for this request.
<p>
These properties can be modified by the request.</div>
@@ -842,938 +640,252 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
</dl>
</li>
</ul>
-<a name="setHeader-java.lang.String-java.lang.Object-">
-<!-- -->
-</a>
-<ul class="blockList">
-<li class="blockList">
-<h4>setHeader</h4>
-<pre>public void <a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.217">setHeader</a>(<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> name,
- <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</pre>
-<div class="block">Sets a request header value.</div>
-<dl>
-<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>name</code> - The header name.</dd>
-<dd><code>value</code> - The header value.</dd>
-</dl>
-</li>
-</ul>
-<a name="getHeader-java.lang.String-">
-<!-- -->
-</a>
-<ul class="blockList">
-<li class="blockList">
-<h4>getHeader</h4>
-<pre>public <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/rest/RestRequest.html#line.230">getHeader</a>(<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> name)</pre>
-<div class="block">Returns the specified header value, or <jk>null</jk> if the header doesn't exist.
- <p>
- If <code>allowHeaderParams</code> init parameter is <jk>true</jk>, then first looks for <code>&HeaderName=x</code> in the URL query string.</div>
-<dl>
-<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
-<dd><code><a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletRequest.html?is-external=true#getHeader-java.lang.String-" title="class or interface in javax.servlet.http">getHeader</a></code> in interface <code><a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletRequest.html?is-external=true" title="class or interface in javax.servlet.http">HttpServletRequest</a></code></dd>
-<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
-<dd><code><a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletRequestWrapper.html?is-external=true#getHeader-java.lang.String-" title="class or interface in javax.servlet.http">getHeader</a></code> in class <code><a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletRequestWrapper.html?is-external=true" title="class or interface in javax.servlet.http">HttpServletRequestWrapper</a></code></dd>
-</dl>
-</li>
-</ul>
-<a name="getHeader-java.lang.String-java.lang.String-">
+<a name="getHeaders--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
-<h4>getHeader</h4>
-<pre>public <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/rest/RestRequest.html#line.243">getHeader</a>(<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> name,
- <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> def)</pre>
-<div class="block">Returns the specified header value, or a default value if the header doesn't exist.
- <p>
- If <code>allowHeaderParams</code> init parameter is <jk>true</jk>, then first looks for <code>&HeaderName=x</code> in the URL query string.</div>
+<h4>getHeaders</h4>
+<pre>public <a href="../../../../org/apache/juneau/rest/RequestHeaders.html" title="class in org.apache.juneau.rest">RequestHeaders</a> <a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.237">getHeaders</a>()</pre>
+<div class="block">Returns the headers on this request.</div>
<dl>
-<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>name</code> - The HTTP header name.</dd>
-<dd><code>def</code> - The default value to return if the header value isn't found.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
-<dd>The header value, or the default value if the header isn't present.</dd>
+<dd>The headers on this request. Never <jk>null</jk>.</dd>
</dl>
</li>
</ul>
-<a name="getHeader-java.lang.String-java.lang.Class-">
+<a name="setHeader-java.lang.String-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
-<h4>getHeader</h4>
-<pre>public <T> T <a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.281">getHeader</a>(<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> name,
- <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type)</pre>
-<div class="block">Returns the specified header value converted to a POJO.
- <p>
- The type can be any POJO type convertable from a <code>String</code>
- (See <a class="doclink" href="package-summary.html#PojosConvertableFromString">POJOs Convertable From Strings</a>).
- <p>
- <h5 class='section'>Examples:</h5>
- <p class='bcode'>
- <jc>// Parse into an integer.</jc>
- <jk>int</jk> myheader = req.getHeader(<js>"My-Header"</js>, <jk>int</jk>.<jk>class</jk>);
-
- <jc>// Parse a UUID.</jc>
- UUID myheader = req.getHeader(<js>"My-Header"</js>, UUID.<jk>class</jk>);
- </p></div>
+<h4>setHeader</h4>
+<pre>public void <a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.247">setHeader</a>(<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> name,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</pre>
+<div class="block">Convenience method for calling <code>getHeaders().put(name, value);</code></div>
<dl>
-<dt><span class="paramLabel">Type Parameters:</span></dt>
-<dd><code>T</code> - The class type to convert the header value to.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>name</code> - The HTTP header name.</dd>
-<dd><code>type</code> - The class type to convert the header value to.</dd>
-<dt><span class="returnLabel">Returns:</span></dt>
-<dd>The parameter value converted to the specified class type.</dd>
+<dd><code>name</code> - The header name.</dd>
+<dd><code>value</code> - The header value.</dd>
</dl>
</li>
</ul>
-<a name="getHeader-java.lang.String-java.lang.Object-java.lang.Class-">
-<!-- -->
-</a><a name="getHeader-java.lang.String-T-java.lang.Class-">
+<a name="getHeader-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
-<h4>getHeader</h4>
-<pre>public <T> T <a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.295">getHeader</a>(<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> name,
- T def,
- <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type)</pre>
-<div class="block">Same as <a href="../../../../org/apache/juneau/rest/RestRequest.html#getHeader-java.lang.String-java.lang.Class-"><code>getHeader(String, Class)</code></a> but returns a default value if not found.</div>
-<dl>
-<dt><span class="paramLabel">Type Parameters:</span></dt>
-<dd><code>T</code> - The class type to convert the header value to.</dd>
-<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>name</code> - The HTTP header name.</dd>
-<dd><code>def</code> - The default value if the header was not specified or is <jk>null</jk>.</dd>
-<dd><code>type</code> - The class type to convert the header value to.</dd>
-<dt><span class="returnLabel">Returns:</span></dt>
-<dd>The parameter value converted to the specified class type.</dd>
-</dl>
-</li>
-</ul>
-<a name="getHeader-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-">
-<!-- -->
-</a>
-<ul class="blockList">
-<li class="blockList">
-<h4>getHeader</h4>
-<pre>public <T> T <a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.324">getHeader</a>(<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> name,
- <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> type,
- <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>... args)
- throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
-<div class="block">Returns the specified header value converted to a POJO.
- <p>
- The type can be any POJO type convertable from a <code>String</code>
- (See <a class="doclink" href="package-summary.html#PojosConvertableFromString">POJOs Convertable From Strings</a>).
- <p>
- <h5 class='section'>Examples:</h5>
- <p class='bcode'>
- <jc>// Parse into a linked-list of strings.</jc>
- List<String> myheader = req.getHeader(<js>"My-Header"</js>, LinkedList.<jk>class</jk>, String.<jk>class</jk>);
- </p></div>
-<dl>
-<dt><span class="paramLabel">Type Parameters:</span></dt>
-<dd><code>T</code> - The class type to convert the header value to.</dd>
-<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>name</code> - The HTTP header name.</dd>
-<dd><code>type</code> - The type of object to create.
- <br>Can be any of the following: <a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/ParameterizedType.html?is-external=true" title="class or interface in java.lang.reflect"><code>ParameterizedType</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/GenericArrayType.html?is-external=true" title="class or interface in java.lang.reflect"><code>GenericArrayType</code></a></dd>
-<dd><code>args</code> - The type arguments of the class if it's a collection or map.
- <br>Can be any of the following: <a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/ParameterizedType.html?is-external=true" title="class or interface in java.lang.reflect"><code>ParameterizedType</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/GenericArrayType.html?is-external=true" title="class or interface in java.lang.reflect"><code>GenericArrayType</code></a>
- <br>Ignored if the main type is not a map or collection.</dd>
-<dt><span class="returnLabel">Returns:</span></dt>
-<dd>The parameter value converted to the specified class type.</dd>
-<dt><span class="throwsLabel">Throws:</span></dt>
-<dd><code><a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></code> - If the header could not be converted to the specified type.</dd>
-</dl>
-</li>
-</ul>
-<a name="getHeaders--">
-<!-- -->
-</a>
-<ul class="blockList">
-<li class="blockList">
-<h4>getHeaders</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/rest/RestRequest.html#line.336">getHeaders</a>()</pre>
-<div class="block">Returns all the request headers as an <a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau"><code>ObjectMap</code></a>.
- <p>
- Altering entries in this map does not alter headers in the underlying request.</div>
-<dl>
-<dt><span class="returnLabel">Returns:</span></dt>
-<dd>The request headers. Never <jk>null</jk>.</dd>
-</dl>
-</li>
-</ul>
-<a name="getHeaders-java.lang.String-">
-<!-- -->
-</a>
-<ul class="blockList">
-<li class="blockList">
-<h4>getHeaders</h4>
-<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Enumeration.html?is-external=true" title="class or interface in java.util">Enumeration</a><<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/rest/RestRequest.html#line.348">getHeaders</a>(<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> name)</pre>
-<dl>
-<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
-<dd><code><a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletRequest.html?is-external=true#getHeaders-java.lang.String-" title="class or interface in javax.servlet.http">getHeaders</a></code> in interface <code><a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletRequest.html?is-external=true" title="class or interface in javax.servlet.http">HttpServletRequest</a></code></dd>
-<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
-<dd><code><a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletRequestWrapper.html?is-external=true#getHeaders-java.lang.String-" title="class or interface in javax.servlet.http">getHeaders</a></code> in class <code><a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletRequestWrapper.html?is-external=true" title="class or interface in javax.servlet.http">HttpServletRequestWrapper</a></code></dd>
-</dl>
-</li>
-</ul>
-<a name="getAcceptHeader--">
-<!-- -->
-</a>
-<ul class="blockList">
-<li class="blockList">
-<h4>getAcceptHeader</h4>
-<pre>public <
<TRUNCATED>
[18/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/HeaderValidatorArray.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/HeaderValidatorArray.html b/content/site/apidocs/src-html/org/apache/juneau/http/HeaderValidatorArray.html
new file mode 100644
index 0000000..648866f
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/HeaderValidatorArray.html
@@ -0,0 +1,127 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>import org.apache.juneau.internal.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span><a name="line.16"></a>
+<span class="sourceLineNo">017</span>/**<a name="line.17"></a>
+<span class="sourceLineNo">018</span> * Category of headers that consist of a comma-delimited list of validator values.<a name="line.18"></a>
+<span class="sourceLineNo">019</span> * <p><a name="line.19"></a>
+<span class="sourceLineNo">020</span> * <h6 class='figure'>Example</h6><a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p class='bcode'><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * If-Match: "xyzzy"<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * If-Match: "xyzzy", "r2d2xxxx", "c3piozzzz"<a name="line.23"></a>
+<span class="sourceLineNo">024</span> * If-Match: *<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * </p><a name="line.25"></a>
+<span class="sourceLineNo">026</span> */<a name="line.26"></a>
+<span class="sourceLineNo">027</span>public class HeaderValidatorArray {<a name="line.27"></a>
+<span class="sourceLineNo">028</span><a name="line.28"></a>
+<span class="sourceLineNo">029</span> private final EntityValidator[] value;<a name="line.29"></a>
+<span class="sourceLineNo">030</span><a name="line.30"></a>
+<span class="sourceLineNo">031</span> /**<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * Constructor.<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * @param value The raw header value.<a name="line.33"></a>
+<span class="sourceLineNo">034</span> */<a name="line.34"></a>
+<span class="sourceLineNo">035</span> protected HeaderValidatorArray(String value) {<a name="line.35"></a>
+<span class="sourceLineNo">036</span> String[] s = StringUtils.split(value, ',');<a name="line.36"></a>
+<span class="sourceLineNo">037</span> this.value = new EntityValidator[s.length];<a name="line.37"></a>
+<span class="sourceLineNo">038</span> for (int i = 0; i < s.length; i++) {<a name="line.38"></a>
+<span class="sourceLineNo">039</span> this.value[i] = new EntityValidator(s[i]);<a name="line.39"></a>
+<span class="sourceLineNo">040</span> }<a name="line.40"></a>
+<span class="sourceLineNo">041</span> }<a name="line.41"></a>
+<span class="sourceLineNo">042</span><a name="line.42"></a>
+<span class="sourceLineNo">043</span> /**<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * Returns this header value as an array of {@link EntityValidator} objects.<a name="line.44"></a>
+<span class="sourceLineNo">045</span> * @return this header value as an array of {@link EntityValidator} objects.<a name="line.45"></a>
+<span class="sourceLineNo">046</span> */<a name="line.46"></a>
+<span class="sourceLineNo">047</span> public EntityValidator[] asValidators() {<a name="line.47"></a>
+<span class="sourceLineNo">048</span> return value;<a name="line.48"></a>
+<span class="sourceLineNo">049</span> }<a name="line.49"></a>
+<span class="sourceLineNo">050</span><a name="line.50"></a>
+<span class="sourceLineNo">051</span> @Override /* Object */<a name="line.51"></a>
+<span class="sourceLineNo">052</span> public String toString() {<a name="line.52"></a>
+<span class="sourceLineNo">053</span> return StringUtils.join(value, ", ");<a name="line.53"></a>
+<span class="sourceLineNo">054</span> }<a name="line.54"></a>
+<span class="sourceLineNo">055</span>}<a name="line.55"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/Host.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/Host.html b/content/site/apidocs/src-html/org/apache/juneau/http/Host.html
new file mode 100644
index 0000000..6f735e3
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/Host.html
@@ -0,0 +1,147 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Represents a parsed <l>Host</l> HTTP request header.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * <p><a name="line.17"></a>
+<span class="sourceLineNo">018</span> * The domain name of the server (for virtual hosting), and the TCP port number on which the server is listening.<a name="line.18"></a>
+<span class="sourceLineNo">019</span> * The port number may be omitted if the port is the standard port for the service requested.<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * Mandatory since HTTP/1.1.<a name="line.20"></a>
+<span class="sourceLineNo">021</span> *<a name="line.21"></a>
+<span class="sourceLineNo">022</span> * <h6 class='figure'>Example</h6><a name="line.22"></a>
+<span class="sourceLineNo">023</span> * <p class='bcode'><a name="line.23"></a>
+<span class="sourceLineNo">024</span> * Host: en.wikipedia.org:8080<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * Host: en.wikipedia.org<a name="line.25"></a>
+<span class="sourceLineNo">026</span> * </p><a name="line.26"></a>
+<span class="sourceLineNo">027</span> *<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * <h6 class='topic'>RFC2616 Specification</h6><a name="line.28"></a>
+<span class="sourceLineNo">029</span> *<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * The Host request-header field specifies the Internet host and port number of the resource being requested, as<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * obtained from the original URI given by the user or referring resource (generally an HTTP URL, as described in<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * section 3.2.2).<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * The Host field value MUST represent the naming authority of the origin server or gateway given by the original URL.<a name="line.33"></a>
+<span class="sourceLineNo">034</span> * This allows the origin server or gateway to differentiate between internally-ambiguous URLs, such as the root "/" URL<a name="line.34"></a>
+<span class="sourceLineNo">035</span> * of a server for multiple host names on a single IP address.<a name="line.35"></a>
+<span class="sourceLineNo">036</span> * <p class='bcode'><a name="line.36"></a>
+<span class="sourceLineNo">037</span> * Host = "Host" ":" host [ ":" port ] ; Section 3.2.2<a name="line.37"></a>
+<span class="sourceLineNo">038</span> * </p><a name="line.38"></a>
+<span class="sourceLineNo">039</span> * <p><a name="line.39"></a>
+<span class="sourceLineNo">040</span> * A "host" without any trailing port information implies the default port for the service requested (e.g., "80" for an<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * HTTP URL).<a name="line.41"></a>
+<span class="sourceLineNo">042</span> * For example, a request on the origin server for <http://www.w3.org/pub/WWW/> would properly include:<a name="line.42"></a>
+<span class="sourceLineNo">043</span> * <p class='bcode'><a name="line.43"></a>
+<span class="sourceLineNo">044</span> * GET /pub/WWW/ HTTP/1.1<a name="line.44"></a>
+<span class="sourceLineNo">045</span> * Host: www.w3.org<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * </p><a name="line.46"></a>
+<span class="sourceLineNo">047</span> * <p><a name="line.47"></a>
+<span class="sourceLineNo">048</span> * A client MUST include a Host header field in all HTTP/1.1 request messages.<a name="line.48"></a>
+<span class="sourceLineNo">049</span> * If the requested URI does not include an Internet host name for the service being requested, then the Host header<a name="line.49"></a>
+<span class="sourceLineNo">050</span> * field MUST be given with an empty value.<a name="line.50"></a>
+<span class="sourceLineNo">051</span> * An HTTP/1.1 proxy MUST ensure that any request message it forwards does contain an appropriate Host header field that<a name="line.51"></a>
+<span class="sourceLineNo">052</span> * identifies the service being requested by the proxy.<a name="line.52"></a>
+<span class="sourceLineNo">053</span> * All Internet-based HTTP/1.1 servers MUST respond with a 400 (Bad Request) status code to any HTTP/1.1 request<a name="line.53"></a>
+<span class="sourceLineNo">054</span> * message which lacks a Host header field.<a name="line.54"></a>
+<span class="sourceLineNo">055</span> * <p><a name="line.55"></a>
+<span class="sourceLineNo">056</span> * See sections 5.2 and 19.6.1.1 for other requirements relating to Host.<a name="line.56"></a>
+<span class="sourceLineNo">057</span> */<a name="line.57"></a>
+<span class="sourceLineNo">058</span>public final class Host extends HeaderString {<a name="line.58"></a>
+<span class="sourceLineNo">059</span><a name="line.59"></a>
+<span class="sourceLineNo">060</span> /**<a name="line.60"></a>
+<span class="sourceLineNo">061</span> * Returns a parsed <code>Host</code> header.<a name="line.61"></a>
+<span class="sourceLineNo">062</span> *<a name="line.62"></a>
+<span class="sourceLineNo">063</span> * @param value The <code>Host</code> header string.<a name="line.63"></a>
+<span class="sourceLineNo">064</span> * @return The parsed <code>Host</code> header, or <jk>null</jk> if the string was null.<a name="line.64"></a>
+<span class="sourceLineNo">065</span> */<a name="line.65"></a>
+<span class="sourceLineNo">066</span> public static Host forString(String value) {<a name="line.66"></a>
+<span class="sourceLineNo">067</span> if (value == null)<a name="line.67"></a>
+<span class="sourceLineNo">068</span> return null;<a name="line.68"></a>
+<span class="sourceLineNo">069</span> return new Host(value);<a name="line.69"></a>
+<span class="sourceLineNo">070</span> }<a name="line.70"></a>
+<span class="sourceLineNo">071</span><a name="line.71"></a>
+<span class="sourceLineNo">072</span> private Host(String value) {<a name="line.72"></a>
+<span class="sourceLineNo">073</span> super(value);<a name="line.73"></a>
+<span class="sourceLineNo">074</span> }<a name="line.74"></a>
+<span class="sourceLineNo">075</span>}<a name="line.75"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/HttpMethod.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/HttpMethod.html b/content/site/apidocs/src-html/org/apache/juneau/http/HttpMethod.html
new file mode 100644
index 0000000..3d05d3b
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/HttpMethod.html
@@ -0,0 +1,145 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>import java.util.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span><a name="line.16"></a>
+<span class="sourceLineNo">017</span>/**<a name="line.17"></a>
+<span class="sourceLineNo">018</span> * Represents valid HTTP 1.1 method names per the <a class='doclink' href='https://www.ietf.org/rfc/rfc2616.txt'>RFC 2616</a> spec.<a name="line.18"></a>
+<span class="sourceLineNo">019</span> */<a name="line.19"></a>
+<span class="sourceLineNo">020</span>public enum HttpMethod {<a name="line.20"></a>
+<span class="sourceLineNo">021</span><a name="line.21"></a>
+<span class="sourceLineNo">022</span> /** <a class='doclink' href='https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.2'>OPTIONS</a> */<a name="line.22"></a>
+<span class="sourceLineNo">023</span> OPTIONS,<a name="line.23"></a>
+<span class="sourceLineNo">024</span><a name="line.24"></a>
+<span class="sourceLineNo">025</span> /** <a class='doclink' href='https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.3'>GET</a> */<a name="line.25"></a>
+<span class="sourceLineNo">026</span> GET,<a name="line.26"></a>
+<span class="sourceLineNo">027</span><a name="line.27"></a>
+<span class="sourceLineNo">028</span> /** <a class='doclink' href='https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.4'>HEAD</a> */<a name="line.28"></a>
+<span class="sourceLineNo">029</span> HEAD,<a name="line.29"></a>
+<span class="sourceLineNo">030</span><a name="line.30"></a>
+<span class="sourceLineNo">031</span> /** <a class='doclink' href='https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5'>POST</a> */<a name="line.31"></a>
+<span class="sourceLineNo">032</span> POST,<a name="line.32"></a>
+<span class="sourceLineNo">033</span><a name="line.33"></a>
+<span class="sourceLineNo">034</span> /** <a class='doclink' href='https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.6'>PUT</a> */<a name="line.34"></a>
+<span class="sourceLineNo">035</span> PUT,<a name="line.35"></a>
+<span class="sourceLineNo">036</span><a name="line.36"></a>
+<span class="sourceLineNo">037</span> /** <a class='doclink' href='https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.7'>DELETE</a> */<a name="line.37"></a>
+<span class="sourceLineNo">038</span> DELETE,<a name="line.38"></a>
+<span class="sourceLineNo">039</span><a name="line.39"></a>
+<span class="sourceLineNo">040</span> /** <a class='doclink' href='https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.8'>TRACE</a> */<a name="line.40"></a>
+<span class="sourceLineNo">041</span> TRACE,<a name="line.41"></a>
+<span class="sourceLineNo">042</span><a name="line.42"></a>
+<span class="sourceLineNo">043</span> /** <a class='doclink' href='https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.9'>CONNECT</a> */<a name="line.43"></a>
+<span class="sourceLineNo">044</span> CONNECT,<a name="line.44"></a>
+<span class="sourceLineNo">045</span><a name="line.45"></a>
+<span class="sourceLineNo">046</span> /** A non-standard value. */<a name="line.46"></a>
+<span class="sourceLineNo">047</span> OTHER;<a name="line.47"></a>
+<span class="sourceLineNo">048</span><a name="line.48"></a>
+<span class="sourceLineNo">049</span> private static final Map<String,HttpMethod> cache = new TreeMap<String,HttpMethod>(String.CASE_INSENSITIVE_ORDER);<a name="line.49"></a>
+<span class="sourceLineNo">050</span> static {<a name="line.50"></a>
+<span class="sourceLineNo">051</span> cache.put("OPTIONS", OPTIONS);<a name="line.51"></a>
+<span class="sourceLineNo">052</span> cache.put("GET", GET);<a name="line.52"></a>
+<span class="sourceLineNo">053</span> cache.put("HEAD", HEAD);<a name="line.53"></a>
+<span class="sourceLineNo">054</span> cache.put("POST", POST);<a name="line.54"></a>
+<span class="sourceLineNo">055</span> cache.put("PUT", PUT);<a name="line.55"></a>
+<span class="sourceLineNo">056</span> cache.put("DELETE", DELETE);<a name="line.56"></a>
+<span class="sourceLineNo">057</span> cache.put("TRACE", TRACE);<a name="line.57"></a>
+<span class="sourceLineNo">058</span> cache.put("CONNECT", CONNECT);<a name="line.58"></a>
+<span class="sourceLineNo">059</span> }<a name="line.59"></a>
+<span class="sourceLineNo">060</span><a name="line.60"></a>
+<span class="sourceLineNo">061</span> /**<a name="line.61"></a>
+<span class="sourceLineNo">062</span> * Returns the enum for the specified key.<a name="line.62"></a>
+<span class="sourceLineNo">063</span> * <p><a name="line.63"></a>
+<span class="sourceLineNo">064</span> * Case is ignored.<a name="line.64"></a>
+<span class="sourceLineNo">065</span> *<a name="line.65"></a>
+<span class="sourceLineNo">066</span> * @param key The HTTP method name.<a name="line.66"></a>
+<span class="sourceLineNo">067</span> * @return The HttpMethod enum, or {@link #OTHER} if it's not a standard method name.<a name="line.67"></a>
+<span class="sourceLineNo">068</span> */<a name="line.68"></a>
+<span class="sourceLineNo">069</span> public static HttpMethod forString(String key) {<a name="line.69"></a>
+<span class="sourceLineNo">070</span> HttpMethod m = cache.get(key);<a name="line.70"></a>
+<span class="sourceLineNo">071</span> return m == null ? OTHER : m;<a name="line.71"></a>
+<span class="sourceLineNo">072</span> }<a name="line.72"></a>
+<span class="sourceLineNo">073</span>}<a name="line.73"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/IfMatch.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/IfMatch.html b/content/site/apidocs/src-html/org/apache/juneau/http/IfMatch.html
new file mode 100644
index 0000000..bb40d12
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/IfMatch.html
@@ -0,0 +1,162 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Represents a parsed <l>If-Match</l> HTTP request header.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * <p><a name="line.17"></a>
+<span class="sourceLineNo">018</span> * Only perform the action if the client supplied entity matches the same entity on the server.<a name="line.18"></a>
+<span class="sourceLineNo">019</span> * This is mainly for methods like PUT to only update a resource if it has not been modified since the user last<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * updated it.<a name="line.20"></a>
+<span class="sourceLineNo">021</span> *<a name="line.21"></a>
+<span class="sourceLineNo">022</span> * <h6 class='figure'>Example</h6><a name="line.22"></a>
+<span class="sourceLineNo">023</span> * <p class='bcode'><a name="line.23"></a>
+<span class="sourceLineNo">024</span> * If-Match: "737060cd8c284d8af7ad3082f209582d"<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * </p><a name="line.25"></a>
+<span class="sourceLineNo">026</span> *<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * <h6 class='topic'>RFC2616 Specification</h6><a name="line.27"></a>
+<span class="sourceLineNo">028</span> *<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * The If-Match request-header field is used with a method to make it conditional.<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * A client that has one or more entities previously obtained from the resource can verify that one of those entities<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * is current by including a list of their associated entity tags in the If-Match header field.<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * Entity tags are defined in section 3.11.<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * The purpose of this feature is to allow efficient updates of cached information with a minimum amount of transaction<a name="line.33"></a>
+<span class="sourceLineNo">034</span> * overhead.<a name="line.34"></a>
+<span class="sourceLineNo">035</span> * It is also used, on updating requests, to prevent inadvertent modification of the wrong version of a resource.<a name="line.35"></a>
+<span class="sourceLineNo">036</span> * As a special case, the value "*" matches any current entity of the resource.<a name="line.36"></a>
+<span class="sourceLineNo">037</span> * <p class='bcode'><a name="line.37"></a>
+<span class="sourceLineNo">038</span> * If-Match = "If-Match" ":" ( "*" | 1#entity-tag )<a name="line.38"></a>
+<span class="sourceLineNo">039</span> * </p><a name="line.39"></a>
+<span class="sourceLineNo">040</span> * <p><a name="line.40"></a>
+<span class="sourceLineNo">041</span> * If any of the entity tags match the entity tag of the entity that would have been returned in the response to a<a name="line.41"></a>
+<span class="sourceLineNo">042</span> * similar GET request (without the If-Match header) on that resource, or if "*" is given and any current entity exists<a name="line.42"></a>
+<span class="sourceLineNo">043</span> * for that resource, then the server MAY perform the requested method as if the If-Match header field did not exist.<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * <p><a name="line.44"></a>
+<span class="sourceLineNo">045</span> * A server MUST use the strong comparison function (see section 13.3.3) to compare the entity tags in If-Match.<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * <p><a name="line.46"></a>
+<span class="sourceLineNo">047</span> * If none of the entity tags match, or if "*" is given and no current entity exists, the server MUST NOT perform the<a name="line.47"></a>
+<span class="sourceLineNo">048</span> * requested method, and MUST return a 412 (Precondition Failed) response.<a name="line.48"></a>
+<span class="sourceLineNo">049</span> * This behavior is most useful when the client wants to prevent an updating method, such as PUT, from modifying a<a name="line.49"></a>
+<span class="sourceLineNo">050</span> * resource that has changed since the client last retrieved it.<a name="line.50"></a>
+<span class="sourceLineNo">051</span> * <p><a name="line.51"></a>
+<span class="sourceLineNo">052</span> * If the request would, without the If-Match header field, result in anything other than a 2xx or 412 status, then the<a name="line.52"></a>
+<span class="sourceLineNo">053</span> * If-Match header MUST be ignored.<a name="line.53"></a>
+<span class="sourceLineNo">054</span> * <p><a name="line.54"></a>
+<span class="sourceLineNo">055</span> * The meaning of "If-Match: *" is that the method SHOULD be performed if the representation selected by the origin<a name="line.55"></a>
+<span class="sourceLineNo">056</span> * server (or by a cache, possibly using the Vary mechanism, see section 14.44) exists, and MUST NOT be performed if the<a name="line.56"></a>
+<span class="sourceLineNo">057</span> * representation does not exist.<a name="line.57"></a>
+<span class="sourceLineNo">058</span> * <p><a name="line.58"></a>
+<span class="sourceLineNo">059</span> * A request intended to update a resource (e.g., a PUT) MAY include an If-Match header field to signal that the request<a name="line.59"></a>
+<span class="sourceLineNo">060</span> * method MUST NOT be applied if the entity corresponding to the If-Match value (a single entity tag) is no longer a<a name="line.60"></a>
+<span class="sourceLineNo">061</span> * representation of that resource.<a name="line.61"></a>
+<span class="sourceLineNo">062</span> * This allows the user to indicate that they do not wish the request to be successful if the resource has been changed<a name="line.62"></a>
+<span class="sourceLineNo">063</span> * without their knowledge.<a name="line.63"></a>
+<span class="sourceLineNo">064</span> * Examples:<a name="line.64"></a>
+<span class="sourceLineNo">065</span> * <p class='bcode'><a name="line.65"></a>
+<span class="sourceLineNo">066</span> * If-Match: "xyzzy"<a name="line.66"></a>
+<span class="sourceLineNo">067</span> * If-Match: "xyzzy", "r2d2xxxx", "c3piozzzz"<a name="line.67"></a>
+<span class="sourceLineNo">068</span> * If-Match: *<a name="line.68"></a>
+<span class="sourceLineNo">069</span> * </p><a name="line.69"></a>
+<span class="sourceLineNo">070</span> * The result of a request having both an If-Match header field and either an If-None-Match or an If-Modified-Since<a name="line.70"></a>
+<span class="sourceLineNo">071</span> * header fields is undefined by this specification.<a name="line.71"></a>
+<span class="sourceLineNo">072</span> */<a name="line.72"></a>
+<span class="sourceLineNo">073</span>public final class IfMatch extends HeaderEntityValidatorArray {<a name="line.73"></a>
+<span class="sourceLineNo">074</span><a name="line.74"></a>
+<span class="sourceLineNo">075</span> /**<a name="line.75"></a>
+<span class="sourceLineNo">076</span> * Returns a parsed <code>If-Match</code> header.<a name="line.76"></a>
+<span class="sourceLineNo">077</span> *<a name="line.77"></a>
+<span class="sourceLineNo">078</span> * @param value The <code>If-Match</code> header string.<a name="line.78"></a>
+<span class="sourceLineNo">079</span> * @return The parsed <code>If-Match</code> header, or <jk>null</jk> if the string was null.<a name="line.79"></a>
+<span class="sourceLineNo">080</span> */<a name="line.80"></a>
+<span class="sourceLineNo">081</span> public static IfMatch forString(String value) {<a name="line.81"></a>
+<span class="sourceLineNo">082</span> if (value == null)<a name="line.82"></a>
+<span class="sourceLineNo">083</span> return null;<a name="line.83"></a>
+<span class="sourceLineNo">084</span> return new IfMatch(value);<a name="line.84"></a>
+<span class="sourceLineNo">085</span> }<a name="line.85"></a>
+<span class="sourceLineNo">086</span><a name="line.86"></a>
+<span class="sourceLineNo">087</span> private IfMatch(String value) {<a name="line.87"></a>
+<span class="sourceLineNo">088</span> super(value);<a name="line.88"></a>
+<span class="sourceLineNo">089</span> }<a name="line.89"></a>
+<span class="sourceLineNo">090</span>}<a name="line.90"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/IfModifiedSince.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/IfModifiedSince.html b/content/site/apidocs/src-html/org/apache/juneau/http/IfModifiedSince.html
new file mode 100644
index 0000000..860b754
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/IfModifiedSince.html
@@ -0,0 +1,164 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Represents a parsed <l>If-Modified-Since</l> HTTP request header.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * <p><a name="line.17"></a>
+<span class="sourceLineNo">018</span> * Allows a 304 Not Modified to be returned if content is unchanged.<a name="line.18"></a>
+<span class="sourceLineNo">019</span> *<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * <h6 class='figure'>Example</h6><a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p class='bcode'><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * If-Modified-Since: Sat, 29 Oct 1994 19:43:31 GMT<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * </p><a name="line.23"></a>
+<span class="sourceLineNo">024</span> *<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * <h6 class='topic'>RFC2616 Specification</h6><a name="line.25"></a>
+<span class="sourceLineNo">026</span> *<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * The If-Modified-Since request-header field is used with a method to make it conditional:<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * if the requested variant has not been modified since the time specified in this field, an entity will not be returned<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * from the server; instead, a 304 (not modified) response will be returned without any message-body.<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * <p class='bcode'><a name="line.30"></a>
+<span class="sourceLineNo">031</span> * If-Modified-Since = "If-Modified-Since" ":" HTTP-date<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * </p><a name="line.32"></a>
+<span class="sourceLineNo">033</span> * <p><a name="line.33"></a>
+<span class="sourceLineNo">034</span> * An example of the field is:<a name="line.34"></a>
+<span class="sourceLineNo">035</span> * <p class='bcode'><a name="line.35"></a>
+<span class="sourceLineNo">036</span> * If-Modified-Since: Sat, 29 Oct 1994 19:43:31 GMT<a name="line.36"></a>
+<span class="sourceLineNo">037</span> * </p><a name="line.37"></a>
+<span class="sourceLineNo">038</span> * <p><a name="line.38"></a>
+<span class="sourceLineNo">039</span> * A GET method with an If-Modified-Since header and no Range header requests that the identified entity be transferred<a name="line.39"></a>
+<span class="sourceLineNo">040</span> * only if it has been modified since the date given by the If-Modified-Since header.<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * The algorithm for determining this includes the following cases:<a name="line.41"></a>
+<span class="sourceLineNo">042</span> * <ol><a name="line.42"></a>
+<span class="sourceLineNo">043</span> * <li>If the request would normally result in anything other than a 200 (OK) status, or if the passed<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * If-Modified-Since date is invalid, the response is exactly the same as for a normal GET.<a name="line.44"></a>
+<span class="sourceLineNo">045</span> * A date which is later than the server's current time is invalid.<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * <li>If the variant has been modified since the If-Modified-Since date, the response is exactly the same as for a<a name="line.46"></a>
+<span class="sourceLineNo">047</span> * normal GET.<a name="line.47"></a>
+<span class="sourceLineNo">048</span> * <li>If the variant has not been modified since a valid If-Modified-Since date, the server SHOULD return a 304<a name="line.48"></a>
+<span class="sourceLineNo">049</span> * (Not Modified) response.<a name="line.49"></a>
+<span class="sourceLineNo">050</span> * </ol><a name="line.50"></a>
+<span class="sourceLineNo">051</span> * The purpose of this feature is to allow efficient updates of cached information with a minimum amount of transaction<a name="line.51"></a>
+<span class="sourceLineNo">052</span> * overhead.<a name="line.52"></a>
+<span class="sourceLineNo">053</span> * <p><a name="line.53"></a>
+<span class="sourceLineNo">054</span> * Note: The Range request-header field modifies the meaning of If-Modified-Since; see section 14.35 for full details.<a name="line.54"></a>
+<span class="sourceLineNo">055</span> * <p><a name="line.55"></a>
+<span class="sourceLineNo">056</span> * Note: If-Modified-Since times are interpreted by the server, whose clock might not be synchronized with the client.<a name="line.56"></a>
+<span class="sourceLineNo">057</span> * <p><a name="line.57"></a>
+<span class="sourceLineNo">058</span> * Note: When handling an If-Modified-Since header field, some servers will use an exact date comparison function,<a name="line.58"></a>
+<span class="sourceLineNo">059</span> * rather than a less-than function, for deciding whether to send a 304 (Not Modified) response.<a name="line.59"></a>
+<span class="sourceLineNo">060</span> * To get best results when sending an If-Modified-Since header field for cache validation, clients are<a name="line.60"></a>
+<span class="sourceLineNo">061</span> * advised to use the exact date string received in a previous Last-Modified header field whenever possible.<a name="line.61"></a>
+<span class="sourceLineNo">062</span> * <p><a name="line.62"></a>
+<span class="sourceLineNo">063</span> * Note: If a client uses an arbitrary date in the If-Modified-Since header instead of a date taken from the<a name="line.63"></a>
+<span class="sourceLineNo">064</span> * Last-Modified header for the same request, the client should be aware of the fact that this date is interpreted in<a name="line.64"></a>
+<span class="sourceLineNo">065</span> * the server's understanding of time.<a name="line.65"></a>
+<span class="sourceLineNo">066</span> * The client should consider unsynchronized clocks and rounding problems due to the different encodings of time between<a name="line.66"></a>
+<span class="sourceLineNo">067</span> * the client and server.<a name="line.67"></a>
+<span class="sourceLineNo">068</span> * This includes the possibility of race conditions if the document has changed between the time it was first requested<a name="line.68"></a>
+<span class="sourceLineNo">069</span> * and the If-Modified-Since date of a subsequent request, and the possibility of clock-skew-related problems if the<a name="line.69"></a>
+<span class="sourceLineNo">070</span> * If-Modified-Since date is derived from the client's clock without correction to the server's clock.<a name="line.70"></a>
+<span class="sourceLineNo">071</span> * Corrections for different time bases between client and server are at best approximate due to network latency.<a name="line.71"></a>
+<span class="sourceLineNo">072</span> * The result of a request having both an If-Modified-Since header field and either an If-Match or an<a name="line.72"></a>
+<span class="sourceLineNo">073</span> * If-Unmodified-Since header fields is undefined by this specification.<a name="line.73"></a>
+<span class="sourceLineNo">074</span> */<a name="line.74"></a>
+<span class="sourceLineNo">075</span>public final class IfModifiedSince extends HeaderDate {<a name="line.75"></a>
+<span class="sourceLineNo">076</span><a name="line.76"></a>
+<span class="sourceLineNo">077</span> /**<a name="line.77"></a>
+<span class="sourceLineNo">078</span> * Returns a parsed <code>If-Modified-Since</code> header.<a name="line.78"></a>
+<span class="sourceLineNo">079</span> *<a name="line.79"></a>
+<span class="sourceLineNo">080</span> * @param value The <code>If-Modified-Since</code> header string.<a name="line.80"></a>
+<span class="sourceLineNo">081</span> * @return The parsed <code>If-Modified-Since</code> header, or <jk>null</jk> if the string was null.<a name="line.81"></a>
+<span class="sourceLineNo">082</span> */<a name="line.82"></a>
+<span class="sourceLineNo">083</span> public static IfModifiedSince forString(String value) {<a name="line.83"></a>
+<span class="sourceLineNo">084</span> if (value == null)<a name="line.84"></a>
+<span class="sourceLineNo">085</span> return null;<a name="line.85"></a>
+<span class="sourceLineNo">086</span> return new IfModifiedSince(value);<a name="line.86"></a>
+<span class="sourceLineNo">087</span> }<a name="line.87"></a>
+<span class="sourceLineNo">088</span><a name="line.88"></a>
+<span class="sourceLineNo">089</span> private IfModifiedSince(String value) {<a name="line.89"></a>
+<span class="sourceLineNo">090</span> super(value);<a name="line.90"></a>
+<span class="sourceLineNo">091</span> }<a name="line.91"></a>
+<span class="sourceLineNo">092</span>}<a name="line.92"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/IfNoneMatch.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/IfNoneMatch.html b/content/site/apidocs/src-html/org/apache/juneau/http/IfNoneMatch.html
new file mode 100644
index 0000000..d88f82f
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/IfNoneMatch.html
@@ -0,0 +1,167 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Represents a parsed <l>If-None-Match</l> HTTP request header.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * <p><a name="line.17"></a>
+<span class="sourceLineNo">018</span> * Allows a 304 Not Modified to be returned if content is unchanged.<a name="line.18"></a>
+<span class="sourceLineNo">019</span> *<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * <h6 class='figure'>Example</h6><a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p class='bcode'><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * If-None-Match: "737060cd8c284d8af7ad3082f209582d"<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * </p><a name="line.23"></a>
+<span class="sourceLineNo">024</span> *<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * <h6 class='topic'>RFC2616 Specification</h6><a name="line.25"></a>
+<span class="sourceLineNo">026</span> *<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * The If-None-Match request-header field is used with a method to make it conditional.<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * A client that has one or more entities previously obtained from the resource can verify that none of those entities<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * is current by including a list of their associated entity tags in the If-None-Match header field.<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * The purpose of this feature is to allow efficient updates of cached information with a minimum amount of transaction<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * overhead.<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * It is also used to prevent a method (e.g. PUT) from inadvertently modifying an existing resource when the client<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * believes that the resource does not exist.<a name="line.33"></a>
+<span class="sourceLineNo">034</span> * <p><a name="line.34"></a>
+<span class="sourceLineNo">035</span> * As a special case, the value "*" matches any current entity of the resource.<a name="line.35"></a>
+<span class="sourceLineNo">036</span> * <p class='bcode'><a name="line.36"></a>
+<span class="sourceLineNo">037</span> * If-None-Match = "If-None-Match" ":" ( "*" | 1#entity-tag )<a name="line.37"></a>
+<span class="sourceLineNo">038</span> * </p><a name="line.38"></a>
+<span class="sourceLineNo">039</span> * <p><a name="line.39"></a>
+<span class="sourceLineNo">040</span> * If any of the entity tags match the entity tag of the entity that would have been returned in the response to a<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * similar GET request (without the If-None-Match header) on that resource, or if "*" is given<a name="line.41"></a>
+<span class="sourceLineNo">042</span> * and any current entity exists for that resource, then the server MUST NOT perform the requested method, unless<a name="line.42"></a>
+<span class="sourceLineNo">043</span> * required to do so because the resource's modification date fails to match that supplied in an If-Modified-Since<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * header field in the request.<a name="line.44"></a>
+<span class="sourceLineNo">045</span> * Instead, if the request method was GET or HEAD, the server SHOULD respond with a 304 (Not Modified) response,<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * including the cache- related header fields (particularly ETag) of one of the entities that matched.<a name="line.46"></a>
+<span class="sourceLineNo">047</span> * For all other request methods, the server MUST respond with a status of 412 (Precondition Failed).<a name="line.47"></a>
+<span class="sourceLineNo">048</span> * <p><a name="line.48"></a>
+<span class="sourceLineNo">049</span> * See section 13.3.3 for rules on how to determine if two entities tags match.<a name="line.49"></a>
+<span class="sourceLineNo">050</span> * The weak comparison function can only be used with GET or HEAD requests.<a name="line.50"></a>
+<span class="sourceLineNo">051</span> * <p><a name="line.51"></a>
+<span class="sourceLineNo">052</span> * If none of the entity tags match, then the server MAY perform the requested method as if the If-None-Match header<a name="line.52"></a>
+<span class="sourceLineNo">053</span> * field did not exist, but MUST also ignore any If-Modified-Since header field(s) in the request.<a name="line.53"></a>
+<span class="sourceLineNo">054</span> * That is, if no entity tags match, then the server MUST NOT return a 304 (Not Modified) response.<a name="line.54"></a>
+<span class="sourceLineNo">055</span> * <p><a name="line.55"></a>
+<span class="sourceLineNo">056</span> * If the request would, without the If-None-Match header field, result in anything other than a 2xx or 304 status,<a name="line.56"></a>
+<span class="sourceLineNo">057</span> * then the If-None-Match header MUST be ignored.<a name="line.57"></a>
+<span class="sourceLineNo">058</span> * (See section 13.3.4 for a discussion of server behavior when both If-Modified-Since and If-None-Match appear in the<a name="line.58"></a>
+<span class="sourceLineNo">059</span> * same request.)<a name="line.59"></a>
+<span class="sourceLineNo">060</span> * <p><a name="line.60"></a>
+<span class="sourceLineNo">061</span> * The meaning of "If-None-Match: *" is that the method MUST NOT be performed if the representation selected by the<a name="line.61"></a>
+<span class="sourceLineNo">062</span> * origin server (or by a cache, possibly using the Vary mechanism, see section 14.44) exists, and SHOULD be performed<a name="line.62"></a>
+<span class="sourceLineNo">063</span> * if the representation does not exist.<a name="line.63"></a>
+<span class="sourceLineNo">064</span> * This feature is intended to be useful in preventing races between PUT operations.<a name="line.64"></a>
+<span class="sourceLineNo">065</span> * <p><a name="line.65"></a>
+<span class="sourceLineNo">066</span> * Examples:<a name="line.66"></a>
+<span class="sourceLineNo">067</span> * <p class='bcode'><a name="line.67"></a>
+<span class="sourceLineNo">068</span> * If-None-Match: "xyzzy"<a name="line.68"></a>
+<span class="sourceLineNo">069</span> * If-None-Match: W/"xyzzy"<a name="line.69"></a>
+<span class="sourceLineNo">070</span> * If-None-Match: "xyzzy", "r2d2xxxx", "c3piozzzz"<a name="line.70"></a>
+<span class="sourceLineNo">071</span> * If-None-Match: W/"xyzzy", W/"r2d2xxxx", W/"c3piozzzz"<a name="line.71"></a>
+<span class="sourceLineNo">072</span> * If-None-Match: *<a name="line.72"></a>
+<span class="sourceLineNo">073</span> * </p><a name="line.73"></a>
+<span class="sourceLineNo">074</span> * <p><a name="line.74"></a>
+<span class="sourceLineNo">075</span> * The result of a request having both an If-None-Match header field and either an If-Match or an If-Unmodified-Since<a name="line.75"></a>
+<span class="sourceLineNo">076</span> * header fields is undefined by this specification.<a name="line.76"></a>
+<span class="sourceLineNo">077</span> */<a name="line.77"></a>
+<span class="sourceLineNo">078</span>public final class IfNoneMatch extends HeaderEntityValidatorArray {<a name="line.78"></a>
+<span class="sourceLineNo">079</span><a name="line.79"></a>
+<span class="sourceLineNo">080</span> /**<a name="line.80"></a>
+<span class="sourceLineNo">081</span> * Returns a parsed <code>If-None-Match</code> header.<a name="line.81"></a>
+<span class="sourceLineNo">082</span> *<a name="line.82"></a>
+<span class="sourceLineNo">083</span> * @param value The <code>If-None-Match</code> header string.<a name="line.83"></a>
+<span class="sourceLineNo">084</span> * @return The parsed <code>If-None-Match</code> header, or <jk>null</jk> if the string was null.<a name="line.84"></a>
+<span class="sourceLineNo">085</span> */<a name="line.85"></a>
+<span class="sourceLineNo">086</span> public static IfNoneMatch forString(String value) {<a name="line.86"></a>
+<span class="sourceLineNo">087</span> if (value == null)<a name="line.87"></a>
+<span class="sourceLineNo">088</span> return null;<a name="line.88"></a>
+<span class="sourceLineNo">089</span> return new IfNoneMatch(value);<a name="line.89"></a>
+<span class="sourceLineNo">090</span> }<a name="line.90"></a>
+<span class="sourceLineNo">091</span><a name="line.91"></a>
+<span class="sourceLineNo">092</span> private IfNoneMatch(String value) {<a name="line.92"></a>
+<span class="sourceLineNo">093</span> super(value);<a name="line.93"></a>
+<span class="sourceLineNo">094</span> }<a name="line.94"></a>
+<span class="sourceLineNo">095</span>}<a name="line.95"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/IfRange.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/IfRange.html b/content/site/apidocs/src-html/org/apache/juneau/http/IfRange.html
new file mode 100644
index 0000000..bb89fc9
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/IfRange.html
@@ -0,0 +1,167 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>import static org.apache.juneau.internal.StringUtils.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span><a name="line.16"></a>
+<span class="sourceLineNo">017</span>import org.apache.juneau.internal.*;<a name="line.17"></a>
+<span class="sourceLineNo">018</span><a name="line.18"></a>
+<span class="sourceLineNo">019</span>/**<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * Represents a parsed <l>If-Range</l> HTTP request header.<a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * If the entity is unchanged, send me the part(s) that I am missing; otherwise, send me the entire new entity.<a name="line.22"></a>
+<span class="sourceLineNo">023</span> *<a name="line.23"></a>
+<span class="sourceLineNo">024</span> * <h6 class='figure'>Example</h6><a name="line.24"></a>
+<span class="sourceLineNo">025</span> * <p class='bcode'><a name="line.25"></a>
+<span class="sourceLineNo">026</span> * If-Range: "737060cd8c284d8af7ad3082f209582d"<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * </p><a name="line.27"></a>
+<span class="sourceLineNo">028</span> *<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * <h6 class='topic'>RFC2616 Specification</h6><a name="line.29"></a>
+<span class="sourceLineNo">030</span> *<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * If a client has a partial copy of an entity in its cache, and wishes to have an up-to-date copy of the entire entity<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * in its cache, it could use the Range request-header with a conditional GET (using either or both of<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * If-Unmodified-Since and If-Match.)<a name="line.33"></a>
+<span class="sourceLineNo">034</span> * However, if the condition fails because the entity has been modified, the client would then have to make a second<a name="line.34"></a>
+<span class="sourceLineNo">035</span> * request to obtain the entire current entity-body.<a name="line.35"></a>
+<span class="sourceLineNo">036</span> * <p><a name="line.36"></a>
+<span class="sourceLineNo">037</span> * The If-Range header allows a client to "short-circuit" the second request.<a name="line.37"></a>
+<span class="sourceLineNo">038</span> * Informally, its meaning is `if the entity is unchanged, send me the part(s) that I am missing; otherwise, send me<a name="line.38"></a>
+<span class="sourceLineNo">039</span> * the entire new entity'.<a name="line.39"></a>
+<span class="sourceLineNo">040</span> * <p class='bcode'><a name="line.40"></a>
+<span class="sourceLineNo">041</span> * If-Range = "If-Range" ":" ( entity-tag | HTTP-date )<a name="line.41"></a>
+<span class="sourceLineNo">042</span> * </p><a name="line.42"></a>
+<span class="sourceLineNo">043</span> * <p><a name="line.43"></a>
+<span class="sourceLineNo">044</span> * If the client has no entity tag for an entity, but does have a Last- Modified date, it MAY use that date in an<a name="line.44"></a>
+<span class="sourceLineNo">045</span> * If-Range header.<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * (The server can distinguish between a valid HTTP-date and any form of entity-tag by examining no more than two<a name="line.46"></a>
+<span class="sourceLineNo">047</span> * characters.)<a name="line.47"></a>
+<span class="sourceLineNo">048</span> * The If-Range header SHOULD only be used together with a Range header, and MUST be ignored if the request does not<a name="line.48"></a>
+<span class="sourceLineNo">049</span> * include a Range header, or if the server does not support the sub-range operation.<a name="line.49"></a>
+<span class="sourceLineNo">050</span> * <p><a name="line.50"></a>
+<span class="sourceLineNo">051</span> * If the entity tag given in the If-Range header matches the current entity tag for the entity, then the server SHOULD<a name="line.51"></a>
+<span class="sourceLineNo">052</span> * provide the specified sub-range of the entity using a 206 (Partial content) response.<a name="line.52"></a>
+<span class="sourceLineNo">053</span> * If the entity tag does not match, then the server SHOULD return the entire entity using a 200 (OK) response.<a name="line.53"></a>
+<span class="sourceLineNo">054</span> */<a name="line.54"></a>
+<span class="sourceLineNo">055</span>public final class IfRange extends HeaderString {<a name="line.55"></a>
+<span class="sourceLineNo">056</span><a name="line.56"></a>
+<span class="sourceLineNo">057</span> /**<a name="line.57"></a>
+<span class="sourceLineNo">058</span> * Returns a parsed <code>If-Range</code> header.<a name="line.58"></a>
+<span class="sourceLineNo">059</span> *<a name="line.59"></a>
+<span class="sourceLineNo">060</span> * @param value The <code>If-Range</code> header string.<a name="line.60"></a>
+<span class="sourceLineNo">061</span> * @return The parsed <code>If-Range</code> header, or <jk>null</jk> if the string was null.<a name="line.61"></a>
+<span class="sourceLineNo">062</span> */<a name="line.62"></a>
+<span class="sourceLineNo">063</span> public static IfRange forString(String value) {<a name="line.63"></a>
+<span class="sourceLineNo">064</span> if (value == null)<a name="line.64"></a>
+<span class="sourceLineNo">065</span> return null;<a name="line.65"></a>
+<span class="sourceLineNo">066</span> return new IfRange(value);<a name="line.66"></a>
+<span class="sourceLineNo">067</span> }<a name="line.67"></a>
+<span class="sourceLineNo">068</span><a name="line.68"></a>
+<span class="sourceLineNo">069</span> private IfRange(String value) {<a name="line.69"></a>
+<span class="sourceLineNo">070</span> super(value);<a name="line.70"></a>
+<span class="sourceLineNo">071</span> }<a name="line.71"></a>
+<span class="sourceLineNo">072</span><a name="line.72"></a>
+<span class="sourceLineNo">073</span> /**<a name="line.73"></a>
+<span class="sourceLineNo">074</span> * Returns this header value as a {@link java.util.Date} object.<a name="line.74"></a>
+<span class="sourceLineNo">075</span> * @return This header value as a {@link java.util.Date} object, or <jk>null</jk> if the value is not a date.<a name="line.75"></a>
+<span class="sourceLineNo">076</span> */<a name="line.76"></a>
+<span class="sourceLineNo">077</span> public java.util.Date asDate() {<a name="line.77"></a>
+<span class="sourceLineNo">078</span> char c0 = charAt(value, 0), c1 = charAt(value, 1);<a name="line.78"></a>
+<span class="sourceLineNo">079</span> if (c0 == '*' || c0 == '"' || (c0 == 'W' && c1 == '/'))<a name="line.79"></a>
+<span class="sourceLineNo">080</span> return null;<a name="line.80"></a>
+<span class="sourceLineNo">081</span> return DateUtils.parseDate(toString());<a name="line.81"></a>
+<span class="sourceLineNo">082</span> }<a name="line.82"></a>
+<span class="sourceLineNo">083</span><a name="line.83"></a>
+<span class="sourceLineNo">084</span> /**<a name="line.84"></a>
+<span class="sourceLineNo">085</span> * Returns this header value as an {@link EntityValidator} object.<a name="line.85"></a>
+<span class="sourceLineNo">086</span> * @return This header value as a {@link EntityValidator} object, or <jk>null</jk> if the value is not an entity<a name="line.86"></a>
+<span class="sourceLineNo">087</span> * validator.<a name="line.87"></a>
+<span class="sourceLineNo">088</span> */<a name="line.88"></a>
+<span class="sourceLineNo">089</span> public EntityValidator asValidator() {<a name="line.89"></a>
+<span class="sourceLineNo">090</span> char c0 = charAt(value, 0), c1 = charAt(value, 1);<a name="line.90"></a>
+<span class="sourceLineNo">091</span> if (c0 == '*' || c0 == '"' || (c0 == 'W' && c1 == '/'))<a name="line.91"></a>
+<span class="sourceLineNo">092</span> return new EntityValidator(value);<a name="line.92"></a>
+<span class="sourceLineNo">093</span> return null;<a name="line.93"></a>
+<span class="sourceLineNo">094</span> }<a name="line.94"></a>
+<span class="sourceLineNo">095</span>}<a name="line.95"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/IfUnmodifiedSince.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/IfUnmodifiedSince.html b/content/site/apidocs/src-html/org/apache/juneau/http/IfUnmodifiedSince.html
new file mode 100644
index 0000000..b68ca22
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/IfUnmodifiedSince.html
@@ -0,0 +1,138 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Represents a parsed <l>If-Unmodified-Since</l> HTTP request header.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * <p><a name="line.17"></a>
+<span class="sourceLineNo">018</span> * Only send the response if the entity has not been modified since a specific time.<a name="line.18"></a>
+<span class="sourceLineNo">019</span> *<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * <h6 class='figure'>Example</h6><a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p class='bcode'><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * If-Unmodified-Since: Sat, 29 Oct 1994 19:43:31 GMT<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * </p><a name="line.23"></a>
+<span class="sourceLineNo">024</span> *<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * <h6 class='topic'>RFC2616 Specification</h6><a name="line.25"></a>
+<span class="sourceLineNo">026</span> * The If-Unmodified-Since request-header field is used with a method to make it conditional.<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * If the requested resource has not been modified since the time specified in this field, the server SHOULD perform the<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * requested operation as if the If-Unmodified-Since header were not present.<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * <p><a name="line.29"></a>
+<span class="sourceLineNo">030</span> * If the requested variant has been modified since the specified time, the server MUST NOT perform the requested<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * operation, and MUST return a 412 (Precondition Failed).<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * <p class='bcode'><a name="line.32"></a>
+<span class="sourceLineNo">033</span> * If-Unmodified-Since = "If-Unmodified-Since" ":" HTTP-date<a name="line.33"></a>
+<span class="sourceLineNo">034</span> * </p><a name="line.34"></a>
+<span class="sourceLineNo">035</span> * <p><a name="line.35"></a>
+<span class="sourceLineNo">036</span> * An example of the field is:<a name="line.36"></a>
+<span class="sourceLineNo">037</span> * <p class='bcode'><a name="line.37"></a>
+<span class="sourceLineNo">038</span> * If-Unmodified-Since: Sat, 29 Oct 1994 19:43:31 GMT<a name="line.38"></a>
+<span class="sourceLineNo">039</span> * </p><a name="line.39"></a>
+<span class="sourceLineNo">040</span> * <p><a name="line.40"></a>
+<span class="sourceLineNo">041</span> * If the request normally (i.e., without the If-Unmodified-Since header) would result in anything other than a 2xx or<a name="line.41"></a>
+<span class="sourceLineNo">042</span> * 412 status, the If-Unmodified-Since header SHOULD be ignored.<a name="line.42"></a>
+<span class="sourceLineNo">043</span> * <p><a name="line.43"></a>
+<span class="sourceLineNo">044</span> * If the specified date is invalid, the header is ignored.<a name="line.44"></a>
+<span class="sourceLineNo">045</span> * <p><a name="line.45"></a>
+<span class="sourceLineNo">046</span> * The result of a request having both an If-Unmodified-Since header field and either an If-None-Match or an<a name="line.46"></a>
+<span class="sourceLineNo">047</span> * If-Modified-Since header fields is undefined by this specification.<a name="line.47"></a>
+<span class="sourceLineNo">048</span> */<a name="line.48"></a>
+<span class="sourceLineNo">049</span>public final class IfUnmodifiedSince extends HeaderDate {<a name="line.49"></a>
+<span class="sourceLineNo">050</span><a name="line.50"></a>
+<span class="sourceLineNo">051</span> /**<a name="line.51"></a>
+<span class="sourceLineNo">052</span> * Returns a parsed <code>If-Unmodified-Since</code> header.<a name="line.52"></a>
+<span class="sourceLineNo">053</span> *<a name="line.53"></a>
+<span class="sourceLineNo">054</span> * @param value The <code>If-Unmodified-Since</code> header string.<a name="line.54"></a>
+<span class="sourceLineNo">055</span> * @return The parsed <code>If-Unmodified-Since</code> header, or <jk>null</jk> if the string was null.<a name="line.55"></a>
+<span class="sourceLineNo">056</span> */<a name="line.56"></a>
+<span class="sourceLineNo">057</span> public static IfUnmodifiedSince forString(String value) {<a name="line.57"></a>
+<span class="sourceLineNo">058</span> if (value == null)<a name="line.58"></a>
+<span class="sourceLineNo">059</span> return null;<a name="line.59"></a>
+<span class="sourceLineNo">060</span> return new IfUnmodifiedSince(value);<a name="line.60"></a>
+<span class="sourceLineNo">061</span> }<a name="line.61"></a>
+<span class="sourceLineNo">062</span><a name="line.62"></a>
+<span class="sourceLineNo">063</span> private IfUnmodifiedSince(String value) {<a name="line.63"></a>
+<span class="sourceLineNo">064</span> super(value);<a name="line.64"></a>
+<span class="sourceLineNo">065</span> }<a name="line.65"></a>
+<span class="sourceLineNo">066</span>}<a name="line.66"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
[12/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/internal/ClassUtils.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/internal/ClassUtils.html b/content/site/apidocs/src-html/org/apache/juneau/internal/ClassUtils.html
index 8380ab1..e983a73 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/internal/ClassUtils.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/internal/ClassUtils.html
@@ -153,527 +153,540 @@
<span class="sourceLineNo">145</span> }<a name="line.145"></a>
<span class="sourceLineNo">146</span><a name="line.146"></a>
<span class="sourceLineNo">147</span> /**<a name="line.147"></a>
-<span class="sourceLineNo">148</span> * Comparator for use with {@link TreeMap TreeMaps} with {@link Class} keys.<a name="line.148"></a>
-<span class="sourceLineNo">149</span> */<a name="line.149"></a>
-<span class="sourceLineNo">150</span> public final static class ClassComparator implements Comparator<Class<?>>, Serializable {<a name="line.150"></a>
-<span class="sourceLineNo">151</span><a name="line.151"></a>
-<span class="sourceLineNo">152</span> private static final long serialVersionUID = 1L;<a name="line.152"></a>
-<span class="sourceLineNo">153</span><a name="line.153"></a>
-<span class="sourceLineNo">154</span> @Override /* Comparator */<a name="line.154"></a>
-<span class="sourceLineNo">155</span> public int compare(Class<?> object1, Class<?> object2) {<a name="line.155"></a>
-<span class="sourceLineNo">156</span> return object1.getName().compareTo(object2.getName());<a name="line.156"></a>
-<span class="sourceLineNo">157</span> }<a name="line.157"></a>
+<span class="sourceLineNo">148</span> * Returns <jk>true</jk> if <code>parent</code> is a parent class or the same as <code>child</code>.<a name="line.148"></a>
+<span class="sourceLineNo">149</span> *<a name="line.149"></a>
+<span class="sourceLineNo">150</span> * @param parent The parent class.<a name="line.150"></a>
+<span class="sourceLineNo">151</span> * @param child The child class.<a name="line.151"></a>
+<span class="sourceLineNo">152</span> * @return <jk>true</jk> if <code>parent</code> is a parent class or the same as <code>child</code>.<a name="line.152"></a>
+<span class="sourceLineNo">153</span> */<a name="line.153"></a>
+<span class="sourceLineNo">154</span> public static boolean isParentClass(Class<?> parent, Type child) {<a name="line.154"></a>
+<span class="sourceLineNo">155</span> if (child instanceof Class)<a name="line.155"></a>
+<span class="sourceLineNo">156</span> return isParentClass(parent, (Class<?>)child);<a name="line.156"></a>
+<span class="sourceLineNo">157</span> return false;<a name="line.157"></a>
<span class="sourceLineNo">158</span> }<a name="line.158"></a>
<span class="sourceLineNo">159</span><a name="line.159"></a>
<span class="sourceLineNo">160</span> /**<a name="line.160"></a>
-<span class="sourceLineNo">161</span> * Returns the signature of the specified method.<a name="line.161"></a>
-<span class="sourceLineNo">162</span> * For no-arg methods, the signature will be a simple string such as <js>"toString"</js>.<a name="line.162"></a>
-<span class="sourceLineNo">163</span> * For methods with one or more args, the arguments will be fully-qualified class names (e.g. <js>"append(java.util.StringBuilder,boolean)"</js>)<a name="line.163"></a>
-<span class="sourceLineNo">164</span> *<a name="line.164"></a>
-<span class="sourceLineNo">165</span> * @param m The methods to get the signature on.<a name="line.165"></a>
-<span class="sourceLineNo">166</span> * @return The methods signature.<a name="line.166"></a>
-<span class="sourceLineNo">167</span> */<a name="line.167"></a>
-<span class="sourceLineNo">168</span> public static String getMethodSignature(Method m) {<a name="line.168"></a>
-<span class="sourceLineNo">169</span> StringBuilder sb = new StringBuilder(m.getName());<a name="line.169"></a>
-<span class="sourceLineNo">170</span> Class<?>[] pt = m.getParameterTypes();<a name="line.170"></a>
-<span class="sourceLineNo">171</span> if (pt.length > 0) {<a name="line.171"></a>
-<span class="sourceLineNo">172</span> sb.append('(');<a name="line.172"></a>
-<span class="sourceLineNo">173</span> for (int i = 0; i < pt.length; i++) {<a name="line.173"></a>
-<span class="sourceLineNo">174</span> if (i > 0)<a name="line.174"></a>
-<span class="sourceLineNo">175</span> sb.append(',');<a name="line.175"></a>
-<span class="sourceLineNo">176</span> sb.append(getReadableClassName(pt[i]));<a name="line.176"></a>
-<span class="sourceLineNo">177</span> }<a name="line.177"></a>
-<span class="sourceLineNo">178</span> sb.append(')');<a name="line.178"></a>
-<span class="sourceLineNo">179</span> }<a name="line.179"></a>
-<span class="sourceLineNo">180</span> return sb.toString();<a name="line.180"></a>
-<span class="sourceLineNo">181</span> }<a name="line.181"></a>
-<span class="sourceLineNo">182</span><a name="line.182"></a>
-<span class="sourceLineNo">183</span> private final static Map<Class<?>, Class<?>> pmap1 = new HashMap<Class<?>, Class<?>>(), pmap2 = new HashMap<Class<?>, Class<?>>();<a name="line.183"></a>
-<span class="sourceLineNo">184</span> static {<a name="line.184"></a>
-<span class="sourceLineNo">185</span> pmap1.put(boolean.class, Boolean.class);<a name="line.185"></a>
-<span class="sourceLineNo">186</span> pmap1.put(byte.class, Byte.class);<a name="line.186"></a>
-<span class="sourceLineNo">187</span> pmap1.put(short.class, Short.class);<a name="line.187"></a>
-<span class="sourceLineNo">188</span> pmap1.put(char.class, Character.class);<a name="line.188"></a>
-<span class="sourceLineNo">189</span> pmap1.put(int.class, Integer.class);<a name="line.189"></a>
-<span class="sourceLineNo">190</span> pmap1.put(long.class, Long.class);<a name="line.190"></a>
-<span class="sourceLineNo">191</span> pmap1.put(float.class, Float.class);<a name="line.191"></a>
-<span class="sourceLineNo">192</span> pmap1.put(double.class, Double.class);<a name="line.192"></a>
-<span class="sourceLineNo">193</span> pmap2.put(Boolean.class, boolean.class);<a name="line.193"></a>
-<span class="sourceLineNo">194</span> pmap2.put(Byte.class, byte.class);<a name="line.194"></a>
-<span class="sourceLineNo">195</span> pmap2.put(Short.class, short.class);<a name="line.195"></a>
-<span class="sourceLineNo">196</span> pmap2.put(Character.class, char.class);<a name="line.196"></a>
-<span class="sourceLineNo">197</span> pmap2.put(Integer.class, int.class);<a name="line.197"></a>
-<span class="sourceLineNo">198</span> pmap2.put(Long.class, long.class);<a name="line.198"></a>
-<span class="sourceLineNo">199</span> pmap2.put(Float.class, float.class);<a name="line.199"></a>
-<span class="sourceLineNo">200</span> pmap2.put(Double.class, double.class);<a name="line.200"></a>
-<span class="sourceLineNo">201</span> }<a name="line.201"></a>
-<span class="sourceLineNo">202</span><a name="line.202"></a>
-<span class="sourceLineNo">203</span> /**<a name="line.203"></a>
-<span class="sourceLineNo">204</span> * If the specified class is a primitive (e.g. <code><jk>int</jk>.<jk>class</jk></code>)<a name="line.204"></a>
-<span class="sourceLineNo">205</span> * returns it's wrapper class (e.g. <code>Integer.<jk>class</jk></code>).<a name="line.205"></a>
-<span class="sourceLineNo">206</span> *<a name="line.206"></a>
-<span class="sourceLineNo">207</span> * @param c The class.<a name="line.207"></a>
-<span class="sourceLineNo">208</span> * @return The wrapper class, or <jk>null</jk> if class is not a primitive.<a name="line.208"></a>
-<span class="sourceLineNo">209</span> */<a name="line.209"></a>
-<span class="sourceLineNo">210</span> public static Class<?> getPrimitiveWrapper(Class<?> c) {<a name="line.210"></a>
-<span class="sourceLineNo">211</span> return pmap1.get(c);<a name="line.211"></a>
-<span class="sourceLineNo">212</span> }<a name="line.212"></a>
-<span class="sourceLineNo">213</span><a name="line.213"></a>
-<span class="sourceLineNo">214</span> /**<a name="line.214"></a>
-<span class="sourceLineNo">215</span> * If the specified class is a primitive wrapper (e.g. <code><jk>Integer</jk>.<jk>class</jk></code>)<a name="line.215"></a>
-<span class="sourceLineNo">216</span> * returns it's primitive class (e.g. <code>int.<jk>class</jk></code>).<a name="line.216"></a>
-<span class="sourceLineNo">217</span> *<a name="line.217"></a>
-<span class="sourceLineNo">218</span> * @param c The class.<a name="line.218"></a>
-<span class="sourceLineNo">219</span> * @return The primitive class, or <jk>null</jk> if class is not a primitive wrapper.<a name="line.219"></a>
-<span class="sourceLineNo">220</span> */<a name="line.220"></a>
-<span class="sourceLineNo">221</span> public static Class<?> getPrimitiveForWrapper(Class<?> c) {<a name="line.221"></a>
-<span class="sourceLineNo">222</span> return pmap2.get(c);<a name="line.222"></a>
-<span class="sourceLineNo">223</span> }<a name="line.223"></a>
-<span class="sourceLineNo">224</span><a name="line.224"></a>
-<span class="sourceLineNo">225</span> /**<a name="line.225"></a>
-<span class="sourceLineNo">226</span> * If the specified class is a primitive (e.g. <code><jk>int</jk>.<jk>class</jk></code>)<a name="line.226"></a>
-<span class="sourceLineNo">227</span> * returns it's wrapper class (e.g. <code>Integer.<jk>class</jk></code>).<a name="line.227"></a>
-<span class="sourceLineNo">228</span> *<a name="line.228"></a>
-<span class="sourceLineNo">229</span> * @param c The class.<a name="line.229"></a>
-<span class="sourceLineNo">230</span> * @return The wrapper class if it's primitive, or the same class if class is not a primitive.<a name="line.230"></a>
-<span class="sourceLineNo">231</span> */<a name="line.231"></a>
-<span class="sourceLineNo">232</span> public static Class<?> getWrapperIfPrimitive(Class<?> c) {<a name="line.232"></a>
-<span class="sourceLineNo">233</span> if (! c.isPrimitive())<a name="line.233"></a>
-<span class="sourceLineNo">234</span> return c;<a name="line.234"></a>
-<span class="sourceLineNo">235</span> return pmap1.get(c);<a name="line.235"></a>
+<span class="sourceLineNo">161</span> * Comparator for use with {@link TreeMap TreeMaps} with {@link Class} keys.<a name="line.161"></a>
+<span class="sourceLineNo">162</span> */<a name="line.162"></a>
+<span class="sourceLineNo">163</span> public final static class ClassComparator implements Comparator<Class<?>>, Serializable {<a name="line.163"></a>
+<span class="sourceLineNo">164</span><a name="line.164"></a>
+<span class="sourceLineNo">165</span> private static final long serialVersionUID = 1L;<a name="line.165"></a>
+<span class="sourceLineNo">166</span><a name="line.166"></a>
+<span class="sourceLineNo">167</span> @Override /* Comparator */<a name="line.167"></a>
+<span class="sourceLineNo">168</span> public int compare(Class<?> object1, Class<?> object2) {<a name="line.168"></a>
+<span class="sourceLineNo">169</span> return object1.getName().compareTo(object2.getName());<a name="line.169"></a>
+<span class="sourceLineNo">170</span> }<a name="line.170"></a>
+<span class="sourceLineNo">171</span> }<a name="line.171"></a>
+<span class="sourceLineNo">172</span><a name="line.172"></a>
+<span class="sourceLineNo">173</span> /**<a name="line.173"></a>
+<span class="sourceLineNo">174</span> * Returns the signature of the specified method.<a name="line.174"></a>
+<span class="sourceLineNo">175</span> * For no-arg methods, the signature will be a simple string such as <js>"toString"</js>.<a name="line.175"></a>
+<span class="sourceLineNo">176</span> * For methods with one or more args, the arguments will be fully-qualified class names (e.g. <js>"append(java.util.StringBuilder,boolean)"</js>)<a name="line.176"></a>
+<span class="sourceLineNo">177</span> *<a name="line.177"></a>
+<span class="sourceLineNo">178</span> * @param m The methods to get the signature on.<a name="line.178"></a>
+<span class="sourceLineNo">179</span> * @return The methods signature.<a name="line.179"></a>
+<span class="sourceLineNo">180</span> */<a name="line.180"></a>
+<span class="sourceLineNo">181</span> public static String getMethodSignature(Method m) {<a name="line.181"></a>
+<span class="sourceLineNo">182</span> StringBuilder sb = new StringBuilder(m.getName());<a name="line.182"></a>
+<span class="sourceLineNo">183</span> Class<?>[] pt = m.getParameterTypes();<a name="line.183"></a>
+<span class="sourceLineNo">184</span> if (pt.length > 0) {<a name="line.184"></a>
+<span class="sourceLineNo">185</span> sb.append('(');<a name="line.185"></a>
+<span class="sourceLineNo">186</span> for (int i = 0; i < pt.length; i++) {<a name="line.186"></a>
+<span class="sourceLineNo">187</span> if (i > 0)<a name="line.187"></a>
+<span class="sourceLineNo">188</span> sb.append(',');<a name="line.188"></a>
+<span class="sourceLineNo">189</span> sb.append(getReadableClassName(pt[i]));<a name="line.189"></a>
+<span class="sourceLineNo">190</span> }<a name="line.190"></a>
+<span class="sourceLineNo">191</span> sb.append(')');<a name="line.191"></a>
+<span class="sourceLineNo">192</span> }<a name="line.192"></a>
+<span class="sourceLineNo">193</span> return sb.toString();<a name="line.193"></a>
+<span class="sourceLineNo">194</span> }<a name="line.194"></a>
+<span class="sourceLineNo">195</span><a name="line.195"></a>
+<span class="sourceLineNo">196</span> private final static Map<Class<?>, Class<?>> pmap1 = new HashMap<Class<?>, Class<?>>(), pmap2 = new HashMap<Class<?>, Class<?>>();<a name="line.196"></a>
+<span class="sourceLineNo">197</span> static {<a name="line.197"></a>
+<span class="sourceLineNo">198</span> pmap1.put(boolean.class, Boolean.class);<a name="line.198"></a>
+<span class="sourceLineNo">199</span> pmap1.put(byte.class, Byte.class);<a name="line.199"></a>
+<span class="sourceLineNo">200</span> pmap1.put(short.class, Short.class);<a name="line.200"></a>
+<span class="sourceLineNo">201</span> pmap1.put(char.class, Character.class);<a name="line.201"></a>
+<span class="sourceLineNo">202</span> pmap1.put(int.class, Integer.class);<a name="line.202"></a>
+<span class="sourceLineNo">203</span> pmap1.put(long.class, Long.class);<a name="line.203"></a>
+<span class="sourceLineNo">204</span> pmap1.put(float.class, Float.class);<a name="line.204"></a>
+<span class="sourceLineNo">205</span> pmap1.put(double.class, Double.class);<a name="line.205"></a>
+<span class="sourceLineNo">206</span> pmap2.put(Boolean.class, boolean.class);<a name="line.206"></a>
+<span class="sourceLineNo">207</span> pmap2.put(Byte.class, byte.class);<a name="line.207"></a>
+<span class="sourceLineNo">208</span> pmap2.put(Short.class, short.class);<a name="line.208"></a>
+<span class="sourceLineNo">209</span> pmap2.put(Character.class, char.class);<a name="line.209"></a>
+<span class="sourceLineNo">210</span> pmap2.put(Integer.class, int.class);<a name="line.210"></a>
+<span class="sourceLineNo">211</span> pmap2.put(Long.class, long.class);<a name="line.211"></a>
+<span class="sourceLineNo">212</span> pmap2.put(Float.class, float.class);<a name="line.212"></a>
+<span class="sourceLineNo">213</span> pmap2.put(Double.class, double.class);<a name="line.213"></a>
+<span class="sourceLineNo">214</span> }<a name="line.214"></a>
+<span class="sourceLineNo">215</span><a name="line.215"></a>
+<span class="sourceLineNo">216</span> /**<a name="line.216"></a>
+<span class="sourceLineNo">217</span> * If the specified class is a primitive (e.g. <code><jk>int</jk>.<jk>class</jk></code>)<a name="line.217"></a>
+<span class="sourceLineNo">218</span> * returns it's wrapper class (e.g. <code>Integer.<jk>class</jk></code>).<a name="line.218"></a>
+<span class="sourceLineNo">219</span> *<a name="line.219"></a>
+<span class="sourceLineNo">220</span> * @param c The class.<a name="line.220"></a>
+<span class="sourceLineNo">221</span> * @return The wrapper class, or <jk>null</jk> if class is not a primitive.<a name="line.221"></a>
+<span class="sourceLineNo">222</span> */<a name="line.222"></a>
+<span class="sourceLineNo">223</span> public static Class<?> getPrimitiveWrapper(Class<?> c) {<a name="line.223"></a>
+<span class="sourceLineNo">224</span> return pmap1.get(c);<a name="line.224"></a>
+<span class="sourceLineNo">225</span> }<a name="line.225"></a>
+<span class="sourceLineNo">226</span><a name="line.226"></a>
+<span class="sourceLineNo">227</span> /**<a name="line.227"></a>
+<span class="sourceLineNo">228</span> * If the specified class is a primitive wrapper (e.g. <code><jk>Integer</jk>.<jk>class</jk></code>)<a name="line.228"></a>
+<span class="sourceLineNo">229</span> * returns it's primitive class (e.g. <code>int.<jk>class</jk></code>).<a name="line.229"></a>
+<span class="sourceLineNo">230</span> *<a name="line.230"></a>
+<span class="sourceLineNo">231</span> * @param c The class.<a name="line.231"></a>
+<span class="sourceLineNo">232</span> * @return The primitive class, or <jk>null</jk> if class is not a primitive wrapper.<a name="line.232"></a>
+<span class="sourceLineNo">233</span> */<a name="line.233"></a>
+<span class="sourceLineNo">234</span> public static Class<?> getPrimitiveForWrapper(Class<?> c) {<a name="line.234"></a>
+<span class="sourceLineNo">235</span> return pmap2.get(c);<a name="line.235"></a>
<span class="sourceLineNo">236</span> }<a name="line.236"></a>
<span class="sourceLineNo">237</span><a name="line.237"></a>
<span class="sourceLineNo">238</span> /**<a name="line.238"></a>
-<span class="sourceLineNo">239</span> * Returns <jk>true</jk> if the specified class has the {@link Deprecated @Deprecated} annotation on it.<a name="line.239"></a>
-<span class="sourceLineNo">240</span> *<a name="line.240"></a>
-<span class="sourceLineNo">241</span> * @param c The class.<a name="line.241"></a>
-<span class="sourceLineNo">242</span> * @return <jk>true</jk> if the specified class has the {@link Deprecated @Deprecated} annotation on it.<a name="line.242"></a>
-<span class="sourceLineNo">243</span> */<a name="line.243"></a>
-<span class="sourceLineNo">244</span> public static boolean isNotDeprecated(Class<?> c) {<a name="line.244"></a>
-<span class="sourceLineNo">245</span> return ! c.isAnnotationPresent(Deprecated.class);<a name="line.245"></a>
-<span class="sourceLineNo">246</span> }<a name="line.246"></a>
-<span class="sourceLineNo">247</span><a name="line.247"></a>
-<span class="sourceLineNo">248</span> /**<a name="line.248"></a>
-<span class="sourceLineNo">249</span> * Returns <jk>true</jk> if the specified method has the {@link Deprecated @Deprecated} annotation on it.<a name="line.249"></a>
-<span class="sourceLineNo">250</span> *<a name="line.250"></a>
-<span class="sourceLineNo">251</span> * @param m The method.<a name="line.251"></a>
-<span class="sourceLineNo">252</span> * @return <jk>true</jk> if the specified method has the {@link Deprecated @Deprecated} annotation on it.<a name="line.252"></a>
-<span class="sourceLineNo">253</span> */<a name="line.253"></a>
-<span class="sourceLineNo">254</span> public static boolean isNotDeprecated(Method m) {<a name="line.254"></a>
-<span class="sourceLineNo">255</span> return ! m.isAnnotationPresent(Deprecated.class);<a name="line.255"></a>
-<span class="sourceLineNo">256</span><a name="line.256"></a>
-<span class="sourceLineNo">257</span> }<a name="line.257"></a>
-<span class="sourceLineNo">258</span><a name="line.258"></a>
-<span class="sourceLineNo">259</span> /**<a name="line.259"></a>
-<span class="sourceLineNo">260</span> * Returns <jk>true</jk> if the specified constructor has the {@link Deprecated @Deprecated} annotation on it.<a name="line.260"></a>
-<span class="sourceLineNo">261</span> *<a name="line.261"></a>
-<span class="sourceLineNo">262</span> * @param c The constructor.<a name="line.262"></a>
-<span class="sourceLineNo">263</span> * @return <jk>true</jk> if the specified constructor has the {@link Deprecated @Deprecated} annotation on it.<a name="line.263"></a>
-<span class="sourceLineNo">264</span> */<a name="line.264"></a>
-<span class="sourceLineNo">265</span> public static boolean isNotDeprecated(Constructor<?> c) {<a name="line.265"></a>
-<span class="sourceLineNo">266</span> return ! c.isAnnotationPresent(Deprecated.class);<a name="line.266"></a>
-<span class="sourceLineNo">267</span> }<a name="line.267"></a>
-<span class="sourceLineNo">268</span><a name="line.268"></a>
-<span class="sourceLineNo">269</span> /**<a name="line.269"></a>
-<span class="sourceLineNo">270</span> * Returns <jk>true</jk> if the specified class is public.<a name="line.270"></a>
-<span class="sourceLineNo">271</span> *<a name="line.271"></a>
-<span class="sourceLineNo">272</span> * @param c The class.<a name="line.272"></a>
-<span class="sourceLineNo">273</span> * @return <jk>true</jk> if the specified class is public.<a name="line.273"></a>
-<span class="sourceLineNo">274</span> */<a name="line.274"></a>
-<span class="sourceLineNo">275</span> public static boolean isPublic(Class<?> c) {<a name="line.275"></a>
-<span class="sourceLineNo">276</span> return Modifier.isPublic(c.getModifiers());<a name="line.276"></a>
-<span class="sourceLineNo">277</span> }<a name="line.277"></a>
-<span class="sourceLineNo">278</span><a name="line.278"></a>
-<span class="sourceLineNo">279</span> /**<a name="line.279"></a>
-<span class="sourceLineNo">280</span> * Returns <jk>true</jk> if the specified class is public.<a name="line.280"></a>
-<span class="sourceLineNo">281</span> *<a name="line.281"></a>
-<span class="sourceLineNo">282</span> * @param c The class.<a name="line.282"></a>
-<span class="sourceLineNo">283</span> * @return <jk>true</jk> if the specified class is public.<a name="line.283"></a>
-<span class="sourceLineNo">284</span> */<a name="line.284"></a>
-<span class="sourceLineNo">285</span> public static boolean isStatic(Class<?> c) {<a name="line.285"></a>
-<span class="sourceLineNo">286</span> return Modifier.isStatic(c.getModifiers());<a name="line.286"></a>
-<span class="sourceLineNo">287</span> }<a name="line.287"></a>
-<span class="sourceLineNo">288</span><a name="line.288"></a>
-<span class="sourceLineNo">289</span> /**<a name="line.289"></a>
-<span class="sourceLineNo">290</span> * Returns <jk>true</jk> if the specified method is public.<a name="line.290"></a>
-<span class="sourceLineNo">291</span> *<a name="line.291"></a>
-<span class="sourceLineNo">292</span> * @param m The method.<a name="line.292"></a>
-<span class="sourceLineNo">293</span> * @return <jk>true</jk> if the specified method is public.<a name="line.293"></a>
-<span class="sourceLineNo">294</span> */<a name="line.294"></a>
-<span class="sourceLineNo">295</span> public static boolean isPublic(Method m) {<a name="line.295"></a>
-<span class="sourceLineNo">296</span> return Modifier.isPublic(m.getModifiers());<a name="line.296"></a>
-<span class="sourceLineNo">297</span> }<a name="line.297"></a>
-<span class="sourceLineNo">298</span><a name="line.298"></a>
-<span class="sourceLineNo">299</span> /**<a name="line.299"></a>
-<span class="sourceLineNo">300</span> * Returns <jk>true</jk> if the specified method is static.<a name="line.300"></a>
-<span class="sourceLineNo">301</span> *<a name="line.301"></a>
-<span class="sourceLineNo">302</span> * @param m The method.<a name="line.302"></a>
-<span class="sourceLineNo">303</span> * @return <jk>true</jk> if the specified method is static.<a name="line.303"></a>
-<span class="sourceLineNo">304</span> */<a name="line.304"></a>
-<span class="sourceLineNo">305</span> public static boolean isStatic(Method m) {<a name="line.305"></a>
-<span class="sourceLineNo">306</span> return Modifier.isStatic(m.getModifiers());<a name="line.306"></a>
-<span class="sourceLineNo">307</span> }<a name="line.307"></a>
-<span class="sourceLineNo">308</span><a name="line.308"></a>
-<span class="sourceLineNo">309</span> /**<a name="line.309"></a>
-<span class="sourceLineNo">310</span> * Returns <jk>true</jk> if the specified constructor is public.<a name="line.310"></a>
-<span class="sourceLineNo">311</span> *<a name="line.311"></a>
-<span class="sourceLineNo">312</span> * @param c The constructor.<a name="line.312"></a>
-<span class="sourceLineNo">313</span> * @return <jk>true</jk> if the specified constructor is public.<a name="line.313"></a>
-<span class="sourceLineNo">314</span> */<a name="line.314"></a>
-<span class="sourceLineNo">315</span> public static boolean isPublic(Constructor<?> c) {<a name="line.315"></a>
-<span class="sourceLineNo">316</span> return Modifier.isPublic(c.getModifiers());<a name="line.316"></a>
-<span class="sourceLineNo">317</span> }<a name="line.317"></a>
-<span class="sourceLineNo">318</span><a name="line.318"></a>
-<span class="sourceLineNo">319</span><a name="line.319"></a>
-<span class="sourceLineNo">320</span> /**<a name="line.320"></a>
-<span class="sourceLineNo">321</span> * Locates the no-arg constructor for the specified class.<a name="line.321"></a>
-<span class="sourceLineNo">322</span> * Constructor must match the visibility requirements specified by parameter 'v'.<a name="line.322"></a>
-<span class="sourceLineNo">323</span> * If class is abstract, always returns <jk>null</jk>.<a name="line.323"></a>
-<span class="sourceLineNo">324</span> * Note that this also returns the 1-arg constructor for non-static member classes.<a name="line.324"></a>
-<span class="sourceLineNo">325</span> *<a name="line.325"></a>
-<span class="sourceLineNo">326</span> * @param c The class from which to locate the no-arg constructor.<a name="line.326"></a>
-<span class="sourceLineNo">327</span> * @param v The minimum visibility.<a name="line.327"></a>
-<span class="sourceLineNo">328</span> * @return The constructor, or <jk>null</jk> if no no-arg constructor exists with the required visibility.<a name="line.328"></a>
-<span class="sourceLineNo">329</span> */<a name="line.329"></a>
-<span class="sourceLineNo">330</span> @SuppressWarnings({"rawtypes","unchecked"})<a name="line.330"></a>
-<span class="sourceLineNo">331</span> public static final <T> Constructor<T> findNoArgConstructor(Class<T> c, Visibility v) {<a name="line.331"></a>
-<span class="sourceLineNo">332</span> int mod = c.getModifiers();<a name="line.332"></a>
-<span class="sourceLineNo">333</span> if (Modifier.isAbstract(mod))<a name="line.333"></a>
-<span class="sourceLineNo">334</span> return null;<a name="line.334"></a>
-<span class="sourceLineNo">335</span> boolean isMemberClass = c.isMemberClass() && ! isStatic(c);<a name="line.335"></a>
-<span class="sourceLineNo">336</span> for (Constructor cc : c.getConstructors()) {<a name="line.336"></a>
-<span class="sourceLineNo">337</span> mod = cc.getModifiers();<a name="line.337"></a>
-<span class="sourceLineNo">338</span> if (cc.getParameterTypes().length == (isMemberClass ? 1 : 0) && v.isVisible(mod) && isNotDeprecated(cc))<a name="line.338"></a>
-<span class="sourceLineNo">339</span> return v.transform(cc);<a name="line.339"></a>
-<span class="sourceLineNo">340</span> }<a name="line.340"></a>
-<span class="sourceLineNo">341</span> return null;<a name="line.341"></a>
-<span class="sourceLineNo">342</span> }<a name="line.342"></a>
-<span class="sourceLineNo">343</span><a name="line.343"></a>
-<span class="sourceLineNo">344</span> /**<a name="line.344"></a>
-<span class="sourceLineNo">345</span> * Finds the real parameter type of the specified class.<a name="line.345"></a>
-<span class="sourceLineNo">346</span> *<a name="line.346"></a>
-<span class="sourceLineNo">347</span> * @param c The class containing the parameters (e.g. PojoSwap&lt;T,S&gt;)<a name="line.347"></a>
-<span class="sourceLineNo">348</span> * @param index The zero-based index of the parameter to resolve.<a name="line.348"></a>
-<span class="sourceLineNo">349</span> * @param oc The class we're trying to resolve the parameter type for.<a name="line.349"></a>
-<span class="sourceLineNo">350</span> * @return The resolved real class.<a name="line.350"></a>
-<span class="sourceLineNo">351</span> */<a name="line.351"></a>
-<span class="sourceLineNo">352</span> public static Class<?> resolveParameterType(Class<?> c, int index, Class<?> oc) {<a name="line.352"></a>
-<span class="sourceLineNo">353</span><a name="line.353"></a>
-<span class="sourceLineNo">354</span> // We need to make up a mapping of type names.<a name="line.354"></a>
-<span class="sourceLineNo">355</span> Map<Type,Type> typeMap = new HashMap<Type,Type>();<a name="line.355"></a>
-<span class="sourceLineNo">356</span> while (c != oc.getSuperclass()) {<a name="line.356"></a>
-<span class="sourceLineNo">357</span> extractTypes(typeMap, oc);<a name="line.357"></a>
-<span class="sourceLineNo">358</span> oc = oc.getSuperclass();<a name="line.358"></a>
-<span class="sourceLineNo">359</span> }<a name="line.359"></a>
-<span class="sourceLineNo">360</span><a name="line.360"></a>
-<span class="sourceLineNo">361</span> ParameterizedType opt = (ParameterizedType)oc.getGenericSuperclass();<a name="line.361"></a>
-<span class="sourceLineNo">362</span> Type actualType = opt.getActualTypeArguments()[index];<a name="line.362"></a>
-<span class="sourceLineNo">363</span><a name="line.363"></a>
-<span class="sourceLineNo">364</span> if (typeMap.containsKey(actualType))<a name="line.364"></a>
-<span class="sourceLineNo">365</span> actualType = typeMap.get(actualType);<a name="line.365"></a>
+<span class="sourceLineNo">239</span> * If the specified class is a primitive (e.g. <code><jk>int</jk>.<jk>class</jk></code>)<a name="line.239"></a>
+<span class="sourceLineNo">240</span> * returns it's wrapper class (e.g. <code>Integer.<jk>class</jk></code>).<a name="line.240"></a>
+<span class="sourceLineNo">241</span> *<a name="line.241"></a>
+<span class="sourceLineNo">242</span> * @param c The class.<a name="line.242"></a>
+<span class="sourceLineNo">243</span> * @return The wrapper class if it's primitive, or the same class if class is not a primitive.<a name="line.243"></a>
+<span class="sourceLineNo">244</span> */<a name="line.244"></a>
+<span class="sourceLineNo">245</span> public static Class<?> getWrapperIfPrimitive(Class<?> c) {<a name="line.245"></a>
+<span class="sourceLineNo">246</span> if (! c.isPrimitive())<a name="line.246"></a>
+<span class="sourceLineNo">247</span> return c;<a name="line.247"></a>
+<span class="sourceLineNo">248</span> return pmap1.get(c);<a name="line.248"></a>
+<span class="sourceLineNo">249</span> }<a name="line.249"></a>
+<span class="sourceLineNo">250</span><a name="line.250"></a>
+<span class="sourceLineNo">251</span> /**<a name="line.251"></a>
+<span class="sourceLineNo">252</span> * Returns <jk>true</jk> if the specified class has the {@link Deprecated @Deprecated} annotation on it.<a name="line.252"></a>
+<span class="sourceLineNo">253</span> *<a name="line.253"></a>
+<span class="sourceLineNo">254</span> * @param c The class.<a name="line.254"></a>
+<span class="sourceLineNo">255</span> * @return <jk>true</jk> if the specified class has the {@link Deprecated @Deprecated} annotation on it.<a name="line.255"></a>
+<span class="sourceLineNo">256</span> */<a name="line.256"></a>
+<span class="sourceLineNo">257</span> public static boolean isNotDeprecated(Class<?> c) {<a name="line.257"></a>
+<span class="sourceLineNo">258</span> return ! c.isAnnotationPresent(Deprecated.class);<a name="line.258"></a>
+<span class="sourceLineNo">259</span> }<a name="line.259"></a>
+<span class="sourceLineNo">260</span><a name="line.260"></a>
+<span class="sourceLineNo">261</span> /**<a name="line.261"></a>
+<span class="sourceLineNo">262</span> * Returns <jk>true</jk> if the specified method has the {@link Deprecated @Deprecated} annotation on it.<a name="line.262"></a>
+<span class="sourceLineNo">263</span> *<a name="line.263"></a>
+<span class="sourceLineNo">264</span> * @param m The method.<a name="line.264"></a>
+<span class="sourceLineNo">265</span> * @return <jk>true</jk> if the specified method has the {@link Deprecated @Deprecated} annotation on it.<a name="line.265"></a>
+<span class="sourceLineNo">266</span> */<a name="line.266"></a>
+<span class="sourceLineNo">267</span> public static boolean isNotDeprecated(Method m) {<a name="line.267"></a>
+<span class="sourceLineNo">268</span> return ! m.isAnnotationPresent(Deprecated.class);<a name="line.268"></a>
+<span class="sourceLineNo">269</span><a name="line.269"></a>
+<span class="sourceLineNo">270</span> }<a name="line.270"></a>
+<span class="sourceLineNo">271</span><a name="line.271"></a>
+<span class="sourceLineNo">272</span> /**<a name="line.272"></a>
+<span class="sourceLineNo">273</span> * Returns <jk>true</jk> if the specified constructor has the {@link Deprecated @Deprecated} annotation on it.<a name="line.273"></a>
+<span class="sourceLineNo">274</span> *<a name="line.274"></a>
+<span class="sourceLineNo">275</span> * @param c The constructor.<a name="line.275"></a>
+<span class="sourceLineNo">276</span> * @return <jk>true</jk> if the specified constructor has the {@link Deprecated @Deprecated} annotation on it.<a name="line.276"></a>
+<span class="sourceLineNo">277</span> */<a name="line.277"></a>
+<span class="sourceLineNo">278</span> public static boolean isNotDeprecated(Constructor<?> c) {<a name="line.278"></a>
+<span class="sourceLineNo">279</span> return ! c.isAnnotationPresent(Deprecated.class);<a name="line.279"></a>
+<span class="sourceLineNo">280</span> }<a name="line.280"></a>
+<span class="sourceLineNo">281</span><a name="line.281"></a>
+<span class="sourceLineNo">282</span> /**<a name="line.282"></a>
+<span class="sourceLineNo">283</span> * Returns <jk>true</jk> if the specified class is public.<a name="line.283"></a>
+<span class="sourceLineNo">284</span> *<a name="line.284"></a>
+<span class="sourceLineNo">285</span> * @param c The class.<a name="line.285"></a>
+<span class="sourceLineNo">286</span> * @return <jk>true</jk> if the specified class is public.<a name="line.286"></a>
+<span class="sourceLineNo">287</span> */<a name="line.287"></a>
+<span class="sourceLineNo">288</span> public static boolean isPublic(Class<?> c) {<a name="line.288"></a>
+<span class="sourceLineNo">289</span> return Modifier.isPublic(c.getModifiers());<a name="line.289"></a>
+<span class="sourceLineNo">290</span> }<a name="line.290"></a>
+<span class="sourceLineNo">291</span><a name="line.291"></a>
+<span class="sourceLineNo">292</span> /**<a name="line.292"></a>
+<span class="sourceLineNo">293</span> * Returns <jk>true</jk> if the specified class is public.<a name="line.293"></a>
+<span class="sourceLineNo">294</span> *<a name="line.294"></a>
+<span class="sourceLineNo">295</span> * @param c The class.<a name="line.295"></a>
+<span class="sourceLineNo">296</span> * @return <jk>true</jk> if the specified class is public.<a name="line.296"></a>
+<span class="sourceLineNo">297</span> */<a name="line.297"></a>
+<span class="sourceLineNo">298</span> public static boolean isStatic(Class<?> c) {<a name="line.298"></a>
+<span class="sourceLineNo">299</span> return Modifier.isStatic(c.getModifiers());<a name="line.299"></a>
+<span class="sourceLineNo">300</span> }<a name="line.300"></a>
+<span class="sourceLineNo">301</span><a name="line.301"></a>
+<span class="sourceLineNo">302</span> /**<a name="line.302"></a>
+<span class="sourceLineNo">303</span> * Returns <jk>true</jk> if the specified method is public.<a name="line.303"></a>
+<span class="sourceLineNo">304</span> *<a name="line.304"></a>
+<span class="sourceLineNo">305</span> * @param m The method.<a name="line.305"></a>
+<span class="sourceLineNo">306</span> * @return <jk>true</jk> if the specified method is public.<a name="line.306"></a>
+<span class="sourceLineNo">307</span> */<a name="line.307"></a>
+<span class="sourceLineNo">308</span> public static boolean isPublic(Method m) {<a name="line.308"></a>
+<span class="sourceLineNo">309</span> return Modifier.isPublic(m.getModifiers());<a name="line.309"></a>
+<span class="sourceLineNo">310</span> }<a name="line.310"></a>
+<span class="sourceLineNo">311</span><a name="line.311"></a>
+<span class="sourceLineNo">312</span> /**<a name="line.312"></a>
+<span class="sourceLineNo">313</span> * Returns <jk>true</jk> if the specified method is static.<a name="line.313"></a>
+<span class="sourceLineNo">314</span> *<a name="line.314"></a>
+<span class="sourceLineNo">315</span> * @param m The method.<a name="line.315"></a>
+<span class="sourceLineNo">316</span> * @return <jk>true</jk> if the specified method is static.<a name="line.316"></a>
+<span class="sourceLineNo">317</span> */<a name="line.317"></a>
+<span class="sourceLineNo">318</span> public static boolean isStatic(Method m) {<a name="line.318"></a>
+<span class="sourceLineNo">319</span> return Modifier.isStatic(m.getModifiers());<a name="line.319"></a>
+<span class="sourceLineNo">320</span> }<a name="line.320"></a>
+<span class="sourceLineNo">321</span><a name="line.321"></a>
+<span class="sourceLineNo">322</span> /**<a name="line.322"></a>
+<span class="sourceLineNo">323</span> * Returns <jk>true</jk> if the specified constructor is public.<a name="line.323"></a>
+<span class="sourceLineNo">324</span> *<a name="line.324"></a>
+<span class="sourceLineNo">325</span> * @param c The constructor.<a name="line.325"></a>
+<span class="sourceLineNo">326</span> * @return <jk>true</jk> if the specified constructor is public.<a name="line.326"></a>
+<span class="sourceLineNo">327</span> */<a name="line.327"></a>
+<span class="sourceLineNo">328</span> public static boolean isPublic(Constructor<?> c) {<a name="line.328"></a>
+<span class="sourceLineNo">329</span> return Modifier.isPublic(c.getModifiers());<a name="line.329"></a>
+<span class="sourceLineNo">330</span> }<a name="line.330"></a>
+<span class="sourceLineNo">331</span><a name="line.331"></a>
+<span class="sourceLineNo">332</span><a name="line.332"></a>
+<span class="sourceLineNo">333</span> /**<a name="line.333"></a>
+<span class="sourceLineNo">334</span> * Locates the no-arg constructor for the specified class.<a name="line.334"></a>
+<span class="sourceLineNo">335</span> * Constructor must match the visibility requirements specified by parameter 'v'.<a name="line.335"></a>
+<span class="sourceLineNo">336</span> * If class is abstract, always returns <jk>null</jk>.<a name="line.336"></a>
+<span class="sourceLineNo">337</span> * Note that this also returns the 1-arg constructor for non-static member classes.<a name="line.337"></a>
+<span class="sourceLineNo">338</span> *<a name="line.338"></a>
+<span class="sourceLineNo">339</span> * @param c The class from which to locate the no-arg constructor.<a name="line.339"></a>
+<span class="sourceLineNo">340</span> * @param v The minimum visibility.<a name="line.340"></a>
+<span class="sourceLineNo">341</span> * @return The constructor, or <jk>null</jk> if no no-arg constructor exists with the required visibility.<a name="line.341"></a>
+<span class="sourceLineNo">342</span> */<a name="line.342"></a>
+<span class="sourceLineNo">343</span> @SuppressWarnings({"rawtypes","unchecked"})<a name="line.343"></a>
+<span class="sourceLineNo">344</span> public static final <T> Constructor<T> findNoArgConstructor(Class<T> c, Visibility v) {<a name="line.344"></a>
+<span class="sourceLineNo">345</span> int mod = c.getModifiers();<a name="line.345"></a>
+<span class="sourceLineNo">346</span> if (Modifier.isAbstract(mod))<a name="line.346"></a>
+<span class="sourceLineNo">347</span> return null;<a name="line.347"></a>
+<span class="sourceLineNo">348</span> boolean isMemberClass = c.isMemberClass() && ! isStatic(c);<a name="line.348"></a>
+<span class="sourceLineNo">349</span> for (Constructor cc : c.getConstructors()) {<a name="line.349"></a>
+<span class="sourceLineNo">350</span> mod = cc.getModifiers();<a name="line.350"></a>
+<span class="sourceLineNo">351</span> if (cc.getParameterTypes().length == (isMemberClass ? 1 : 0) && v.isVisible(mod) && isNotDeprecated(cc))<a name="line.351"></a>
+<span class="sourceLineNo">352</span> return v.transform(cc);<a name="line.352"></a>
+<span class="sourceLineNo">353</span> }<a name="line.353"></a>
+<span class="sourceLineNo">354</span> return null;<a name="line.354"></a>
+<span class="sourceLineNo">355</span> }<a name="line.355"></a>
+<span class="sourceLineNo">356</span><a name="line.356"></a>
+<span class="sourceLineNo">357</span> /**<a name="line.357"></a>
+<span class="sourceLineNo">358</span> * Finds the real parameter type of the specified class.<a name="line.358"></a>
+<span class="sourceLineNo">359</span> *<a name="line.359"></a>
+<span class="sourceLineNo">360</span> * @param c The class containing the parameters (e.g. PojoSwap&lt;T,S&gt;)<a name="line.360"></a>
+<span class="sourceLineNo">361</span> * @param index The zero-based index of the parameter to resolve.<a name="line.361"></a>
+<span class="sourceLineNo">362</span> * @param oc The class we're trying to resolve the parameter type for.<a name="line.362"></a>
+<span class="sourceLineNo">363</span> * @return The resolved real class.<a name="line.363"></a>
+<span class="sourceLineNo">364</span> */<a name="line.364"></a>
+<span class="sourceLineNo">365</span> public static Class<?> resolveParameterType(Class<?> c, int index, Class<?> oc) {<a name="line.365"></a>
<span class="sourceLineNo">366</span><a name="line.366"></a>
-<span class="sourceLineNo">367</span> if (actualType instanceof Class) {<a name="line.367"></a>
-<span class="sourceLineNo">368</span> return (Class<?>)actualType;<a name="line.368"></a>
-<span class="sourceLineNo">369</span><a name="line.369"></a>
-<span class="sourceLineNo">370</span> } else if (actualType instanceof GenericArrayType) {<a name="line.370"></a>
-<span class="sourceLineNo">371</span> Class<?> cmpntType = (Class<?>)((GenericArrayType)actualType).getGenericComponentType();<a name="line.371"></a>
-<span class="sourceLineNo">372</span> return Array.newInstance(cmpntType, 0).getClass();<a name="line.372"></a>
+<span class="sourceLineNo">367</span> // We need to make up a mapping of type names.<a name="line.367"></a>
+<span class="sourceLineNo">368</span> Map<Type,Type> typeMap = new HashMap<Type,Type>();<a name="line.368"></a>
+<span class="sourceLineNo">369</span> while (c != oc.getSuperclass()) {<a name="line.369"></a>
+<span class="sourceLineNo">370</span> extractTypes(typeMap, oc);<a name="line.370"></a>
+<span class="sourceLineNo">371</span> oc = oc.getSuperclass();<a name="line.371"></a>
+<span class="sourceLineNo">372</span> }<a name="line.372"></a>
<span class="sourceLineNo">373</span><a name="line.373"></a>
-<span class="sourceLineNo">374</span> } else if (actualType instanceof TypeVariable) {<a name="line.374"></a>
-<span class="sourceLineNo">375</span> TypeVariable<?> typeVariable = (TypeVariable<?>)actualType;<a name="line.375"></a>
-<span class="sourceLineNo">376</span> List<Class<?>> nestedOuterTypes = new LinkedList<Class<?>>();<a name="line.376"></a>
-<span class="sourceLineNo">377</span> for (Class<?> ec = oc.getEnclosingClass(); ec != null; ec = ec.getEnclosingClass()) {<a name="line.377"></a>
-<span class="sourceLineNo">378</span> try {<a name="line.378"></a>
-<span class="sourceLineNo">379</span> Class<?> outerClass = oc.getClass();<a name="line.379"></a>
-<span class="sourceLineNo">380</span> nestedOuterTypes.add(outerClass);<a name="line.380"></a>
-<span class="sourceLineNo">381</span> Map<Type,Type> outerTypeMap = new HashMap<Type,Type>();<a name="line.381"></a>
-<span class="sourceLineNo">382</span> extractTypes(outerTypeMap, outerClass);<a name="line.382"></a>
-<span class="sourceLineNo">383</span> for (Map.Entry<Type,Type> entry : outerTypeMap.entrySet()) {<a name="line.383"></a>
-<span class="sourceLineNo">384</span> Type key = entry.getKey(), value = entry.getValue();<a name="line.384"></a>
-<span class="sourceLineNo">385</span> if (key instanceof TypeVariable) {<a name="line.385"></a>
-<span class="sourceLineNo">386</span> TypeVariable<?> keyType = (TypeVariable<?>)key;<a name="line.386"></a>
-<span class="sourceLineNo">387</span> if (keyType.getName().equals(typeVariable.getName()) && isInnerClass(keyType.getGenericDeclaration(), typeVariable.getGenericDeclaration())) {<a name="line.387"></a>
-<span class="sourceLineNo">388</span> if (value instanceof Class)<a name="line.388"></a>
-<span class="sourceLineNo">389</span> return (Class<?>)value;<a name="line.389"></a>
-<span class="sourceLineNo">390</span> typeVariable = (TypeVariable<?>)entry.getValue();<a name="line.390"></a>
-<span class="sourceLineNo">391</span> }<a name="line.391"></a>
-<span class="sourceLineNo">392</span> }<a name="line.392"></a>
-<span class="sourceLineNo">393</span> }<a name="line.393"></a>
-<span class="sourceLineNo">394</span> } catch (Exception e) {<a name="line.394"></a>
-<span class="sourceLineNo">395</span> throw new RuntimeException(e);<a name="line.395"></a>
-<span class="sourceLineNo">396</span> }<a name="line.396"></a>
-<span class="sourceLineNo">397</span> }<a name="line.397"></a>
-<span class="sourceLineNo">398</span> throw new RuntimeException("Could not resolve type: " + actualType);<a name="line.398"></a>
-<span class="sourceLineNo">399</span> } else {<a name="line.399"></a>
-<span class="sourceLineNo">400</span> throw new RuntimeException("Invalid type found in resolveParameterType: " + actualType);<a name="line.400"></a>
-<span class="sourceLineNo">401</span> }<a name="line.401"></a>
-<span class="sourceLineNo">402</span> }<a name="line.402"></a>
-<span class="sourceLineNo">403</span><a name="line.403"></a>
-<span class="sourceLineNo">404</span> private static boolean isInnerClass(GenericDeclaration od, GenericDeclaration id) {<a name="line.404"></a>
-<span class="sourceLineNo">405</span> if (od instanceof Class && id instanceof Class) {<a name="line.405"></a>
-<span class="sourceLineNo">406</span> Class<?> oc = (Class<?>)od;<a name="line.406"></a>
-<span class="sourceLineNo">407</span> Class<?> ic = (Class<?>)id;<a name="line.407"></a>
-<span class="sourceLineNo">408</span> while ((ic = ic.getEnclosingClass()) != null)<a name="line.408"></a>
-<span class="sourceLineNo">409</span> if (ic == oc)<a name="line.409"></a>
-<span class="sourceLineNo">410</span> return true;<a name="line.410"></a>
-<span class="sourceLineNo">411</span> }<a name="line.411"></a>
-<span class="sourceLineNo">412</span> return false;<a name="line.412"></a>
-<span class="sourceLineNo">413</span> }<a name="line.413"></a>
-<span class="sourceLineNo">414</span><a name="line.414"></a>
-<span class="sourceLineNo">415</span> private static void extractTypes(Map<Type,Type> typeMap, Class<?> c) {<a name="line.415"></a>
-<span class="sourceLineNo">416</span> Type gs = c.getGenericSuperclass();<a name="line.416"></a>
-<span class="sourceLineNo">417</span> if (gs instanceof ParameterizedType) {<a name="line.417"></a>
-<span class="sourceLineNo">418</span> ParameterizedType pt = (ParameterizedType)gs;<a name="line.418"></a>
-<span class="sourceLineNo">419</span> Type[] typeParameters = ((Class<?>)pt.getRawType()).getTypeParameters();<a name="line.419"></a>
-<span class="sourceLineNo">420</span> Type[] actualTypeArguments = pt.getActualTypeArguments();<a name="line.420"></a>
-<span class="sourceLineNo">421</span> for (int i = 0; i < typeParameters.length; i++) {<a name="line.421"></a>
-<span class="sourceLineNo">422</span> if (typeMap.containsKey(actualTypeArguments[i]))<a name="line.422"></a>
-<span class="sourceLineNo">423</span> actualTypeArguments[i] = typeMap.get(actualTypeArguments[i]);<a name="line.423"></a>
-<span class="sourceLineNo">424</span> typeMap.put(typeParameters[i], actualTypeArguments[i]);<a name="line.424"></a>
-<span class="sourceLineNo">425</span> }<a name="line.425"></a>
-<span class="sourceLineNo">426</span> }<a name="line.426"></a>
-<span class="sourceLineNo">427</span> }<a name="line.427"></a>
-<span class="sourceLineNo">428</span><a name="line.428"></a>
-<span class="sourceLineNo">429</span> /**<a name="line.429"></a>
-<span class="sourceLineNo">430</span> * Finds a public method with the specified parameters.<a name="line.430"></a>
-<span class="sourceLineNo">431</span> *<a name="line.431"></a>
-<span class="sourceLineNo">432</span> * @param c The class to look for the method.<a name="line.432"></a>
-<span class="sourceLineNo">433</span> * @param name The method name.<a name="line.433"></a>
-<span class="sourceLineNo">434</span> * @param returnType The return type of the method.<a name="line.434"></a>
-<span class="sourceLineNo">435</span> * Can be a super type of the actual return type.<a name="line.435"></a>
-<span class="sourceLineNo">436</span> * For example, if the actual return type is <code>CharSequence</code>, then <code>Object</code> will match but <code>String</code> will not.<a name="line.436"></a>
-<span class="sourceLineNo">437</span> * @param parameterTypes The parameter types of the method.<a name="line.437"></a>
-<span class="sourceLineNo">438</span> * Can be subtypes of the actual parameter types.<a name="line.438"></a>
-<span class="sourceLineNo">439</span> * For example, if the parameter type is <code>CharSequence</code>, then <code>String</code> will match but <code>Object</code> will not.<a name="line.439"></a>
-<span class="sourceLineNo">440</span> * @return The matched method, or <jk>null</jk> if no match was found.<a name="line.440"></a>
-<span class="sourceLineNo">441</span> */<a name="line.441"></a>
-<span class="sourceLineNo">442</span> public static Method findPublicMethod(Class<?> c, String name, Class<?> returnType, Class<?>...parameterTypes) {<a name="line.442"></a>
-<span class="sourceLineNo">443</span> for (Method m : c.getMethods()) {<a name="line.443"></a>
-<span class="sourceLineNo">444</span> if (isPublic(m) && m.getName().equals(name)) {<a name="line.444"></a>
-<span class="sourceLineNo">445</span> Class<?> rt = m.getReturnType();<a name="line.445"></a>
-<span class="sourceLineNo">446</span> if (isParentClass(returnType, rt)) {<a name="line.446"></a>
-<span class="sourceLineNo">447</span> Class<?>[] pt = m.getParameterTypes();<a name="line.447"></a>
-<span class="sourceLineNo">448</span> if (pt.length == parameterTypes.length) {<a name="line.448"></a>
-<span class="sourceLineNo">449</span> boolean matches = true;<a name="line.449"></a>
-<span class="sourceLineNo">450</span> for (int i = 0; i < pt.length; i++) {<a name="line.450"></a>
-<span class="sourceLineNo">451</span> if (! isParentClass(pt[i], parameterTypes[i])) {<a name="line.451"></a>
-<span class="sourceLineNo">452</span> matches = false;<a name="line.452"></a>
-<span class="sourceLineNo">453</span> break;<a name="line.453"></a>
-<span class="sourceLineNo">454</span> }<a name="line.454"></a>
-<span class="sourceLineNo">455</span> }<a name="line.455"></a>
-<span class="sourceLineNo">456</span> if (matches)<a name="line.456"></a>
-<span class="sourceLineNo">457</span> return m;<a name="line.457"></a>
-<span class="sourceLineNo">458</span> }<a name="line.458"></a>
-<span class="sourceLineNo">459</span> }<a name="line.459"></a>
-<span class="sourceLineNo">460</span> }<a name="line.460"></a>
-<span class="sourceLineNo">461</span> }<a name="line.461"></a>
-<span class="sourceLineNo">462</span> return null;<a name="line.462"></a>
-<span class="sourceLineNo">463</span> }<a name="line.463"></a>
-<span class="sourceLineNo">464</span><a name="line.464"></a>
-<span class="sourceLineNo">465</span> /**<a name="line.465"></a>
-<span class="sourceLineNo">466</span> * Finds a public constructor with the specified parameters without throwing an exception.<a name="line.466"></a>
-<span class="sourceLineNo">467</span> *<a name="line.467"></a>
-<span class="sourceLineNo">468</span> * @param c The class to search for a constructor.<a name="line.468"></a>
-<span class="sourceLineNo">469</span> * @param parameterTypes The parameter types in the constructor.<a name="line.469"></a>
-<span class="sourceLineNo">470</span> * Can be subtypes of the actual constructor argument types.<a name="line.470"></a>
-<span class="sourceLineNo">471</span> * @return The matching constructor, or <jk>null</jk> if constructor could not be found.<a name="line.471"></a>
-<span class="sourceLineNo">472</span> */<a name="line.472"></a>
-<span class="sourceLineNo">473</span> @SuppressWarnings("unchecked")<a name="line.473"></a>
-<span class="sourceLineNo">474</span> public static <T> Constructor<T> findPublicConstructor(Class<T> c, Class<?>...parameterTypes) {<a name="line.474"></a>
-<span class="sourceLineNo">475</span> for (Constructor<?> n : c.getConstructors()) {<a name="line.475"></a>
-<span class="sourceLineNo">476</span> if (isPublic(n)) {<a name="line.476"></a>
-<span class="sourceLineNo">477</span> Class<?>[] pt = n.getParameterTypes();<a name="line.477"></a>
-<span class="sourceLineNo">478</span> if (pt.length == parameterTypes.length) {<a name="line.478"></a>
-<span class="sourceLineNo">479</span> boolean matches = true;<a name="line.479"></a>
-<span class="sourceLineNo">480</span> for (int i = 0; i < pt.length; i++) {<a name="line.480"></a>
-<span class="sourceLineNo">481</span> if (! isParentClass(pt[i], parameterTypes[i])) {<a name="line.481"></a>
-<span class="sourceLineNo">482</span> matches = false;<a name="line.482"></a>
-<span class="sourceLineNo">483</span> break;<a name="line.483"></a>
-<span class="sourceLineNo">484</span> }<a name="line.484"></a>
-<span class="sourceLineNo">485</span> }<a name="line.485"></a>
-<span class="sourceLineNo">486</span> if (matches)<a name="line.486"></a>
-<span class="sourceLineNo">487</span> return (Constructor<T>)n;<a name="line.487"></a>
-<span class="sourceLineNo">488</span> }<a name="line.488"></a>
-<span class="sourceLineNo">489</span> }<a name="line.489"></a>
-<span class="sourceLineNo">490</span> }<a name="line.490"></a>
-<span class="sourceLineNo">491</span> return null;<a name="line.491"></a>
-<span class="sourceLineNo">492</span> }<a name="line.492"></a>
-<span class="sourceLineNo">493</span><a name="line.493"></a>
-<span class="sourceLineNo">494</span> /**<a name="line.494"></a>
-<span class="sourceLineNo">495</span> * Finds the public constructor that can take in the specified arguments.<a name="line.495"></a>
-<span class="sourceLineNo">496</span> *<a name="line.496"></a>
-<span class="sourceLineNo">497</span> * @param c The class we're trying to construct.<a name="line.497"></a>
-<span class="sourceLineNo">498</span> * @param args The arguments we want to pass into the constructor.<a name="line.498"></a>
-<span class="sourceLineNo">499</span> * @return The constructor, or <jk>null</jk> if a public constructor could not be found that takes<a name="line.499"></a>
-<span class="sourceLineNo">500</span> * in the specified arguments.<a name="line.500"></a>
-<span class="sourceLineNo">501</span> */<a name="line.501"></a>
-<span class="sourceLineNo">502</span> public static <T> Constructor<T> findPublicConstructor(Class<T> c, Object...args) {<a name="line.502"></a>
-<span class="sourceLineNo">503</span> return findPublicConstructor(c, getClasses(args));<a name="line.503"></a>
-<span class="sourceLineNo">504</span> }<a name="line.504"></a>
-<span class="sourceLineNo">505</span><a name="line.505"></a>
-<span class="sourceLineNo">506</span> /**<a name="line.506"></a>
-<span class="sourceLineNo">507</span> * Returns the class types for the specified arguments.<a name="line.507"></a>
-<span class="sourceLineNo">508</span> *<a name="line.508"></a>
-<span class="sourceLineNo">509</span> * @param args The objects we're getting the classes of.<a name="line.509"></a>
-<span class="sourceLineNo">510</span> * @return The classes of the arguments.<a name="line.510"></a>
-<span class="sourceLineNo">511</span> */<a name="line.511"></a>
-<span class="sourceLineNo">512</span> public static Class<?>[] getClasses(Object...args) {<a name="line.512"></a>
-<span class="sourceLineNo">513</span> Class<?>[] pt = new Class<?>[args.length];<a name="line.513"></a>
-<span class="sourceLineNo">514</span> for (int i = 0; i < args.length; i++)<a name="line.514"></a>
-<span class="sourceLineNo">515</span> pt[i] = args[i] == null ? null : args[i].getClass();<a name="line.515"></a>
-<span class="sourceLineNo">516</span> return pt;<a name="line.516"></a>
+<span class="sourceLineNo">374</span> ParameterizedType opt = (ParameterizedType)oc.getGenericSuperclass();<a name="line.374"></a>
+<span class="sourceLineNo">375</span> Type actualType = opt.getActualTypeArguments()[index];<a name="line.375"></a>
+<span class="sourceLineNo">376</span><a name="line.376"></a>
+<span class="sourceLineNo">377</span> if (typeMap.containsKey(actualType))<a name="line.377"></a>
+<span class="sourceLineNo">378</span> actualType = typeMap.get(actualType);<a name="line.378"></a>
+<span class="sourceLineNo">379</span><a name="line.379"></a>
+<span class="sourceLineNo">380</span> if (actualType instanceof Class) {<a name="line.380"></a>
+<span class="sourceLineNo">381</span> return (Class<?>)actualType;<a name="line.381"></a>
+<span class="sourceLineNo">382</span><a name="line.382"></a>
+<span class="sourceLineNo">383</span> } else if (actualType instanceof GenericArrayType) {<a name="line.383"></a>
+<span class="sourceLineNo">384</span> Class<?> cmpntType = (Class<?>)((GenericArrayType)actualType).getGenericComponentType();<a name="line.384"></a>
+<span class="sourceLineNo">385</span> return Array.newInstance(cmpntType, 0).getClass();<a name="line.385"></a>
+<span class="sourceLineNo">386</span><a name="line.386"></a>
+<span class="sourceLineNo">387</span> } else if (actualType instanceof TypeVariable) {<a name="line.387"></a>
+<span class="sourceLineNo">388</span> TypeVariable<?> typeVariable = (TypeVariable<?>)actualType;<a name="line.388"></a>
+<span class="sourceLineNo">389</span> List<Class<?>> nestedOuterTypes = new LinkedList<Class<?>>();<a name="line.389"></a>
+<span class="sourceLineNo">390</span> for (Class<?> ec = oc.getEnclosingClass(); ec != null; ec = ec.getEnclosingClass()) {<a name="line.390"></a>
+<span class="sourceLineNo">391</span> try {<a name="line.391"></a>
+<span class="sourceLineNo">392</span> Class<?> outerClass = oc.getClass();<a name="line.392"></a>
+<span class="sourceLineNo">393</span> nestedOuterTypes.add(outerClass);<a name="line.393"></a>
+<span class="sourceLineNo">394</span> Map<Type,Type> outerTypeMap = new HashMap<Type,Type>();<a name="line.394"></a>
+<span class="sourceLineNo">395</span> extractTypes(outerTypeMap, outerClass);<a name="line.395"></a>
+<span class="sourceLineNo">396</span> for (Map.Entry<Type,Type> entry : outerTypeMap.entrySet()) {<a name="line.396"></a>
+<span class="sourceLineNo">397</span> Type key = entry.getKey(), value = entry.getValue();<a name="line.397"></a>
+<span class="sourceLineNo">398</span> if (key instanceof TypeVariable) {<a name="line.398"></a>
+<span class="sourceLineNo">399</span> TypeVariable<?> keyType = (TypeVariable<?>)key;<a name="line.399"></a>
+<span class="sourceLineNo">400</span> if (keyType.getName().equals(typeVariable.getName()) && isInnerClass(keyType.getGenericDeclaration(), typeVariable.getGenericDeclaration())) {<a name="line.400"></a>
+<span class="sourceLineNo">401</span> if (value instanceof Class)<a name="line.401"></a>
+<span class="sourceLineNo">402</span> return (Class<?>)value;<a name="line.402"></a>
+<span class="sourceLineNo">403</span> typeVariable = (TypeVariable<?>)entry.getValue();<a name="line.403"></a>
+<span class="sourceLineNo">404</span> }<a name="line.404"></a>
+<span class="sourceLineNo">405</span> }<a name="line.405"></a>
+<span class="sourceLineNo">406</span> }<a name="line.406"></a>
+<span class="sourceLineNo">407</span> } catch (Exception e) {<a name="line.407"></a>
+<span class="sourceLineNo">408</span> throw new RuntimeException(e);<a name="line.408"></a>
+<span class="sourceLineNo">409</span> }<a name="line.409"></a>
+<span class="sourceLineNo">410</span> }<a name="line.410"></a>
+<span class="sourceLineNo">411</span> throw new RuntimeException("Could not resolve type: " + actualType);<a name="line.411"></a>
+<span class="sourceLineNo">412</span> } else {<a name="line.412"></a>
+<span class="sourceLineNo">413</span> throw new RuntimeException("Invalid type found in resolveParameterType: " + actualType);<a name="line.413"></a>
+<span class="sourceLineNo">414</span> }<a name="line.414"></a>
+<span class="sourceLineNo">415</span> }<a name="line.415"></a>
+<span class="sourceLineNo">416</span><a name="line.416"></a>
+<span class="sourceLineNo">417</span> private static boolean isInnerClass(GenericDeclaration od, GenericDeclaration id) {<a name="line.417"></a>
+<span class="sourceLineNo">418</span> if (od instanceof Class && id instanceof Class) {<a name="line.418"></a>
+<span class="sourceLineNo">419</span> Class<?> oc = (Class<?>)od;<a name="line.419"></a>
+<span class="sourceLineNo">420</span> Class<?> ic = (Class<?>)id;<a name="line.420"></a>
+<span class="sourceLineNo">421</span> while ((ic = ic.getEnclosingClass()) != null)<a name="line.421"></a>
+<span class="sourceLineNo">422</span> if (ic == oc)<a name="line.422"></a>
+<span class="sourceLineNo">423</span> return true;<a name="line.423"></a>
+<span class="sourceLineNo">424</span> }<a name="line.424"></a>
+<span class="sourceLineNo">425</span> return false;<a name="line.425"></a>
+<span class="sourceLineNo">426</span> }<a name="line.426"></a>
+<span class="sourceLineNo">427</span><a name="line.427"></a>
+<span class="sourceLineNo">428</span> private static void extractTypes(Map<Type,Type> typeMap, Class<?> c) {<a name="line.428"></a>
+<span class="sourceLineNo">429</span> Type gs = c.getGenericSuperclass();<a name="line.429"></a>
+<span class="sourceLineNo">430</span> if (gs instanceof ParameterizedType) {<a name="line.430"></a>
+<span class="sourceLineNo">431</span> ParameterizedType pt = (ParameterizedType)gs;<a name="line.431"></a>
+<span class="sourceLineNo">432</span> Type[] typeParameters = ((Class<?>)pt.getRawType()).getTypeParameters();<a name="line.432"></a>
+<span class="sourceLineNo">433</span> Type[] actualTypeArguments = pt.getActualTypeArguments();<a name="line.433"></a>
+<span class="sourceLineNo">434</span> for (int i = 0; i < typeParameters.length; i++) {<a name="line.434"></a>
+<span class="sourceLineNo">435</span> if (typeMap.containsKey(actualTypeArguments[i]))<a name="line.435"></a>
+<span class="sourceLineNo">436</span> actualTypeArguments[i] = typeMap.get(actualTypeArguments[i]);<a name="line.436"></a>
+<span class="sourceLineNo">437</span> typeMap.put(typeParameters[i], actualTypeArguments[i]);<a name="line.437"></a>
+<span class="sourceLineNo">438</span> }<a name="line.438"></a>
+<span class="sourceLineNo">439</span> }<a name="line.439"></a>
+<span class="sourceLineNo">440</span> }<a name="line.440"></a>
+<span class="sourceLineNo">441</span><a name="line.441"></a>
+<span class="sourceLineNo">442</span> /**<a name="line.442"></a>
+<span class="sourceLineNo">443</span> * Finds a public method with the specified parameters.<a name="line.443"></a>
+<span class="sourceLineNo">444</span> *<a name="line.444"></a>
+<span class="sourceLineNo">445</span> * @param c The class to look for the method.<a name="line.445"></a>
+<span class="sourceLineNo">446</span> * @param name The method name.<a name="line.446"></a>
+<span class="sourceLineNo">447</span> * @param returnType The return type of the method.<a name="line.447"></a>
+<span class="sourceLineNo">448</span> * Can be a super type of the actual return type.<a name="line.448"></a>
+<span class="sourceLineNo">449</span> * For example, if the actual return type is <code>CharSequence</code>, then <code>Object</code> will match but <code>String</code> will not.<a name="line.449"></a>
+<span class="sourceLineNo">450</span> * @param parameterTypes The parameter types of the method.<a name="line.450"></a>
+<span class="sourceLineNo">451</span> * Can be subtypes of the actual parameter types.<a name="line.451"></a>
+<span class="sourceLineNo">452</span> * For example, if the parameter type is <code>CharSequence</code>, then <code>String</code> will match but <code>Object</code> will not.<a name="line.452"></a>
+<span class="sourceLineNo">453</span> * @return The matched method, or <jk>null</jk> if no match was found.<a name="line.453"></a>
+<span class="sourceLineNo">454</span> */<a name="line.454"></a>
+<span class="sourceLineNo">455</span> public static Method findPublicMethod(Class<?> c, String name, Class<?> returnType, Class<?>...parameterTypes) {<a name="line.455"></a>
+<span class="sourceLineNo">456</span> for (Method m : c.getMethods()) {<a name="line.456"></a>
+<span class="sourceLineNo">457</span> if (isPublic(m) && m.getName().equals(name)) {<a name="line.457"></a>
+<span class="sourceLineNo">458</span> Class<?> rt = m.getReturnType();<a name="line.458"></a>
+<span class="sourceLineNo">459</span> if (isParentClass(returnType, rt)) {<a name="line.459"></a>
+<span class="sourceLineNo">460</span> Class<?>[] pt = m.getParameterTypes();<a name="line.460"></a>
+<span class="sourceLineNo">461</span> if (pt.length == parameterTypes.length) {<a name="line.461"></a>
+<span class="sourceLineNo">462</span> boolean matches = true;<a name="line.462"></a>
+<span class="sourceLineNo">463</span> for (int i = 0; i < pt.length; i++) {<a name="line.463"></a>
+<span class="sourceLineNo">464</span> if (! isParentClass(pt[i], parameterTypes[i])) {<a name="line.464"></a>
+<span class="sourceLineNo">465</span> matches = false;<a name="line.465"></a>
+<span class="sourceLineNo">466</span> break;<a name="line.466"></a>
+<span class="sourceLineNo">467</span> }<a name="line.467"></a>
+<span class="sourceLineNo">468</span> }<a name="line.468"></a>
+<span class="sourceLineNo">469</span> if (matches)<a name="line.469"></a>
+<span class="sourceLineNo">470</span> return m;<a name="line.470"></a>
+<span class="sourceLineNo">471</span> }<a name="line.471"></a>
+<span class="sourceLineNo">472</span> }<a name="line.472"></a>
+<span class="sourceLineNo">473</span> }<a name="line.473"></a>
+<span class="sourceLineNo">474</span> }<a name="line.474"></a>
+<span class="sourceLineNo">475</span> return null;<a name="line.475"></a>
+<span class="sourceLineNo">476</span> }<a name="line.476"></a>
+<span class="sourceLineNo">477</span><a name="line.477"></a>
+<span class="sourceLineNo">478</span> /**<a name="line.478"></a>
+<span class="sourceLineNo">479</span> * Finds a public constructor with the specified parameters without throwing an exception.<a name="line.479"></a>
+<span class="sourceLineNo">480</span> *<a name="line.480"></a>
+<span class="sourceLineNo">481</span> * @param c The class to search for a constructor.<a name="line.481"></a>
+<span class="sourceLineNo">482</span> * @param parameterTypes The parameter types in the constructor.<a name="line.482"></a>
+<span class="sourceLineNo">483</span> * Can be subtypes of the actual constructor argument types.<a name="line.483"></a>
+<span class="sourceLineNo">484</span> * @return The matching constructor, or <jk>null</jk> if constructor could not be found.<a name="line.484"></a>
+<span class="sourceLineNo">485</span> */<a name="line.485"></a>
+<span class="sourceLineNo">486</span> @SuppressWarnings("unchecked")<a name="line.486"></a>
+<span class="sourceLineNo">487</span> public static <T> Constructor<T> findPublicConstructor(Class<T> c, Class<?>...parameterTypes) {<a name="line.487"></a>
+<span class="sourceLineNo">488</span> for (Constructor<?> n : c.getConstructors()) {<a name="line.488"></a>
+<span class="sourceLineNo">489</span> if (isPublic(n)) {<a name="line.489"></a>
+<span class="sourceLineNo">490</span> Class<?>[] pt = n.getParameterTypes();<a name="line.490"></a>
+<span class="sourceLineNo">491</span> if (pt.length == parameterTypes.length) {<a name="line.491"></a>
+<span class="sourceLineNo">492</span> boolean matches = true;<a name="line.492"></a>
+<span class="sourceLineNo">493</span> for (int i = 0; i < pt.length; i++) {<a name="line.493"></a>
+<span class="sourceLineNo">494</span> if (! isParentClass(pt[i], parameterTypes[i])) {<a name="line.494"></a>
+<span class="sourceLineNo">495</span> matches = false;<a name="line.495"></a>
+<span class="sourceLineNo">496</span> break;<a name="line.496"></a>
+<span class="sourceLineNo">497</span> }<a name="line.497"></a>
+<span class="sourceLineNo">498</span> }<a name="line.498"></a>
+<span class="sourceLineNo">499</span> if (matches)<a name="line.499"></a>
+<span class="sourceLineNo">500</span> return (Constructor<T>)n;<a name="line.500"></a>
+<span class="sourceLineNo">501</span> }<a name="line.501"></a>
+<span class="sourceLineNo">502</span> }<a name="line.502"></a>
+<span class="sourceLineNo">503</span> }<a name="line.503"></a>
+<span class="sourceLineNo">504</span> return null;<a name="line.504"></a>
+<span class="sourceLineNo">505</span> }<a name="line.505"></a>
+<span class="sourceLineNo">506</span><a name="line.506"></a>
+<span class="sourceLineNo">507</span> /**<a name="line.507"></a>
+<span class="sourceLineNo">508</span> * Finds the public constructor that can take in the specified arguments.<a name="line.508"></a>
+<span class="sourceLineNo">509</span> *<a name="line.509"></a>
+<span class="sourceLineNo">510</span> * @param c The class we're trying to construct.<a name="line.510"></a>
+<span class="sourceLineNo">511</span> * @param args The arguments we want to pass into the constructor.<a name="line.511"></a>
+<span class="sourceLineNo">512</span> * @return The constructor, or <jk>null</jk> if a public constructor could not be found that takes<a name="line.512"></a>
+<span class="sourceLineNo">513</span> * in the specified arguments.<a name="line.513"></a>
+<span class="sourceLineNo">514</span> */<a name="line.514"></a>
+<span class="sourceLineNo">515</span> public static <T> Constructor<T> findPublicConstructor(Class<T> c, Object...args) {<a name="line.515"></a>
+<span class="sourceLineNo">516</span> return findPublicConstructor(c, getClasses(args));<a name="line.516"></a>
<span class="sourceLineNo">517</span> }<a name="line.517"></a>
<span class="sourceLineNo">518</span><a name="line.518"></a>
-<span class="sourceLineNo">519</span>// This code is inherently unsafe (but still potentially useful?)<a name="line.519"></a>
-<span class="sourceLineNo">520</span>//<a name="line.520"></a>
-<span class="sourceLineNo">521</span>// /**<a name="line.521"></a>
-<span class="sourceLineNo">522</span>// * Converts class name strings to ClassMeta objects.<a name="line.522"></a>
-<span class="sourceLineNo">523</span>// *<a name="line.523"></a>
-<span class="sourceLineNo">524</span>// * <h5 class='section'>Example:</h5><a name="line.524"></a>
-<span class="sourceLineNo">525</span>// * <ul><a name="line.525"></a>
-<span class="sourceLineNo">526</span>// * <li><js>"java.lang.String"</js><a name="line.526"></a>
-<span class="sourceLineNo">527</span>// * <li><js>"com.foo.sample.MyBean[]"</js><a name="line.527"></a>
-<span class="sourceLineNo">528</span>// * <li><js>"java.util.HashMap<java.lang.String,java.lang.Integer>"</js><a name="line.528"></a>
-<span class="sourceLineNo">529</span>// * <li><js>"[Ljava.lang.String;"</js> (i.e. the value of <code>String[].<jk>class</jk>.getName()</code>)<a name="line.529"></a>
-<span class="sourceLineNo">530</span>// * </ul><a name="line.530"></a>
-<span class="sourceLineNo">531</span>// *<a name="line.531"></a>
-<span class="sourceLineNo">532</span>// * @param s The class name.<a name="line.532"></a>
-<span class="sourceLineNo">533</span>// * @return The ClassMeta corresponding to the class name string.<a name="line.533"></a>
-<span class="sourceLineNo">534</span>// */<a name="line.534"></a>
-<span class="sourceLineNo">535</span>// protected final ClassMeta<?> getClassMetaFromString(String s) {<a name="line.535"></a>
-<span class="sourceLineNo">536</span>// int d = 0;<a name="line.536"></a>
-<span class="sourceLineNo">537</span>// if (s == null || s.isEmpty())<a name="line.537"></a>
-<span class="sourceLineNo">538</span>// return null;<a name="line.538"></a>
-<span class="sourceLineNo">539</span>//<a name="line.539"></a>
-<span class="sourceLineNo">540</span>// // Check for Class.getName() on array class types.<a name="line.540"></a>
-<span class="sourceLineNo">541</span>// if (s.charAt(0) == '[') {<a name="line.541"></a>
-<span class="sourceLineNo">542</span>// try {<a name="line.542"></a>
-<span class="sourceLineNo">543</span>// return getClassMeta(findClass(s));<a name="line.543"></a>
-<span class="sourceLineNo">544</span>// } catch (ClassNotFoundException e) {<a name="line.544"></a>
-<span class="sourceLineNo">545</span>// throw new RuntimeException(e);<a name="line.545"></a>
-<span class="sourceLineNo">546</span>// }<a name="line.546"></a>
-<span class="sourceLineNo">547</span>// }<a name="line.547"></a>
-<span class="sourceLineNo">548</span>//<a name="line.548"></a>
-<span class="sourceLineNo">549</span>// int i1 = 0;<a name="line.549"></a>
-<span class="sourceLineNo">550</span>// int i2 = 0;<a name="line.550"></a>
-<span class="sourceLineNo">551</span>// int dim = 0;<a name="line.551"></a>
-<span class="sourceLineNo">552</span>// List<ClassMeta<?>> p = null;<a name="line.552"></a>
-<span class="sourceLineNo">553</span>// for (int i = 0; i < s.length(); i++) {<a name="line.553"></a>
-<span class="sourceLineNo">554</span>// char c = s.charAt(i);<a name="line.554"></a>
-<span class="sourceLineNo">555</span>// if (c == '<') {<a name="line.555"></a>
-<span class="sourceLineNo">556</span>// if (d == 0) {<a name="line.556"></a>
-<span class="sourceLineNo">557</span>// i1 = i;<a name="line.557"></a>
-<span class="sourceLineNo">558</span>// i2 = i+1;<a name="line.558"></a>
-<span class="sourceLineNo">559</span>// p = new LinkedList<ClassMeta<?>>();<a name="line.559"></a>
-<span class="sourceLineNo">560</span>// }<a name="line.560"></a>
-<span class="sourceLineNo">561</span>// d++;<a name="line.561"></a>
-<span class="sourceLineNo">562</span>// } else if (c == '>') {<a name="line.562"></a>
-<span class="sourceLineNo">563</span>// d--;<a name="line.563"></a>
-<span class="sourceLineNo">564</span>// if (d == 0 && p != null)<a name="line.564"></a>
-<span class="sourceLineNo">565</span>// p.add(getClassMetaFromString(s.substring(i2, i)));<a name="line.565"></a>
-<span class="sourceLineNo">566</span>// } else if (c == ',' && d == 1) {<a name="line.566"></a>
-<span class="sourceLineNo">567</span>// if (p != null)<a name="line.567"></a>
-<span class="sourceLineNo">568</span>// p.add(getClassMetaFromString(s.substring(i2, i)));<a name="line.568"></a>
-<span class="sourceLineNo">569</span>// i2 = i+1;<a name="line.569"></a>
-<span class="sourceLineNo">570</span>// }<a name="line.570"></a>
-<span class="sourceLineNo">571</span>// if (c == '[') {<a name="line.571"></a>
-<span class="sourceLineNo">572</span>// if (i1 == 0)<a name="line.572"></a>
-<span class="sourceLineNo">573</span>// i1 = i;<a name="line.573"></a>
-<span class="sourceLineNo">574</span>// dim++;<a name="line.574"></a>
-<span class="sourceLineNo">575</span>// }<a name="line.575"></a>
-<span class="sourceLineNo">576</span>// }<a name="line.576"></a>
-<span class="sourceLineNo">577</span>// if (i1 == 0)<a name="line.577"></a>
-<span class="sourceLineNo">578</span>// i1 = s.length();<a name="line.578"></a>
-<span class="sourceLineNo">579</span>// try {<a name="line.579"></a>
-<span class="sourceLineNo">580</span>// String name = s.substring(0, i1).trim();<a name="line.580"></a>
-<span class="sourceLineNo">581</span>// char x = name.charAt(0);<a name="line.581"></a>
-<span class="sourceLineNo">582</span>// Class<?> c = null;<a name="line.582"></a>
-<span class="sourceLineNo">583</span>// if (x >= 'b' && x <= 's') {<a name="line.583"></a>
-<span class="sourceLineNo">584</span>// if (x == 'b' && name.equals("boolean"))<a name="line.584"></a>
-<span class="sourceLineNo">585</span>// c = boolean.class;<a name="line.585"></a>
-<span class="sourceLineNo">586</span>// else if (x == 'b' && name.equals("byte"))<a name="line.586"></a>
-<span class="sourceLineNo">587</span>// c = byte.class;<a name="line.587"></a>
-<span class="sourceLineNo">588</span>// else if (x == 'c' && name.equals("char"))<a name="line.588"></a>
-<span class="sourceLineNo">589</span>// c = char.class;<a name="line.589"></a>
-<span class="sourceLineNo">590</span>// else if (x == 'd' && name.equals("double"))<a name="line.590"></a>
-<span class="sourceLineNo">591</span>// c = double.class;<a name="line.591"></a>
-<span class="sourceLineNo">592</span>// else if (x == 'i' && name.equals("int"))<a name="line.592"></a>
-<span class="sourceLineNo">593</span>// c = int.class;<a name="line.593"></a>
-<span class="sourceLineNo">594</span>// else if (x == 'l' && name.equals("long"))<a name="line.594"></a>
-<span class="sourceLineNo">595</span>// c = long.class;<a name="line.595"></a>
-<span class="sourceLineNo">596</span>// else if (x == 's' && name.equals("short"))<a name="line.596"></a>
-<span class="sourceLineNo">597</span>// c = short.class;<a name="line.597"></a>
-<span class="sourceLineNo">598</span>// else<a name="line.598"></a>
-<span class="sourceLineNo">599</span>// c = findClass(name);<a name="line.599"></a>
-<span class="sourceLineNo">600</span>// } else {<a name="line.600"></a>
-<span class="sourceLineNo">601</span>// c = findClass(name);<a name="line.601"></a>
-<span class="sourceLineNo">602</span>// }<a name="line.602"></a>
-<span class="sourceLineNo">603</span>//<a name="line.603"></a>
-<span class="sourceLineNo">604</span>// ClassMeta<?> cm = getClassMeta(c);<a name="line.604"></a>
-<span class="sourceLineNo">605</span>//<a name="line.605"></a>
-<span class="sourceLineNo">606</span>// if (p != null) {<a name="line.606"></a>
-<span class="sourceLineNo">607</span>// if (cm.isMap())<a name="line.607"></a>
-<span class="sourceLineNo">608</span>// cm = new ClassMeta(c, this).setKeyType(p.get(0)).setValueType(p.get(1));<a name="line.608"></a>
-<span class="sourceLineNo">609</span>// if (cm.isCollection())<a name="line.609"></a>
-<span class="sourceLineNo">610</span>// cm = new ClassMeta(c, this).setElementType(p.get(0));<a name="line.610"></a>
-<span class="sourceLineNo">611</span>// }<a name="line.611"></a>
-<span class="sourceLineNo">612</span>//<a name="line.612"></a>
-<span class="sourceLineNo">613</span>// while (dim > 0) {<a name="line.613"></a>
-<span class="sourceLineNo">614</span>// cm = new ClassMeta(Array.newInstance(cm.getInnerClass(), 0).getClass(), this);<a name="line.614"></a>
-<span class="sourceLineNo">615</span>// dim--;<a name="line.615"></a>
-<span class="sourceLineNo">616</span>// }<a name="line.616"></a>
-<span class="sourceLineNo">617</span>//<a name="line.617"></a>
-<span class="sourceLineNo">618</span>// return cm;<a name="line.618"></a>
-<span class="sourceLineNo">619</span>// } catch (ClassNotFoundException e) {<a name="line.619"></a>
-<span class="sourceLineNo">620</span>// throw new RuntimeException(e);<a name="line.620"></a>
-<span class="sourceLineNo">621</span>// }<a name="line.621"></a>
-<span class="sourceLineNo">622</span>// }<a name="line.622"></a>
-<span class="sourceLineNo">623</span>//<a name="line.623"></a>
-<span class="sourceLineNo">624</span>// private Class<?> findClass(String name) throws ClassNotFoundException {<a name="line.624"></a>
-<span class="sourceLineNo">625</span>// return classLoader == null ? Class.forName(name) : Class.forName(name, true, classLoader);<a name="line.625"></a>
-<span class="sourceLineNo">626</span>// }<a name="line.626"></a>
-<span class="sourceLineNo">627</span><a name="line.627"></a>
-<span class="sourceLineNo">628</span> /**<a name="line.628"></a>
-<span class="sourceLineNo">629</span> * Returns a {@link MethodInfo} bean that describes the specified method.<a name="line.629"></a>
-<span class="sourceLineNo">630</span> * @param m The method to describe.<a name="line.630"></a>
-<span class="sourceLineNo">631</span> * @return The bean with information about the method.<a name="line.631"></a>
-<span class="sourceLineNo">632</span> */<a name="line.632"></a>
-<span class="sourceLineNo">633</span> public static MethodInfo getMethodInfo(Method m) {<a name="line.633"></a>
-<span class="sourceLineNo">634</span> return new MethodInfo(m);<a name="line.634"></a>
-<span class="sourceLineNo">635</span> }<a name="line.635"></a>
-<span class="sourceLineNo">636</span><a name="line.636"></a>
-<span class="sourceLineNo">637</span> /**<a name="line.637"></a>
-<span class="sourceLineNo">638</span> * Returns {@link MethodInfo} beans that describe the specified methods.<a name="line.638"></a>
-<span class="sourceLineNo">639</span> * @param m The methods to describe.<a name="line.639"></a>
-<span class="sourceLineNo">640</span> * @return The beans with information about the methods.<a name="line.640"></a>
-<span class="sourceLineNo">641</span> */<a name="line.641"></a>
-<span class="sourceLineNo">642</span> public static MethodInfo[] getMethodInfo(Collection<Method> m) {<a name="line.642"></a>
-<span class="sourceLineNo">643</span> MethodInfo[] mi = new MethodInfo[m.size()];<a name="line.643"></a>
-<span class="sourceLineNo">644</span> int i = 0;<a name="line.644"></a>
-<span class="sourceLineNo">645</span> for (Method mm : m)<a name="line.645"></a>
-<span class="sourceLineNo">646</span> mi[i++] = getMethodInfo(mm);<a name="line.646"></a>
-<span class="sourceLineNo">647</span> return mi;<a name="line.647"></a>
+<span class="sourceLineNo">519</span> /**<a name="line.519"></a>
+<span class="sourceLineNo">520</span> * Returns the class types for the specified arguments.<a name="line.520"></a>
+<span class="sourceLineNo">521</span> *<a name="line.521"></a>
+<span class="sourceLineNo">522</span> * @param args The objects we're getting the classes of.<a name="line.522"></a>
+<span class="sourceLineNo">523</span> * @return The classes of the arguments.<a name="line.523"></a>
+<span class="sourceLineNo">524</span> */<a name="line.524"></a>
+<span class="sourceLineNo">525</span> public static Class<?>[] getClasses(Object...args) {<a name="line.525"></a>
+<span class="sourceLineNo">526</span> Class<?>[] pt = new Class<?>[args.length];<a name="line.526"></a>
+<s
<TRUNCATED>
[22/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/AcceptCharset.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/AcceptCharset.html b/content/site/apidocs/src-html/org/apache/juneau/http/AcceptCharset.html
new file mode 100644
index 0000000..6ea72b5
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/AcceptCharset.html
@@ -0,0 +1,154 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>import static org.apache.juneau.http.Constants.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span><a name="line.16"></a>
+<span class="sourceLineNo">017</span>import org.apache.juneau.internal.*;<a name="line.17"></a>
+<span class="sourceLineNo">018</span><a name="line.18"></a>
+<span class="sourceLineNo">019</span>/**<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * Represents a parsed <l>Accept-Charset</l> HTTP request header.<a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * Character sets that are acceptable.<a name="line.22"></a>
+<span class="sourceLineNo">023</span> *<a name="line.23"></a>
+<span class="sourceLineNo">024</span> * <h6 class='figure'>Example</h6><a name="line.24"></a>
+<span class="sourceLineNo">025</span> * <p class='bcode'><a name="line.25"></a>
+<span class="sourceLineNo">026</span> * Accept-Charset: utf-8<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * </p><a name="line.27"></a>
+<span class="sourceLineNo">028</span> *<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * <h6 class='topic'>RFC2616 Specification</h6><a name="line.29"></a>
+<span class="sourceLineNo">030</span> *<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * The Accept-Charset request-header field can be used to indicate what character sets are acceptable for the response.<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * <p><a name="line.32"></a>
+<span class="sourceLineNo">033</span> * This field allows clients capable of understanding more comprehensive or special- purpose character sets to signal<a name="line.33"></a>
+<span class="sourceLineNo">034</span> * that capability to a server which is capable of representing documents in those character sets.<a name="line.34"></a>
+<span class="sourceLineNo">035</span> * <p class='bcode'><a name="line.35"></a>
+<span class="sourceLineNo">036</span> * Accept-Charset = "Accept-Charset" ":"<a name="line.36"></a>
+<span class="sourceLineNo">037</span> * 1#( ( charset | "*" )[ ";" "q" "=" qvalue ] )<a name="line.37"></a>
+<span class="sourceLineNo">038</span> * </p><a name="line.38"></a>
+<span class="sourceLineNo">039</span> * <p><a name="line.39"></a>
+<span class="sourceLineNo">040</span> * Character set values are described in section 3.4. Each charset MAY be given an associated quality value which<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * represents the user's preference for that charset.<a name="line.41"></a>
+<span class="sourceLineNo">042</span> * The default value is q=1.<a name="line.42"></a>
+<span class="sourceLineNo">043</span> * An example is...<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * <p class='bcode'><a name="line.44"></a>
+<span class="sourceLineNo">045</span> * Accept-Charset: iso-8859-5, unicode-1-1;q=0.8<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * </p><a name="line.46"></a>
+<span class="sourceLineNo">047</span> * <p><a name="line.47"></a>
+<span class="sourceLineNo">048</span> * The special value "*", if present in the Accept-Charset field, matches every character set (including ISO-8859-1)<a name="line.48"></a>
+<span class="sourceLineNo">049</span> * which is not mentioned elsewhere in the Accept-Charset field.<a name="line.49"></a>
+<span class="sourceLineNo">050</span> * <p><a name="line.50"></a>
+<span class="sourceLineNo">051</span> * If no "*" is present in an Accept-Charset field, then all character sets not explicitly mentioned get a quality<a name="line.51"></a>
+<span class="sourceLineNo">052</span> * value of 0, except for ISO-8859-1, which gets a quality value of 1 if not explicitly mentioned.<a name="line.52"></a>
+<span class="sourceLineNo">053</span> * <p><a name="line.53"></a>
+<span class="sourceLineNo">054</span> * If no Accept-Charset header is present, the default is that any character set is acceptable.<a name="line.54"></a>
+<span class="sourceLineNo">055</span> * <p><a name="line.55"></a>
+<span class="sourceLineNo">056</span> * If an Accept-Charset header is present, and if the server cannot send a response which is acceptable according to<a name="line.56"></a>
+<span class="sourceLineNo">057</span> * the Accept-Charset header, then the server SHOULD send an error response with the 406 (not acceptable) status code,<a name="line.57"></a>
+<span class="sourceLineNo">058</span> * though the sending of an unacceptable response is also allowed.<a name="line.58"></a>
+<span class="sourceLineNo">059</span> */<a name="line.59"></a>
+<span class="sourceLineNo">060</span>public final class AcceptCharset extends HeaderRangeArray {<a name="line.60"></a>
+<span class="sourceLineNo">061</span><a name="line.61"></a>
+<span class="sourceLineNo">062</span> private static final Cache<String,AcceptCharset> cache = new Cache<String,AcceptCharset>(NOCACHE, CACHE_MAX_SIZE);<a name="line.62"></a>
+<span class="sourceLineNo">063</span><a name="line.63"></a>
+<span class="sourceLineNo">064</span> /**<a name="line.64"></a>
+<span class="sourceLineNo">065</span> * Returns a parsed <code>Accept-Charset</code> header.<a name="line.65"></a>
+<span class="sourceLineNo">066</span> *<a name="line.66"></a>
+<span class="sourceLineNo">067</span> * @param value The <code>Accept-Charset</code> header string.<a name="line.67"></a>
+<span class="sourceLineNo">068</span> * @return The parsed <code>Accept-Charset</code> header, or <jk>null</jk> if the string was null.<a name="line.68"></a>
+<span class="sourceLineNo">069</span> */<a name="line.69"></a>
+<span class="sourceLineNo">070</span> public static AcceptCharset forString(String value) {<a name="line.70"></a>
+<span class="sourceLineNo">071</span> if (value == null)<a name="line.71"></a>
+<span class="sourceLineNo">072</span> return null;<a name="line.72"></a>
+<span class="sourceLineNo">073</span> AcceptCharset a = cache.get(value);<a name="line.73"></a>
+<span class="sourceLineNo">074</span> if (a == null)<a name="line.74"></a>
+<span class="sourceLineNo">075</span> a = cache.put(value, new AcceptCharset(value));<a name="line.75"></a>
+<span class="sourceLineNo">076</span> return a;<a name="line.76"></a>
+<span class="sourceLineNo">077</span> }<a name="line.77"></a>
+<span class="sourceLineNo">078</span><a name="line.78"></a>
+<span class="sourceLineNo">079</span> private AcceptCharset(String value) {<a name="line.79"></a>
+<span class="sourceLineNo">080</span> super(value);<a name="line.80"></a>
+<span class="sourceLineNo">081</span> }<a name="line.81"></a>
+<span class="sourceLineNo">082</span>}<a name="line.82"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/AcceptEncoding.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/AcceptEncoding.html b/content/site/apidocs/src-html/org/apache/juneau/http/AcceptEncoding.html
index bbf4248..ffa31cc 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/http/AcceptEncoding.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/AcceptEncoding.html
@@ -20,145 +20,94 @@
<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
<span class="sourceLineNo">014</span><a name="line.14"></a>
-<span class="sourceLineNo">015</span>import java.util.*;<a name="line.15"></a>
-<span class="sourceLineNo">016</span>import java.util.concurrent.*;<a name="line.16"></a>
-<span class="sourceLineNo">017</span><a name="line.17"></a>
-<span class="sourceLineNo">018</span>import org.apache.juneau.internal.*;<a name="line.18"></a>
-<span class="sourceLineNo">019</span><a name="line.19"></a>
-<span class="sourceLineNo">020</span>/**<a name="line.20"></a>
-<span class="sourceLineNo">021</span> * Represents a parsed <code>Accept-Encoding:</code> HTTP header.<a name="line.21"></a>
-<span class="sourceLineNo">022</span> * <p><a name="line.22"></a>
-<span class="sourceLineNo">023</span> * The formal RFC2616 header field definition is as follows:<a name="line.23"></a>
-<span class="sourceLineNo">024</span> * <p class='bcode'><a name="line.24"></a>
-<span class="sourceLineNo">025</span> * The Accept-Encoding request-header field is similar to Accept, but restricts<a name="line.25"></a>
-<span class="sourceLineNo">026</span> * the content-codings (section 3.5) that are acceptable in the response.<a name="line.26"></a>
-<span class="sourceLineNo">027</span> *<a name="line.27"></a>
-<span class="sourceLineNo">028</span> * Accept-Encoding = "Accept-Encoding" ":"<a name="line.28"></a>
-<span class="sourceLineNo">029</span> * 1#( codings [ ";" "q" "=" qvalue ] )<a name="line.29"></a>
-<span class="sourceLineNo">030</span> * codings = ( content-coding | "*" )<a name="line.30"></a>
-<span class="sourceLineNo">031</span> *<a name="line.31"></a>
-<span class="sourceLineNo">032</span> * Examples of its use are:<a name="line.32"></a>
-<span class="sourceLineNo">033</span> *<a name="line.33"></a>
-<span class="sourceLineNo">034</span> * Accept-Encoding: compress, gzip<a name="line.34"></a>
-<span class="sourceLineNo">035</span> * Accept-Encoding:<a name="line.35"></a>
-<span class="sourceLineNo">036</span> * Accept-Encoding: *<a name="line.36"></a>
-<span class="sourceLineNo">037</span> * Accept-Encoding: compress;q=0.5, gzip;q=1.0<a name="line.37"></a>
-<span class="sourceLineNo">038</span> * Accept-Encoding: gzip;q=1.0, identity; q=0.5, *;q=0<a name="line.38"></a>
-<span class="sourceLineNo">039</span> *<a name="line.39"></a>
-<span class="sourceLineNo">040</span> * A server tests whether a content-coding is acceptable, according to an<a name="line.40"></a>
-<span class="sourceLineNo">041</span> * Accept-Encoding field, using these rules:<a name="line.41"></a>
-<span class="sourceLineNo">042</span> *<a name="line.42"></a>
-<span class="sourceLineNo">043</span> * 1. If the content-coding is one of the content-codings listed in<a name="line.43"></a>
-<span class="sourceLineNo">044</span> * the Accept-Encoding field, then it is acceptable, unless it is<a name="line.44"></a>
-<span class="sourceLineNo">045</span> * accompanied by a qvalue of 0. (As defined in section 3.9, a<a name="line.45"></a>
-<span class="sourceLineNo">046</span> * qvalue of 0 means "not acceptable.")<a name="line.46"></a>
-<span class="sourceLineNo">047</span> * 2. The special "*" symbol in an Accept-Encoding field matches any<a name="line.47"></a>
-<span class="sourceLineNo">048</span> * available content-coding not explicitly listed in the header<a name="line.48"></a>
-<span class="sourceLineNo">049</span> * field.<a name="line.49"></a>
-<span class="sourceLineNo">050</span> * 3. If multiple content-codings are acceptable, then the acceptable<a name="line.50"></a>
-<span class="sourceLineNo">051</span> * content-coding with the highest non-zero qvalue is preferred.<a name="line.51"></a>
-<span class="sourceLineNo">052</span> * 4. The "identity" content-coding is always acceptable, unless<a name="line.52"></a>
-<span class="sourceLineNo">053</span> * specifically refused because the Accept-Encoding field includes<a name="line.53"></a>
-<span class="sourceLineNo">054</span> * "identity;q=0", or because the field includes "*;q=0" and does<a name="line.54"></a>
-<span class="sourceLineNo">055</span> * not explicitly include the "identity" content-coding. If the<a name="line.55"></a>
-<span class="sourceLineNo">056</span> * Accept-Encoding field-value is empty, then only the "identity"<a name="line.56"></a>
-<span class="sourceLineNo">057</span> * encoding is acceptable.<a name="line.57"></a>
-<span class="sourceLineNo">058</span> *<a name="line.58"></a>
-<span class="sourceLineNo">059</span> * If an Accept-Encoding field is present in a request, and if the server cannot<a name="line.59"></a>
-<span class="sourceLineNo">060</span> * send a response which is acceptable according to the Accept-Encoding header,<a name="line.60"></a>
-<span class="sourceLineNo">061</span> * then the server SHOULD send an error response with the 406 (Not Acceptable) status code.<a name="line.61"></a>
-<span class="sourceLineNo">062</span> *<a name="line.62"></a>
-<span class="sourceLineNo">063</span> * If no Accept-Encoding field is present in a request, the server MAY assume<a name="line.63"></a>
-<span class="sourceLineNo">064</span> * that the client will accept any content coding. In this case, if "identity"<a name="line.64"></a>
-<span class="sourceLineNo">065</span> * is one of the available content-codings, then the server SHOULD use the "identity"<a name="line.65"></a>
-<span class="sourceLineNo">066</span> * content-coding, unless it has additional information that a different content-coding<a name="line.66"></a>
-<span class="sourceLineNo">067</span> * is meaningful to the client.<a name="line.67"></a>
-<span class="sourceLineNo">068</span> *<a name="line.68"></a>
-<span class="sourceLineNo">069</span> * Note: If the request does not include an Accept-Encoding field,<a name="line.69"></a>
-<span class="sourceLineNo">070</span> * and if the "identity" content-coding is unavailable, then<a name="line.70"></a>
-<span class="sourceLineNo">071</span> * content-codings commonly understood by HTTP/1.0 clients (i.e.,<a name="line.71"></a>
-<span class="sourceLineNo">072</span> * "gzip" and "compress") are preferred; some older clients<a name="line.72"></a>
-<span class="sourceLineNo">073</span> * improperly display messages sent with other content-codings. The<a name="line.73"></a>
-<span class="sourceLineNo">074</span> * server might also make this decision based on information about<a name="line.74"></a>
-<span class="sourceLineNo">075</span> * the particular user-agent or client.<a name="line.75"></a>
-<span class="sourceLineNo">076</span> * Note: Most HTTP/1.0 applications do not recognize or obey qvalues<a name="line.76"></a>
-<span class="sourceLineNo">077</span> * associated with content-codings. This means that qvalues will not<a name="line.77"></a>
-<span class="sourceLineNo">078</span> * work and are not permitted with x-gzip or x-compress.<a name="line.78"></a>
-<span class="sourceLineNo">079</span> * </p><a name="line.79"></a>
-<span class="sourceLineNo">080</span> */<a name="line.80"></a>
-<span class="sourceLineNo">081</span>public final class AcceptEncoding {<a name="line.81"></a>
-<span class="sourceLineNo">082</span><a name="line.82"></a>
-<span class="sourceLineNo">083</span> private static final boolean nocache = Boolean.getBoolean("juneau.http.AcceptEncoding.nocache");<a name="line.83"></a>
-<span class="sourceLineNo">084</span> private static final ConcurrentHashMap<String,AcceptEncoding> cache = new ConcurrentHashMap<String,AcceptEncoding>();<a name="line.84"></a>
-<span class="sourceLineNo">085</span><a name="line.85"></a>
-<span class="sourceLineNo">086</span> private final TypeRange[] typeRanges;<a name="line.86"></a>
-<span class="sourceLineNo">087</span> private final List<TypeRange> typeRangesList;<a name="line.87"></a>
-<span class="sourceLineNo">088</span><a name="line.88"></a>
-<span class="sourceLineNo">089</span> /**<a name="line.89"></a>
-<span class="sourceLineNo">090</span> * Returns a parsed <code>Accept-Encoding</code> header.<a name="line.90"></a>
-<span class="sourceLineNo">091</span> *<a name="line.91"></a>
-<span class="sourceLineNo">092</span> * @param s The <code>Accept-Encoding</code> header string.<a name="line.92"></a>
-<span class="sourceLineNo">093</span> * @return The parsed <code>Accept-Encoding</code> header, or <jk>null</jk> if the string was null.<a name="line.93"></a>
-<span class="sourceLineNo">094</span> */<a name="line.94"></a>
-<span class="sourceLineNo">095</span> public static AcceptEncoding forString(String s) {<a name="line.95"></a>
-<span class="sourceLineNo">096</span> if (s == null)<a name="line.96"></a>
-<span class="sourceLineNo">097</span> return null;<a name="line.97"></a>
+<span class="sourceLineNo">015</span>import static org.apache.juneau.http.Constants.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span><a name="line.16"></a>
+<span class="sourceLineNo">017</span>import org.apache.juneau.internal.*;<a name="line.17"></a>
+<span class="sourceLineNo">018</span><a name="line.18"></a>
+<span class="sourceLineNo">019</span>/**<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * Represents a parsed <l>Accept-Encoding</l> HTTP request header.<a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * List of acceptable encodings.<a name="line.22"></a>
+<span class="sourceLineNo">023</span> *<a name="line.23"></a>
+<span class="sourceLineNo">024</span> * <h6 class='figure'>Example</h6><a name="line.24"></a>
+<span class="sourceLineNo">025</span> * <p class='bcode'><a name="line.25"></a>
+<span class="sourceLineNo">026</span> * Accept-Encoding: gzip, deflate<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * </p><a name="line.27"></a>
+<span class="sourceLineNo">028</span> *<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * <h6 class='topic'>RFC2616 Specification</h6><a name="line.29"></a>
+<span class="sourceLineNo">030</span> *<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * The Accept-Encoding request-header field is similar to Accept, but restricts the content-codings (section 3.5) that are acceptable in the response.<a name="line.31"></a>
+<span class="sourceLineNo">032</span> *<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * <p class='bcode'><a name="line.33"></a>
+<span class="sourceLineNo">034</span> * Accept-Encoding = "Accept-Encoding" ":"<a name="line.34"></a>
+<span class="sourceLineNo">035</span> * 1#( codings [ ";" "q" "=" qvalue ] )<a name="line.35"></a>
+<span class="sourceLineNo">036</span> * codings = ( content-coding | "*" )<a name="line.36"></a>
+<span class="sourceLineNo">037</span> * </p><a name="line.37"></a>
+<span class="sourceLineNo">038</span> * <p><a name="line.38"></a>
+<span class="sourceLineNo">039</span> * Examples of its use are:<a name="line.39"></a>
+<span class="sourceLineNo">040</span> * <p class='bcode'><a name="line.40"></a>
+<span class="sourceLineNo">041</span> * Accept-Encoding: compress, gzip<a name="line.41"></a>
+<span class="sourceLineNo">042</span> * Accept-Encoding:<a name="line.42"></a>
+<span class="sourceLineNo">043</span> * Accept-Encoding: *<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * Accept-Encoding: compress;q=0.5, gzip;q=1.0<a name="line.44"></a>
+<span class="sourceLineNo">045</span> * Accept-Encoding: gzip;q=1.0, identity; q=0.5, *;q=0<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * </p><a name="line.46"></a>
+<span class="sourceLineNo">047</span> * <p><a name="line.47"></a>
+<span class="sourceLineNo">048</span> * A server tests whether a content-coding is acceptable, according to an Accept-Encoding field, using these rules:<a name="line.48"></a>
+<span class="sourceLineNo">049</span> * <ol><a name="line.49"></a>
+<span class="sourceLineNo">050</span> * <li>If the content-coding is one of the content-codings listed in the Accept-Encoding field, then it is<a name="line.50"></a>
+<span class="sourceLineNo">051</span> * acceptable, unless it is accompanied by a qvalue of 0.<a name="line.51"></a>
+<span class="sourceLineNo">052</span> * (As defined in section 3.9, a qvalue of 0 means "not acceptable.")<a name="line.52"></a>
+<span class="sourceLineNo">053</span> * <li>The special "*" symbol in an Accept-Encoding field matches any available content-coding not explicitly listed<a name="line.53"></a>
+<span class="sourceLineNo">054</span> * in the header field.<a name="line.54"></a>
+<span class="sourceLineNo">055</span> * <li>If multiple content-codings are acceptable, then the acceptable content-coding with the highest non-zero<a name="line.55"></a>
+<span class="sourceLineNo">056</span> * qvalue is preferred.<a name="line.56"></a>
+<span class="sourceLineNo">057</span> * <li>The "identity" content-coding is always acceptable, unless specifically refused because the Accept-Encoding<a name="line.57"></a>
+<span class="sourceLineNo">058</span> * field includes "identity;q=0", or because the field includes "*;q=0" and does not explicitly include the<a name="line.58"></a>
+<span class="sourceLineNo">059</span> * "identity" content-coding.<a name="line.59"></a>
+<span class="sourceLineNo">060</span> * If the Accept-Encoding field-value is empty, then only the "identity" encoding is acceptable.<a name="line.60"></a>
+<span class="sourceLineNo">061</span> * </ol><a name="line.61"></a>
+<span class="sourceLineNo">062</span> * <p><a name="line.62"></a>
+<span class="sourceLineNo">063</span> * If an Accept-Encoding field is present in a request, and if the server cannot send a response which is acceptable<a name="line.63"></a>
+<span class="sourceLineNo">064</span> * according to the Accept-Encoding header, then the server SHOULD send an error response with the 406 (Not Acceptable)<a name="line.64"></a>
+<span class="sourceLineNo">065</span> * status code.<a name="line.65"></a>
+<span class="sourceLineNo">066</span> * <p><a name="line.66"></a>
+<span class="sourceLineNo">067</span> * If no Accept-Encoding field is present in a request, the server MAY assume that the client will accept any content<a name="line.67"></a>
+<span class="sourceLineNo">068</span> * coding.<a name="line.68"></a>
+<span class="sourceLineNo">069</span> * In this case, if "identity" is one of the available content-codings, then the server SHOULD use the "identity"<a name="line.69"></a>
+<span class="sourceLineNo">070</span> * content-coding, unless it has additional information that a different content-coding is meaningful to the client.<a name="line.70"></a>
+<span class="sourceLineNo">071</span> * <p><a name="line.71"></a>
+<span class="sourceLineNo">072</span> * Note: If the request does not include an Accept-Encoding field, and if the "identity" content-coding is unavailable,<a name="line.72"></a>
+<span class="sourceLineNo">073</span> * then content-codings commonly understood by HTTP/1.0 clients (i.e.,"gzip" and "compress") are preferred; some older<a name="line.73"></a>
+<span class="sourceLineNo">074</span> * clients improperly display messages sent with other content-codings.<a name="line.74"></a>
+<span class="sourceLineNo">075</span> * The server might also make this decision based on information about the particular user-agent or client.<a name="line.75"></a>
+<span class="sourceLineNo">076</span> * <p><a name="line.76"></a>
+<span class="sourceLineNo">077</span> * Note: Most HTTP/1.0 applications do not recognize or obey qvalues associated with content-codings.<a name="line.77"></a>
+<span class="sourceLineNo">078</span> * This means that qvalues will not work and are not permitted with x-gzip or x-compress.<a name="line.78"></a>
+<span class="sourceLineNo">079</span> */<a name="line.79"></a>
+<span class="sourceLineNo">080</span>public final class AcceptEncoding extends HeaderRangeArray {<a name="line.80"></a>
+<span class="sourceLineNo">081</span><a name="line.81"></a>
+<span class="sourceLineNo">082</span> private static final Cache<String,AcceptEncoding> cache = new Cache<String,AcceptEncoding>(NOCACHE, CACHE_MAX_SIZE);<a name="line.82"></a>
+<span class="sourceLineNo">083</span><a name="line.83"></a>
+<span class="sourceLineNo">084</span> /**<a name="line.84"></a>
+<span class="sourceLineNo">085</span> * Returns a parsed <code>Accept-Encoding</code> header.<a name="line.85"></a>
+<span class="sourceLineNo">086</span> *<a name="line.86"></a>
+<span class="sourceLineNo">087</span> * @param value The <code>Accept-Encoding</code> header string.<a name="line.87"></a>
+<span class="sourceLineNo">088</span> * @return The parsed <code>Accept-Encoding</code> header, or <jk>null</jk> if the string was null.<a name="line.88"></a>
+<span class="sourceLineNo">089</span> */<a name="line.89"></a>
+<span class="sourceLineNo">090</span> public static AcceptEncoding forString(String value) {<a name="line.90"></a>
+<span class="sourceLineNo">091</span> if (value == null)<a name="line.91"></a>
+<span class="sourceLineNo">092</span> return null;<a name="line.92"></a>
+<span class="sourceLineNo">093</span> AcceptEncoding a = cache.get(value);<a name="line.93"></a>
+<span class="sourceLineNo">094</span> if (a == null)<a name="line.94"></a>
+<span class="sourceLineNo">095</span> a = cache.put(value, new AcceptEncoding(value));<a name="line.95"></a>
+<span class="sourceLineNo">096</span> return a;<a name="line.96"></a>
+<span class="sourceLineNo">097</span> }<a name="line.97"></a>
<span class="sourceLineNo">098</span><a name="line.98"></a>
-<span class="sourceLineNo">099</span> // Prevent OOM in case of DDOS<a name="line.99"></a>
-<span class="sourceLineNo">100</span> if (cache.size() > 1000)<a name="line.100"></a>
-<span class="sourceLineNo">101</span> cache.clear();<a name="line.101"></a>
-<span class="sourceLineNo">102</span><a name="line.102"></a>
-<span class="sourceLineNo">103</span> while (true) {<a name="line.103"></a>
-<span class="sourceLineNo">104</span> AcceptEncoding a = cache.get(s);<a name="line.104"></a>
-<span class="sourceLineNo">105</span> if (a != null)<a name="line.105"></a>
-<span class="sourceLineNo">106</span> return a;<a name="line.106"></a>
-<span class="sourceLineNo">107</span> a = new AcceptEncoding(s);<a name="line.107"></a>
-<span class="sourceLineNo">108</span> if (nocache)<a name="line.108"></a>
-<span class="sourceLineNo">109</span> return a;<a name="line.109"></a>
-<span class="sourceLineNo">110</span> cache.putIfAbsent(s, a);<a name="line.110"></a>
-<span class="sourceLineNo">111</span> }<a name="line.111"></a>
-<span class="sourceLineNo">112</span> }<a name="line.112"></a>
-<span class="sourceLineNo">113</span><a name="line.113"></a>
-<span class="sourceLineNo">114</span> private AcceptEncoding(String raw) {<a name="line.114"></a>
-<span class="sourceLineNo">115</span> this.typeRanges = TypeRange.parse(raw);<a name="line.115"></a>
-<span class="sourceLineNo">116</span> this.typeRangesList = Collections.unmodifiableList(Arrays.asList(typeRanges));<a name="line.116"></a>
-<span class="sourceLineNo">117</span> }<a name="line.117"></a>
-<span class="sourceLineNo">118</span><a name="line.118"></a>
-<span class="sourceLineNo">119</span> /**<a name="line.119"></a>
-<span class="sourceLineNo">120</span> * Returns the list of the types ranges that make up this header.<a name="line.120"></a>
-<span class="sourceLineNo">121</span> * <p><a name="line.121"></a>
-<span class="sourceLineNo">122</span> * The types ranges in the list are sorted by their q-value in descending order.<a name="line.122"></a>
-<span class="sourceLineNo">123</span> *<a name="line.123"></a>
-<span class="sourceLineNo">124</span> * @return An unmodifiable list of type ranges.<a name="line.124"></a>
-<span class="sourceLineNo">125</span> */<a name="line.125"></a>
-<span class="sourceLineNo">126</span> public List<TypeRange> getTypeRanges() {<a name="line.126"></a>
-<span class="sourceLineNo">127</span> return typeRangesList;<a name="line.127"></a>
-<span class="sourceLineNo">128</span> }<a name="line.128"></a>
-<span class="sourceLineNo">129</span><a name="line.129"></a>
-<span class="sourceLineNo">130</span> /**<a name="line.130"></a>
-<span class="sourceLineNo">131</span> * Given a list of content codings, returns the best match for this <code>Accept-Encoding</code> header.<a name="line.131"></a>
-<span class="sourceLineNo">132</span> * <p><a name="line.132"></a>
-<span class="sourceLineNo">133</span> *<a name="line.133"></a>
-<span class="sourceLineNo">134</span> * @param contentCodings The codings to match against.<a name="line.134"></a>
-<span class="sourceLineNo">135</span> * @return The index into the array of the best match, or <code>-1</code> if no suitable matches could be found.<a name="line.135"></a>
-<span class="sourceLineNo">136</span> */<a name="line.136"></a>
-<span class="sourceLineNo">137</span> public int findMatch(String[] contentCodings) {<a name="line.137"></a>
-<span class="sourceLineNo">138</span><a name="line.138"></a>
-<span class="sourceLineNo">139</span> // Type ranges are ordered by 'q'.<a name="line.139"></a>
-<span class="sourceLineNo">140</span> // So we only need to search until we've found a match.<a name="line.140"></a>
-<span class="sourceLineNo">141</span> for (TypeRange mr : typeRanges)<a name="line.141"></a>
-<span class="sourceLineNo">142</span> for (int i = 0; i < contentCodings.length; i++)<a name="line.142"></a>
-<span class="sourceLineNo">143</span> if (mr.matches(contentCodings[i]))<a name="line.143"></a>
-<span class="sourceLineNo">144</span> return i;<a name="line.144"></a>
-<span class="sourceLineNo">145</span><a name="line.145"></a>
-<span class="sourceLineNo">146</span> return -1;<a name="line.146"></a>
-<span class="sourceLineNo">147</span> }<a name="line.147"></a>
-<span class="sourceLineNo">148</span><a name="line.148"></a>
-<span class="sourceLineNo">149</span> @Override /* Object */<a name="line.149"></a>
-<span class="sourceLineNo">150</span> public String toString() {<a name="line.150"></a>
-<span class="sourceLineNo">151</span> return StringUtils.join(typeRanges, ',');<a name="line.151"></a>
-<span class="sourceLineNo">152</span> }<a name="line.152"></a>
-<span class="sourceLineNo">153</span>}<a name="line.153"></a>
+<span class="sourceLineNo">099</span> private AcceptEncoding(String value) {<a name="line.99"></a>
+<span class="sourceLineNo">100</span> super(value);<a name="line.100"></a>
+<span class="sourceLineNo">101</span> }<a name="line.101"></a>
+<span class="sourceLineNo">102</span>}<a name="line.102"></a>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/AcceptLanguage.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/AcceptLanguage.html b/content/site/apidocs/src-html/org/apache/juneau/http/AcceptLanguage.html
new file mode 100644
index 0000000..af8dd66
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/AcceptLanguage.html
@@ -0,0 +1,182 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>import static org.apache.juneau.http.Constants.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span><a name="line.16"></a>
+<span class="sourceLineNo">017</span>import org.apache.juneau.internal.*;<a name="line.17"></a>
+<span class="sourceLineNo">018</span><a name="line.18"></a>
+<span class="sourceLineNo">019</span>/**<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * Represents a parsed <l>Accept-Language</l> HTTP request header.<a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * List of acceptable human languages for response.<a name="line.22"></a>
+<span class="sourceLineNo">023</span> *<a name="line.23"></a>
+<span class="sourceLineNo">024</span> * <h6 class='figure'>Example</h6><a name="line.24"></a>
+<span class="sourceLineNo">025</span> * <p class='bcode'><a name="line.25"></a>
+<span class="sourceLineNo">026</span> * Accept-Language: en-US<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * </p><a name="line.27"></a>
+<span class="sourceLineNo">028</span> *<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * <h6 class='topic'>RFC2616 Specification</h6><a name="line.29"></a>
+<span class="sourceLineNo">030</span> *<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * The Accept-Language request-header field is similar to Accept, but restricts the set of natural languages that are<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * preferred as a response to the request.<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * Language tags are defined in section 3.10.<a name="line.33"></a>
+<span class="sourceLineNo">034</span> *<a name="line.34"></a>
+<span class="sourceLineNo">035</span> * <p class='bcode'><a name="line.35"></a>
+<span class="sourceLineNo">036</span> * Accept-Language = "Accept-Language" ":"<a name="line.36"></a>
+<span class="sourceLineNo">037</span> * 1#( language-range [ ";" "q" "=" qvalue ] )<a name="line.37"></a>
+<span class="sourceLineNo">038</span> * language-range = ( ( 1*8ALPHA *( "-" 1*8ALPHA ) ) | "*" )<a name="line.38"></a>
+<span class="sourceLineNo">039</span> * </p><a name="line.39"></a>
+<span class="sourceLineNo">040</span> * <p><a name="line.40"></a>
+<span class="sourceLineNo">041</span> * Each language-range MAY be given an associated quality value which represents an estimate of the user's preference<a name="line.41"></a>
+<span class="sourceLineNo">042</span> * for the languages specified by that range.<a name="line.42"></a>
+<span class="sourceLineNo">043</span> * The quality value defaults to "q=1".<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * For example...<a name="line.44"></a>
+<span class="sourceLineNo">045</span> * <p class='bcode'><a name="line.45"></a>
+<span class="sourceLineNo">046</span> * Accept-Language: da, en-gb;q=0.8, en;q=0.7<a name="line.46"></a>
+<span class="sourceLineNo">047</span> * </p><a name="line.47"></a>
+<span class="sourceLineNo">048</span> * <p><a name="line.48"></a>
+<span class="sourceLineNo">049</span> * ...would mean: "I prefer Danish, but will accept British English and other types of English."<a name="line.49"></a>
+<span class="sourceLineNo">050</span> * <p><a name="line.50"></a>
+<span class="sourceLineNo">051</span> * A language-range matches a language-tag if it exactly equals the tag, or if it exactly equals a prefix of the tag<a name="line.51"></a>
+<span class="sourceLineNo">052</span> * such that the first tag character following the prefix is "-".<a name="line.52"></a>
+<span class="sourceLineNo">053</span> * <p><a name="line.53"></a>
+<span class="sourceLineNo">054</span> * The special range "*", if present in the Accept-Language field, matches every tag not matched by any other range<a name="line.54"></a>
+<span class="sourceLineNo">055</span> * present in the Accept-Language field.<a name="line.55"></a>
+<span class="sourceLineNo">056</span> * <p><a name="line.56"></a>
+<span class="sourceLineNo">057</span> * Note: This use of a prefix matching rule does not imply that language tags are assigned to languages in such a way<a name="line.57"></a>
+<span class="sourceLineNo">058</span> * that it is always true that if a user understands a language with a certain<a name="line.58"></a>
+<span class="sourceLineNo">059</span> * tag, then this user will also understand all languages with tags for which this tag is a prefix.<a name="line.59"></a>
+<span class="sourceLineNo">060</span> * The prefix rule simply allows the use of prefix tags if this is the case.<a name="line.60"></a>
+<span class="sourceLineNo">061</span> * <p><a name="line.61"></a>
+<span class="sourceLineNo">062</span> * The language quality factor assigned to a language-tag by the Accept-Language field is the quality value of the<a name="line.62"></a>
+<span class="sourceLineNo">063</span> * longest language- range in the field that matches the language-tag.<a name="line.63"></a>
+<span class="sourceLineNo">064</span> * <p><a name="line.64"></a>
+<span class="sourceLineNo">065</span> * If no language- range in the field matches the tag, the language quality factor assigned is 0.<a name="line.65"></a>
+<span class="sourceLineNo">066</span> * <p><a name="line.66"></a>
+<span class="sourceLineNo">067</span> * If no Accept-Language header is present in the request, the server SHOULD assume that all languages are equally<a name="line.67"></a>
+<span class="sourceLineNo">068</span> * acceptable.<a name="line.68"></a>
+<span class="sourceLineNo">069</span> * <p><a name="line.69"></a>
+<span class="sourceLineNo">070</span> * If an Accept-Language header is present, then all languages which are assigned a quality factor greater than 0 are<a name="line.70"></a>
+<span class="sourceLineNo">071</span> * acceptable.<a name="line.71"></a>
+<span class="sourceLineNo">072</span> * <p><a name="line.72"></a>
+<span class="sourceLineNo">073</span> * It might be contrary to the privacy expectations of the user to send an Accept-Language header with the complete<a name="line.73"></a>
+<span class="sourceLineNo">074</span> * linguistic preferences of the user in every request.<a name="line.74"></a>
+<span class="sourceLineNo">075</span> * For a discussion of this issue, see section 15.1.4.<a name="line.75"></a>
+<span class="sourceLineNo">076</span> * <p><a name="line.76"></a>
+<span class="sourceLineNo">077</span> * As intelligibility is highly dependent on the individual user, it is recommended that client applications make the<a name="line.77"></a>
+<span class="sourceLineNo">078</span> * choice of linguistic preference available to the user.<a name="line.78"></a>
+<span class="sourceLineNo">079</span> * If the choice is not made available, then the Accept-Language header field MUST NOT be given in the request.<a name="line.79"></a>
+<span class="sourceLineNo">080</span> * <p><a name="line.80"></a>
+<span class="sourceLineNo">081</span> * Note: When making the choice of linguistic preference available to the user, we remind implementors of the fact that<a name="line.81"></a>
+<span class="sourceLineNo">082</span> * users are not familiar with the details of language matching as described above, and should provide appropriate<a name="line.82"></a>
+<span class="sourceLineNo">083</span> * guidance.<a name="line.83"></a>
+<span class="sourceLineNo">084</span> * As an example, users might assume that on selecting "en-gb", they will be served any kind of English document if<a name="line.84"></a>
+<span class="sourceLineNo">085</span> * British English is not available.<a name="line.85"></a>
+<span class="sourceLineNo">086</span> * A user agent might suggest in such a case to add "en" to get the best matching behavior.<a name="line.86"></a>
+<span class="sourceLineNo">087</span> */<a name="line.87"></a>
+<span class="sourceLineNo">088</span>public final class AcceptLanguage extends HeaderRangeArray {<a name="line.88"></a>
+<span class="sourceLineNo">089</span><a name="line.89"></a>
+<span class="sourceLineNo">090</span> private static final Cache<String,AcceptLanguage> cache = new Cache<String,AcceptLanguage>(NOCACHE, CACHE_MAX_SIZE);<a name="line.90"></a>
+<span class="sourceLineNo">091</span><a name="line.91"></a>
+<span class="sourceLineNo">092</span> /**<a name="line.92"></a>
+<span class="sourceLineNo">093</span> * Returns a parsed <code>Accept-Language</code> header.<a name="line.93"></a>
+<span class="sourceLineNo">094</span> *<a name="line.94"></a>
+<span class="sourceLineNo">095</span> * @param value The <code>Accept-Language</code> header string.<a name="line.95"></a>
+<span class="sourceLineNo">096</span> * @return The parsed <code>Accept-Language</code> header, or <jk>null</jk> if the string was null.<a name="line.96"></a>
+<span class="sourceLineNo">097</span> */<a name="line.97"></a>
+<span class="sourceLineNo">098</span> public static AcceptLanguage forString(String value) {<a name="line.98"></a>
+<span class="sourceLineNo">099</span> if (value == null)<a name="line.99"></a>
+<span class="sourceLineNo">100</span> return null;<a name="line.100"></a>
+<span class="sourceLineNo">101</span> AcceptLanguage a = cache.get(value);<a name="line.101"></a>
+<span class="sourceLineNo">102</span> if (a == null)<a name="line.102"></a>
+<span class="sourceLineNo">103</span> a = cache.put(value, new AcceptLanguage(value));<a name="line.103"></a>
+<span class="sourceLineNo">104</span> return a;<a name="line.104"></a>
+<span class="sourceLineNo">105</span> }<a name="line.105"></a>
+<span class="sourceLineNo">106</span><a name="line.106"></a>
+<span class="sourceLineNo">107</span> private AcceptLanguage(String raw) {<a name="line.107"></a>
+<span class="sourceLineNo">108</span> super(raw);<a name="line.108"></a>
+<span class="sourceLineNo">109</span> }<a name="line.109"></a>
+<span class="sourceLineNo">110</span>}<a name="line.110"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/AcceptRanges.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/AcceptRanges.html b/content/site/apidocs/src-html/org/apache/juneau/http/AcceptRanges.html
new file mode 100644
index 0000000..14e002d
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/AcceptRanges.html
@@ -0,0 +1,141 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Represents a parsed <l>Accept-Range</l> HTTP response header.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * <p><a name="line.17"></a>
+<span class="sourceLineNo">018</span> * What partial content range types this server supports via byte serving.<a name="line.18"></a>
+<span class="sourceLineNo">019</span> *<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * <h6 class='figure'>Example</h6><a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p class='bcode'><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * Accept-Ranges: bytes<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * </p><a name="line.23"></a>
+<span class="sourceLineNo">024</span> *<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * <h6 class='topic'>RFC2616 Specification</h6><a name="line.25"></a>
+<span class="sourceLineNo">026</span> *<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * The Accept-Ranges response-header field allows the server to indicate its acceptance of range requests for a<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * resource:<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * <p class='bcode'><a name="line.29"></a>
+<span class="sourceLineNo">030</span> * Accept-Ranges = "Accept-Ranges" ":" acceptable-ranges<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * acceptable-ranges = 1#range-unit | "none"<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * </p><a name="line.32"></a>
+<span class="sourceLineNo">033</span> * <p><a name="line.33"></a>
+<span class="sourceLineNo">034</span> * Origin servers that accept byte-range requests MAY send...<a name="line.34"></a>
+<span class="sourceLineNo">035</span> * <p class='bcode'><a name="line.35"></a>
+<span class="sourceLineNo">036</span> * Accept-Ranges: bytes<a name="line.36"></a>
+<span class="sourceLineNo">037</span> * </p><a name="line.37"></a>
+<span class="sourceLineNo">038</span> * <p><a name="line.38"></a>
+<span class="sourceLineNo">039</span> * ...but are not required to do so.<a name="line.39"></a>
+<span class="sourceLineNo">040</span> * <p><a name="line.40"></a>
+<span class="sourceLineNo">041</span> * Clients MAY generate byte-range requests without having received this header for the resource involved.<a name="line.41"></a>
+<span class="sourceLineNo">042</span> * <p><a name="line.42"></a>
+<span class="sourceLineNo">043</span> * Range units are defined in section 3.12.<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * <p><a name="line.44"></a>
+<span class="sourceLineNo">045</span> * Servers that do not accept any kind of range request for a resource MAY send...<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * <p class='bcode'><a name="line.46"></a>
+<span class="sourceLineNo">047</span> * Accept-Ranges: none<a name="line.47"></a>
+<span class="sourceLineNo">048</span> * </p><a name="line.48"></a>
+<span class="sourceLineNo">049</span> * <p><a name="line.49"></a>
+<span class="sourceLineNo">050</span> * ...to advise the client not to attempt a range request.<a name="line.50"></a>
+<span class="sourceLineNo">051</span> */<a name="line.51"></a>
+<span class="sourceLineNo">052</span>public final class AcceptRanges extends HeaderString {<a name="line.52"></a>
+<span class="sourceLineNo">053</span><a name="line.53"></a>
+<span class="sourceLineNo">054</span> /**<a name="line.54"></a>
+<span class="sourceLineNo">055</span> * Returns a parsed <code>Accept-Ranges</code> header.<a name="line.55"></a>
+<span class="sourceLineNo">056</span> *<a name="line.56"></a>
+<span class="sourceLineNo">057</span> * @param value The <code>Accept-Ranges</code> header string.<a name="line.57"></a>
+<span class="sourceLineNo">058</span> * @return The parsed <code>Accept-Ranges</code> header, or <jk>null</jk> if the string was null.<a name="line.58"></a>
+<span class="sourceLineNo">059</span> */<a name="line.59"></a>
+<span class="sourceLineNo">060</span> public static AcceptRanges forString(String value) {<a name="line.60"></a>
+<span class="sourceLineNo">061</span> if (value == null)<a name="line.61"></a>
+<span class="sourceLineNo">062</span> return null;<a name="line.62"></a>
+<span class="sourceLineNo">063</span> return new AcceptRanges(value);<a name="line.63"></a>
+<span class="sourceLineNo">064</span> }<a name="line.64"></a>
+<span class="sourceLineNo">065</span><a name="line.65"></a>
+<span class="sourceLineNo">066</span> private AcceptRanges(String value) {<a name="line.66"></a>
+<span class="sourceLineNo">067</span> super(value);<a name="line.67"></a>
+<span class="sourceLineNo">068</span> }<a name="line.68"></a>
+<span class="sourceLineNo">069</span>}<a name="line.69"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/Age.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/Age.html b/content/site/apidocs/src-html/org/apache/juneau/http/Age.html
new file mode 100644
index 0000000..9713768
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/Age.html
@@ -0,0 +1,136 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Represents a parsed <l>Age</l> HTTP response header.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * <p><a name="line.17"></a>
+<span class="sourceLineNo">018</span> * The age the object has been in a proxy cache in seconds.<a name="line.18"></a>
+<span class="sourceLineNo">019</span> *<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * <h6 class='figure'>Example</h6><a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p class='bcode'><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * Age: 12<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * </p><a name="line.23"></a>
+<span class="sourceLineNo">024</span> *<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * <h6 class='topic'>RFC2616 Specification</h6><a name="line.25"></a>
+<span class="sourceLineNo">026</span> *<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * The Age response-header field conveys the sender's estimate of the amount of time since the response (or its<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * revalidation) was generated at the origin server.<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * A cached response is "fresh" if its age does not exceed its freshness lifetime.<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * Age values are calculated as specified in section 13.2.3.<a name="line.30"></a>
+<span class="sourceLineNo">031</span> *<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * <p class='bcode'><a name="line.32"></a>
+<span class="sourceLineNo">033</span> * Age = "Age" ":" age-value<a name="line.33"></a>
+<span class="sourceLineNo">034</span> * age-value = delta-seconds<a name="line.34"></a>
+<span class="sourceLineNo">035</span> * </p><a name="line.35"></a>
+<span class="sourceLineNo">036</span> * <p><a name="line.36"></a>
+<span class="sourceLineNo">037</span> * Age values are non-negative decimal integers, representing time in seconds.<a name="line.37"></a>
+<span class="sourceLineNo">038</span> * <p><a name="line.38"></a>
+<span class="sourceLineNo">039</span> * If a cache receives a value larger than the largest positive integer it can represent, or if any of its age<a name="line.39"></a>
+<span class="sourceLineNo">040</span> * calculations overflows, it MUST transmit an Age header with a value of 2147483648 (2^31).<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * <p><a name="line.41"></a>
+<span class="sourceLineNo">042</span> * An HTTP/1.1 server that includes a cache MUST include an Age header field in every response generated from its own<a name="line.42"></a>
+<span class="sourceLineNo">043</span> * cache.<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * <p><a name="line.44"></a>
+<span class="sourceLineNo">045</span> * Caches SHOULD use an arithmetic type of at least 31 bits of range.<a name="line.45"></a>
+<span class="sourceLineNo">046</span> */<a name="line.46"></a>
+<span class="sourceLineNo">047</span>public final class Age extends HeaderInteger {<a name="line.47"></a>
+<span class="sourceLineNo">048</span><a name="line.48"></a>
+<span class="sourceLineNo">049</span> /**<a name="line.49"></a>
+<span class="sourceLineNo">050</span> * Returns a parsed <code>Age</code> header.<a name="line.50"></a>
+<span class="sourceLineNo">051</span> *<a name="line.51"></a>
+<span class="sourceLineNo">052</span> * @param value The <code>Age</code> header string.<a name="line.52"></a>
+<span class="sourceLineNo">053</span> * @return The parsed <code>Age</code> header, or <jk>null</jk> if the string was null.<a name="line.53"></a>
+<span class="sourceLineNo">054</span> */<a name="line.54"></a>
+<span class="sourceLineNo">055</span> public static Age forString(String value) {<a name="line.55"></a>
+<span class="sourceLineNo">056</span> if (value == null)<a name="line.56"></a>
+<span class="sourceLineNo">057</span> return null;<a name="line.57"></a>
+<span class="sourceLineNo">058</span> return new Age(value);<a name="line.58"></a>
+<span class="sourceLineNo">059</span> }<a name="line.59"></a>
+<span class="sourceLineNo">060</span><a name="line.60"></a>
+<span class="sourceLineNo">061</span> private Age(String value) {<a name="line.61"></a>
+<span class="sourceLineNo">062</span> super(value);<a name="line.62"></a>
+<span class="sourceLineNo">063</span> }<a name="line.63"></a>
+<span class="sourceLineNo">064</span>}<a name="line.64"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/Allow.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/Allow.html b/content/site/apidocs/src-html/org/apache/juneau/http/Allow.html
new file mode 100644
index 0000000..93d8041
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/Allow.html
@@ -0,0 +1,144 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Represents a parsed <l>Allow</l> HTTP response header.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * <p><a name="line.17"></a>
+<span class="sourceLineNo">018</span> * Valid methods for a specified resource. To be used for a 405 Method not allowed.<a name="line.18"></a>
+<span class="sourceLineNo">019</span> *<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * <h6 class='figure'>Example</h6><a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p class='bcode'><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * Allow: GET, HEAD<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * </p><a name="line.23"></a>
+<span class="sourceLineNo">024</span> *<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * <h6 class='topic'>RFC2616 Specification</h6><a name="line.25"></a>
+<span class="sourceLineNo">026</span> *<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * The Allow entity-header field lists the set of methods supported by the resource identified by the Request-URI.<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * The purpose of this field is strictly to inform the recipient of valid methods associated with the resource.<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * An Allow header field MUST be present in a 405 (Method Not Allowed) response.<a name="line.29"></a>
+<span class="sourceLineNo">030</span> *<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * <p class='bcode'><a name="line.31"></a>
+<span class="sourceLineNo">032</span> * Allow = "Allow" ":" #Method<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * </p><a name="line.33"></a>
+<span class="sourceLineNo">034</span> * <p><a name="line.34"></a>
+<span class="sourceLineNo">035</span> * Example of use:<a name="line.35"></a>
+<span class="sourceLineNo">036</span> * <p class='bcode'><a name="line.36"></a>
+<span class="sourceLineNo">037</span> * Allow: GET, HEAD, PUT<a name="line.37"></a>
+<span class="sourceLineNo">038</span> * </p><a name="line.38"></a>
+<span class="sourceLineNo">039</span> * <p><a name="line.39"></a>
+<span class="sourceLineNo">040</span> * This field cannot prevent a client from trying other methods.<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * However, the indications given by the Allow header field value SHOULD be followed.<a name="line.41"></a>
+<span class="sourceLineNo">042</span> * <p><a name="line.42"></a>
+<span class="sourceLineNo">043</span> * The actual set of allowed methods is defined by the origin server at the time of each request.<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * <p><a name="line.44"></a>
+<span class="sourceLineNo">045</span> * The Allow header field MAY be provided with a PUT request to recommend the methods to be supported by the new or<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * modified resource.<a name="line.46"></a>
+<span class="sourceLineNo">047</span> * <p><a name="line.47"></a>
+<span class="sourceLineNo">048</span> * The server is not required to support these methods and SHOULD include an Allow header in the response giving the<a name="line.48"></a>
+<span class="sourceLineNo">049</span> * actual supported methods.<a name="line.49"></a>
+<span class="sourceLineNo">050</span> * <p><a name="line.50"></a>
+<span class="sourceLineNo">051</span> * A proxy MUST NOT modify the Allow header field even if it does not understand all the methods specified, since the<a name="line.51"></a>
+<span class="sourceLineNo">052</span> * user agent might<a name="line.52"></a>
+<span class="sourceLineNo">053</span> * have other means of communicating with the origin server.<a name="line.53"></a>
+<span class="sourceLineNo">054</span> */<a name="line.54"></a>
+<span class="sourceLineNo">055</span>public final class Allow extends HeaderStringArray {<a name="line.55"></a>
+<span class="sourceLineNo">056</span><a name="line.56"></a>
+<span class="sourceLineNo">057</span> /**<a name="line.57"></a>
+<span class="sourceLineNo">058</span> * Returns a parsed <code>Allow</code> header.<a name="line.58"></a>
+<span class="sourceLineNo">059</span> *<a name="line.59"></a>
+<span class="sourceLineNo">060</span> * @param value The <code>Allow</code> header string.<a name="line.60"></a>
+<span class="sourceLineNo">061</span> * @return The parsed <code>Allow</code> header, or <jk>null</jk> if the string was null.<a name="line.61"></a>
+<span class="sourceLineNo">062</span> */<a name="line.62"></a>
+<span class="sourceLineNo">063</span> public static Allow forString(String value) {<a name="line.63"></a>
+<span class="sourceLineNo">064</span> if (value == null)<a name="line.64"></a>
+<span class="sourceLineNo">065</span> return null;<a name="line.65"></a>
+<span class="sourceLineNo">066</span> return new Allow(value);<a name="line.66"></a>
+<span class="sourceLineNo">067</span> }<a name="line.67"></a>
+<span class="sourceLineNo">068</span><a name="line.68"></a>
+<span class="sourceLineNo">069</span> private Allow(String value) {<a name="line.69"></a>
+<span class="sourceLineNo">070</span> super(value);<a name="line.70"></a>
+<span class="sourceLineNo">071</span> }<a name="line.71"></a>
+<span class="sourceLineNo">072</span>}<a name="line.72"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/Authorization.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/Authorization.html b/content/site/apidocs/src-html/org/apache/juneau/http/Authorization.html
new file mode 100644
index 0000000..446db39
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/Authorization.html
@@ -0,0 +1,150 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Represents a parsed <l>Authorization</l> HTTP request header.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * <p><a name="line.17"></a>
+<span class="sourceLineNo">018</span> * Authentication credentials for HTTP authentication.<a name="line.18"></a>
+<span class="sourceLineNo">019</span> *<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * <h6 class='figure'>Example</h6><a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p class='bcode'><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * </p><a name="line.23"></a>
+<span class="sourceLineNo">024</span> *<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * <h6 class='topic'>RFC2616 Specification</h6><a name="line.25"></a>
+<span class="sourceLineNo">026</span> *<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * A user agent that wishes to authenticate itself with a server--usually, but not necessarily, after receiving a 401<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * response--does so by including an Authorization request-header field with the request.<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * <p><a name="line.29"></a>
+<span class="sourceLineNo">030</span> * The Authorization field value consists of credentials containing the authentication information of the user agent for<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * the realm of the resource being requested.<a name="line.31"></a>
+<span class="sourceLineNo">032</span> *<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * <p class='bcode'><a name="line.33"></a>
+<span class="sourceLineNo">034</span> * Authorization = "Authorization" ":" credentials<a name="line.34"></a>
+<span class="sourceLineNo">035</span> * </p><a name="line.35"></a>
+<span class="sourceLineNo">036</span> * <p><a name="line.36"></a>
+<span class="sourceLineNo">037</span> * HTTP access authentication is described in "HTTP Authentication: Basic and Digest Access Authentication".<a name="line.37"></a>
+<span class="sourceLineNo">038</span> * <p><a name="line.38"></a>
+<span class="sourceLineNo">039</span> * If a request is authenticated and a realm specified, the same credentials SHOULD be valid for all other requests<a name="line.39"></a>
+<span class="sourceLineNo">040</span> * within this realm (assuming that the authentication scheme itself does not require otherwise, such as credentials<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * that vary according to a challenge value or using synchronized clocks).<a name="line.41"></a>
+<span class="sourceLineNo">042</span> * <p><a name="line.42"></a>
+<span class="sourceLineNo">043</span> * When a shared cache (see section 13.7) receives a request containing an Authorization field, it MUST NOT return the<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * corresponding response as a reply to any other request, unless one of the following specific exceptions holds:<a name="line.44"></a>
+<span class="sourceLineNo">045</span> * <ol><a name="line.45"></a>
+<span class="sourceLineNo">046</span> * <li>If the response includes the "s-maxage" cache-control directive, the cache MAY use that response in replying<a name="line.46"></a>
+<span class="sourceLineNo">047</span> * to a subsequent request.<a name="line.47"></a>
+<span class="sourceLineNo">048</span> * But (if the specified maximum age has passed) a proxy cache MUST first revalidate it with the origin<a name="line.48"></a>
+<span class="sourceLineNo">049</span> * server, using the request-headers from the new request to allow the origin server to authenticate the new<a name="line.49"></a>
+<span class="sourceLineNo">050</span> * request.<a name="line.50"></a>
+<span class="sourceLineNo">051</span> * (This is the defined behavior for s-maxage.)<a name="line.51"></a>
+<span class="sourceLineNo">052</span> * If the response includes "s-maxage=0", the proxy MUST always revalidate it before re-using it.<a name="line.52"></a>
+<span class="sourceLineNo">053</span> * <li>If the response includes the "must-revalidate" cache-control directive, the cache MAY use that response in<a name="line.53"></a>
+<span class="sourceLineNo">054</span> * replying to a subsequent request.<a name="line.54"></a>
+<span class="sourceLineNo">055</span> * But if the response is stale, all caches MUST first revalidate it with the origin server, using the<a name="line.55"></a>
+<span class="sourceLineNo">056</span> * request-headers from the new request to allow the origin server to authenticate the new request.<a name="line.56"></a>
+<span class="sourceLineNo">057</span> * <li>If the response includes the "public" cache-control directive, it MAY be returned in reply to any subsequent<a name="line.57"></a>
+<span class="sourceLineNo">058</span> * request.<a name="line.58"></a>
+<span class="sourceLineNo">059</span> * </ol><a name="line.59"></a>
+<span class="sourceLineNo">060</span> */<a name="line.60"></a>
+<span class="sourceLineNo">061</span>public final class Authorization extends HeaderString {<a name="line.61"></a>
+<span class="sourceLineNo">062</span><a name="line.62"></a>
+<span class="sourceLineNo">063</span> /**<a name="line.63"></a>
+<span class="sourceLineNo">064</span> * Returns a parsed <code>Authorization</code> header.<a name="line.64"></a>
+<span class="sourceLineNo">065</span> *<a name="line.65"></a>
+<span class="sourceLineNo">066</span> * @param value The <code>Authorization</code> header string.<a name="line.66"></a>
+<span class="sourceLineNo">067</span> * @return The parsed <code>Authorization</code> header, or <jk>null</jk> if the string was null.<a name="line.67"></a>
+<span class="sourceLineNo">068</span> */<a name="line.68"></a>
+<span class="sourceLineNo">069</span> public static Authorization forString(String value) {<a name="line.69"></a>
+<span class="sourceLineNo">070</span> if (value == null)<a name="line.70"></a>
+<span class="sourceLineNo">071</span> return null;<a name="line.71"></a>
+<span class="sourceLineNo">072</span> return new Authorization(value);<a name="line.72"></a>
+<span class="sourceLineNo">073</span> }<a name="line.73"></a>
+<span class="sourceLineNo">074</span><a name="line.74"></a>
+<span class="sourceLineNo">075</span> private Authorization(String value) {<a name="line.75"></a>
+<span class="sourceLineNo">076</span> super(value);<a name="line.76"></a>
+<span class="sourceLineNo">077</span> }<a name="line.77"></a>
+<span class="sourceLineNo">078</span>}<a name="line.78"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
[37/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/Via.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/Via.html b/content/site/apidocs/org/apache/juneau/http/Via.html
new file mode 100644
index 0000000..189acdc
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/Via.html
@@ -0,0 +1,338 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Via (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="Via (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/Vary.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/Warning.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/Via.html" target="_top">Frames</a></li>
+<li><a href="Via.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class Via" class="title">Class Via</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../org/apache/juneau/http/HeaderStringArray.html" title="class in org.apache.juneau.http">org.apache.juneau.http.HeaderStringArray</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.Via</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/Via.html#line.98">Via</a>
+extends <a href="../../../../org/apache/juneau/http/HeaderStringArray.html" title="class in org.apache.juneau.http">HeaderStringArray</a></pre>
+<div class="block">Represents a parsed <l>Via</l> HTTP response header.
+ <p>
+ Informs the client of proxies through which the response was sent.
+
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ Via: 1.0 fred, 1.1 example.com (Apache/1.1)
+ </p>
+
+ Informs the client of proxies through which the response was sent.
+ <p>
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ Via: 1.0 fred, 1.1 example.com (Apache/1.1)
+ </p>
+ <p>
+ <h6 class='topic'>RFC2616 Specification</h6>
+
+ The Via general-header field MUST be used by gateways and proxies to indicate the intermediate protocols and
+ recipients between the user agent and the server on requests, and between the origin server and the client on
+ responses.
+ It is analogous to the "Received" field of RFC 822 and is intended to be used for tracking message forwards,
+ avoiding request loops, and identifying the protocol capabilities of all senders along the request/response chain.
+ <p class='bcode'>
+ Via = "Via" ":" 1#( received-protocol received-by [ comment ] )
+ received-protocol = [ protocol-name "/" ] protocol-version
+ protocol-name = token
+ protocol-version = token
+ received-by = ( host [ ":" port ] ) | pseudonym
+ pseudonym = token
+ </p>
+ <p>
+ The received-protocol indicates the protocol version of the message received by the server or client along each
+ segment of the request/response chain.
+ The received-protocol version is appended to the Via field value when the message is forwarded so that information
+ about the protocol capabilities of upstream applications remains visible to all recipients.
+ <p>
+ The protocol-name is optional if and only if it would be "HTTP".
+ The received-by field is normally the host and optional port number of a recipient server or client that subsequently
+ forwarded the message.
+ However, if the real host is considered to be sensitive information, it MAY be replaced by a pseudonym.
+ If the port is not given, it MAY be assumed to be the default port of the received-protocol.
+ <p>
+ Multiple Via field values represents each proxy or gateway that has forwarded the message.
+ Each recipient MUST append its information such that the end result is ordered according to the sequence of
+ forwarding applications.
+ <p>
+ Comments MAY be used in the Via header field to identify the software of the recipient proxy or gateway, analogous
+ to the User-Agent and Server header fields.
+ However, all comments in the Via field are optional and MAY be removed by any recipient prior to forwarding the
+ message.
+ <p>
+ For example, a request message could be sent from an HTTP/1.0 user agent to an internal proxy code-named "fred",
+ which uses HTTP/1.1 to forward the request to a public proxy at nowhere.com, which completes the request by
+ forwarding it to the origin server at www.ics.uci.edu.
+ The request received by www.ics.uci.edu would then have the following Via header field:
+ <p class='bcode'>
+ Via: 1.0 fred, 1.1 nowhere.com (Apache/1.1)
+ </p>
+ <p>
+ Proxies and gateways used as a portal through a network firewall SHOULD NOT, by default, forward the names and ports
+ of hosts within the firewall region.
+ This information SHOULD only be propagated if explicitly enabled.
+ If not enabled, the received-by host of any host behind the firewall SHOULD be replaced by an appropriate pseudonym
+ for that host.
+ <p>
+ For organizations that have strong privacy requirements for hiding internal structures, a proxy MAY combine an
+ ordered subsequence of Via header field entries with identical received-protocol values into a single such entry.
+ For example...
+ <p class='bcode'>
+ Via: 1.0 ricky, 1.1 ethel, 1.1 fred, 1.0 lucy
+ </p>
+ <p>
+ ...could be collapsed to...
+ <p class='bcode'>
+ Via: 1.0 ricky, 1.1 mertz, 1.0 lucy
+ </p>
+ <p>
+ Applications SHOULD NOT combine multiple entries unless they are all under the same organizational control and the
+ hosts have already been replaced by pseudonyms.
+ Applications MUST NOT combine entries which have different received-protocol values.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/Via.html" title="class in org.apache.juneau.http">Via</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/Via.html#forString-java.lang.String-">forString</a></span>(<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> value)</code>
+<div class="block">Returns a parsed <code>Via</code> header.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.http.HeaderStringArray">
+<!-- -->
+</a>
+<h3>Methods inherited from class org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderStringArray.html" title="class in org.apache.juneau.http">HeaderStringArray</a></h3>
+<code><a href="../../../../org/apache/juneau/http/HeaderStringArray.html#asString--">asString</a>, <a href="../../../../org/apache/juneau/http/HeaderStringArray.html#contains-java.lang.String-">contains</a>, <a href="../../../../org/apache/juneau/http/HeaderStringArray.html#containsIC-java.lang.String-">containsIC</a>, <a href="../../../../org/apache/juneau/http/HeaderStringArray.html#toString--">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="forString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>forString</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/Via.html" title="class in org.apache.juneau.http">Via</a> <a href="../../../../src-html/org/apache/juneau/http/Via.html#line.106">forString</a>(<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> value)</pre>
+<div class="block">Returns a parsed <code>Via</code> header.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The <code>Via</code> header string.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Via</code> header, or <jk>null</jk> if the string was null.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/Vary.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/Warning.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/Via.html" target="_top">Frames</a></li>
+<li><a href="Via.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/Warning.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/Warning.html b/content/site/apidocs/org/apache/juneau/http/Warning.html
new file mode 100644
index 0000000..ba67c54
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/Warning.html
@@ -0,0 +1,346 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Warning (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="Warning (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/Via.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/WwwAuthenticate.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/Warning.html" target="_top">Frames</a></li>
+<li><a href="Warning.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class Warning" class="title">Class Warning</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">org.apache.juneau.http.HeaderString</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.Warning</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/Warning.html#line.106">Warning</a>
+extends <a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></pre>
+<div class="block">Represents a parsed <l>Warning</l> HTTP request/response header.
+ <p>
+ A general warning about possible problems with the entity body.
+
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ Warning: 199 Miscellaneous warning
+ </p>
+
+ <h6 class='topic'>RFC2616 Specification</h6>
+
+ The Warning general-header field is used to carry additional information about the status or transformation of a
+ message which might not be reflected in the message.
+ This information is typically used to warn about a possible lack of semantic transparency from caching operations
+ or transformations applied to the entity body of the message.
+ <p>
+ Warning headers are sent with responses using:
+ <p class='bcode'>
+ Warning = "Warning" ":" 1#warning-value
+ warning-value = warn-code SP warn-agent SP warn-text
+ [SP warn-date]
+ warn-code = 3DIGIT
+ warn-agent = ( host [ ":" port ] ) | pseudonym
+ ; the name or pseudonym of the server adding
+ ; the Warning header, for use in debugging
+ warn-text = quoted-string
+ warn-date = <"> HTTP-date <">
+ </p>
+ <p>
+ A response MAY carry more than one Warning header.
+ <p>
+ The warn-text SHOULD be in a natural language and character set that is most likely to be intelligible to the human
+ user receiving the response.
+ This decision MAY be based on any available knowledge, such as the location of the cache or user, the
+ Accept-Language field in a request, the Content-Language field in a response, etc.
+ The default language is English and the default character set is ISO-8859-1.
+ <p>
+ If a character set other than ISO-8859-1 is used, it MUST be encoded in the warn-text using the method described in
+ RFC 2047.
+ <p>
+ Warning headers can in general be applied to any message, however some specific warn-codes are specific to caches
+ and can only be applied to response messages.
+ New Warning headers SHOULD be added after any existing Warning headers.
+ A cache MUST NOT delete any Warning header that it received with a message.
+ However, if a cache successfully validates a cache entry, it SHOULD remove any Warning headers previously attached
+ to that entry except as specified for specific Warning codes.
+ It MUST then add any Warning headers received in the validating response.
+ In other words, Warning headers are those that would be attached to the most recent relevant response.
+ <p>
+ When multiple Warning headers are attached to a response, the user agent ought to inform the user of as many of them
+ as possible, in the order that they appear in the response.
+ If it is not possible to inform the user of all of the warnings, the user agent SHOULD follow these heuristics:
+ <ul>
+ <li>Warnings that appear early in the response take priority over those appearing later in the response.
+ <li>Warnings in the user's preferred character set take priority over warnings in other character sets but with
+ identical warn-codes and warn-agents.
+ </ul>
+ Systems that generate multiple Warning headers SHOULD order them with this user agent behavior in mind.
+ <p>
+ Requirements for the behavior of caches with respect to Warnings are stated in section 13.1.2.
+ <p>
+ This is a list of the currently-defined warn-codes, each with a recommended warn-text in English, and a description
+ of its meaning.
+ <ul>
+ <li>110 Response is stale MUST be included whenever the returned response is stale.
+ <li>111 Revalidation failed MUST be included if a cache returns a stale response because an attempt to revalidate
+ the response failed, due to an inability to reach the server.
+ <li>112 Disconnected operation SHOULD be included if the cache is intentionally disconnected from the rest of the
+ network for a period of time.
+ <li>113 Heuristic expiration MUST be included if the cache heuristically chose a freshness lifetime greater than
+ 24 hours and the response's age is greater than 24 hours.
+ <li>199 Miscellaneous warning The warning text MAY include arbitrary information to be presented to a human user,
+ or logged. A system receiving this warning MUST NOT take any automated action, besides presenting the warning
+ to the user.
+ <li>214 Transformation applied MUST be added by an intermediate cache or proxy if it applies any transformation
+ changing the content-coding (as specified in the Content-Encoding header) or media-type (as specified in the
+ Content-Type header) of the response, or the entity-body of the response, unless this Warning code already
+ appears in the response.
+ <li>299 Miscellaneous persistent warning The warning text MAY include arbitrary information to be presented to a
+ human user, or logged. A system receiving this warning MUST NOT take any automated action.
+ </ul>
+ If an implementation sends a message with one or more Warning headers whose version is HTTP/1.0 or lower, then the
+ sender MUST include in each warning-value a warn-date that matches the date in the response.
+ <p>
+ If an implementation receives a message with a warning-value that includes a warn-date, and that warn-date is
+ different from the Date value in the response, then that warning-value MUST be deleted from the message before
+ storing, forwarding, or using it.
+ (This prevents bad consequences of naive caching of Warning header fields.)
+ If all of the warning-values are deleted for this reason, the Warning header MUST be deleted as well.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/Warning.html" title="class in org.apache.juneau.http">Warning</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/Warning.html#forString-java.lang.String-">forString</a></span>(<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> value)</code>
+<div class="block">Returns a parsed <code>Warning</code> header.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.http.HeaderString">
+<!-- -->
+</a>
+<h3>Methods inherited from class org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></h3>
+<code><a href="../../../../org/apache/juneau/http/HeaderString.html#asString--">asString</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#eq-java.lang.String-">eq</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#eqIC-java.lang.String-">eqIC</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#toString--">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="forString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>forString</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/Warning.html" title="class in org.apache.juneau.http">Warning</a> <a href="../../../../src-html/org/apache/juneau/http/Warning.html#line.114">forString</a>(<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> value)</pre>
+<div class="block">Returns a parsed <code>Warning</code> header.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The <code>Warning</code> header string.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Warning</code> header, or <jk>null</jk> if the string was null.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/Via.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/WwwAuthenticate.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/Warning.html" target="_top">Frames</a></li>
+<li><a href="Warning.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/WwwAuthenticate.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/WwwAuthenticate.html b/content/site/apidocs/org/apache/juneau/http/WwwAuthenticate.html
new file mode 100644
index 0000000..74d9327
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/WwwAuthenticate.html
@@ -0,0 +1,279 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>WwwAuthenticate (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="WwwAuthenticate (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/Warning.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li>Next Class</li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/WwwAuthenticate.html" target="_top">Frames</a></li>
+<li><a href="WwwAuthenticate.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class WwwAuthenticate" class="title">Class WwwAuthenticate</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">org.apache.juneau.http.HeaderString</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.WwwAuthenticate</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/WwwAuthenticate.html#line.39">WwwAuthenticate</a>
+extends <a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></pre>
+<div class="block">Represents a parsed <l>WWW-Authenticate </l> HTTP response header.
+ <p>
+ Indicates the authentication scheme that should be used to access the requested entity.
+
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ WWW-Authenticate: Basic
+ </p>
+
+ <h6 class='topic'>RFC2616 Specification</h6>
+
+ The WWW-Authenticate response-header field MUST be included in 401 (Unauthorized) response messages.
+ The field value consists of at least one challenge that indicates the authentication scheme(s) and parameters
+ applicable to the Request-URI.
+ <p class='bcode'>
+ WWW-Authenticate = "WWW-Authenticate" ":" 1#challenge
+ </p>
+ <p>
+ The HTTP access authentication process is described in "HTTP Authentication: Basic and Digest Access Authentication".
+ User agents are advised to take special care in parsing the WWW-Authenticate field value as it might contain more
+ than one challenge, or if more than one WWW-Authenticate header field is provided, the contents of a challenge
+ itself can contain a comma-separated list of authentication parameters.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/WwwAuthenticate.html" title="class in org.apache.juneau.http">WwwAuthenticate</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/WwwAuthenticate.html#forString-java.lang.String-">forString</a></span>(<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> value)</code>
+<div class="block">Returns a parsed <code>WWW-Authenticate</code> header.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.http.HeaderString">
+<!-- -->
+</a>
+<h3>Methods inherited from class org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></h3>
+<code><a href="../../../../org/apache/juneau/http/HeaderString.html#asString--">asString</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#eq-java.lang.String-">eq</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#eqIC-java.lang.String-">eqIC</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#toString--">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="forString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>forString</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/WwwAuthenticate.html" title="class in org.apache.juneau.http">WwwAuthenticate</a> <a href="../../../../src-html/org/apache/juneau/http/WwwAuthenticate.html#line.47">forString</a>(<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> value)</pre>
+<div class="block">Returns a parsed <code>WWW-Authenticate</code> header.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The <code>WWW-Authenticate</code> header string.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>WWW-Authenticate</code> header, or <jk>null</jk> if the string was null.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/Warning.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li>Next Class</li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/WwwAuthenticate.html" target="_top">Frames</a></li>
+<li><a href="WwwAuthenticate.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/package-frame.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/package-frame.html b/content/site/apidocs/org/apache/juneau/http/package-frame.html
index 50e84e2..ad6e642 100644
--- a/content/site/apidocs/org/apache/juneau/http/package-frame.html
+++ b/content/site/apidocs/org/apache/juneau/http/package-frame.html
@@ -14,11 +14,70 @@
<h2 title="Classes">Classes</h2>
<ul title="Classes">
<li><a href="Accept.html" title="class in org.apache.juneau.http" target="classFrame">Accept</a></li>
+<li><a href="AcceptCharset.html" title="class in org.apache.juneau.http" target="classFrame">AcceptCharset</a></li>
<li><a href="AcceptEncoding.html" title="class in org.apache.juneau.http" target="classFrame">AcceptEncoding</a></li>
+<li><a href="AcceptLanguage.html" title="class in org.apache.juneau.http" target="classFrame">AcceptLanguage</a></li>
+<li><a href="AcceptRanges.html" title="class in org.apache.juneau.http" target="classFrame">AcceptRanges</a></li>
+<li><a href="Age.html" title="class in org.apache.juneau.http" target="classFrame">Age</a></li>
+<li><a href="Allow.html" title="class in org.apache.juneau.http" target="classFrame">Allow</a></li>
+<li><a href="Authorization.html" title="class in org.apache.juneau.http" target="classFrame">Authorization</a></li>
+<li><a href="CacheControl.html" title="class in org.apache.juneau.http" target="classFrame">CacheControl</a></li>
+<li><a href="Connection.html" title="class in org.apache.juneau.http" target="classFrame">Connection</a></li>
+<li><a href="Constants.html" title="class in org.apache.juneau.http" target="classFrame">Constants</a></li>
+<li><a href="ContentEncoding.html" title="class in org.apache.juneau.http" target="classFrame">ContentEncoding</a></li>
+<li><a href="ContentLanguage.html" title="class in org.apache.juneau.http" target="classFrame">ContentLanguage</a></li>
+<li><a href="ContentLength.html" title="class in org.apache.juneau.http" target="classFrame">ContentLength</a></li>
+<li><a href="ContentLocation.html" title="class in org.apache.juneau.http" target="classFrame">ContentLocation</a></li>
+<li><a href="ContentRange.html" title="class in org.apache.juneau.http" target="classFrame">ContentRange</a></li>
<li><a href="ContentType.html" title="class in org.apache.juneau.http" target="classFrame">ContentType</a></li>
+<li><a href="Date.html" title="class in org.apache.juneau.http" target="classFrame">Date</a></li>
+<li><a href="EntityValidator.html" title="class in org.apache.juneau.http" target="classFrame">EntityValidator</a></li>
+<li><a href="ETag.html" title="class in org.apache.juneau.http" target="classFrame">ETag</a></li>
+<li><a href="Expect.html" title="class in org.apache.juneau.http" target="classFrame">Expect</a></li>
+<li><a href="Expires.html" title="class in org.apache.juneau.http" target="classFrame">Expires</a></li>
+<li><a href="From.html" title="class in org.apache.juneau.http" target="classFrame">From</a></li>
+<li><a href="HeaderDate.html" title="class in org.apache.juneau.http" target="classFrame">HeaderDate</a></li>
+<li><a href="HeaderEntityValidator.html" title="class in org.apache.juneau.http" target="classFrame">HeaderEntityValidator</a></li>
+<li><a href="HeaderEntityValidatorArray.html" title="class in org.apache.juneau.http" target="classFrame">HeaderEntityValidatorArray</a></li>
+<li><a href="HeaderEnum.html" title="class in org.apache.juneau.http" target="classFrame">HeaderEnum</a></li>
+<li><a href="HeaderInteger.html" title="class in org.apache.juneau.http" target="classFrame">HeaderInteger</a></li>
+<li><a href="HeaderRangeArray.html" title="class in org.apache.juneau.http" target="classFrame">HeaderRangeArray</a></li>
+<li><a href="HeaderString.html" title="class in org.apache.juneau.http" target="classFrame">HeaderString</a></li>
+<li><a href="HeaderStringArray.html" title="class in org.apache.juneau.http" target="classFrame">HeaderStringArray</a></li>
+<li><a href="HeaderUri.html" title="class in org.apache.juneau.http" target="classFrame">HeaderUri</a></li>
+<li><a href="Host.html" title="class in org.apache.juneau.http" target="classFrame">Host</a></li>
+<li><a href="IfMatch.html" title="class in org.apache.juneau.http" target="classFrame">IfMatch</a></li>
+<li><a href="IfModifiedSince.html" title="class in org.apache.juneau.http" target="classFrame">IfModifiedSince</a></li>
+<li><a href="IfNoneMatch.html" title="class in org.apache.juneau.http" target="classFrame">IfNoneMatch</a></li>
+<li><a href="IfRange.html" title="class in org.apache.juneau.http" target="classFrame">IfRange</a></li>
+<li><a href="IfUnmodifiedSince.html" title="class in org.apache.juneau.http" target="classFrame">IfUnmodifiedSince</a></li>
+<li><a href="LastModified.html" title="class in org.apache.juneau.http" target="classFrame">LastModified</a></li>
+<li><a href="Location.html" title="class in org.apache.juneau.http" target="classFrame">Location</a></li>
+<li><a href="MaxForwards.html" title="class in org.apache.juneau.http" target="classFrame">MaxForwards</a></li>
<li><a href="MediaType.html" title="class in org.apache.juneau.http" target="classFrame">MediaType</a></li>
<li><a href="MediaTypeRange.html" title="class in org.apache.juneau.http" target="classFrame">MediaTypeRange</a></li>
-<li><a href="TypeRange.html" title="class in org.apache.juneau.http" target="classFrame">TypeRange</a></li>
+<li><a href="Pragma.html" title="class in org.apache.juneau.http" target="classFrame">Pragma</a></li>
+<li><a href="ProxyAuthenticate.html" title="class in org.apache.juneau.http" target="classFrame">ProxyAuthenticate</a></li>
+<li><a href="ProxyAuthorization.html" title="class in org.apache.juneau.http" target="classFrame">ProxyAuthorization</a></li>
+<li><a href="Range.html" title="class in org.apache.juneau.http" target="classFrame">Range</a></li>
+<li><a href="Referer.html" title="class in org.apache.juneau.http" target="classFrame">Referer</a></li>
+<li><a href="RetryAfter.html" title="class in org.apache.juneau.http" target="classFrame">RetryAfter</a></li>
+<li><a href="Server.html" title="class in org.apache.juneau.http" target="classFrame">Server</a></li>
+<li><a href="StringRange.html" title="class in org.apache.juneau.http" target="classFrame">StringRange</a></li>
+<li><a href="TE.html" title="class in org.apache.juneau.http" target="classFrame">TE</a></li>
+<li><a href="Trailer.html" title="class in org.apache.juneau.http" target="classFrame">Trailer</a></li>
+<li><a href="TransferEncoding.html" title="class in org.apache.juneau.http" target="classFrame">TransferEncoding</a></li>
+<li><a href="Upgrade.html" title="class in org.apache.juneau.http" target="classFrame">Upgrade</a></li>
+<li><a href="UserAgent.html" title="class in org.apache.juneau.http" target="classFrame">UserAgent</a></li>
+<li><a href="Vary.html" title="class in org.apache.juneau.http" target="classFrame">Vary</a></li>
+<li><a href="Via.html" title="class in org.apache.juneau.http" target="classFrame">Via</a></li>
+<li><a href="Warning.html" title="class in org.apache.juneau.http" target="classFrame">Warning</a></li>
+<li><a href="WwwAuthenticate.html" title="class in org.apache.juneau.http" target="classFrame">WwwAuthenticate</a></li>
+</ul>
+<h2 title="Enums">Enums</h2>
+<ul title="Enums">
+<li><a href="ContentEncodingEnum.html" title="enum in org.apache.juneau.http" target="classFrame">ContentEncodingEnum</a></li>
+<li><a href="HttpMethod.html" title="enum in org.apache.juneau.http" target="classFrame">HttpMethod</a></li>
</ul>
</div>
</body>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/package-summary.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/package-summary.html b/content/site/apidocs/org/apache/juneau/http/package-summary.html
index ec69c16..c317ff9 100644
--- a/content/site/apidocs/org/apache/juneau/http/package-summary.html
+++ b/content/site/apidocs/org/apache/juneau/http/package-summary.html
@@ -84,19 +84,247 @@
<tr class="altColor">
<td class="colFirst"><a href="../../../../org/apache/juneau/http/Accept.html" title="class in org.apache.juneau.http">Accept</a></td>
<td class="colLast">
-<div class="block">Represents a parsed <code>Accept:</code> HTTP header.</div>
+<div class="block">Represents a parsed <l>Accept</l> HTTP request header.</div>
</td>
</tr>
<tr class="rowColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/AcceptCharset.html" title="class in org.apache.juneau.http">AcceptCharset</a></td>
+<td class="colLast">
+<div class="block">Represents a parsed <l>Accept-Charset</l> HTTP request header.</div>
+</td>
+</tr>
+<tr class="altColor">
<td class="colFirst"><a href="../../../../org/apache/juneau/http/AcceptEncoding.html" title="class in org.apache.juneau.http">AcceptEncoding</a></td>
<td class="colLast">
-<div class="block">Represents a parsed <code>Accept-Encoding:</code> HTTP header.</div>
+<div class="block">Represents a parsed <l>Accept-Encoding</l> HTTP request header.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/AcceptLanguage.html" title="class in org.apache.juneau.http">AcceptLanguage</a></td>
+<td class="colLast">
+<div class="block">Represents a parsed <l>Accept-Language</l> HTTP request header.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/AcceptRanges.html" title="class in org.apache.juneau.http">AcceptRanges</a></td>
+<td class="colLast">
+<div class="block">Represents a parsed <l>Accept-Range</l> HTTP response header.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/Age.html" title="class in org.apache.juneau.http">Age</a></td>
+<td class="colLast">
+<div class="block">Represents a parsed <l>Age</l> HTTP response header.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/Allow.html" title="class in org.apache.juneau.http">Allow</a></td>
+<td class="colLast">
+<div class="block">Represents a parsed <l>Allow</l> HTTP response header.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/Authorization.html" title="class in org.apache.juneau.http">Authorization</a></td>
+<td class="colLast">
+<div class="block">Represents a parsed <l>Authorization</l> HTTP request header.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/CacheControl.html" title="class in org.apache.juneau.http">CacheControl</a></td>
+<td class="colLast">
+<div class="block">Represents a parsed <l>Cache-Control</l> HTTP request header.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/Connection.html" title="class in org.apache.juneau.http">Connection</a></td>
+<td class="colLast">
+<div class="block">Represents a parsed <l>Connection</l> HTTP request header.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/Constants.html" title="class in org.apache.juneau.http">Constants</a></td>
+<td class="colLast">
+<div class="block">Constants used by classes in this package.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/ContentEncoding.html" title="class in org.apache.juneau.http">ContentEncoding</a></td>
+<td class="colLast">
+<div class="block">Represents a parsed <l>Content-Encoding</l> HTTP response header.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/ContentLanguage.html" title="class in org.apache.juneau.http">ContentLanguage</a></td>
+<td class="colLast">
+<div class="block">Represents a parsed <l>Content-Language</l> HTTP response header.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/ContentLength.html" title="class in org.apache.juneau.http">ContentLength</a></td>
+<td class="colLast">
+<div class="block">Represents a parsed <l>Content-Length</l> HTTP request/response header.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/ContentLocation.html" title="class in org.apache.juneau.http">ContentLocation</a></td>
+<td class="colLast">
+<div class="block">Represents a parsed <l>Content-Location</l> HTTP response header.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/ContentRange.html" title="class in org.apache.juneau.http">ContentRange</a></td>
+<td class="colLast">
+<div class="block">Represents a parsed <l>Content-Range</l> HTTP response header.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../org/apache/juneau/http/ContentType.html" title="class in org.apache.juneau.http">ContentType</a></td>
<td class="colLast">
-<div class="block">Represents a parsed <code>Content-Type:</code> HTTP header.</div>
+<div class="block">Represents a parsed <l>Content-Type</l> HTTP request/response header.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/Date.html" title="class in org.apache.juneau.http">Date</a></td>
+<td class="colLast">
+<div class="block">Represents a parsed <l>Date</l> HTTP request/response header.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/EntityValidator.html" title="class in org.apache.juneau.http">EntityValidator</a></td>
+<td class="colLast">
+<div class="block">Represents a validator value.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/ETag.html" title="class in org.apache.juneau.http">ETag</a></td>
+<td class="colLast">
+<div class="block">Represents a parsed <l>ETag</l> HTTP response header.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/Expect.html" title="class in org.apache.juneau.http">Expect</a></td>
+<td class="colLast">
+<div class="block">Represents a parsed <l>Expect</l> HTTP request header.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/Expires.html" title="class in org.apache.juneau.http">Expires</a></td>
+<td class="colLast">
+<div class="block">Represents a parsed <l>Expires</l> HTTP response header.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/From.html" title="class in org.apache.juneau.http">From</a></td>
+<td class="colLast">
+<div class="block">Represents a parsed <l>From</l> HTTP request header.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/HeaderDate.html" title="class in org.apache.juneau.http">HeaderDate</a></td>
+<td class="colLast">
+<div class="block">Category of headers that consist of a single HTTP-date.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/HeaderEntityValidator.html" title="class in org.apache.juneau.http">HeaderEntityValidator</a></td>
+<td class="colLast">
+<div class="block">Category of headers that consist of a single entity validator value.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/HeaderEntityValidatorArray.html" title="class in org.apache.juneau.http">HeaderEntityValidatorArray</a></td>
+<td class="colLast">
+<div class="block">Category of headers that consist of a comma-delimited list of entity validator values.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/HeaderEnum.html" title="class in org.apache.juneau.http">HeaderEnum</a><E extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a><E>></td>
+<td class="colLast">
+<div class="block">Category of headers that consist of a single enum value.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/HeaderInteger.html" title="class in org.apache.juneau.http">HeaderInteger</a></td>
+<td class="colLast">
+<div class="block">Category of headers that consist of a single integer value.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/HeaderRangeArray.html" title="class in org.apache.juneau.http">HeaderRangeArray</a></td>
+<td class="colLast">
+<div class="block">Category of headers that consist of simple comma-delimited lists of strings with q-values.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></td>
+<td class="colLast">
+<div class="block">Category of headers that consist of a single string value.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/HeaderStringArray.html" title="class in org.apache.juneau.http">HeaderStringArray</a></td>
+<td class="colLast">
+<div class="block">Category of headers that consist of a comma-delimited list of string values.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/HeaderUri.html" title="class in org.apache.juneau.http">HeaderUri</a></td>
+<td class="colLast">
+<div class="block">Category of headers that consist of a single URL value.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/Host.html" title="class in org.apache.juneau.http">Host</a></td>
+<td class="colLast">
+<div class="block">Represents a parsed <l>Host</l> HTTP request header.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/IfMatch.html" title="class in org.apache.juneau.http">IfMatch</a></td>
+<td class="colLast">
+<div class="block">Represents a parsed <l>If-Match</l> HTTP request header.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/IfModifiedSince.html" title="class in org.apache.juneau.http">IfModifiedSince</a></td>
+<td class="colLast">
+<div class="block">Represents a parsed <l>If-Modified-Since</l> HTTP request header.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/IfNoneMatch.html" title="class in org.apache.juneau.http">IfNoneMatch</a></td>
+<td class="colLast">
+<div class="block">Represents a parsed <l>If-None-Match</l> HTTP request header.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/IfRange.html" title="class in org.apache.juneau.http">IfRange</a></td>
+<td class="colLast">
+<div class="block">Represents a parsed <l>If-Range</l> HTTP request header.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/IfUnmodifiedSince.html" title="class in org.apache.juneau.http">IfUnmodifiedSince</a></td>
+<td class="colLast">
+<div class="block">Represents a parsed <l>If-Unmodified-Since</l> HTTP request header.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/LastModified.html" title="class in org.apache.juneau.http">LastModified</a></td>
+<td class="colLast">
+<div class="block">Represents a parsed <l>Last-Modified</l> HTTP response header.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/Location.html" title="class in org.apache.juneau.http">Location</a></td>
+<td class="colLast">
+<div class="block">Represents a parsed <l>Location</l> HTTP response header.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/MaxForwards.html" title="class in org.apache.juneau.http">MaxForwards</a></td>
+<td class="colLast">
+<div class="block">Represents a parsed <l>Max-Forwards</l> HTTP request header.</div>
</td>
</tr>
<tr class="rowColor">
@@ -114,12 +342,131 @@
</td>
</tr>
<tr class="rowColor">
-<td class="colFirst"><a href="../../../../org/apache/juneau/http/TypeRange.html" title="class in org.apache.juneau.http">TypeRange</a></td>
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/Pragma.html" title="class in org.apache.juneau.http">Pragma</a></td>
+<td class="colLast">
+<div class="block">Represents a parsed <l>Pragma</l> HTTP request/response header.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/ProxyAuthenticate.html" title="class in org.apache.juneau.http">ProxyAuthenticate</a></td>
+<td class="colLast">
+<div class="block">Represents a parsed <l> Proxy-Authenticate</l> HTTP response header.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/ProxyAuthorization.html" title="class in org.apache.juneau.http">ProxyAuthorization</a></td>
+<td class="colLast">
+<div class="block">Represents a parsed <l>Proxy-Authorization</l> HTTP request header.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/Range.html" title="class in org.apache.juneau.http">Range</a></td>
+<td class="colLast">
+<div class="block">Represents a parsed <l>Range</l> HTTP request header.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/Referer.html" title="class in org.apache.juneau.http">Referer</a></td>
+<td class="colLast">
+<div class="block">Represents a parsed <l>Referer</l> HTTP request header.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/RetryAfter.html" title="class in org.apache.juneau.http">RetryAfter</a></td>
+<td class="colLast">
+<div class="block">Represents a parsed <l>Retry-After</l> HTTP response header.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/Server.html" title="class in org.apache.juneau.http">Server</a></td>
+<td class="colLast">
+<div class="block">Represents a parsed <l>Server</l> HTTP response header.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/StringRange.html" title="class in org.apache.juneau.http">StringRange</a></td>
<td class="colLast">
<div class="block">Represents a single value in a comma-delimited header value that optionally contains a quality
metric for comparison and extension parameters.</div>
</td>
</tr>
+<tr class="rowColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/TE.html" title="class in org.apache.juneau.http">TE</a></td>
+<td class="colLast">
+<div class="block">Represents a parsed <l>TE</l> HTTP request header.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/Trailer.html" title="class in org.apache.juneau.http">Trailer</a></td>
+<td class="colLast">
+<div class="block">Represents a parsed <l>Trailer</l> HTTP response header.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/TransferEncoding.html" title="class in org.apache.juneau.http">TransferEncoding</a></td>
+<td class="colLast">
+<div class="block">Represents a parsed <l>Transfer-Encoding</l> HTTP response header.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/Upgrade.html" title="class in org.apache.juneau.http">Upgrade</a></td>
+<td class="colLast">
+<div class="block">Represents a parsed <l>Upgrade</l> HTTP request header.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/UserAgent.html" title="class in org.apache.juneau.http">UserAgent</a></td>
+<td class="colLast">
+<div class="block">Represents a parsed <l>User-Agent</l> HTTP request header.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/Vary.html" title="class in org.apache.juneau.http">Vary</a></td>
+<td class="colLast">
+<div class="block">Represents a parsed <l>Vary</l> HTTP response header.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/Via.html" title="class in org.apache.juneau.http">Via</a></td>
+<td class="colLast">
+<div class="block">Represents a parsed <l>Via</l> HTTP response header.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/Warning.html" title="class in org.apache.juneau.http">Warning</a></td>
+<td class="colLast">
+<div class="block">Represents a parsed <l>Warning</l> HTTP request/response header.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/WwwAuthenticate.html" title="class in org.apache.juneau.http">WwwAuthenticate</a></td>
+<td class="colLast">
+<div class="block">Represents a parsed <l>WWW-Authenticate </l> HTTP response header.</div>
+</td>
+</tr>
+</tbody>
+</table>
+</li>
+<li class="blockList">
+<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Summary table, listing enums, and an explanation">
+<caption><span>Enum Summary</span><span class="tabEnd"> </span></caption>
+<tr>
+<th class="colFirst" scope="col">Enum</th>
+<th class="colLast" scope="col">Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/ContentEncodingEnum.html" title="enum in org.apache.juneau.http">ContentEncodingEnum</a></td>
+<td class="colLast">
+<div class="block">Represents the possible values for a <code>Content-Encoding</code> header.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/http/HttpMethod.html" title="enum in org.apache.juneau.http">HttpMethod</a></td>
+<td class="colLast">
+<div class="block">Represents valid HTTP 1.1 method names per the <a class='doclink' href='https://www.ietf.org/rfc/rfc2616.txt'>RFC 2616</a> spec.</div>
+</td>
+</tr>
</tbody>
</table>
</li>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/package-tree.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/package-tree.html b/content/site/apidocs/org/apache/juneau/http/package-tree.html
index fee59bf..059d88d 100644
--- a/content/site/apidocs/org/apache/juneau/http/package-tree.html
+++ b/content/site/apidocs/org/apache/juneau/http/package-tree.html
@@ -81,14 +81,105 @@
<li type="circle">java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Object</span></a>
<ul>
<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/Accept.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Accept</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/Constants.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Constants</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/EntityValidator.html" title="class in org.apache.juneau.http"><span class="typeNameLink">EntityValidator</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderDate.html" title="class in org.apache.juneau.http"><span class="typeNameLink">HeaderDate</span></a>
+<ul>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/Date.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Date</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/Expires.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Expires</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/IfModifiedSince.html" title="class in org.apache.juneau.http"><span class="typeNameLink">IfModifiedSince</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/IfUnmodifiedSince.html" title="class in org.apache.juneau.http"><span class="typeNameLink">IfUnmodifiedSince</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/LastModified.html" title="class in org.apache.juneau.http"><span class="typeNameLink">LastModified</span></a></li>
+</ul>
+</li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderEntityValidator.html" title="class in org.apache.juneau.http"><span class="typeNameLink">HeaderEntityValidator</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderEntityValidatorArray.html" title="class in org.apache.juneau.http"><span class="typeNameLink">HeaderEntityValidatorArray</span></a>
+<ul>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/IfMatch.html" title="class in org.apache.juneau.http"><span class="typeNameLink">IfMatch</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/IfNoneMatch.html" title="class in org.apache.juneau.http"><span class="typeNameLink">IfNoneMatch</span></a></li>
+</ul>
+</li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderEnum.html" title="class in org.apache.juneau.http"><span class="typeNameLink">HeaderEnum</span></a><E>
+<ul>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/ContentEncoding.html" title="class in org.apache.juneau.http"><span class="typeNameLink">ContentEncoding</span></a></li>
+</ul>
+</li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderInteger.html" title="class in org.apache.juneau.http"><span class="typeNameLink">HeaderInteger</span></a>
+<ul>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/Age.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Age</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/ContentLength.html" title="class in org.apache.juneau.http"><span class="typeNameLink">ContentLength</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/MaxForwards.html" title="class in org.apache.juneau.http"><span class="typeNameLink">MaxForwards</span></a></li>
+</ul>
+</li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderRangeArray.html" title="class in org.apache.juneau.http"><span class="typeNameLink">HeaderRangeArray</span></a>
+<ul>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/AcceptCharset.html" title="class in org.apache.juneau.http"><span class="typeNameLink">AcceptCharset</span></a></li>
<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/AcceptEncoding.html" title="class in org.apache.juneau.http"><span class="typeNameLink">AcceptEncoding</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/AcceptLanguage.html" title="class in org.apache.juneau.http"><span class="typeNameLink">AcceptLanguage</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/TE.html" title="class in org.apache.juneau.http"><span class="typeNameLink">TE</span></a></li>
+</ul>
+</li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http"><span class="typeNameLink">HeaderString</span></a>
+<ul>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/AcceptRanges.html" title="class in org.apache.juneau.http"><span class="typeNameLink">AcceptRanges</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/Authorization.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Authorization</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/CacheControl.html" title="class in org.apache.juneau.http"><span class="typeNameLink">CacheControl</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/Connection.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Connection</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/ContentRange.html" title="class in org.apache.juneau.http"><span class="typeNameLink">ContentRange</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/ETag.html" title="class in org.apache.juneau.http"><span class="typeNameLink">ETag</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/Expect.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Expect</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/From.html" title="class in org.apache.juneau.http"><span class="typeNameLink">From</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/Host.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Host</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/IfRange.html" title="class in org.apache.juneau.http"><span class="typeNameLink">IfRange</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/Pragma.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Pragma</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/ProxyAuthenticate.html" title="class in org.apache.juneau.http"><span class="typeNameLink">ProxyAuthenticate</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/ProxyAuthorization.html" title="class in org.apache.juneau.http"><span class="typeNameLink">ProxyAuthorization</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/Range.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Range</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/RetryAfter.html" title="class in org.apache.juneau.http"><span class="typeNameLink">RetryAfter</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/Server.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Server</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/Trailer.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Trailer</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/TransferEncoding.html" title="class in org.apache.juneau.http"><span class="typeNameLink">TransferEncoding</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/UserAgent.html" title="class in org.apache.juneau.http"><span class="typeNameLink">UserAgent</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/Vary.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Vary</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/Warning.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Warning</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/WwwAuthenticate.html" title="class in org.apache.juneau.http"><span class="typeNameLink">WwwAuthenticate</span></a></li>
+</ul>
+</li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderStringArray.html" title="class in org.apache.juneau.http"><span class="typeNameLink">HeaderStringArray</span></a>
+<ul>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/Allow.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Allow</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/ContentLanguage.html" title="class in org.apache.juneau.http"><span class="typeNameLink">ContentLanguage</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/Upgrade.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Upgrade</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/Via.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Via</span></a></li>
+</ul>
+</li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderUri.html" title="class in org.apache.juneau.http"><span class="typeNameLink">HeaderUri</span></a>
+<ul>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/ContentLocation.html" title="class in org.apache.juneau.http"><span class="typeNameLink">ContentLocation</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/Location.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Location</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/Referer.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Referer</span></a></li>
+</ul>
+</li>
<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/MediaType.html" title="class in org.apache.juneau.http"><span class="typeNameLink">MediaType</span></a>
<ul>
<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/ContentType.html" title="class in org.apache.juneau.http"><span class="typeNameLink">ContentType</span></a></li>
</ul>
</li>
<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/MediaTypeRange.html" title="class in org.apache.juneau.http"><span class="typeNameLink">MediaTypeRange</span></a> (implements java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>)</li>
-<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/TypeRange.html" title="class in org.apache.juneau.http"><span class="typeNameLink">TypeRange</span></a> (implements java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>)</li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/StringRange.html" title="class in org.apache.juneau.http"><span class="typeNameLink">StringRange</span></a> (implements java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>)</li>
+</ul>
+</li>
+</ul>
+<h2 title="Enum Hierarchy">Enum Hierarchy</h2>
+<ul>
+<li type="circle">java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Object</span></a>
+<ul>
+<li type="circle">java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a><E> (implements java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>, java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>)
+<ul>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HttpMethod.html" title="enum in org.apache.juneau.http"><span class="typeNameLink">HttpMethod</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/ContentEncodingEnum.html" title="enum in org.apache.juneau.http"><span class="typeNameLink">ContentEncodingEnum</span></a></li>
+</ul>
+</li>
</ul>
</li>
</ul>
[25/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/rest/annotation/FormData.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/annotation/FormData.html b/content/site/apidocs/org/apache/juneau/rest/annotation/FormData.html
index 7d8faa8..a92287d 100644
--- a/content/site/apidocs/org/apache/juneau/rest/annotation/FormData.html
+++ b/content/site/apidocs/org/apache/juneau/rest/annotation/FormData.html
@@ -123,7 +123,7 @@ public @interface <a href="../../../../../src-html/org/apache/juneau/rest/annota
<h6 class='topic'>Important note concerning FORM posts</h6>
<p>
- This annotation should not be combined with the <a href="../../../../../org/apache/juneau/rest/annotation/Body.html" title="annotation in org.apache.juneau.rest.annotation"><code>@Body</code></a> annotation or <a href="../../../../../org/apache/juneau/rest/RestRequest.html#getBody-java.lang.Class-"><code>RestRequest.getBody(Class)</code></a> method
+ This annotation should not be combined with the <a href="../../../../../org/apache/juneau/rest/annotation/Body.html" title="annotation in org.apache.juneau.rest.annotation"><code>@Body</code></a> annotation or <a href="../../../../../org/apache/juneau/rest/RestRequest.html#getBody--"><code>RestRequest.getBody()</code></a> method
for <code>application/x-www-form-urlencoded POST</code> posts, since it will trigger the underlying servlet
API to parse the body content as key-value pairs resulting in empty content.
<p>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/rest/annotation/HasFormData.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/annotation/HasFormData.html b/content/site/apidocs/org/apache/juneau/rest/annotation/HasFormData.html
index ec0d2e6..254261f 100644
--- a/content/site/apidocs/org/apache/juneau/rest/annotation/HasFormData.html
+++ b/content/site/apidocs/org/apache/juneau/rest/annotation/HasFormData.html
@@ -151,7 +151,7 @@ public @interface <a href="../../../../../src-html/org/apache/juneau/rest/annota
<h6 class='topic'>Important note concerning FORM posts</h6>
<p>
- This annotation should not be combined with the <a href="../../../../../org/apache/juneau/rest/annotation/Body.html" title="annotation in org.apache.juneau.rest.annotation"><code>@Body</code></a> annotation or <a href="../../../../../org/apache/juneau/rest/RestRequest.html#getBody-java.lang.Class-"><code>RestRequest.getBody(Class)</code></a> method
+ This annotation should not be combined with the <a href="../../../../../org/apache/juneau/rest/annotation/Body.html" title="annotation in org.apache.juneau.rest.annotation"><code>@Body</code></a> annotation or <a href="../../../../../org/apache/juneau/rest/RestRequest.html#getBody--"><code>RestRequest.getBody()</code></a> method
for <code>application/x-www-form-urlencoded POST</code> posts, since it will trigger the underlying servlet API to parse the body
content as key-value pairs, resulting in empty content.
<p>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/rest/annotation/HasQuery.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/annotation/HasQuery.html b/content/site/apidocs/org/apache/juneau/rest/annotation/HasQuery.html
index 7ece79d..fb8b8c6 100644
--- a/content/site/apidocs/org/apache/juneau/rest/annotation/HasQuery.html
+++ b/content/site/apidocs/org/apache/juneau/rest/annotation/HasQuery.html
@@ -103,7 +103,7 @@ public @interface <a href="../../../../../src-html/org/apache/juneau/rest/annota
Unlike <a href="../../../../../org/apache/juneau/rest/annotation/HasFormData.html" title="annotation in org.apache.juneau.rest.annotation"><code>@HasFormData</code></a>, using this annotation does not result in the servlet reading the contents
of URL-encoded form posts.
Therefore, this annotation can be used in conjunction with the <a href="../../../../../org/apache/juneau/rest/annotation/Body.html" title="annotation in org.apache.juneau.rest.annotation"><code>@Body</code></a> annotation
- or <a href="../../../../../org/apache/juneau/rest/RestRequest.html#getBody-java.lang.Class-"><code>RestRequest.getBody(Class)</code></a> method for <code>application/x-www-form-urlencoded POST</code> calls.
+ or <a href="../../../../../org/apache/juneau/rest/RestRequest.html#getBody--"><code>RestRequest.getBody()</code></a> method for <code>application/x-www-form-urlencoded POST</code> calls.
<h5 class='section'>Example:</h5>
<p class='bcode'>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/rest/annotation/Query.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/annotation/Query.html b/content/site/apidocs/org/apache/juneau/rest/annotation/Query.html
index 5c657c9..f2cb074 100644
--- a/content/site/apidocs/org/apache/juneau/rest/annotation/Query.html
+++ b/content/site/apidocs/org/apache/juneau/rest/annotation/Query.html
@@ -103,7 +103,7 @@ public @interface <a href="../../../../../src-html/org/apache/juneau/rest/annota
Unlike <a href="../../../../../org/apache/juneau/rest/annotation/FormData.html" title="annotation in org.apache.juneau.rest.annotation"><code>@FormData</code></a>, using this annotation does not result in the servlet reading the contents
of URL-encoded form posts.
Therefore, this annotation can be used in conjunction with the <a href="../../../../../org/apache/juneau/rest/annotation/Body.html" title="annotation in org.apache.juneau.rest.annotation"><code>@Body</code></a> annotation
- or <a href="../../../../../org/apache/juneau/rest/RestRequest.html#getBody-java.lang.Class-"><code>RestRequest.getBody(Class)</code></a> method for <code>application/x-www-form-urlencoded POST</code> calls.
+ or <a href="../../../../../org/apache/juneau/rest/RestRequest.html#getBody--"><code>RestRequest.getBody()</code></a> method for <code>application/x-www-form-urlencoded POST</code> calls.
<h5 class='section'>Example:</h5>
<p class='bcode'>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/rest/annotation/RestResource.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/annotation/RestResource.html b/content/site/apidocs/org/apache/juneau/rest/annotation/RestResource.html
index 501ec6d..12abff3 100644
--- a/content/site/apidocs/org/apache/juneau/rest/annotation/RestResource.html
+++ b/content/site/apidocs/org/apache/juneau/rest/annotation/RestResource.html
@@ -247,36 +247,42 @@ public @interface <a href="../../../../../src-html/org/apache/juneau/rest/annota
</td>
</tr>
<tr class="rowColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends <a href="../../../../../org/apache/juneau/rest/RestParam.html" title="class in org.apache.juneau.rest">RestParam</a>>[]</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/annotation/RestResource.html#paramResolvers--">paramResolvers</a></span></code>
+<div class="block">Class-level Java method parameter resolvers.</div>
+</td>
+</tr>
+<tr class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends <a href="../../../../../org/apache/juneau/parser/Parser.html" title="class in org.apache.juneau.parser">Parser</a>>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/annotation/RestResource.html#parsers--">parsers</a></span></code>
<div class="block">Specifies a list of <a href="../../../../../org/apache/juneau/parser/Parser.html" title="class in org.apache.juneau.parser"><code>Parser</code></a> classes to add to the list of parsers available for this servlet.</div>
</td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><code><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/rest/annotation/RestResource.html#path--">path</a></span></code>
<div class="block">Identifies the URL subpath relative to the parent resource.</div>
</td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/annotation/RestResource.html#pojoSwaps--">pojoSwaps</a></span></code>
<div class="block">Class-level POJO swaps.</div>
</td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/annotation/Property.html" title="annotation in org.apache.juneau.rest.annotation">Property</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/annotation/RestResource.html#properties--">properties</a></span></code>
<div class="block">Class-level properties.</div>
</td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends <a href="../../../../../org/apache/juneau/rest/RestResourceResolver.html" title="class in org.apache.juneau.rest">RestResourceResolver</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/annotation/RestResource.html#resourceResolver--">resourceResolver</a></span></code>
<div class="block">Specifies the resolver class to use for resolving child resources by class name.</div>
</td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends <a href="../../../../../org/apache/juneau/rest/ResponseHandler.html" title="interface in org.apache.juneau.rest">ResponseHandler</a>>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/annotation/RestResource.html#responseHandlers--">responseHandlers</a></span></code>
<div class="block">Specifies a list of <a href="../../../../../org/apache/juneau/rest/ResponseHandler.html" title="interface in org.apache.juneau.rest"><code>ResponseHandler</code></a> classes that know how to convert POJOs returned
@@ -284,43 +290,43 @@ public @interface <a href="../../../../../src-html/org/apache/juneau/rest/annota
HTTP responses.</div>
</td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends <a href="../../../../../org/apache/juneau/serializer/Serializer.html" title="class in org.apache.juneau.serializer">Serializer</a>>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/annotation/RestResource.html#serializers--">serializers</a></span></code>
<div class="block">Specifies a list of <a href="../../../../../org/apache/juneau/serializer/Serializer.html" title="class in org.apache.juneau.serializer"><code>Serializer</code></a> classes to add to the list of serializers available for this servlet.</div>
</td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><code><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/rest/annotation/RestResource.html#staticFiles--">staticFiles</a></span></code>
<div class="block">Defines paths and locations of statically served files.</div>
</td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><code><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/rest/annotation/RestResource.html#stylesheet--">stylesheet</a></span></code>
<div class="block">The stylesheet to use for HTML views.</div>
</td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><code><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/rest/annotation/RestResource.html#tags--">tags</a></span></code>
<div class="block">Optional tagging information for the exposed API.</div>
</td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><code><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/rest/annotation/RestResource.html#termsOfService--">termsOfService</a></span></code>
<div class="block">Optional servlet terms-of-service for this API.</div>
</td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><code><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/rest/annotation/RestResource.html#title--">title</a></span></code>
<div class="block">Optional servlet title.</div>
</td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><code><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/rest/annotation/RestResource.html#version--">version</a></span></code>
<div class="block">Provides the version of the application API (not to be confused with the specification version).</div>
@@ -483,13 +489,57 @@ public @interface <a href="../../../../../src-html/org/apache/juneau/rest/annota
</li>
</ul>
<ul class="blockList">
+<li class="blockList"><a name="paramResolvers--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>paramResolvers</h4>
+<pre>public abstract <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends <a href="../../../../../org/apache/juneau/rest/RestParam.html" title="class in org.apache.juneau.rest">RestParam</a>>[] <a href="../../../../../src-html/org/apache/juneau/rest/annotation/RestResource.html#line.160">paramResolvers</a></pre>
+<div class="block">Class-level Java method parameter resolvers.
+ <p>
+ By default, the Juneau framework will automatically Java method parameters of various types (e.g.
+ <code>RestRequest</code>, <code>Accept</code>, <code>Reader</code>).
+ This annotation allows you to provide your own resolvers for your own class types that you want resolved.
+ <p>
+ For example, if you want to pass in instances of <code>MySpecialObject</code> to your Java method, define
+ the following resolver:
+ <p class='bcode'>
+ <jk>public class</jk> MyRestParam <jk>extends</jk> RestParam {
+
+ <jc>// Must have no-arg constructor!</jc>
+ <jk>public</jk> MyRestParam() {
+ <jc>// First two parameters help with Swagger doc generation.</jc>
+ <jk>super</jk>(<jsf>QUERY</jsf>, <js>"myparam"</js>, MySpecialObject.<jk>class</jk>);
+ }
+
+ <jc>// The method that creates our object.
+ // In this case, we're taking in a query parameter and converting it to our object.</jc>
+ <jk>public</jk> Object resolve(RestRequest req, RestResponse res) <jk>throws</jk> Exception {
+ <jk>return new</jk> MySpecialObject(req.getQuery().get(<js>"myparam"</js>));
+ }
+ }
+ </p>
+ <p>
+ <b>Note:</b><a href="../../../../../org/apache/juneau/rest/RestParam.html" title="class in org.apache.juneau.rest"><code>RestParam</code></a> classes must have no-arg constructors.
+ <p>
+ The programmatic equivalent to this annotation is the <a href="../../../../../org/apache/juneau/rest/RestConfig.html#addParamResolvers-java.lang.Class...-"><code>RestConfig.addParamResolvers(Class...)</code></a> method.</div>
+<dl>
+<dt>Default:</dt>
+<dd>{}</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+<ul class="blockList">
<li class="blockList"><a name="properties--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>properties</h4>
-<pre>public abstract <a href="../../../../../org/apache/juneau/rest/annotation/Property.html" title="annotation in org.apache.juneau.rest.annotation">Property</a>[] <a href="../../../../../src-html/org/apache/juneau/rest/annotation/RestResource.html#line.161">properties</a></pre>
+<pre>public abstract <a href="../../../../../org/apache/juneau/rest/annotation/Property.html" title="annotation in org.apache.juneau.rest.annotation">Property</a>[] <a href="../../../../../src-html/org/apache/juneau/rest/annotation/RestResource.html#line.193">properties</a></pre>
<div class="block">Class-level properties.
<p>
Shortcut for specifying class-level properties on this servlet to the objects returned by the following methods:
@@ -534,7 +584,7 @@ public @interface <a href="../../../../../src-html/org/apache/juneau/rest/annota
<ul class="blockList">
<li class="blockList">
<h4>serializers</h4>
-<pre>public abstract <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends <a href="../../../../../org/apache/juneau/serializer/Serializer.html" title="class in org.apache.juneau.serializer">Serializer</a>>[] <a href="../../../../../src-html/org/apache/juneau/rest/annotation/RestResource.html#line.170">serializers</a></pre>
+<pre>public abstract <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends <a href="../../../../../org/apache/juneau/serializer/Serializer.html" title="class in org.apache.juneau.serializer">Serializer</a>>[] <a href="../../../../../src-html/org/apache/juneau/rest/annotation/RestResource.html#line.202">serializers</a></pre>
<div class="block">Specifies a list of <a href="../../../../../org/apache/juneau/serializer/Serializer.html" title="class in org.apache.juneau.serializer"><code>Serializer</code></a> classes to add to the list of serializers available for this servlet.
<p>
This annotation can only be used on <a href="../../../../../org/apache/juneau/serializer/Serializer.html" title="class in org.apache.juneau.serializer"><code>Serializer</code></a> classes that have no-arg constructors.
@@ -555,7 +605,7 @@ public @interface <a href="../../../../../src-html/org/apache/juneau/rest/annota
<ul class="blockList">
<li class="blockList">
<h4>parsers</h4>
-<pre>public abstract <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends <a href="../../../../../org/apache/juneau/parser/Parser.html" title="class in org.apache.juneau.parser">Parser</a>>[] <a href="../../../../../src-html/org/apache/juneau/rest/annotation/RestResource.html#line.179">parsers</a></pre>
+<pre>public abstract <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends <a href="../../../../../org/apache/juneau/parser/Parser.html" title="class in org.apache.juneau.parser">Parser</a>>[] <a href="../../../../../src-html/org/apache/juneau/rest/annotation/RestResource.html#line.211">parsers</a></pre>
<div class="block">Specifies a list of <a href="../../../../../org/apache/juneau/parser/Parser.html" title="class in org.apache.juneau.parser"><code>Parser</code></a> classes to add to the list of parsers available for this servlet.
<p>
This annotation can only be used on <a href="../../../../../org/apache/juneau/parser/Parser.html" title="class in org.apache.juneau.parser"><code>Parser</code></a> classes that have no-arg constructors.
@@ -576,7 +626,7 @@ public @interface <a href="../../../../../src-html/org/apache/juneau/rest/annota
<ul class="blockList">
<li class="blockList">
<h4>responseHandlers</h4>
-<pre>public abstract <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends <a href="../../../../../org/apache/juneau/rest/ResponseHandler.html" title="interface in org.apache.juneau.rest">ResponseHandler</a>>[] <a href="../../../../../src-html/org/apache/juneau/rest/annotation/RestResource.html#line.190">responseHandlers</a></pre>
+<pre>public abstract <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends <a href="../../../../../org/apache/juneau/rest/ResponseHandler.html" title="interface in org.apache.juneau.rest">ResponseHandler</a>>[] <a href="../../../../../src-html/org/apache/juneau/rest/annotation/RestResource.html#line.222">responseHandlers</a></pre>
<div class="block">Specifies a list of <a href="../../../../../org/apache/juneau/rest/ResponseHandler.html" title="interface in org.apache.juneau.rest"><code>ResponseHandler</code></a> classes that know how to convert POJOs returned
by REST methods or set via <a href="../../../../../org/apache/juneau/rest/RestResponse.html#setOutput-java.lang.Object-"><code>RestResponse.setOutput(Object)</code></a> into appropriate
HTTP responses.
@@ -599,7 +649,7 @@ public @interface <a href="../../../../../src-html/org/apache/juneau/rest/annota
<ul class="blockList">
<li class="blockList">
<h4>encoders</h4>
-<pre>public abstract <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends <a href="../../../../../org/apache/juneau/encoders/Encoder.html" title="class in org.apache.juneau.encoders">Encoder</a>>[] <a href="../../../../../src-html/org/apache/juneau/rest/annotation/RestResource.html#line.210">encoders</a></pre>
+<pre>public abstract <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends <a href="../../../../../org/apache/juneau/encoders/Encoder.html" title="class in org.apache.juneau.encoders">Encoder</a>>[] <a href="../../../../../src-html/org/apache/juneau/rest/annotation/RestResource.html#line.242">encoders</a></pre>
<div class="block">Specifies a list of <a href="../../../../../org/apache/juneau/encoders/Encoder.html" title="class in org.apache.juneau.encoders"><code>Encoder</code></a> to associate with this servlet.
<p>
These can be used to enable various kinds of compression (e.g. <js>"gzip"</js>) on requests and responses.
@@ -631,7 +681,7 @@ public @interface <a href="../../../../../src-html/org/apache/juneau/rest/annota
<ul class="blockList">
<li class="blockList">
<h4>defaultRequestHeaders</h4>
-<pre>public abstract <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/rest/annotation/RestResource.html#line.235">defaultRequestHeaders</a></pre>
+<pre>public abstract <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/rest/annotation/RestResource.html#line.267">defaultRequestHeaders</a></pre>
<div class="block">Specifies default values for request headers.
<p>
Strings are of the format <js>"Header-Name: header-value"</js>.
@@ -668,7 +718,7 @@ public @interface <a href="../../../../../src-html/org/apache/juneau/rest/annota
<ul class="blockList">
<li class="blockList">
<h4>defaultResponseHeaders</h4>
-<pre>public abstract <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/rest/annotation/RestResource.html#line.259">defaultResponseHeaders</a></pre>
+<pre>public abstract <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/rest/annotation/RestResource.html#line.291">defaultResponseHeaders</a></pre>
<div class="block">Specifies default values for response headers.
<p>
Strings are of the format <js>"Header-Name: header-value"</js>.
@@ -704,7 +754,7 @@ public @interface <a href="../../../../../src-html/org/apache/juneau/rest/annota
<ul class="blockList">
<li class="blockList">
<h4>children</h4>
-<pre>public abstract <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>[] <a href="../../../../../src-html/org/apache/juneau/rest/annotation/RestResource.html#line.301">children</a></pre>
+<pre>public abstract <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>[] <a href="../../../../../src-html/org/apache/juneau/rest/annotation/RestResource.html#line.333">children</a></pre>
<div class="block">Defines children of this resource.
<p>
A REST child resource is simply another servlet that is initialized as part of the parent
@@ -758,7 +808,7 @@ public @interface <a href="../../../../../src-html/org/apache/juneau/rest/annota
<ul class="blockList">
<li class="blockList">
<h4>path</h4>
-<pre>public abstract <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/rest/annotation/RestResource.html#line.314">path</a></pre>
+<pre>public abstract <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/rest/annotation/RestResource.html#line.346">path</a></pre>
<div class="block">Identifies the URL subpath relative to the parent resource.
<p>
Typically, this annotation is only applicable to resources defined as children through the <a href="../../../../../org/apache/juneau/rest/annotation/RestResource.html#children--"><code>children()</code></a>
@@ -783,7 +833,7 @@ public @interface <a href="../../../../../src-html/org/apache/juneau/rest/annota
<ul class="blockList">
<li class="blockList">
<h4>title</h4>
-<pre>public abstract <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/rest/annotation/RestResource.html#line.331">title</a></pre>
+<pre>public abstract <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/rest/annotation/RestResource.html#line.363">title</a></pre>
<div class="block">Optional servlet title.
<p>
It is used to populate the Swagger title field and as a default value for the <a href="../../../../../org/apache/juneau/rest/annotation/RestResource.html#pageTitle--"><code>pageTitle()</code></a> value.
@@ -812,7 +862,7 @@ public @interface <a href="../../../../../src-html/org/apache/juneau/rest/annota
<ul class="blockList">
<li class="blockList">
<h4>description</h4>
-<pre>public abstract <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/rest/annotation/RestResource.html#line.348">description</a></pre>
+<pre>public abstract <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/rest/annotation/RestResource.html#line.380">description</a></pre>
<div class="block">Optional servlet description.
<p>
It is used to populate the Swagger description field and as a default value for the <a href="../../../../../org/apache/juneau/rest/annotation/RestResource.html#pageText--"><code>pageText()</code></a> value.
@@ -841,7 +891,7 @@ public @interface <a href="../../../../../src-html/org/apache/juneau/rest/annota
<ul class="blockList">
<li class="blockList">
<h4>termsOfService</h4>
-<pre>public abstract <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/rest/annotation/RestResource.html#line.364">termsOfService</a></pre>
+<pre>public abstract <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/rest/annotation/RestResource.html#line.396">termsOfService</a></pre>
<div class="block">Optional servlet terms-of-service for this API.
<p>
It is used to populate the Swagger terms-of-service field.
@@ -869,7 +919,7 @@ public @interface <a href="../../../../../src-html/org/apache/juneau/rest/annota
<ul class="blockList">
<li class="blockList">
<h4>contact</h4>
-<pre>public abstract <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/rest/annotation/RestResource.html#line.394">contact</a></pre>
+<pre>public abstract <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/rest/annotation/RestResource.html#line.426">contact</a></pre>
<div class="block">Optional contact information for the exposed API.
<p>
It is used to populate the Swagger contact field and to display on HTML pages.
@@ -911,7 +961,7 @@ public @interface <a href="../../../../../src-html/org/apache/juneau/rest/annota
<ul class="blockList">
<li class="blockList">
<h4>license</h4>
-<pre>public abstract <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/rest/annotation/RestResource.html#line.423">license</a></pre>
+<pre>public abstract <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/rest/annotation/RestResource.html#line.455">license</a></pre>
<div class="block">Optional license information for the exposed API.
<p>
It is used to populate the Swagger license field and to display on HTML pages.
@@ -952,7 +1002,7 @@ public @interface <a href="../../../../../src-html/org/apache/juneau/rest/annota
<ul class="blockList">
<li class="blockList">
<h4>version</h4>
-<pre>public abstract <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/rest/annotation/RestResource.html#line.439">version</a></pre>
+<pre>public abstract <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/rest/annotation/RestResource.html#line.471">version</a></pre>
<div class="block">Provides the version of the application API (not to be confused with the specification version).
<p>
It is used to populate the Swagger version field and to display on HTML pages.
@@ -980,7 +1030,7 @@ public @interface <a href="../../../../../src-html/org/apache/juneau/rest/annota
<ul class="blockList">
<li class="blockList">
<h4>tags</h4>
-<pre>public abstract <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/rest/annotation/RestResource.html#line.474">tags</a></pre>
+<pre>public abstract <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/rest/annotation/RestResource.html#line.506">tags</a></pre>
<div class="block">Optional tagging information for the exposed API.
<p>
It is used to populate the Swagger tags field and to display on HTML pages.
@@ -1027,7 +1077,7 @@ public @interface <a href="../../../../../src-html/org/apache/juneau/rest/annota
<ul class="blockList">
<li class="blockList">
<h4>externalDocs</h4>
-<pre>public abstract <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/rest/annotation/RestResource.html#line.503">externalDocs</a></pre>
+<pre>public abstract <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/rest/annotation/RestResource.html#line.535">externalDocs</a></pre>
<div class="block">Optional external documentation information for the exposed API.
<p>
It is used to populate the Swagger external documentation field and to display on HTML pages.
@@ -1068,7 +1118,7 @@ public @interface <a href="../../../../../src-html/org/apache/juneau/rest/annota
<ul class="blockList">
<li class="blockList">
<h4>config</h4>
-<pre>public abstract <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/rest/annotation/RestResource.html#line.514">config</a></pre>
+<pre>public abstract <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/rest/annotation/RestResource.html#line.546">config</a></pre>
<div class="block">Optional location of configuration file for this servlet.
<p>
The configuration file .
@@ -1091,7 +1141,7 @@ public @interface <a href="../../../../../src-html/org/apache/juneau/rest/annota
<ul class="blockList">
<li class="blockList">
<h4>stylesheet</h4>
-<pre>public abstract <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/rest/annotation/RestResource.html#line.564">stylesheet</a></pre>
+<pre>public abstract <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/rest/annotation/RestResource.html#line.596">stylesheet</a></pre>
<div class="block">The stylesheet to use for HTML views.
<p>
The name is a path to a stylesheet located in either the classpath or working directory.
@@ -1153,7 +1203,7 @@ public @interface <a href="../../../../../src-html/org/apache/juneau/rest/annota
<ul class="blockList">
<li class="blockList">
<h4>favicon</h4>
-<pre>public abstract <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/rest/annotation/RestResource.html#line.596">favicon</a></pre>
+<pre>public abstract <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/rest/annotation/RestResource.html#line.628">favicon</a></pre>
<div class="block">The favicon to use for HTML views.
<p>
The name is a path to an icon file located in either the classpath or working directory in a similar way
@@ -1197,7 +1247,7 @@ public @interface <a href="../../../../../src-html/org/apache/juneau/rest/annota
<ul class="blockList">
<li class="blockList">
<h4>staticFiles</h4>
-<pre>public abstract <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/rest/annotation/RestResource.html#line.630">staticFiles</a></pre>
+<pre>public abstract <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/rest/annotation/RestResource.html#line.662">staticFiles</a></pre>
<div class="block">Defines paths and locations of statically served files.
<p>
This is a JSON map of paths to packages/directories located on either the classpath or working directory.
@@ -1243,7 +1293,7 @@ public @interface <a href="../../../../../src-html/org/apache/juneau/rest/annota
<ul class="blockList">
<li class="blockList">
<h4>clientVersionHeader</h4>
-<pre>public abstract <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/rest/annotation/RestResource.html#line.642">clientVersionHeader</a></pre>
+<pre>public abstract <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/rest/annotation/RestResource.html#line.674">clientVersionHeader</a></pre>
<div class="block">Specifies the HTTP header name used to identify the client version.
<p>
The client version is used to support backwards compatibility for breaking REST interface
@@ -1267,7 +1317,7 @@ public @interface <a href="../../../../../src-html/org/apache/juneau/rest/annota
<ul class="blockList">
<li class="blockList">
<h4>resourceResolver</h4>
-<pre>public abstract <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends <a href="../../../../../org/apache/juneau/rest/RestResourceResolver.html" title="class in org.apache.juneau.rest">RestResourceResolver</a>> <a href="../../../../../src-html/org/apache/juneau/rest/annotation/RestResource.html#line.667">resourceResolver</a></pre>
+<pre>public abstract <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends <a href="../../../../../org/apache/juneau/rest/RestResourceResolver.html" title="class in org.apache.juneau.rest">RestResourceResolver</a>> <a href="../../../../../src-html/org/apache/juneau/rest/annotation/RestResource.html#line.699">resourceResolver</a></pre>
<div class="block">Specifies the resolver class to use for resolving child resources by class name.
<p>
The default implementation simply instantiates the class using one of the following constructors:
@@ -1304,7 +1354,7 @@ public @interface <a href="../../../../../src-html/org/apache/juneau/rest/annota
<ul class="blockList">
<li class="blockList">
<h4>logger</h4>
-<pre>public abstract <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends <a href="../../../../../org/apache/juneau/rest/RestLogger.html" title="class in org.apache.juneau.rest">RestLogger</a>> <a href="../../../../../src-html/org/apache/juneau/rest/annotation/RestResource.html#line.677">logger</a></pre>
+<pre>public abstract <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends <a href="../../../../../org/apache/juneau/rest/RestLogger.html" title="class in org.apache.juneau.rest">RestLogger</a>> <a href="../../../../../src-html/org/apache/juneau/rest/annotation/RestResource.html#line.709">logger</a></pre>
<div class="block">Specifies the logger class to use for logging.
<p>
The default logger performs basic error logging to the Java logger.
@@ -1326,7 +1376,7 @@ public @interface <a href="../../../../../src-html/org/apache/juneau/rest/annota
<ul class="blockList">
<li class="blockList">
<h4>callHandler</h4>
-<pre>public abstract <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends <a href="../../../../../org/apache/juneau/rest/RestCallHandler.html" title="class in org.apache.juneau.rest">RestCallHandler</a>> <a href="../../../../../src-html/org/apache/juneau/rest/annotation/RestResource.html#line.687">callHandler</a></pre>
+<pre>public abstract <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends <a href="../../../../../org/apache/juneau/rest/RestCallHandler.html" title="class in org.apache.juneau.rest">RestCallHandler</a>> <a href="../../../../../src-html/org/apache/juneau/rest/annotation/RestResource.html#line.719">callHandler</a></pre>
<div class="block">Specifies the REST call handler class.
<p>
This class handles the basic lifecycle of an HTTP REST call.
@@ -1348,7 +1398,7 @@ public @interface <a href="../../../../../src-html/org/apache/juneau/rest/annota
<ul class="blockList">
<li class="blockList">
<h4>infoProvider</h4>
-<pre>public abstract <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends <a href="../../../../../org/apache/juneau/rest/RestInfoProvider.html" title="class in org.apache.juneau.rest">RestInfoProvider</a>> <a href="../../../../../src-html/org/apache/juneau/rest/annotation/RestResource.html#line.696">infoProvider</a></pre>
+<pre>public abstract <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends <a href="../../../../../org/apache/juneau/rest/RestInfoProvider.html" title="class in org.apache.juneau.rest">RestInfoProvider</a>> <a href="../../../../../src-html/org/apache/juneau/rest/annotation/RestResource.html#line.728">infoProvider</a></pre>
<div class="block">Specifies the class used to retrieve title/description/swagger information about a resource.
<p>
Subclasses can be used to customize the documentation on a resource.
@@ -1369,7 +1419,7 @@ public @interface <a href="../../../../../src-html/org/apache/juneau/rest/annota
<ul class="blockList">
<li class="blockList">
<h4>pageTitle</h4>
-<pre>public abstract <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/rest/annotation/RestResource.html#line.731">pageTitle</a></pre>
+<pre>public abstract <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/rest/annotation/RestResource.html#line.763">pageTitle</a></pre>
<div class="block">Specifies the page title to use on the HTML view of all pages produced by this resource.
<p>
This annotation has no effect on any serializers other than <a href="../../../../../org/apache/juneau/html/HtmlDocSerializer.html" title="class in org.apache.juneau.html"><code>HtmlDocSerializer</code></a> and is a shorthand method
@@ -1416,7 +1466,7 @@ public @interface <a href="../../../../../src-html/org/apache/juneau/rest/annota
<ul class="blockList">
<li class="blockList">
<h4>pageText</h4>
-<pre>public abstract <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/rest/annotation/RestResource.html#line.767">pageText</a></pre>
+<pre>public abstract <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/rest/annotation/RestResource.html#line.799">pageText</a></pre>
<div class="block">Specifies the page text to use on the HTML view of all pages produced by this resource.
<p>
The page text is portion of the page immediately under the title and above the links.
@@ -1464,7 +1514,7 @@ public @interface <a href="../../../../../src-html/org/apache/juneau/rest/annota
<ul class="blockListLast">
<li class="blockList">
<h4>pageLinks</h4>
-<pre>public abstract <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/rest/annotation/RestResource.html#line.797">pageLinks</a></pre>
+<pre>public abstract <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/rest/annotation/RestResource.html#line.829">pageLinks</a></pre>
<div class="block">Specifies the page hyperlinks to use on the HTML view of all pages produced by this resource.
<p>
The page links is positioned immediately under the title and text.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/rest/package-frame.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/package-frame.html b/content/site/apidocs/org/apache/juneau/rest/package-frame.html
index 766f982..dc20b30 100644
--- a/content/site/apidocs/org/apache/juneau/rest/package-frame.html
+++ b/content/site/apidocs/org/apache/juneau/rest/package-frame.html
@@ -22,6 +22,11 @@
<li><a href="ReaderResource.html" title="class in org.apache.juneau.rest" target="classFrame">ReaderResource</a></li>
<li><a href="ReaderResource.Builder.html" title="class in org.apache.juneau.rest" target="classFrame">ReaderResource.Builder</a></li>
<li><a href="Redirect.html" title="class in org.apache.juneau.rest" target="classFrame">Redirect</a></li>
+<li><a href="RequestBody.html" title="class in org.apache.juneau.rest" target="classFrame">RequestBody</a></li>
+<li><a href="RequestFormData.html" title="class in org.apache.juneau.rest" target="classFrame">RequestFormData</a></li>
+<li><a href="RequestHeaders.html" title="class in org.apache.juneau.rest" target="classFrame">RequestHeaders</a></li>
+<li><a href="RequestPathParams.html" title="class in org.apache.juneau.rest" target="classFrame">RequestPathParams</a></li>
+<li><a href="RequestQuery.html" title="class in org.apache.juneau.rest" target="classFrame">RequestQuery</a></li>
<li><a href="RestCallHandler.html" title="class in org.apache.juneau.rest" target="classFrame">RestCallHandler</a></li>
<li><a href="RestConfig.html" title="class in org.apache.juneau.rest" target="classFrame">RestConfig</a></li>
<li><a href="RestContext.html" title="class in org.apache.juneau.rest" target="classFrame">RestContext</a></li>
@@ -32,6 +37,7 @@
<li><a href="RestLogger.Normal.html" title="class in org.apache.juneau.rest" target="classFrame">RestLogger.Normal</a></li>
<li><a href="RestMatcher.html" title="class in org.apache.juneau.rest" target="classFrame">RestMatcher</a></li>
<li><a href="RestMatcherReflecting.html" title="class in org.apache.juneau.rest" target="classFrame">RestMatcherReflecting</a></li>
+<li><a href="RestParam.html" title="class in org.apache.juneau.rest" target="classFrame">RestParam</a></li>
<li><a href="RestRequest.html" title="class in org.apache.juneau.rest" target="classFrame">RestRequest</a></li>
<li><a href="RestResourceResolver.html" title="class in org.apache.juneau.rest" target="classFrame">RestResourceResolver</a></li>
<li><a href="RestResourceResolver.DEFAULT.html" title="class in org.apache.juneau.rest" target="classFrame">RestResourceResolver.DEFAULT</a></li>
@@ -44,6 +50,10 @@
<li><a href="StreamResource.Builder.html" title="class in org.apache.juneau.rest" target="classFrame">StreamResource.Builder</a></li>
<li><a href="UrlPathPattern.html" title="class in org.apache.juneau.rest" target="classFrame">UrlPathPattern</a></li>
</ul>
+<h2 title="Enums">Enums</h2>
+<ul title="Enums">
+<li><a href="RestParamType.html" title="enum in org.apache.juneau.rest" target="classFrame">RestParamType</a></li>
+</ul>
<h2 title="Exceptions">Exceptions</h2>
<ul title="Exceptions">
<li><a href="RestException.html" title="class in org.apache.juneau.rest" target="classFrame">RestException</a></li>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/rest/package-summary.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/package-summary.html b/content/site/apidocs/org/apache/juneau/rest/package-summary.html
index cda0577..52b93b7 100644
--- a/content/site/apidocs/org/apache/juneau/rest/package-summary.html
+++ b/content/site/apidocs/org/apache/juneau/rest/package-summary.html
@@ -134,65 +134,101 @@
</td>
</tr>
<tr class="altColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/rest/RequestBody.html" title="class in org.apache.juneau.rest">RequestBody</a></td>
+<td class="colLast">
+<div class="block">Contains the body of the HTTP request.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/rest/RequestFormData.html" title="class in org.apache.juneau.rest">RequestFormData</a></td>
+<td class="colLast">
+<div class="block">Represents the parsed form data parameters in an HTTP request.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/rest/RequestHeaders.html" title="class in org.apache.juneau.rest">RequestHeaders</a></td>
+<td class="colLast">
+<div class="block">Represents the headers in an HTTP request.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/rest/RequestPathParams.html" title="class in org.apache.juneau.rest">RequestPathParams</a></td>
+<td class="colLast">
+<div class="block">Represents the path parameters on an HTTP request.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/rest/RequestQuery.html" title="class in org.apache.juneau.rest">RequestQuery</a></td>
+<td class="colLast">
+<div class="block">Represents the query parameters in an HTTP request.</div>
+</td>
+</tr>
+<tr class="rowColor">
<td class="colFirst"><a href="../../../../org/apache/juneau/rest/RestCallHandler.html" title="class in org.apache.juneau.rest">RestCallHandler</a></td>
<td class="colLast">
<div class="block">Class that handles the basic lifecycle of an HTTP REST call.</div>
</td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a></td>
<td class="colLast">
<div class="block">Defines the initial configuration of a <code>RestServlet</code> or <code>@RestResource</code> annotated object.</div>
</td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><a href="../../../../org/apache/juneau/rest/RestContext.html" title="class in org.apache.juneau.rest">RestContext</a></td>
<td class="colLast">
<div class="block">Contains all the configuration on a REST resource and the entry points for handling REST calls.</div>
</td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><a href="../../../../org/apache/juneau/rest/RestGuard.html" title="class in org.apache.juneau.rest">RestGuard</a></td>
<td class="colLast">
<div class="block">REST method guard.</div>
</td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><a href="../../../../org/apache/juneau/rest/RestInfoProvider.html" title="class in org.apache.juneau.rest">RestInfoProvider</a></td>
<td class="colLast">
<div class="block">Class that provides documentation and other related information about a REST resource.</div>
</td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><a href="../../../../org/apache/juneau/rest/RestLogger.html" title="class in org.apache.juneau.rest">RestLogger</a></td>
<td class="colLast">
<div class="block">Logging utility class.</div>
</td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><a href="../../../../org/apache/juneau/rest/RestLogger.NoOp.html" title="class in org.apache.juneau.rest">RestLogger.NoOp</a></td>
<td class="colLast">
<div class="block">NO-OP logger.</div>
</td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><a href="../../../../org/apache/juneau/rest/RestLogger.Normal.html" title="class in org.apache.juneau.rest">RestLogger.Normal</a></td>
<td class="colLast">
<div class="block">Default logger.</div>
</td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><a href="../../../../org/apache/juneau/rest/RestMatcher.html" title="class in org.apache.juneau.rest">RestMatcher</a></td>
<td class="colLast">
<div class="block">Class used for defining method-level matchers using the <a href="../../../../org/apache/juneau/rest/annotation/RestMethod.html#matchers--"><code>RestMethod.matchers()</code></a> annotation.</div>
</td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><a href="../../../../org/apache/juneau/rest/RestMatcherReflecting.html" title="class in org.apache.juneau.rest">RestMatcherReflecting</a></td>
<td class="colLast">
<div class="block">Subclass of <a href="../../../../org/apache/juneau/rest/RestMatcher.html" title="class in org.apache.juneau.rest"><code>RestMatcher</code></a> that gives access to the servlet/resource and Java method it's applied to.</div>
</td>
</tr>
+<tr class="rowColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/rest/RestParam.html" title="class in org.apache.juneau.rest">RestParam</a></td>
+<td class="colLast">
+<div class="block">REST java method parameter resolver.</div>
+</td>
+</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest">RestRequest</a></td>
<td class="colLast">
@@ -263,6 +299,23 @@
</table>
</li>
<li class="blockList">
+<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Summary table, listing enums, and an explanation">
+<caption><span>Enum Summary</span><span class="tabEnd"> </span></caption>
+<tr>
+<th class="colFirst" scope="col">Enum</th>
+<th class="colLast" scope="col">Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/rest/RestParamType.html" title="enum in org.apache.juneau.rest">RestParamType</a></td>
+<td class="colLast">
+<div class="block">Represents the possible parameter types as defined by the Swagger 2.0 specification.</div>
+</td>
+</tr>
+</tbody>
+</table>
+</li>
+<li class="blockList">
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Exception Summary table, listing exceptions, and an explanation">
<caption><span>Exception Summary</span><span class="tabEnd"> </span></caption>
<tr>
@@ -833,13 +886,78 @@
<ul class='spaced-list'>
<li>Parameters of the following class types:
<ul>
- <li><a href="../../../../org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest"><code>RestRequest</code></a> - The request object.
- <li><a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletRequest.html?is-external=true" title="class or interface in javax.servlet.http"><code>HttpServletRequest</code></a> - The superclass of <code>RestRequest</code>.
- <li><a href="../../../../org/apache/juneau/rest/RestResponse.html" title="class in org.apache.juneau.rest"><code>RestResponse</code></a> - The response object.
- <li><a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletResponse.html?is-external=true" title="class or interface in javax.servlet.http"><code>HttpServletResponse</code></a> - The superclass of <code>RestResponse</code>.
- <li><a href="../../../../org/apache/juneau/http/Accept.html" title="class in org.apache.juneau.http"><code>Accept</code></a> - The parsed <code>Accept</code> header.
- <li><a href="../../../../org/apache/juneau/http/AcceptEncoding.html" title="class in org.apache.juneau.http"><code>AcceptEncoding</code></a> - The parsed <code>Accept-Encoding</code> header.
- <li><a href="../../../../org/apache/juneau/http/ContentType.html" title="class in org.apache.juneau.http"><code>ContentType</code></a> - The parsed <code>Content-Type</code> header.
+ <li>Request/response objects:
+ <ul>
+ <li><a href="../../../../org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest"><code>RestRequest</code></a> - The request object.
+ <li><a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletRequest.html?is-external=true" title="class or interface in javax.servlet.http"><code>HttpServletRequest</code></a> - The superclass of <code>RestRequest</code>.
+ <li><a href="../../../../org/apache/juneau/rest/RestResponse.html" title="class in org.apache.juneau.rest"><code>RestResponse</code></a> - The response object.
+ <li><a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletResponse.html?is-external=true" title="class or interface in javax.servlet.http"><code>HttpServletResponse</code></a> - The superclass of <code>RestResponse</code>.
+ </ul>
+ <li>Parsed request header values:
+ <ul>
+ <li><a href="../../../../org/apache/juneau/http/Accept.html" title="class in org.apache.juneau.http"><code>Accept</code></a>
+ <li><a href="../../../../org/apache/juneau/http/AcceptCharset.html" title="class in org.apache.juneau.http"><code>AcceptCharset</code></a>
+ <li><a href="../../../../org/apache/juneau/http/AcceptEncoding.html" title="class in org.apache.juneau.http"><code>AcceptEncoding</code></a>
+ <li><a href="../../../../org/apache/juneau/http/AcceptLanguage.html" title="class in org.apache.juneau.http"><code>AcceptLanguage</code></a>
+ <li><a href="../../../../org/apache/juneau/http/Authorization.html" title="class in org.apache.juneau.http"><code>Authorization</code></a>
+ <li><a href="../../../../org/apache/juneau/http/CacheControl.html" title="class in org.apache.juneau.http"><code>CacheControl</code></a>
+ <li><a href="../../../../org/apache/juneau/http/Connection.html" title="class in org.apache.juneau.http"><code>Connection</code></a>
+ <li><a href="../../../../org/apache/juneau/http/ContentLength.html" title="class in org.apache.juneau.http"><code>ContentLength</code></a>
+ <li><a href="../../../../org/apache/juneau/http/ContentType.html" title="class in org.apache.juneau.http"><code>ContentType</code></a>
+ <li><a href="../../../../org/apache/juneau/http/Date.html" title="class in org.apache.juneau.http"><code>Date</code></a>
+ <li><a href="../../../../org/apache/juneau/http/Expect.html" title="class in org.apache.juneau.http"><code>Expect</code></a>
+ <li><a href="../../../../org/apache/juneau/http/From.html" title="class in org.apache.juneau.http"><code>From</code></a>
+ <li><a href="../../../../org/apache/juneau/http/Host.html" title="class in org.apache.juneau.http"><code>Host</code></a>
+ <li><a href="../../../../org/apache/juneau/http/IfMatch.html" title="class in org.apache.juneau.http"><code>IfMatch</code></a>
+ <li><a href="../../../../org/apache/juneau/http/IfModifiedSince.html" title="class in org.apache.juneau.http"><code>IfModifiedSince</code></a>
+ <li><a href="../../../../org/apache/juneau/http/IfNoneMatch.html" title="class in org.apache.juneau.http"><code>IfNoneMatch</code></a>
+ <li><a href="../../../../org/apache/juneau/http/IfRange.html" title="class in org.apache.juneau.http"><code>IfRange</code></a>
+ <li><a href="../../../../org/apache/juneau/http/IfUnmodifiedSince.html" title="class in org.apache.juneau.http"><code>IfUnmodifiedSince</code></a>
+ <li><a href="../../../../org/apache/juneau/http/MaxForwards.html" title="class in org.apache.juneau.http"><code>MaxForwards</code></a>
+ <li><a href="../../../../org/apache/juneau/http/Pragma.html" title="class in org.apache.juneau.http"><code>Pragma</code></a>
+ <li><a href="../../../../org/apache/juneau/http/ProxyAuthorization.html" title="class in org.apache.juneau.http"><code>ProxyAuthorization</code></a>
+ <li><a href="../../../../org/apache/juneau/http/Range.html" title="class in org.apache.juneau.http"><code>Range</code></a>
+ <li><a href="../../../../org/apache/juneau/http/Referer.html" title="class in org.apache.juneau.http"><code>Referer</code></a>
+ <li><a href="../../../../org/apache/juneau/http/TE.html" title="class in org.apache.juneau.http"><code>TE</code></a>
+ <li><a href="../../../../org/apache/juneau/http/UserAgent.html" title="class in org.apache.juneau.http"><code>UserAgent</code></a>
+ <li><a href="../../../../org/apache/juneau/http/Upgrade.html" title="class in org.apache.juneau.http"><code>Upgrade</code></a>
+ <li><a href="../../../../org/apache/juneau/http/Via.html" title="class in org.apache.juneau.http"><code>Via</code></a>
+ <li><a href="../../../../org/apache/juneau/http/Warning.html" title="class in org.apache.juneau.http"><code>Warning</code></a>
+ <li><a href="http://docs.oracle.com/javase/7/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util"><code>TimeZone</code></a>
+ </ul>
+ <li>Direct streams on request/response:
+ <ul>
+ <li><a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a>
+ <li><a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletInputStream.html?is-external=true" title="class or interface in javax.servlet"><code>ServletInputStream</code></a>
+ <li><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io"><code>Reader</code></a>
+ <li><a href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io"><code>OutputStream</code></a>
+ <li><a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletOutputStream.html?is-external=true" title="class or interface in javax.servlet"><code>ServletOutputStream</code></a>
+ <li><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io"><code>Writer</code></a>
+ </ul>
+ <li>Localization:
+ <ul>
+ <li><a href="http://docs.oracle.com/javase/7/docs/api/java/util/ResourceBundle.html?is-external=true" title="class or interface in java.util"><code>ResourceBundle</code></a> - Client-localized resource bundle.
+ <li><a href="../../../../org/apache/juneau/utils/MessageBundle.html" title="class in org.apache.juneau.utils"><code>MessageBundle</code></a> - A resource bundle with additional features.
+ <li><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util"><code>Locale</code></a> - Client locale.
+ </ul>
+ <li>Request APIs:
+ <ul>
+ <li><a href="../../../../org/apache/juneau/rest/RequestHeaders.html" title="class in org.apache.juneau.rest"><code>RequestHeaders</code></a> - API for accessing request headers.
+ <li><a href="../../../../org/apache/juneau/rest/RequestQuery.html" title="class in org.apache.juneau.rest"><code>RequestQuery</code></a> - API for accessing request query parameters.
+ <li><a href="../../../../org/apache/juneau/rest/RequestFormData.html" title="class in org.apache.juneau.rest"><code>RequestFormData</code></a> - API for accessing request form data.
+ <li><a href="../../../../org/apache/juneau/rest/RequestPathParams.html" title="class in org.apache.juneau.rest"><code>RequestPathParams</code></a> - API for accessing path variables.
+ <li><a href="../../../../org/apache/juneau/rest/RequestBody.html" title="class in org.apache.juneau.rest"><code>RequestBody</code></a> - API for accessing request body.
+ </ul>
+ <li>Other:
+ <ul>
+ <li><a href="../../../../org/apache/juneau/http/HttpMethod.html" title="enum in org.apache.juneau.http"><code>HttpMethod</code></a> - The method name matched (when using <code><ja>@RestMethod</ja>(name=<js>"*"</js>)</code>)
+ <li><a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Logger.html?is-external=true" title="class or interface in java.util.logging"><code>Logger</code></a> - The logger to use for logging.
+ <li><a href="../../../../org/apache/juneau/internal/JuneauLogger.html" title="class in org.apache.juneau.internal"><code>JuneauLogger</code></a> - Logger with additional features.
+ <li><a href="../../../../org/apache/juneau/rest/RestContext.html" title="class in org.apache.juneau.rest"><code>RestContext</code></a> - The resource read-only context.
+ <li><a href="../../../../org/apache/juneau/parser/Parser.html" title="class in org.apache.juneau.parser"><code>Parser</code></a> - The parser matching the request content type.
+ <li><a href="../../../../org/apache/juneau/dto/swagger/Swagger.html" title="class in org.apache.juneau.dto.swagger"><code>Swagger</code></a> - The auto-generated Swagger doc.
+ <li><a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini"><code>ConfigFile</code></a> - The external config file for the resource.
+ </ul>
</ul>
<li>Annotated parameters:
<ul>
@@ -895,21 +1013,8 @@
}
</p>
<p>
- All annotations have programmatic equivalents on the <a href="../../../../org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest"><code>RestRequest</code></a> class:
+ All annotations have programmatic equivalents on the <a href="../../../../org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest"><code>RestRequest</code></a> class.
</p>
- <ul class='javahierarchy'>
- <li class='m'><a href="../../../../org/apache/juneau/rest/RestRequest.html#getPathParameter-java.lang.String-java.lang.Class-"><code>RestRequest.getPathParameter(String,Class)</code></a>
- <li class='m'><a href="../../../../org/apache/juneau/rest/RestRequest.html#getFormDataParameter-java.lang.String-java.lang.Class-"><code>RestRequest.getFormDataParameter(String,Class)</code></a>
- <li class='m'><a href="../../../../org/apache/juneau/rest/RestRequest.html#hasFormDataParameter-java.lang.String-"><code>RestRequest.hasFormDataParameter(String)</code></a>
- <li class='m'><a href="../../../../org/apache/juneau/rest/RestRequest.html#getQueryParameter-java.lang.String-java.lang.Class-"><code>RestRequest.getQueryParameter(String,Class)</code></a>
- <li class='m'><a href="../../../../org/apache/juneau/rest/RestRequest.html#hasQueryParameter-java.lang.String-"><code>RestRequest.hasQueryParameter(String)</code></a>
- <li class='m'><a href="../../../../org/apache/juneau/rest/RestRequest.html#getBody-java.lang.Class-"><code>RestRequest.getBody(Class)</code></a>
- <li class='m'><a href="../../../../org/apache/juneau/rest/RestRequest.html#getHeader-java.lang.String-java.lang.Class-"><code>RestRequest.getHeader(String,Class)</code></a>
- <li class='m'><a href="../../../../org/apache/juneau/rest/RestRequest.html#getMethod--"><code>RestRequest.getMethod()</code></a>
- <li class='m'><a href="../../../../org/apache/juneau/rest/RestRequest.html#getPathRemainder--"><code>RestRequest.getPathRemainder()</code></a>
- <li class='m'><a href="../../../../org/apache/juneau/rest/RestRequest.html#getMessage-java.lang.String-java.lang.Object...-"><code>RestRequest.getMessage(String,Object[])</code></a>
- <li class='m'><a href="../../../../org/apache/juneau/rest/RestRequest.html#getProperties--"><code>RestRequest.getProperties()</code></a>
- </ul>
<!-- ======================================================================================================== -->
<a id="RestResources.MethodSignature.Path"></a>
@@ -1074,7 +1179,7 @@
</p>
<p>
The HTTP body of a request can be retrieved as a parsed POJO using either the
- <a href="../../../../org/apache/juneau/rest/RestRequest.html#getBody-java.lang.Class-"><code>RestRequest.getBody(Class)</code></a> method, or a parameter
+ <a href="../../../../org/apache/juneau/rest/RestRequest.html#getBody--"><code>RestRequest.getBody()</code></a> method, or a parameter
annotated with <a href="../../../../org/apache/juneau/rest/annotation/Body.html" title="annotation in org.apache.juneau.rest.annotation"><code>@Body</code></a>.
</p>
<p class='bcode'>
@@ -1087,7 +1192,7 @@
<jc>// Equivalent method 2</jc>
<ja>@RestMethod</ja>(name=<js>"POST"</js>, path=<js>"/example2"</js>)
<jk>public void</jk> doPost2(RestRequest req) {
- Person p = req.getBody(Person.<jk>class</jk>);
+ Person p = req.getBody).asType(Person.<jk>class</jk>);
<jc>// Do something with p.</jc>
}
</p>
@@ -1150,7 +1255,7 @@
cause the underlying JEE servlet to parse the HTTP body as a form post.
Your input bean will end up being null since there won't be any content left
after the servlet has parsed the body of the request.
- This applies to WHENEVER you use <l>@Body</l> or <a href="../../../../org/apache/juneau/rest/RestRequest.html#getBody-java.lang.Class-"><code>RestRequest.getBody(Class)</code></a>.
+ This applies to WHENEVER you use <l>@Body</l> or <a href="../../../../org/apache/juneau/rest/RestRequest.html#getBody--"><code>RestRequest.getBody()</code></a>.
</p>
</div>
@@ -2290,14 +2395,14 @@
<ul>
<li><ck>$R{attribute.X}</ck> - Value returned by <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletRequestWrapper.html?is-external=true#getAttribute-java.lang.String-" title="class or interface in javax.servlet"><code>ServletRequestWrapper.getAttribute(String)</code></a> converted to a string.
<li><ck>$R{contextPath}</ck> - Value returned by <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletRequestWrapper.html?is-external=true#getContextPath--" title="class or interface in javax.servlet.http"><code>HttpServletRequestWrapper.getContextPath()</code></a>.
- <li><ck>$R{formData.X}</ck> - Value returned by <a href="../../../../org/apache/juneau/rest/RestRequest.html#getFormDataParameter-java.lang.String-"><code>RestRequest.getFormDataParameter(String)</code></a>.
+ <li><ck>$R{formData.X}</ck> - Value returned by <a href="../../../../org/apache/juneau/rest/RestRequest.html#getFormData-java.lang.String-"><code>RestRequest.getFormData(String)</code></a>.
<li><ck>$R{header.X}</ck> - Value returned by <a href="../../../../org/apache/juneau/rest/RestRequest.html#getHeader-java.lang.String-"><code>RestRequest.getHeader(String)</code></a>.
<li><ck>$R{method}</ck> - Value returned by <a href="../../../../org/apache/juneau/rest/RestRequest.html#getMethod--"><code>RestRequest.getMethod()</code></a>.
<li><ck>$R{methodSummary}</ck> - Value returned by <a href="../../../../org/apache/juneau/rest/RestRequest.html#getMethodSummary--"><code>RestRequest.getMethodSummary()</code></a>.
<li><ck>$R{methodDescription}</ck> - Value returned by <a href="../../../../org/apache/juneau/rest/RestRequest.html#getMethodDescription--"><code>RestRequest.getMethodDescription()</code></a>.
<li><ck>$R{path.X}</ck> - Value returned by <a href="../../../../org/apache/juneau/rest/RestRequest.html#getPathParameter-java.lang.String-"><code>RestRequest.getPathParameter(String)</code></a>.
<li><ck>$R{pathInfo}</ck> - Value returned by <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletRequestWrapper.html?is-external=true#getPathInfo--" title="class or interface in javax.servlet.http"><code>HttpServletRequestWrapper.getPathInfo()</code></a>.
- <li><ck>$R{query.X}</ck> - Value returned by <a href="../../../../org/apache/juneau/rest/RestRequest.html#getQueryParameter-java.lang.String-"><code>RestRequest.getQueryParameter(String)</code></a>.
+ <li><ck>$R{query.X}</ck> - Value returned by <a href="../../../../org/apache/juneau/rest/RestRequest.html#getQuery-java.lang.String-"><code>RestRequest.getQuery(String)</code></a>.
<li><ck>$R{requestParentURI}</ck> - Value returned by <a href="../../../../org/apache/juneau/rest/RestRequest.html#getRequestParentURI--"><code>RestRequest.getRequestParentURI()</code></a>.
<li><ck>$R{requestURI}</ck> - Value returned by <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletRequestWrapper.html?is-external=true#getRequestURI--" title="class or interface in javax.servlet.http"><code>HttpServletRequestWrapper.getRequestURI()</code></a>.
<li><ck>$R{servletDescription}</ck> - Value returned by <a href="../../../../org/apache/juneau/rest/RestRequest.html#getServletDescription--"><code>RestRequest.getServletDescription()</code></a>.
@@ -3368,7 +3473,7 @@
<div class='topic'>
<p>
Certain methods in the REST server API allow you to specify class types that can be convertable
- from <l>Strings</l> (e.g. <a href="../../../../org/apache/juneau/rest/RestRequest.html#getPathParameter-java.lang.String-java.lang.Class-"><code>RestRequest.getPathParameter(String,Class)</code></a>).
+ from <l>Strings</l> (e.g. <a href="../../../../org/apache/juneau/rest/RestRequest.html#getPathParameter-java.lang.String-"><code>RestRequest.getPathParameter(String)</code></a>).
</p>
<p>
POJOs convertable from <l>Strings</l> have one of the following:
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/rest/package-tree.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/package-tree.html b/content/site/apidocs/org/apache/juneau/rest/package-tree.html
index 53941e8..d15eee9 100644
--- a/content/site/apidocs/org/apache/juneau/rest/package-tree.html
+++ b/content/site/apidocs/org/apache/juneau/rest/package-tree.html
@@ -80,6 +80,26 @@
<ul>
<li type="circle">java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Object</span></a>
<ul>
+<li type="circle">java.util.<a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.html?is-external=true" title="class or interface in java.util"><span class="typeNameLink">AbstractMap</span></a><K,V> (implements java.util.<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><K,V>)
+<ul>
+<li type="circle">java.util.<a href="http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util"><span class="typeNameLink">HashMap</span></a><K,V> (implements java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</a>, java.util.<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><K,V>, java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>)
+<ul>
+<li type="circle">java.util.<a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMap.html?is-external=true" title="class or interface in java.util"><span class="typeNameLink">LinkedHashMap</span></a><K,V> (implements java.util.<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><K,V>)
+<ul>
+<li type="circle">org.apache.juneau.rest.<a href="../../../../org/apache/juneau/rest/RequestFormData.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">RequestFormData</span></a></li>
+<li type="circle">org.apache.juneau.rest.<a href="../../../../org/apache/juneau/rest/RequestQuery.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">RequestQuery</span></a></li>
+</ul>
+</li>
+</ul>
+</li>
+<li type="circle">java.util.<a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true" title="class or interface in java.util"><span class="typeNameLink">TreeMap</span></a><K,V> (implements java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</a>, java.util.<a href="http://docs.oracle.com/javase/7/docs/api/java/util/NavigableMap.html?is-external=true" title="class or interface in java.util">NavigableMap</a><K,V>, java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>)
+<ul>
+<li type="circle">org.apache.juneau.rest.<a href="../../../../org/apache/juneau/rest/RequestHeaders.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">RequestHeaders</span></a></li>
+<li type="circle">org.apache.juneau.rest.<a href="../../../../org/apache/juneau/rest/RequestPathParams.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">RequestPathParams</span></a></li>
+</ul>
+</li>
+</ul>
+</li>
<li type="circle">org.apache.juneau.<a href="../../../../org/apache/juneau/Context.html" title="class in org.apache.juneau"><span class="typeNameLink">Context</span></a>
<ul>
<li type="circle">org.apache.juneau.rest.<a href="../../../../org/apache/juneau/rest/RestContext.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">RestContext</span></a></li>
@@ -105,6 +125,7 @@
<li type="circle">org.apache.juneau.rest.<a href="../../../../org/apache/juneau/rest/ReaderResource.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">ReaderResource</span></a> (implements org.apache.juneau.<a href="../../../../org/apache/juneau/Writable.html" title="interface in org.apache.juneau">Writable</a>)</li>
<li type="circle">org.apache.juneau.rest.<a href="../../../../org/apache/juneau/rest/ReaderResource.Builder.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">ReaderResource.Builder</span></a></li>
<li type="circle">org.apache.juneau.rest.<a href="../../../../org/apache/juneau/rest/Redirect.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">Redirect</span></a></li>
+<li type="circle">org.apache.juneau.rest.<a href="../../../../org/apache/juneau/rest/RequestBody.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">RequestBody</span></a></li>
<li type="circle">org.apache.juneau.rest.<a href="../../../../org/apache/juneau/rest/RestCallHandler.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">RestCallHandler</span></a></li>
<li type="circle">org.apache.juneau.rest.<a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">RestConfig</span></a> (implements javax.servlet.<a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletConfig.html?is-external=true" title="class or interface in javax.servlet">ServletConfig</a>)</li>
<li type="circle">org.apache.juneau.rest.<a href="../../../../org/apache/juneau/rest/RestGuard.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">RestGuard</span></a></li>
@@ -121,6 +142,7 @@
<li type="circle">org.apache.juneau.rest.<a href="../../../../org/apache/juneau/rest/RestMatcherReflecting.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">RestMatcherReflecting</span></a></li>
</ul>
</li>
+<li type="circle">org.apache.juneau.rest.<a href="../../../../org/apache/juneau/rest/RestParam.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">RestParam</span></a></li>
<li type="circle">org.apache.juneau.rest.<a href="../../../../org/apache/juneau/rest/RestResourceResolver.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">RestResourceResolver</span></a>
<ul>
<li type="circle">org.apache.juneau.rest.<a href="../../../../org/apache/juneau/rest/RestResourceResolver.DEFAULT.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">RestResourceResolver.DEFAULT</span></a></li>
@@ -174,6 +196,18 @@
<li type="circle">org.apache.juneau.rest.<a href="../../../../org/apache/juneau/rest/ResponseHandler.html" title="interface in org.apache.juneau.rest"><span class="typeNameLink">ResponseHandler</span></a></li>
<li type="circle">org.apache.juneau.rest.<a href="../../../../org/apache/juneau/rest/RestConverter.html" title="interface in org.apache.juneau.rest"><span class="typeNameLink">RestConverter</span></a></li>
</ul>
+<h2 title="Enum Hierarchy">Enum Hierarchy</h2>
+<ul>
+<li type="circle">java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Object</span></a>
+<ul>
+<li type="circle">java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a><E> (implements java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>, java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>)
+<ul>
+<li type="circle">org.apache.juneau.rest.<a href="../../../../org/apache/juneau/rest/RestParamType.html" title="enum in org.apache.juneau.rest"><span class="typeNameLink">RestParamType</span></a></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
[13/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/internal/ClassUtils.MethodInfo.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/internal/ClassUtils.MethodInfo.html b/content/site/apidocs/src-html/org/apache/juneau/internal/ClassUtils.MethodInfo.html
index 8380ab1..e983a73 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/internal/ClassUtils.MethodInfo.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/internal/ClassUtils.MethodInfo.html
@@ -153,527 +153,540 @@
<span class="sourceLineNo">145</span> }<a name="line.145"></a>
<span class="sourceLineNo">146</span><a name="line.146"></a>
<span class="sourceLineNo">147</span> /**<a name="line.147"></a>
-<span class="sourceLineNo">148</span> * Comparator for use with {@link TreeMap TreeMaps} with {@link Class} keys.<a name="line.148"></a>
-<span class="sourceLineNo">149</span> */<a name="line.149"></a>
-<span class="sourceLineNo">150</span> public final static class ClassComparator implements Comparator<Class<?>>, Serializable {<a name="line.150"></a>
-<span class="sourceLineNo">151</span><a name="line.151"></a>
-<span class="sourceLineNo">152</span> private static final long serialVersionUID = 1L;<a name="line.152"></a>
-<span class="sourceLineNo">153</span><a name="line.153"></a>
-<span class="sourceLineNo">154</span> @Override /* Comparator */<a name="line.154"></a>
-<span class="sourceLineNo">155</span> public int compare(Class<?> object1, Class<?> object2) {<a name="line.155"></a>
-<span class="sourceLineNo">156</span> return object1.getName().compareTo(object2.getName());<a name="line.156"></a>
-<span class="sourceLineNo">157</span> }<a name="line.157"></a>
+<span class="sourceLineNo">148</span> * Returns <jk>true</jk> if <code>parent</code> is a parent class or the same as <code>child</code>.<a name="line.148"></a>
+<span class="sourceLineNo">149</span> *<a name="line.149"></a>
+<span class="sourceLineNo">150</span> * @param parent The parent class.<a name="line.150"></a>
+<span class="sourceLineNo">151</span> * @param child The child class.<a name="line.151"></a>
+<span class="sourceLineNo">152</span> * @return <jk>true</jk> if <code>parent</code> is a parent class or the same as <code>child</code>.<a name="line.152"></a>
+<span class="sourceLineNo">153</span> */<a name="line.153"></a>
+<span class="sourceLineNo">154</span> public static boolean isParentClass(Class<?> parent, Type child) {<a name="line.154"></a>
+<span class="sourceLineNo">155</span> if (child instanceof Class)<a name="line.155"></a>
+<span class="sourceLineNo">156</span> return isParentClass(parent, (Class<?>)child);<a name="line.156"></a>
+<span class="sourceLineNo">157</span> return false;<a name="line.157"></a>
<span class="sourceLineNo">158</span> }<a name="line.158"></a>
<span class="sourceLineNo">159</span><a name="line.159"></a>
<span class="sourceLineNo">160</span> /**<a name="line.160"></a>
-<span class="sourceLineNo">161</span> * Returns the signature of the specified method.<a name="line.161"></a>
-<span class="sourceLineNo">162</span> * For no-arg methods, the signature will be a simple string such as <js>"toString"</js>.<a name="line.162"></a>
-<span class="sourceLineNo">163</span> * For methods with one or more args, the arguments will be fully-qualified class names (e.g. <js>"append(java.util.StringBuilder,boolean)"</js>)<a name="line.163"></a>
-<span class="sourceLineNo">164</span> *<a name="line.164"></a>
-<span class="sourceLineNo">165</span> * @param m The methods to get the signature on.<a name="line.165"></a>
-<span class="sourceLineNo">166</span> * @return The methods signature.<a name="line.166"></a>
-<span class="sourceLineNo">167</span> */<a name="line.167"></a>
-<span class="sourceLineNo">168</span> public static String getMethodSignature(Method m) {<a name="line.168"></a>
-<span class="sourceLineNo">169</span> StringBuilder sb = new StringBuilder(m.getName());<a name="line.169"></a>
-<span class="sourceLineNo">170</span> Class<?>[] pt = m.getParameterTypes();<a name="line.170"></a>
-<span class="sourceLineNo">171</span> if (pt.length > 0) {<a name="line.171"></a>
-<span class="sourceLineNo">172</span> sb.append('(');<a name="line.172"></a>
-<span class="sourceLineNo">173</span> for (int i = 0; i < pt.length; i++) {<a name="line.173"></a>
-<span class="sourceLineNo">174</span> if (i > 0)<a name="line.174"></a>
-<span class="sourceLineNo">175</span> sb.append(',');<a name="line.175"></a>
-<span class="sourceLineNo">176</span> sb.append(getReadableClassName(pt[i]));<a name="line.176"></a>
-<span class="sourceLineNo">177</span> }<a name="line.177"></a>
-<span class="sourceLineNo">178</span> sb.append(')');<a name="line.178"></a>
-<span class="sourceLineNo">179</span> }<a name="line.179"></a>
-<span class="sourceLineNo">180</span> return sb.toString();<a name="line.180"></a>
-<span class="sourceLineNo">181</span> }<a name="line.181"></a>
-<span class="sourceLineNo">182</span><a name="line.182"></a>
-<span class="sourceLineNo">183</span> private final static Map<Class<?>, Class<?>> pmap1 = new HashMap<Class<?>, Class<?>>(), pmap2 = new HashMap<Class<?>, Class<?>>();<a name="line.183"></a>
-<span class="sourceLineNo">184</span> static {<a name="line.184"></a>
-<span class="sourceLineNo">185</span> pmap1.put(boolean.class, Boolean.class);<a name="line.185"></a>
-<span class="sourceLineNo">186</span> pmap1.put(byte.class, Byte.class);<a name="line.186"></a>
-<span class="sourceLineNo">187</span> pmap1.put(short.class, Short.class);<a name="line.187"></a>
-<span class="sourceLineNo">188</span> pmap1.put(char.class, Character.class);<a name="line.188"></a>
-<span class="sourceLineNo">189</span> pmap1.put(int.class, Integer.class);<a name="line.189"></a>
-<span class="sourceLineNo">190</span> pmap1.put(long.class, Long.class);<a name="line.190"></a>
-<span class="sourceLineNo">191</span> pmap1.put(float.class, Float.class);<a name="line.191"></a>
-<span class="sourceLineNo">192</span> pmap1.put(double.class, Double.class);<a name="line.192"></a>
-<span class="sourceLineNo">193</span> pmap2.put(Boolean.class, boolean.class);<a name="line.193"></a>
-<span class="sourceLineNo">194</span> pmap2.put(Byte.class, byte.class);<a name="line.194"></a>
-<span class="sourceLineNo">195</span> pmap2.put(Short.class, short.class);<a name="line.195"></a>
-<span class="sourceLineNo">196</span> pmap2.put(Character.class, char.class);<a name="line.196"></a>
-<span class="sourceLineNo">197</span> pmap2.put(Integer.class, int.class);<a name="line.197"></a>
-<span class="sourceLineNo">198</span> pmap2.put(Long.class, long.class);<a name="line.198"></a>
-<span class="sourceLineNo">199</span> pmap2.put(Float.class, float.class);<a name="line.199"></a>
-<span class="sourceLineNo">200</span> pmap2.put(Double.class, double.class);<a name="line.200"></a>
-<span class="sourceLineNo">201</span> }<a name="line.201"></a>
-<span class="sourceLineNo">202</span><a name="line.202"></a>
-<span class="sourceLineNo">203</span> /**<a name="line.203"></a>
-<span class="sourceLineNo">204</span> * If the specified class is a primitive (e.g. <code><jk>int</jk>.<jk>class</jk></code>)<a name="line.204"></a>
-<span class="sourceLineNo">205</span> * returns it's wrapper class (e.g. <code>Integer.<jk>class</jk></code>).<a name="line.205"></a>
-<span class="sourceLineNo">206</span> *<a name="line.206"></a>
-<span class="sourceLineNo">207</span> * @param c The class.<a name="line.207"></a>
-<span class="sourceLineNo">208</span> * @return The wrapper class, or <jk>null</jk> if class is not a primitive.<a name="line.208"></a>
-<span class="sourceLineNo">209</span> */<a name="line.209"></a>
-<span class="sourceLineNo">210</span> public static Class<?> getPrimitiveWrapper(Class<?> c) {<a name="line.210"></a>
-<span class="sourceLineNo">211</span> return pmap1.get(c);<a name="line.211"></a>
-<span class="sourceLineNo">212</span> }<a name="line.212"></a>
-<span class="sourceLineNo">213</span><a name="line.213"></a>
-<span class="sourceLineNo">214</span> /**<a name="line.214"></a>
-<span class="sourceLineNo">215</span> * If the specified class is a primitive wrapper (e.g. <code><jk>Integer</jk>.<jk>class</jk></code>)<a name="line.215"></a>
-<span class="sourceLineNo">216</span> * returns it's primitive class (e.g. <code>int.<jk>class</jk></code>).<a name="line.216"></a>
-<span class="sourceLineNo">217</span> *<a name="line.217"></a>
-<span class="sourceLineNo">218</span> * @param c The class.<a name="line.218"></a>
-<span class="sourceLineNo">219</span> * @return The primitive class, or <jk>null</jk> if class is not a primitive wrapper.<a name="line.219"></a>
-<span class="sourceLineNo">220</span> */<a name="line.220"></a>
-<span class="sourceLineNo">221</span> public static Class<?> getPrimitiveForWrapper(Class<?> c) {<a name="line.221"></a>
-<span class="sourceLineNo">222</span> return pmap2.get(c);<a name="line.222"></a>
-<span class="sourceLineNo">223</span> }<a name="line.223"></a>
-<span class="sourceLineNo">224</span><a name="line.224"></a>
-<span class="sourceLineNo">225</span> /**<a name="line.225"></a>
-<span class="sourceLineNo">226</span> * If the specified class is a primitive (e.g. <code><jk>int</jk>.<jk>class</jk></code>)<a name="line.226"></a>
-<span class="sourceLineNo">227</span> * returns it's wrapper class (e.g. <code>Integer.<jk>class</jk></code>).<a name="line.227"></a>
-<span class="sourceLineNo">228</span> *<a name="line.228"></a>
-<span class="sourceLineNo">229</span> * @param c The class.<a name="line.229"></a>
-<span class="sourceLineNo">230</span> * @return The wrapper class if it's primitive, or the same class if class is not a primitive.<a name="line.230"></a>
-<span class="sourceLineNo">231</span> */<a name="line.231"></a>
-<span class="sourceLineNo">232</span> public static Class<?> getWrapperIfPrimitive(Class<?> c) {<a name="line.232"></a>
-<span class="sourceLineNo">233</span> if (! c.isPrimitive())<a name="line.233"></a>
-<span class="sourceLineNo">234</span> return c;<a name="line.234"></a>
-<span class="sourceLineNo">235</span> return pmap1.get(c);<a name="line.235"></a>
+<span class="sourceLineNo">161</span> * Comparator for use with {@link TreeMap TreeMaps} with {@link Class} keys.<a name="line.161"></a>
+<span class="sourceLineNo">162</span> */<a name="line.162"></a>
+<span class="sourceLineNo">163</span> public final static class ClassComparator implements Comparator<Class<?>>, Serializable {<a name="line.163"></a>
+<span class="sourceLineNo">164</span><a name="line.164"></a>
+<span class="sourceLineNo">165</span> private static final long serialVersionUID = 1L;<a name="line.165"></a>
+<span class="sourceLineNo">166</span><a name="line.166"></a>
+<span class="sourceLineNo">167</span> @Override /* Comparator */<a name="line.167"></a>
+<span class="sourceLineNo">168</span> public int compare(Class<?> object1, Class<?> object2) {<a name="line.168"></a>
+<span class="sourceLineNo">169</span> return object1.getName().compareTo(object2.getName());<a name="line.169"></a>
+<span class="sourceLineNo">170</span> }<a name="line.170"></a>
+<span class="sourceLineNo">171</span> }<a name="line.171"></a>
+<span class="sourceLineNo">172</span><a name="line.172"></a>
+<span class="sourceLineNo">173</span> /**<a name="line.173"></a>
+<span class="sourceLineNo">174</span> * Returns the signature of the specified method.<a name="line.174"></a>
+<span class="sourceLineNo">175</span> * For no-arg methods, the signature will be a simple string such as <js>"toString"</js>.<a name="line.175"></a>
+<span class="sourceLineNo">176</span> * For methods with one or more args, the arguments will be fully-qualified class names (e.g. <js>"append(java.util.StringBuilder,boolean)"</js>)<a name="line.176"></a>
+<span class="sourceLineNo">177</span> *<a name="line.177"></a>
+<span class="sourceLineNo">178</span> * @param m The methods to get the signature on.<a name="line.178"></a>
+<span class="sourceLineNo">179</span> * @return The methods signature.<a name="line.179"></a>
+<span class="sourceLineNo">180</span> */<a name="line.180"></a>
+<span class="sourceLineNo">181</span> public static String getMethodSignature(Method m) {<a name="line.181"></a>
+<span class="sourceLineNo">182</span> StringBuilder sb = new StringBuilder(m.getName());<a name="line.182"></a>
+<span class="sourceLineNo">183</span> Class<?>[] pt = m.getParameterTypes();<a name="line.183"></a>
+<span class="sourceLineNo">184</span> if (pt.length > 0) {<a name="line.184"></a>
+<span class="sourceLineNo">185</span> sb.append('(');<a name="line.185"></a>
+<span class="sourceLineNo">186</span> for (int i = 0; i < pt.length; i++) {<a name="line.186"></a>
+<span class="sourceLineNo">187</span> if (i > 0)<a name="line.187"></a>
+<span class="sourceLineNo">188</span> sb.append(',');<a name="line.188"></a>
+<span class="sourceLineNo">189</span> sb.append(getReadableClassName(pt[i]));<a name="line.189"></a>
+<span class="sourceLineNo">190</span> }<a name="line.190"></a>
+<span class="sourceLineNo">191</span> sb.append(')');<a name="line.191"></a>
+<span class="sourceLineNo">192</span> }<a name="line.192"></a>
+<span class="sourceLineNo">193</span> return sb.toString();<a name="line.193"></a>
+<span class="sourceLineNo">194</span> }<a name="line.194"></a>
+<span class="sourceLineNo">195</span><a name="line.195"></a>
+<span class="sourceLineNo">196</span> private final static Map<Class<?>, Class<?>> pmap1 = new HashMap<Class<?>, Class<?>>(), pmap2 = new HashMap<Class<?>, Class<?>>();<a name="line.196"></a>
+<span class="sourceLineNo">197</span> static {<a name="line.197"></a>
+<span class="sourceLineNo">198</span> pmap1.put(boolean.class, Boolean.class);<a name="line.198"></a>
+<span class="sourceLineNo">199</span> pmap1.put(byte.class, Byte.class);<a name="line.199"></a>
+<span class="sourceLineNo">200</span> pmap1.put(short.class, Short.class);<a name="line.200"></a>
+<span class="sourceLineNo">201</span> pmap1.put(char.class, Character.class);<a name="line.201"></a>
+<span class="sourceLineNo">202</span> pmap1.put(int.class, Integer.class);<a name="line.202"></a>
+<span class="sourceLineNo">203</span> pmap1.put(long.class, Long.class);<a name="line.203"></a>
+<span class="sourceLineNo">204</span> pmap1.put(float.class, Float.class);<a name="line.204"></a>
+<span class="sourceLineNo">205</span> pmap1.put(double.class, Double.class);<a name="line.205"></a>
+<span class="sourceLineNo">206</span> pmap2.put(Boolean.class, boolean.class);<a name="line.206"></a>
+<span class="sourceLineNo">207</span> pmap2.put(Byte.class, byte.class);<a name="line.207"></a>
+<span class="sourceLineNo">208</span> pmap2.put(Short.class, short.class);<a name="line.208"></a>
+<span class="sourceLineNo">209</span> pmap2.put(Character.class, char.class);<a name="line.209"></a>
+<span class="sourceLineNo">210</span> pmap2.put(Integer.class, int.class);<a name="line.210"></a>
+<span class="sourceLineNo">211</span> pmap2.put(Long.class, long.class);<a name="line.211"></a>
+<span class="sourceLineNo">212</span> pmap2.put(Float.class, float.class);<a name="line.212"></a>
+<span class="sourceLineNo">213</span> pmap2.put(Double.class, double.class);<a name="line.213"></a>
+<span class="sourceLineNo">214</span> }<a name="line.214"></a>
+<span class="sourceLineNo">215</span><a name="line.215"></a>
+<span class="sourceLineNo">216</span> /**<a name="line.216"></a>
+<span class="sourceLineNo">217</span> * If the specified class is a primitive (e.g. <code><jk>int</jk>.<jk>class</jk></code>)<a name="line.217"></a>
+<span class="sourceLineNo">218</span> * returns it's wrapper class (e.g. <code>Integer.<jk>class</jk></code>).<a name="line.218"></a>
+<span class="sourceLineNo">219</span> *<a name="line.219"></a>
+<span class="sourceLineNo">220</span> * @param c The class.<a name="line.220"></a>
+<span class="sourceLineNo">221</span> * @return The wrapper class, or <jk>null</jk> if class is not a primitive.<a name="line.221"></a>
+<span class="sourceLineNo">222</span> */<a name="line.222"></a>
+<span class="sourceLineNo">223</span> public static Class<?> getPrimitiveWrapper(Class<?> c) {<a name="line.223"></a>
+<span class="sourceLineNo">224</span> return pmap1.get(c);<a name="line.224"></a>
+<span class="sourceLineNo">225</span> }<a name="line.225"></a>
+<span class="sourceLineNo">226</span><a name="line.226"></a>
+<span class="sourceLineNo">227</span> /**<a name="line.227"></a>
+<span class="sourceLineNo">228</span> * If the specified class is a primitive wrapper (e.g. <code><jk>Integer</jk>.<jk>class</jk></code>)<a name="line.228"></a>
+<span class="sourceLineNo">229</span> * returns it's primitive class (e.g. <code>int.<jk>class</jk></code>).<a name="line.229"></a>
+<span class="sourceLineNo">230</span> *<a name="line.230"></a>
+<span class="sourceLineNo">231</span> * @param c The class.<a name="line.231"></a>
+<span class="sourceLineNo">232</span> * @return The primitive class, or <jk>null</jk> if class is not a primitive wrapper.<a name="line.232"></a>
+<span class="sourceLineNo">233</span> */<a name="line.233"></a>
+<span class="sourceLineNo">234</span> public static Class<?> getPrimitiveForWrapper(Class<?> c) {<a name="line.234"></a>
+<span class="sourceLineNo">235</span> return pmap2.get(c);<a name="line.235"></a>
<span class="sourceLineNo">236</span> }<a name="line.236"></a>
<span class="sourceLineNo">237</span><a name="line.237"></a>
<span class="sourceLineNo">238</span> /**<a name="line.238"></a>
-<span class="sourceLineNo">239</span> * Returns <jk>true</jk> if the specified class has the {@link Deprecated @Deprecated} annotation on it.<a name="line.239"></a>
-<span class="sourceLineNo">240</span> *<a name="line.240"></a>
-<span class="sourceLineNo">241</span> * @param c The class.<a name="line.241"></a>
-<span class="sourceLineNo">242</span> * @return <jk>true</jk> if the specified class has the {@link Deprecated @Deprecated} annotation on it.<a name="line.242"></a>
-<span class="sourceLineNo">243</span> */<a name="line.243"></a>
-<span class="sourceLineNo">244</span> public static boolean isNotDeprecated(Class<?> c) {<a name="line.244"></a>
-<span class="sourceLineNo">245</span> return ! c.isAnnotationPresent(Deprecated.class);<a name="line.245"></a>
-<span class="sourceLineNo">246</span> }<a name="line.246"></a>
-<span class="sourceLineNo">247</span><a name="line.247"></a>
-<span class="sourceLineNo">248</span> /**<a name="line.248"></a>
-<span class="sourceLineNo">249</span> * Returns <jk>true</jk> if the specified method has the {@link Deprecated @Deprecated} annotation on it.<a name="line.249"></a>
-<span class="sourceLineNo">250</span> *<a name="line.250"></a>
-<span class="sourceLineNo">251</span> * @param m The method.<a name="line.251"></a>
-<span class="sourceLineNo">252</span> * @return <jk>true</jk> if the specified method has the {@link Deprecated @Deprecated} annotation on it.<a name="line.252"></a>
-<span class="sourceLineNo">253</span> */<a name="line.253"></a>
-<span class="sourceLineNo">254</span> public static boolean isNotDeprecated(Method m) {<a name="line.254"></a>
-<span class="sourceLineNo">255</span> return ! m.isAnnotationPresent(Deprecated.class);<a name="line.255"></a>
-<span class="sourceLineNo">256</span><a name="line.256"></a>
-<span class="sourceLineNo">257</span> }<a name="line.257"></a>
-<span class="sourceLineNo">258</span><a name="line.258"></a>
-<span class="sourceLineNo">259</span> /**<a name="line.259"></a>
-<span class="sourceLineNo">260</span> * Returns <jk>true</jk> if the specified constructor has the {@link Deprecated @Deprecated} annotation on it.<a name="line.260"></a>
-<span class="sourceLineNo">261</span> *<a name="line.261"></a>
-<span class="sourceLineNo">262</span> * @param c The constructor.<a name="line.262"></a>
-<span class="sourceLineNo">263</span> * @return <jk>true</jk> if the specified constructor has the {@link Deprecated @Deprecated} annotation on it.<a name="line.263"></a>
-<span class="sourceLineNo">264</span> */<a name="line.264"></a>
-<span class="sourceLineNo">265</span> public static boolean isNotDeprecated(Constructor<?> c) {<a name="line.265"></a>
-<span class="sourceLineNo">266</span> return ! c.isAnnotationPresent(Deprecated.class);<a name="line.266"></a>
-<span class="sourceLineNo">267</span> }<a name="line.267"></a>
-<span class="sourceLineNo">268</span><a name="line.268"></a>
-<span class="sourceLineNo">269</span> /**<a name="line.269"></a>
-<span class="sourceLineNo">270</span> * Returns <jk>true</jk> if the specified class is public.<a name="line.270"></a>
-<span class="sourceLineNo">271</span> *<a name="line.271"></a>
-<span class="sourceLineNo">272</span> * @param c The class.<a name="line.272"></a>
-<span class="sourceLineNo">273</span> * @return <jk>true</jk> if the specified class is public.<a name="line.273"></a>
-<span class="sourceLineNo">274</span> */<a name="line.274"></a>
-<span class="sourceLineNo">275</span> public static boolean isPublic(Class<?> c) {<a name="line.275"></a>
-<span class="sourceLineNo">276</span> return Modifier.isPublic(c.getModifiers());<a name="line.276"></a>
-<span class="sourceLineNo">277</span> }<a name="line.277"></a>
-<span class="sourceLineNo">278</span><a name="line.278"></a>
-<span class="sourceLineNo">279</span> /**<a name="line.279"></a>
-<span class="sourceLineNo">280</span> * Returns <jk>true</jk> if the specified class is public.<a name="line.280"></a>
-<span class="sourceLineNo">281</span> *<a name="line.281"></a>
-<span class="sourceLineNo">282</span> * @param c The class.<a name="line.282"></a>
-<span class="sourceLineNo">283</span> * @return <jk>true</jk> if the specified class is public.<a name="line.283"></a>
-<span class="sourceLineNo">284</span> */<a name="line.284"></a>
-<span class="sourceLineNo">285</span> public static boolean isStatic(Class<?> c) {<a name="line.285"></a>
-<span class="sourceLineNo">286</span> return Modifier.isStatic(c.getModifiers());<a name="line.286"></a>
-<span class="sourceLineNo">287</span> }<a name="line.287"></a>
-<span class="sourceLineNo">288</span><a name="line.288"></a>
-<span class="sourceLineNo">289</span> /**<a name="line.289"></a>
-<span class="sourceLineNo">290</span> * Returns <jk>true</jk> if the specified method is public.<a name="line.290"></a>
-<span class="sourceLineNo">291</span> *<a name="line.291"></a>
-<span class="sourceLineNo">292</span> * @param m The method.<a name="line.292"></a>
-<span class="sourceLineNo">293</span> * @return <jk>true</jk> if the specified method is public.<a name="line.293"></a>
-<span class="sourceLineNo">294</span> */<a name="line.294"></a>
-<span class="sourceLineNo">295</span> public static boolean isPublic(Method m) {<a name="line.295"></a>
-<span class="sourceLineNo">296</span> return Modifier.isPublic(m.getModifiers());<a name="line.296"></a>
-<span class="sourceLineNo">297</span> }<a name="line.297"></a>
-<span class="sourceLineNo">298</span><a name="line.298"></a>
-<span class="sourceLineNo">299</span> /**<a name="line.299"></a>
-<span class="sourceLineNo">300</span> * Returns <jk>true</jk> if the specified method is static.<a name="line.300"></a>
-<span class="sourceLineNo">301</span> *<a name="line.301"></a>
-<span class="sourceLineNo">302</span> * @param m The method.<a name="line.302"></a>
-<span class="sourceLineNo">303</span> * @return <jk>true</jk> if the specified method is static.<a name="line.303"></a>
-<span class="sourceLineNo">304</span> */<a name="line.304"></a>
-<span class="sourceLineNo">305</span> public static boolean isStatic(Method m) {<a name="line.305"></a>
-<span class="sourceLineNo">306</span> return Modifier.isStatic(m.getModifiers());<a name="line.306"></a>
-<span class="sourceLineNo">307</span> }<a name="line.307"></a>
-<span class="sourceLineNo">308</span><a name="line.308"></a>
-<span class="sourceLineNo">309</span> /**<a name="line.309"></a>
-<span class="sourceLineNo">310</span> * Returns <jk>true</jk> if the specified constructor is public.<a name="line.310"></a>
-<span class="sourceLineNo">311</span> *<a name="line.311"></a>
-<span class="sourceLineNo">312</span> * @param c The constructor.<a name="line.312"></a>
-<span class="sourceLineNo">313</span> * @return <jk>true</jk> if the specified constructor is public.<a name="line.313"></a>
-<span class="sourceLineNo">314</span> */<a name="line.314"></a>
-<span class="sourceLineNo">315</span> public static boolean isPublic(Constructor<?> c) {<a name="line.315"></a>
-<span class="sourceLineNo">316</span> return Modifier.isPublic(c.getModifiers());<a name="line.316"></a>
-<span class="sourceLineNo">317</span> }<a name="line.317"></a>
-<span class="sourceLineNo">318</span><a name="line.318"></a>
-<span class="sourceLineNo">319</span><a name="line.319"></a>
-<span class="sourceLineNo">320</span> /**<a name="line.320"></a>
-<span class="sourceLineNo">321</span> * Locates the no-arg constructor for the specified class.<a name="line.321"></a>
-<span class="sourceLineNo">322</span> * Constructor must match the visibility requirements specified by parameter 'v'.<a name="line.322"></a>
-<span class="sourceLineNo">323</span> * If class is abstract, always returns <jk>null</jk>.<a name="line.323"></a>
-<span class="sourceLineNo">324</span> * Note that this also returns the 1-arg constructor for non-static member classes.<a name="line.324"></a>
-<span class="sourceLineNo">325</span> *<a name="line.325"></a>
-<span class="sourceLineNo">326</span> * @param c The class from which to locate the no-arg constructor.<a name="line.326"></a>
-<span class="sourceLineNo">327</span> * @param v The minimum visibility.<a name="line.327"></a>
-<span class="sourceLineNo">328</span> * @return The constructor, or <jk>null</jk> if no no-arg constructor exists with the required visibility.<a name="line.328"></a>
-<span class="sourceLineNo">329</span> */<a name="line.329"></a>
-<span class="sourceLineNo">330</span> @SuppressWarnings({"rawtypes","unchecked"})<a name="line.330"></a>
-<span class="sourceLineNo">331</span> public static final <T> Constructor<T> findNoArgConstructor(Class<T> c, Visibility v) {<a name="line.331"></a>
-<span class="sourceLineNo">332</span> int mod = c.getModifiers();<a name="line.332"></a>
-<span class="sourceLineNo">333</span> if (Modifier.isAbstract(mod))<a name="line.333"></a>
-<span class="sourceLineNo">334</span> return null;<a name="line.334"></a>
-<span class="sourceLineNo">335</span> boolean isMemberClass = c.isMemberClass() && ! isStatic(c);<a name="line.335"></a>
-<span class="sourceLineNo">336</span> for (Constructor cc : c.getConstructors()) {<a name="line.336"></a>
-<span class="sourceLineNo">337</span> mod = cc.getModifiers();<a name="line.337"></a>
-<span class="sourceLineNo">338</span> if (cc.getParameterTypes().length == (isMemberClass ? 1 : 0) && v.isVisible(mod) && isNotDeprecated(cc))<a name="line.338"></a>
-<span class="sourceLineNo">339</span> return v.transform(cc);<a name="line.339"></a>
-<span class="sourceLineNo">340</span> }<a name="line.340"></a>
-<span class="sourceLineNo">341</span> return null;<a name="line.341"></a>
-<span class="sourceLineNo">342</span> }<a name="line.342"></a>
-<span class="sourceLineNo">343</span><a name="line.343"></a>
-<span class="sourceLineNo">344</span> /**<a name="line.344"></a>
-<span class="sourceLineNo">345</span> * Finds the real parameter type of the specified class.<a name="line.345"></a>
-<span class="sourceLineNo">346</span> *<a name="line.346"></a>
-<span class="sourceLineNo">347</span> * @param c The class containing the parameters (e.g. PojoSwap&lt;T,S&gt;)<a name="line.347"></a>
-<span class="sourceLineNo">348</span> * @param index The zero-based index of the parameter to resolve.<a name="line.348"></a>
-<span class="sourceLineNo">349</span> * @param oc The class we're trying to resolve the parameter type for.<a name="line.349"></a>
-<span class="sourceLineNo">350</span> * @return The resolved real class.<a name="line.350"></a>
-<span class="sourceLineNo">351</span> */<a name="line.351"></a>
-<span class="sourceLineNo">352</span> public static Class<?> resolveParameterType(Class<?> c, int index, Class<?> oc) {<a name="line.352"></a>
-<span class="sourceLineNo">353</span><a name="line.353"></a>
-<span class="sourceLineNo">354</span> // We need to make up a mapping of type names.<a name="line.354"></a>
-<span class="sourceLineNo">355</span> Map<Type,Type> typeMap = new HashMap<Type,Type>();<a name="line.355"></a>
-<span class="sourceLineNo">356</span> while (c != oc.getSuperclass()) {<a name="line.356"></a>
-<span class="sourceLineNo">357</span> extractTypes(typeMap, oc);<a name="line.357"></a>
-<span class="sourceLineNo">358</span> oc = oc.getSuperclass();<a name="line.358"></a>
-<span class="sourceLineNo">359</span> }<a name="line.359"></a>
-<span class="sourceLineNo">360</span><a name="line.360"></a>
-<span class="sourceLineNo">361</span> ParameterizedType opt = (ParameterizedType)oc.getGenericSuperclass();<a name="line.361"></a>
-<span class="sourceLineNo">362</span> Type actualType = opt.getActualTypeArguments()[index];<a name="line.362"></a>
-<span class="sourceLineNo">363</span><a name="line.363"></a>
-<span class="sourceLineNo">364</span> if (typeMap.containsKey(actualType))<a name="line.364"></a>
-<span class="sourceLineNo">365</span> actualType = typeMap.get(actualType);<a name="line.365"></a>
+<span class="sourceLineNo">239</span> * If the specified class is a primitive (e.g. <code><jk>int</jk>.<jk>class</jk></code>)<a name="line.239"></a>
+<span class="sourceLineNo">240</span> * returns it's wrapper class (e.g. <code>Integer.<jk>class</jk></code>).<a name="line.240"></a>
+<span class="sourceLineNo">241</span> *<a name="line.241"></a>
+<span class="sourceLineNo">242</span> * @param c The class.<a name="line.242"></a>
+<span class="sourceLineNo">243</span> * @return The wrapper class if it's primitive, or the same class if class is not a primitive.<a name="line.243"></a>
+<span class="sourceLineNo">244</span> */<a name="line.244"></a>
+<span class="sourceLineNo">245</span> public static Class<?> getWrapperIfPrimitive(Class<?> c) {<a name="line.245"></a>
+<span class="sourceLineNo">246</span> if (! c.isPrimitive())<a name="line.246"></a>
+<span class="sourceLineNo">247</span> return c;<a name="line.247"></a>
+<span class="sourceLineNo">248</span> return pmap1.get(c);<a name="line.248"></a>
+<span class="sourceLineNo">249</span> }<a name="line.249"></a>
+<span class="sourceLineNo">250</span><a name="line.250"></a>
+<span class="sourceLineNo">251</span> /**<a name="line.251"></a>
+<span class="sourceLineNo">252</span> * Returns <jk>true</jk> if the specified class has the {@link Deprecated @Deprecated} annotation on it.<a name="line.252"></a>
+<span class="sourceLineNo">253</span> *<a name="line.253"></a>
+<span class="sourceLineNo">254</span> * @param c The class.<a name="line.254"></a>
+<span class="sourceLineNo">255</span> * @return <jk>true</jk> if the specified class has the {@link Deprecated @Deprecated} annotation on it.<a name="line.255"></a>
+<span class="sourceLineNo">256</span> */<a name="line.256"></a>
+<span class="sourceLineNo">257</span> public static boolean isNotDeprecated(Class<?> c) {<a name="line.257"></a>
+<span class="sourceLineNo">258</span> return ! c.isAnnotationPresent(Deprecated.class);<a name="line.258"></a>
+<span class="sourceLineNo">259</span> }<a name="line.259"></a>
+<span class="sourceLineNo">260</span><a name="line.260"></a>
+<span class="sourceLineNo">261</span> /**<a name="line.261"></a>
+<span class="sourceLineNo">262</span> * Returns <jk>true</jk> if the specified method has the {@link Deprecated @Deprecated} annotation on it.<a name="line.262"></a>
+<span class="sourceLineNo">263</span> *<a name="line.263"></a>
+<span class="sourceLineNo">264</span> * @param m The method.<a name="line.264"></a>
+<span class="sourceLineNo">265</span> * @return <jk>true</jk> if the specified method has the {@link Deprecated @Deprecated} annotation on it.<a name="line.265"></a>
+<span class="sourceLineNo">266</span> */<a name="line.266"></a>
+<span class="sourceLineNo">267</span> public static boolean isNotDeprecated(Method m) {<a name="line.267"></a>
+<span class="sourceLineNo">268</span> return ! m.isAnnotationPresent(Deprecated.class);<a name="line.268"></a>
+<span class="sourceLineNo">269</span><a name="line.269"></a>
+<span class="sourceLineNo">270</span> }<a name="line.270"></a>
+<span class="sourceLineNo">271</span><a name="line.271"></a>
+<span class="sourceLineNo">272</span> /**<a name="line.272"></a>
+<span class="sourceLineNo">273</span> * Returns <jk>true</jk> if the specified constructor has the {@link Deprecated @Deprecated} annotation on it.<a name="line.273"></a>
+<span class="sourceLineNo">274</span> *<a name="line.274"></a>
+<span class="sourceLineNo">275</span> * @param c The constructor.<a name="line.275"></a>
+<span class="sourceLineNo">276</span> * @return <jk>true</jk> if the specified constructor has the {@link Deprecated @Deprecated} annotation on it.<a name="line.276"></a>
+<span class="sourceLineNo">277</span> */<a name="line.277"></a>
+<span class="sourceLineNo">278</span> public static boolean isNotDeprecated(Constructor<?> c) {<a name="line.278"></a>
+<span class="sourceLineNo">279</span> return ! c.isAnnotationPresent(Deprecated.class);<a name="line.279"></a>
+<span class="sourceLineNo">280</span> }<a name="line.280"></a>
+<span class="sourceLineNo">281</span><a name="line.281"></a>
+<span class="sourceLineNo">282</span> /**<a name="line.282"></a>
+<span class="sourceLineNo">283</span> * Returns <jk>true</jk> if the specified class is public.<a name="line.283"></a>
+<span class="sourceLineNo">284</span> *<a name="line.284"></a>
+<span class="sourceLineNo">285</span> * @param c The class.<a name="line.285"></a>
+<span class="sourceLineNo">286</span> * @return <jk>true</jk> if the specified class is public.<a name="line.286"></a>
+<span class="sourceLineNo">287</span> */<a name="line.287"></a>
+<span class="sourceLineNo">288</span> public static boolean isPublic(Class<?> c) {<a name="line.288"></a>
+<span class="sourceLineNo">289</span> return Modifier.isPublic(c.getModifiers());<a name="line.289"></a>
+<span class="sourceLineNo">290</span> }<a name="line.290"></a>
+<span class="sourceLineNo">291</span><a name="line.291"></a>
+<span class="sourceLineNo">292</span> /**<a name="line.292"></a>
+<span class="sourceLineNo">293</span> * Returns <jk>true</jk> if the specified class is public.<a name="line.293"></a>
+<span class="sourceLineNo">294</span> *<a name="line.294"></a>
+<span class="sourceLineNo">295</span> * @param c The class.<a name="line.295"></a>
+<span class="sourceLineNo">296</span> * @return <jk>true</jk> if the specified class is public.<a name="line.296"></a>
+<span class="sourceLineNo">297</span> */<a name="line.297"></a>
+<span class="sourceLineNo">298</span> public static boolean isStatic(Class<?> c) {<a name="line.298"></a>
+<span class="sourceLineNo">299</span> return Modifier.isStatic(c.getModifiers());<a name="line.299"></a>
+<span class="sourceLineNo">300</span> }<a name="line.300"></a>
+<span class="sourceLineNo">301</span><a name="line.301"></a>
+<span class="sourceLineNo">302</span> /**<a name="line.302"></a>
+<span class="sourceLineNo">303</span> * Returns <jk>true</jk> if the specified method is public.<a name="line.303"></a>
+<span class="sourceLineNo">304</span> *<a name="line.304"></a>
+<span class="sourceLineNo">305</span> * @param m The method.<a name="line.305"></a>
+<span class="sourceLineNo">306</span> * @return <jk>true</jk> if the specified method is public.<a name="line.306"></a>
+<span class="sourceLineNo">307</span> */<a name="line.307"></a>
+<span class="sourceLineNo">308</span> public static boolean isPublic(Method m) {<a name="line.308"></a>
+<span class="sourceLineNo">309</span> return Modifier.isPublic(m.getModifiers());<a name="line.309"></a>
+<span class="sourceLineNo">310</span> }<a name="line.310"></a>
+<span class="sourceLineNo">311</span><a name="line.311"></a>
+<span class="sourceLineNo">312</span> /**<a name="line.312"></a>
+<span class="sourceLineNo">313</span> * Returns <jk>true</jk> if the specified method is static.<a name="line.313"></a>
+<span class="sourceLineNo">314</span> *<a name="line.314"></a>
+<span class="sourceLineNo">315</span> * @param m The method.<a name="line.315"></a>
+<span class="sourceLineNo">316</span> * @return <jk>true</jk> if the specified method is static.<a name="line.316"></a>
+<span class="sourceLineNo">317</span> */<a name="line.317"></a>
+<span class="sourceLineNo">318</span> public static boolean isStatic(Method m) {<a name="line.318"></a>
+<span class="sourceLineNo">319</span> return Modifier.isStatic(m.getModifiers());<a name="line.319"></a>
+<span class="sourceLineNo">320</span> }<a name="line.320"></a>
+<span class="sourceLineNo">321</span><a name="line.321"></a>
+<span class="sourceLineNo">322</span> /**<a name="line.322"></a>
+<span class="sourceLineNo">323</span> * Returns <jk>true</jk> if the specified constructor is public.<a name="line.323"></a>
+<span class="sourceLineNo">324</span> *<a name="line.324"></a>
+<span class="sourceLineNo">325</span> * @param c The constructor.<a name="line.325"></a>
+<span class="sourceLineNo">326</span> * @return <jk>true</jk> if the specified constructor is public.<a name="line.326"></a>
+<span class="sourceLineNo">327</span> */<a name="line.327"></a>
+<span class="sourceLineNo">328</span> public static boolean isPublic(Constructor<?> c) {<a name="line.328"></a>
+<span class="sourceLineNo">329</span> return Modifier.isPublic(c.getModifiers());<a name="line.329"></a>
+<span class="sourceLineNo">330</span> }<a name="line.330"></a>
+<span class="sourceLineNo">331</span><a name="line.331"></a>
+<span class="sourceLineNo">332</span><a name="line.332"></a>
+<span class="sourceLineNo">333</span> /**<a name="line.333"></a>
+<span class="sourceLineNo">334</span> * Locates the no-arg constructor for the specified class.<a name="line.334"></a>
+<span class="sourceLineNo">335</span> * Constructor must match the visibility requirements specified by parameter 'v'.<a name="line.335"></a>
+<span class="sourceLineNo">336</span> * If class is abstract, always returns <jk>null</jk>.<a name="line.336"></a>
+<span class="sourceLineNo">337</span> * Note that this also returns the 1-arg constructor for non-static member classes.<a name="line.337"></a>
+<span class="sourceLineNo">338</span> *<a name="line.338"></a>
+<span class="sourceLineNo">339</span> * @param c The class from which to locate the no-arg constructor.<a name="line.339"></a>
+<span class="sourceLineNo">340</span> * @param v The minimum visibility.<a name="line.340"></a>
+<span class="sourceLineNo">341</span> * @return The constructor, or <jk>null</jk> if no no-arg constructor exists with the required visibility.<a name="line.341"></a>
+<span class="sourceLineNo">342</span> */<a name="line.342"></a>
+<span class="sourceLineNo">343</span> @SuppressWarnings({"rawtypes","unchecked"})<a name="line.343"></a>
+<span class="sourceLineNo">344</span> public static final <T> Constructor<T> findNoArgConstructor(Class<T> c, Visibility v) {<a name="line.344"></a>
+<span class="sourceLineNo">345</span> int mod = c.getModifiers();<a name="line.345"></a>
+<span class="sourceLineNo">346</span> if (Modifier.isAbstract(mod))<a name="line.346"></a>
+<span class="sourceLineNo">347</span> return null;<a name="line.347"></a>
+<span class="sourceLineNo">348</span> boolean isMemberClass = c.isMemberClass() && ! isStatic(c);<a name="line.348"></a>
+<span class="sourceLineNo">349</span> for (Constructor cc : c.getConstructors()) {<a name="line.349"></a>
+<span class="sourceLineNo">350</span> mod = cc.getModifiers();<a name="line.350"></a>
+<span class="sourceLineNo">351</span> if (cc.getParameterTypes().length == (isMemberClass ? 1 : 0) && v.isVisible(mod) && isNotDeprecated(cc))<a name="line.351"></a>
+<span class="sourceLineNo">352</span> return v.transform(cc);<a name="line.352"></a>
+<span class="sourceLineNo">353</span> }<a name="line.353"></a>
+<span class="sourceLineNo">354</span> return null;<a name="line.354"></a>
+<span class="sourceLineNo">355</span> }<a name="line.355"></a>
+<span class="sourceLineNo">356</span><a name="line.356"></a>
+<span class="sourceLineNo">357</span> /**<a name="line.357"></a>
+<span class="sourceLineNo">358</span> * Finds the real parameter type of the specified class.<a name="line.358"></a>
+<span class="sourceLineNo">359</span> *<a name="line.359"></a>
+<span class="sourceLineNo">360</span> * @param c The class containing the parameters (e.g. PojoSwap&lt;T,S&gt;)<a name="line.360"></a>
+<span class="sourceLineNo">361</span> * @param index The zero-based index of the parameter to resolve.<a name="line.361"></a>
+<span class="sourceLineNo">362</span> * @param oc The class we're trying to resolve the parameter type for.<a name="line.362"></a>
+<span class="sourceLineNo">363</span> * @return The resolved real class.<a name="line.363"></a>
+<span class="sourceLineNo">364</span> */<a name="line.364"></a>
+<span class="sourceLineNo">365</span> public static Class<?> resolveParameterType(Class<?> c, int index, Class<?> oc) {<a name="line.365"></a>
<span class="sourceLineNo">366</span><a name="line.366"></a>
-<span class="sourceLineNo">367</span> if (actualType instanceof Class) {<a name="line.367"></a>
-<span class="sourceLineNo">368</span> return (Class<?>)actualType;<a name="line.368"></a>
-<span class="sourceLineNo">369</span><a name="line.369"></a>
-<span class="sourceLineNo">370</span> } else if (actualType instanceof GenericArrayType) {<a name="line.370"></a>
-<span class="sourceLineNo">371</span> Class<?> cmpntType = (Class<?>)((GenericArrayType)actualType).getGenericComponentType();<a name="line.371"></a>
-<span class="sourceLineNo">372</span> return Array.newInstance(cmpntType, 0).getClass();<a name="line.372"></a>
+<span class="sourceLineNo">367</span> // We need to make up a mapping of type names.<a name="line.367"></a>
+<span class="sourceLineNo">368</span> Map<Type,Type> typeMap = new HashMap<Type,Type>();<a name="line.368"></a>
+<span class="sourceLineNo">369</span> while (c != oc.getSuperclass()) {<a name="line.369"></a>
+<span class="sourceLineNo">370</span> extractTypes(typeMap, oc);<a name="line.370"></a>
+<span class="sourceLineNo">371</span> oc = oc.getSuperclass();<a name="line.371"></a>
+<span class="sourceLineNo">372</span> }<a name="line.372"></a>
<span class="sourceLineNo">373</span><a name="line.373"></a>
-<span class="sourceLineNo">374</span> } else if (actualType instanceof TypeVariable) {<a name="line.374"></a>
-<span class="sourceLineNo">375</span> TypeVariable<?> typeVariable = (TypeVariable<?>)actualType;<a name="line.375"></a>
-<span class="sourceLineNo">376</span> List<Class<?>> nestedOuterTypes = new LinkedList<Class<?>>();<a name="line.376"></a>
-<span class="sourceLineNo">377</span> for (Class<?> ec = oc.getEnclosingClass(); ec != null; ec = ec.getEnclosingClass()) {<a name="line.377"></a>
-<span class="sourceLineNo">378</span> try {<a name="line.378"></a>
-<span class="sourceLineNo">379</span> Class<?> outerClass = oc.getClass();<a name="line.379"></a>
-<span class="sourceLineNo">380</span> nestedOuterTypes.add(outerClass);<a name="line.380"></a>
-<span class="sourceLineNo">381</span> Map<Type,Type> outerTypeMap = new HashMap<Type,Type>();<a name="line.381"></a>
-<span class="sourceLineNo">382</span> extractTypes(outerTypeMap, outerClass);<a name="line.382"></a>
-<span class="sourceLineNo">383</span> for (Map.Entry<Type,Type> entry : outerTypeMap.entrySet()) {<a name="line.383"></a>
-<span class="sourceLineNo">384</span> Type key = entry.getKey(), value = entry.getValue();<a name="line.384"></a>
-<span class="sourceLineNo">385</span> if (key instanceof TypeVariable) {<a name="line.385"></a>
-<span class="sourceLineNo">386</span> TypeVariable<?> keyType = (TypeVariable<?>)key;<a name="line.386"></a>
-<span class="sourceLineNo">387</span> if (keyType.getName().equals(typeVariable.getName()) && isInnerClass(keyType.getGenericDeclaration(), typeVariable.getGenericDeclaration())) {<a name="line.387"></a>
-<span class="sourceLineNo">388</span> if (value instanceof Class)<a name="line.388"></a>
-<span class="sourceLineNo">389</span> return (Class<?>)value;<a name="line.389"></a>
-<span class="sourceLineNo">390</span> typeVariable = (TypeVariable<?>)entry.getValue();<a name="line.390"></a>
-<span class="sourceLineNo">391</span> }<a name="line.391"></a>
-<span class="sourceLineNo">392</span> }<a name="line.392"></a>
-<span class="sourceLineNo">393</span> }<a name="line.393"></a>
-<span class="sourceLineNo">394</span> } catch (Exception e) {<a name="line.394"></a>
-<span class="sourceLineNo">395</span> throw new RuntimeException(e);<a name="line.395"></a>
-<span class="sourceLineNo">396</span> }<a name="line.396"></a>
-<span class="sourceLineNo">397</span> }<a name="line.397"></a>
-<span class="sourceLineNo">398</span> throw new RuntimeException("Could not resolve type: " + actualType);<a name="line.398"></a>
-<span class="sourceLineNo">399</span> } else {<a name="line.399"></a>
-<span class="sourceLineNo">400</span> throw new RuntimeException("Invalid type found in resolveParameterType: " + actualType);<a name="line.400"></a>
-<span class="sourceLineNo">401</span> }<a name="line.401"></a>
-<span class="sourceLineNo">402</span> }<a name="line.402"></a>
-<span class="sourceLineNo">403</span><a name="line.403"></a>
-<span class="sourceLineNo">404</span> private static boolean isInnerClass(GenericDeclaration od, GenericDeclaration id) {<a name="line.404"></a>
-<span class="sourceLineNo">405</span> if (od instanceof Class && id instanceof Class) {<a name="line.405"></a>
-<span class="sourceLineNo">406</span> Class<?> oc = (Class<?>)od;<a name="line.406"></a>
-<span class="sourceLineNo">407</span> Class<?> ic = (Class<?>)id;<a name="line.407"></a>
-<span class="sourceLineNo">408</span> while ((ic = ic.getEnclosingClass()) != null)<a name="line.408"></a>
-<span class="sourceLineNo">409</span> if (ic == oc)<a name="line.409"></a>
-<span class="sourceLineNo">410</span> return true;<a name="line.410"></a>
-<span class="sourceLineNo">411</span> }<a name="line.411"></a>
-<span class="sourceLineNo">412</span> return false;<a name="line.412"></a>
-<span class="sourceLineNo">413</span> }<a name="line.413"></a>
-<span class="sourceLineNo">414</span><a name="line.414"></a>
-<span class="sourceLineNo">415</span> private static void extractTypes(Map<Type,Type> typeMap, Class<?> c) {<a name="line.415"></a>
-<span class="sourceLineNo">416</span> Type gs = c.getGenericSuperclass();<a name="line.416"></a>
-<span class="sourceLineNo">417</span> if (gs instanceof ParameterizedType) {<a name="line.417"></a>
-<span class="sourceLineNo">418</span> ParameterizedType pt = (ParameterizedType)gs;<a name="line.418"></a>
-<span class="sourceLineNo">419</span> Type[] typeParameters = ((Class<?>)pt.getRawType()).getTypeParameters();<a name="line.419"></a>
-<span class="sourceLineNo">420</span> Type[] actualTypeArguments = pt.getActualTypeArguments();<a name="line.420"></a>
-<span class="sourceLineNo">421</span> for (int i = 0; i < typeParameters.length; i++) {<a name="line.421"></a>
-<span class="sourceLineNo">422</span> if (typeMap.containsKey(actualTypeArguments[i]))<a name="line.422"></a>
-<span class="sourceLineNo">423</span> actualTypeArguments[i] = typeMap.get(actualTypeArguments[i]);<a name="line.423"></a>
-<span class="sourceLineNo">424</span> typeMap.put(typeParameters[i], actualTypeArguments[i]);<a name="line.424"></a>
-<span class="sourceLineNo">425</span> }<a name="line.425"></a>
-<span class="sourceLineNo">426</span> }<a name="line.426"></a>
-<span class="sourceLineNo">427</span> }<a name="line.427"></a>
-<span class="sourceLineNo">428</span><a name="line.428"></a>
-<span class="sourceLineNo">429</span> /**<a name="line.429"></a>
-<span class="sourceLineNo">430</span> * Finds a public method with the specified parameters.<a name="line.430"></a>
-<span class="sourceLineNo">431</span> *<a name="line.431"></a>
-<span class="sourceLineNo">432</span> * @param c The class to look for the method.<a name="line.432"></a>
-<span class="sourceLineNo">433</span> * @param name The method name.<a name="line.433"></a>
-<span class="sourceLineNo">434</span> * @param returnType The return type of the method.<a name="line.434"></a>
-<span class="sourceLineNo">435</span> * Can be a super type of the actual return type.<a name="line.435"></a>
-<span class="sourceLineNo">436</span> * For example, if the actual return type is <code>CharSequence</code>, then <code>Object</code> will match but <code>String</code> will not.<a name="line.436"></a>
-<span class="sourceLineNo">437</span> * @param parameterTypes The parameter types of the method.<a name="line.437"></a>
-<span class="sourceLineNo">438</span> * Can be subtypes of the actual parameter types.<a name="line.438"></a>
-<span class="sourceLineNo">439</span> * For example, if the parameter type is <code>CharSequence</code>, then <code>String</code> will match but <code>Object</code> will not.<a name="line.439"></a>
-<span class="sourceLineNo">440</span> * @return The matched method, or <jk>null</jk> if no match was found.<a name="line.440"></a>
-<span class="sourceLineNo">441</span> */<a name="line.441"></a>
-<span class="sourceLineNo">442</span> public static Method findPublicMethod(Class<?> c, String name, Class<?> returnType, Class<?>...parameterTypes) {<a name="line.442"></a>
-<span class="sourceLineNo">443</span> for (Method m : c.getMethods()) {<a name="line.443"></a>
-<span class="sourceLineNo">444</span> if (isPublic(m) && m.getName().equals(name)) {<a name="line.444"></a>
-<span class="sourceLineNo">445</span> Class<?> rt = m.getReturnType();<a name="line.445"></a>
-<span class="sourceLineNo">446</span> if (isParentClass(returnType, rt)) {<a name="line.446"></a>
-<span class="sourceLineNo">447</span> Class<?>[] pt = m.getParameterTypes();<a name="line.447"></a>
-<span class="sourceLineNo">448</span> if (pt.length == parameterTypes.length) {<a name="line.448"></a>
-<span class="sourceLineNo">449</span> boolean matches = true;<a name="line.449"></a>
-<span class="sourceLineNo">450</span> for (int i = 0; i < pt.length; i++) {<a name="line.450"></a>
-<span class="sourceLineNo">451</span> if (! isParentClass(pt[i], parameterTypes[i])) {<a name="line.451"></a>
-<span class="sourceLineNo">452</span> matches = false;<a name="line.452"></a>
-<span class="sourceLineNo">453</span> break;<a name="line.453"></a>
-<span class="sourceLineNo">454</span> }<a name="line.454"></a>
-<span class="sourceLineNo">455</span> }<a name="line.455"></a>
-<span class="sourceLineNo">456</span> if (matches)<a name="line.456"></a>
-<span class="sourceLineNo">457</span> return m;<a name="line.457"></a>
-<span class="sourceLineNo">458</span> }<a name="line.458"></a>
-<span class="sourceLineNo">459</span> }<a name="line.459"></a>
-<span class="sourceLineNo">460</span> }<a name="line.460"></a>
-<span class="sourceLineNo">461</span> }<a name="line.461"></a>
-<span class="sourceLineNo">462</span> return null;<a name="line.462"></a>
-<span class="sourceLineNo">463</span> }<a name="line.463"></a>
-<span class="sourceLineNo">464</span><a name="line.464"></a>
-<span class="sourceLineNo">465</span> /**<a name="line.465"></a>
-<span class="sourceLineNo">466</span> * Finds a public constructor with the specified parameters without throwing an exception.<a name="line.466"></a>
-<span class="sourceLineNo">467</span> *<a name="line.467"></a>
-<span class="sourceLineNo">468</span> * @param c The class to search for a constructor.<a name="line.468"></a>
-<span class="sourceLineNo">469</span> * @param parameterTypes The parameter types in the constructor.<a name="line.469"></a>
-<span class="sourceLineNo">470</span> * Can be subtypes of the actual constructor argument types.<a name="line.470"></a>
-<span class="sourceLineNo">471</span> * @return The matching constructor, or <jk>null</jk> if constructor could not be found.<a name="line.471"></a>
-<span class="sourceLineNo">472</span> */<a name="line.472"></a>
-<span class="sourceLineNo">473</span> @SuppressWarnings("unchecked")<a name="line.473"></a>
-<span class="sourceLineNo">474</span> public static <T> Constructor<T> findPublicConstructor(Class<T> c, Class<?>...parameterTypes) {<a name="line.474"></a>
-<span class="sourceLineNo">475</span> for (Constructor<?> n : c.getConstructors()) {<a name="line.475"></a>
-<span class="sourceLineNo">476</span> if (isPublic(n)) {<a name="line.476"></a>
-<span class="sourceLineNo">477</span> Class<?>[] pt = n.getParameterTypes();<a name="line.477"></a>
-<span class="sourceLineNo">478</span> if (pt.length == parameterTypes.length) {<a name="line.478"></a>
-<span class="sourceLineNo">479</span> boolean matches = true;<a name="line.479"></a>
-<span class="sourceLineNo">480</span> for (int i = 0; i < pt.length; i++) {<a name="line.480"></a>
-<span class="sourceLineNo">481</span> if (! isParentClass(pt[i], parameterTypes[i])) {<a name="line.481"></a>
-<span class="sourceLineNo">482</span> matches = false;<a name="line.482"></a>
-<span class="sourceLineNo">483</span> break;<a name="line.483"></a>
-<span class="sourceLineNo">484</span> }<a name="line.484"></a>
-<span class="sourceLineNo">485</span> }<a name="line.485"></a>
-<span class="sourceLineNo">486</span> if (matches)<a name="line.486"></a>
-<span class="sourceLineNo">487</span> return (Constructor<T>)n;<a name="line.487"></a>
-<span class="sourceLineNo">488</span> }<a name="line.488"></a>
-<span class="sourceLineNo">489</span> }<a name="line.489"></a>
-<span class="sourceLineNo">490</span> }<a name="line.490"></a>
-<span class="sourceLineNo">491</span> return null;<a name="line.491"></a>
-<span class="sourceLineNo">492</span> }<a name="line.492"></a>
-<span class="sourceLineNo">493</span><a name="line.493"></a>
-<span class="sourceLineNo">494</span> /**<a name="line.494"></a>
-<span class="sourceLineNo">495</span> * Finds the public constructor that can take in the specified arguments.<a name="line.495"></a>
-<span class="sourceLineNo">496</span> *<a name="line.496"></a>
-<span class="sourceLineNo">497</span> * @param c The class we're trying to construct.<a name="line.497"></a>
-<span class="sourceLineNo">498</span> * @param args The arguments we want to pass into the constructor.<a name="line.498"></a>
-<span class="sourceLineNo">499</span> * @return The constructor, or <jk>null</jk> if a public constructor could not be found that takes<a name="line.499"></a>
-<span class="sourceLineNo">500</span> * in the specified arguments.<a name="line.500"></a>
-<span class="sourceLineNo">501</span> */<a name="line.501"></a>
-<span class="sourceLineNo">502</span> public static <T> Constructor<T> findPublicConstructor(Class<T> c, Object...args) {<a name="line.502"></a>
-<span class="sourceLineNo">503</span> return findPublicConstructor(c, getClasses(args));<a name="line.503"></a>
-<span class="sourceLineNo">504</span> }<a name="line.504"></a>
-<span class="sourceLineNo">505</span><a name="line.505"></a>
-<span class="sourceLineNo">506</span> /**<a name="line.506"></a>
-<span class="sourceLineNo">507</span> * Returns the class types for the specified arguments.<a name="line.507"></a>
-<span class="sourceLineNo">508</span> *<a name="line.508"></a>
-<span class="sourceLineNo">509</span> * @param args The objects we're getting the classes of.<a name="line.509"></a>
-<span class="sourceLineNo">510</span> * @return The classes of the arguments.<a name="line.510"></a>
-<span class="sourceLineNo">511</span> */<a name="line.511"></a>
-<span class="sourceLineNo">512</span> public static Class<?>[] getClasses(Object...args) {<a name="line.512"></a>
-<span class="sourceLineNo">513</span> Class<?>[] pt = new Class<?>[args.length];<a name="line.513"></a>
-<span class="sourceLineNo">514</span> for (int i = 0; i < args.length; i++)<a name="line.514"></a>
-<span class="sourceLineNo">515</span> pt[i] = args[i] == null ? null : args[i].getClass();<a name="line.515"></a>
-<span class="sourceLineNo">516</span> return pt;<a name="line.516"></a>
+<span class="sourceLineNo">374</span> ParameterizedType opt = (ParameterizedType)oc.getGenericSuperclass();<a name="line.374"></a>
+<span class="sourceLineNo">375</span> Type actualType = opt.getActualTypeArguments()[index];<a name="line.375"></a>
+<span class="sourceLineNo">376</span><a name="line.376"></a>
+<span class="sourceLineNo">377</span> if (typeMap.containsKey(actualType))<a name="line.377"></a>
+<span class="sourceLineNo">378</span> actualType = typeMap.get(actualType);<a name="line.378"></a>
+<span class="sourceLineNo">379</span><a name="line.379"></a>
+<span class="sourceLineNo">380</span> if (actualType instanceof Class) {<a name="line.380"></a>
+<span class="sourceLineNo">381</span> return (Class<?>)actualType;<a name="line.381"></a>
+<span class="sourceLineNo">382</span><a name="line.382"></a>
+<span class="sourceLineNo">383</span> } else if (actualType instanceof GenericArrayType) {<a name="line.383"></a>
+<span class="sourceLineNo">384</span> Class<?> cmpntType = (Class<?>)((GenericArrayType)actualType).getGenericComponentType();<a name="line.384"></a>
+<span class="sourceLineNo">385</span> return Array.newInstance(cmpntType, 0).getClass();<a name="line.385"></a>
+<span class="sourceLineNo">386</span><a name="line.386"></a>
+<span class="sourceLineNo">387</span> } else if (actualType instanceof TypeVariable) {<a name="line.387"></a>
+<span class="sourceLineNo">388</span> TypeVariable<?> typeVariable = (TypeVariable<?>)actualType;<a name="line.388"></a>
+<span class="sourceLineNo">389</span> List<Class<?>> nestedOuterTypes = new LinkedList<Class<?>>();<a name="line.389"></a>
+<span class="sourceLineNo">390</span> for (Class<?> ec = oc.getEnclosingClass(); ec != null; ec = ec.getEnclosingClass()) {<a name="line.390"></a>
+<span class="sourceLineNo">391</span> try {<a name="line.391"></a>
+<span class="sourceLineNo">392</span> Class<?> outerClass = oc.getClass();<a name="line.392"></a>
+<span class="sourceLineNo">393</span> nestedOuterTypes.add(outerClass);<a name="line.393"></a>
+<span class="sourceLineNo">394</span> Map<Type,Type> outerTypeMap = new HashMap<Type,Type>();<a name="line.394"></a>
+<span class="sourceLineNo">395</span> extractTypes(outerTypeMap, outerClass);<a name="line.395"></a>
+<span class="sourceLineNo">396</span> for (Map.Entry<Type,Type> entry : outerTypeMap.entrySet()) {<a name="line.396"></a>
+<span class="sourceLineNo">397</span> Type key = entry.getKey(), value = entry.getValue();<a name="line.397"></a>
+<span class="sourceLineNo">398</span> if (key instanceof TypeVariable) {<a name="line.398"></a>
+<span class="sourceLineNo">399</span> TypeVariable<?> keyType = (TypeVariable<?>)key;<a name="line.399"></a>
+<span class="sourceLineNo">400</span> if (keyType.getName().equals(typeVariable.getName()) && isInnerClass(keyType.getGenericDeclaration(), typeVariable.getGenericDeclaration())) {<a name="line.400"></a>
+<span class="sourceLineNo">401</span> if (value instanceof Class)<a name="line.401"></a>
+<span class="sourceLineNo">402</span> return (Class<?>)value;<a name="line.402"></a>
+<span class="sourceLineNo">403</span> typeVariable = (TypeVariable<?>)entry.getValue();<a name="line.403"></a>
+<span class="sourceLineNo">404</span> }<a name="line.404"></a>
+<span class="sourceLineNo">405</span> }<a name="line.405"></a>
+<span class="sourceLineNo">406</span> }<a name="line.406"></a>
+<span class="sourceLineNo">407</span> } catch (Exception e) {<a name="line.407"></a>
+<span class="sourceLineNo">408</span> throw new RuntimeException(e);<a name="line.408"></a>
+<span class="sourceLineNo">409</span> }<a name="line.409"></a>
+<span class="sourceLineNo">410</span> }<a name="line.410"></a>
+<span class="sourceLineNo">411</span> throw new RuntimeException("Could not resolve type: " + actualType);<a name="line.411"></a>
+<span class="sourceLineNo">412</span> } else {<a name="line.412"></a>
+<span class="sourceLineNo">413</span> throw new RuntimeException("Invalid type found in resolveParameterType: " + actualType);<a name="line.413"></a>
+<span class="sourceLineNo">414</span> }<a name="line.414"></a>
+<span class="sourceLineNo">415</span> }<a name="line.415"></a>
+<span class="sourceLineNo">416</span><a name="line.416"></a>
+<span class="sourceLineNo">417</span> private static boolean isInnerClass(GenericDeclaration od, GenericDeclaration id) {<a name="line.417"></a>
+<span class="sourceLineNo">418</span> if (od instanceof Class && id instanceof Class) {<a name="line.418"></a>
+<span class="sourceLineNo">419</span> Class<?> oc = (Class<?>)od;<a name="line.419"></a>
+<span class="sourceLineNo">420</span> Class<?> ic = (Class<?>)id;<a name="line.420"></a>
+<span class="sourceLineNo">421</span> while ((ic = ic.getEnclosingClass()) != null)<a name="line.421"></a>
+<span class="sourceLineNo">422</span> if (ic == oc)<a name="line.422"></a>
+<span class="sourceLineNo">423</span> return true;<a name="line.423"></a>
+<span class="sourceLineNo">424</span> }<a name="line.424"></a>
+<span class="sourceLineNo">425</span> return false;<a name="line.425"></a>
+<span class="sourceLineNo">426</span> }<a name="line.426"></a>
+<span class="sourceLineNo">427</span><a name="line.427"></a>
+<span class="sourceLineNo">428</span> private static void extractTypes(Map<Type,Type> typeMap, Class<?> c) {<a name="line.428"></a>
+<span class="sourceLineNo">429</span> Type gs = c.getGenericSuperclass();<a name="line.429"></a>
+<span class="sourceLineNo">430</span> if (gs instanceof ParameterizedType) {<a name="line.430"></a>
+<span class="sourceLineNo">431</span> ParameterizedType pt = (ParameterizedType)gs;<a name="line.431"></a>
+<span class="sourceLineNo">432</span> Type[] typeParameters = ((Class<?>)pt.getRawType()).getTypeParameters();<a name="line.432"></a>
+<span class="sourceLineNo">433</span> Type[] actualTypeArguments = pt.getActualTypeArguments();<a name="line.433"></a>
+<span class="sourceLineNo">434</span> for (int i = 0; i < typeParameters.length; i++) {<a name="line.434"></a>
+<span class="sourceLineNo">435</span> if (typeMap.containsKey(actualTypeArguments[i]))<a name="line.435"></a>
+<span class="sourceLineNo">436</span> actualTypeArguments[i] = typeMap.get(actualTypeArguments[i]);<a name="line.436"></a>
+<span class="sourceLineNo">437</span> typeMap.put(typeParameters[i], actualTypeArguments[i]);<a name="line.437"></a>
+<span class="sourceLineNo">438</span> }<a name="line.438"></a>
+<span class="sourceLineNo">439</span> }<a name="line.439"></a>
+<span class="sourceLineNo">440</span> }<a name="line.440"></a>
+<span class="sourceLineNo">441</span><a name="line.441"></a>
+<span class="sourceLineNo">442</span> /**<a name="line.442"></a>
+<span class="sourceLineNo">443</span> * Finds a public method with the specified parameters.<a name="line.443"></a>
+<span class="sourceLineNo">444</span> *<a name="line.444"></a>
+<span class="sourceLineNo">445</span> * @param c The class to look for the method.<a name="line.445"></a>
+<span class="sourceLineNo">446</span> * @param name The method name.<a name="line.446"></a>
+<span class="sourceLineNo">447</span> * @param returnType The return type of the method.<a name="line.447"></a>
+<span class="sourceLineNo">448</span> * Can be a super type of the actual return type.<a name="line.448"></a>
+<span class="sourceLineNo">449</span> * For example, if the actual return type is <code>CharSequence</code>, then <code>Object</code> will match but <code>String</code> will not.<a name="line.449"></a>
+<span class="sourceLineNo">450</span> * @param parameterTypes The parameter types of the method.<a name="line.450"></a>
+<span class="sourceLineNo">451</span> * Can be subtypes of the actual parameter types.<a name="line.451"></a>
+<span class="sourceLineNo">452</span> * For example, if the parameter type is <code>CharSequence</code>, then <code>String</code> will match but <code>Object</code> will not.<a name="line.452"></a>
+<span class="sourceLineNo">453</span> * @return The matched method, or <jk>null</jk> if no match was found.<a name="line.453"></a>
+<span class="sourceLineNo">454</span> */<a name="line.454"></a>
+<span class="sourceLineNo">455</span> public static Method findPublicMethod(Class<?> c, String name, Class<?> returnType, Class<?>...parameterTypes) {<a name="line.455"></a>
+<span class="sourceLineNo">456</span> for (Method m : c.getMethods()) {<a name="line.456"></a>
+<span class="sourceLineNo">457</span> if (isPublic(m) && m.getName().equals(name)) {<a name="line.457"></a>
+<span class="sourceLineNo">458</span> Class<?> rt = m.getReturnType();<a name="line.458"></a>
+<span class="sourceLineNo">459</span> if (isParentClass(returnType, rt)) {<a name="line.459"></a>
+<span class="sourceLineNo">460</span> Class<?>[] pt = m.getParameterTypes();<a name="line.460"></a>
+<span class="sourceLineNo">461</span> if (pt.length == parameterTypes.length) {<a name="line.461"></a>
+<span class="sourceLineNo">462</span> boolean matches = true;<a name="line.462"></a>
+<span class="sourceLineNo">463</span> for (int i = 0; i < pt.length; i++) {<a name="line.463"></a>
+<span class="sourceLineNo">464</span> if (! isParentClass(pt[i], parameterTypes[i])) {<a name="line.464"></a>
+<span class="sourceLineNo">465</span> matches = false;<a name="line.465"></a>
+<span class="sourceLineNo">466</span> break;<a name="line.466"></a>
+<span class="sourceLineNo">467</span> }<a name="line.467"></a>
+<span class="sourceLineNo">468</span> }<a name="line.468"></a>
+<span class="sourceLineNo">469</span> if (matches)<a name="line.469"></a>
+<span class="sourceLineNo">470</span> return m;<a name="line.470"></a>
+<span class="sourceLineNo">471</span> }<a name="line.471"></a>
+<span class="sourceLineNo">472</span> }<a name="line.472"></a>
+<span class="sourceLineNo">473</span> }<a name="line.473"></a>
+<span class="sourceLineNo">474</span> }<a name="line.474"></a>
+<span class="sourceLineNo">475</span> return null;<a name="line.475"></a>
+<span class="sourceLineNo">476</span> }<a name="line.476"></a>
+<span class="sourceLineNo">477</span><a name="line.477"></a>
+<span class="sourceLineNo">478</span> /**<a name="line.478"></a>
+<span class="sourceLineNo">479</span> * Finds a public constructor with the specified parameters without throwing an exception.<a name="line.479"></a>
+<span class="sourceLineNo">480</span> *<a name="line.480"></a>
+<span class="sourceLineNo">481</span> * @param c The class to search for a constructor.<a name="line.481"></a>
+<span class="sourceLineNo">482</span> * @param parameterTypes The parameter types in the constructor.<a name="line.482"></a>
+<span class="sourceLineNo">483</span> * Can be subtypes of the actual constructor argument types.<a name="line.483"></a>
+<span class="sourceLineNo">484</span> * @return The matching constructor, or <jk>null</jk> if constructor could not be found.<a name="line.484"></a>
+<span class="sourceLineNo">485</span> */<a name="line.485"></a>
+<span class="sourceLineNo">486</span> @SuppressWarnings("unchecked")<a name="line.486"></a>
+<span class="sourceLineNo">487</span> public static <T> Constructor<T> findPublicConstructor(Class<T> c, Class<?>...parameterTypes) {<a name="line.487"></a>
+<span class="sourceLineNo">488</span> for (Constructor<?> n : c.getConstructors()) {<a name="line.488"></a>
+<span class="sourceLineNo">489</span> if (isPublic(n)) {<a name="line.489"></a>
+<span class="sourceLineNo">490</span> Class<?>[] pt = n.getParameterTypes();<a name="line.490"></a>
+<span class="sourceLineNo">491</span> if (pt.length == parameterTypes.length) {<a name="line.491"></a>
+<span class="sourceLineNo">492</span> boolean matches = true;<a name="line.492"></a>
+<span class="sourceLineNo">493</span> for (int i = 0; i < pt.length; i++) {<a name="line.493"></a>
+<span class="sourceLineNo">494</span> if (! isParentClass(pt[i], parameterTypes[i])) {<a name="line.494"></a>
+<span class="sourceLineNo">495</span> matches = false;<a name="line.495"></a>
+<span class="sourceLineNo">496</span> break;<a name="line.496"></a>
+<span class="sourceLineNo">497</span> }<a name="line.497"></a>
+<span class="sourceLineNo">498</span> }<a name="line.498"></a>
+<span class="sourceLineNo">499</span> if (matches)<a name="line.499"></a>
+<span class="sourceLineNo">500</span> return (Constructor<T>)n;<a name="line.500"></a>
+<span class="sourceLineNo">501</span> }<a name="line.501"></a>
+<span class="sourceLineNo">502</span> }<a name="line.502"></a>
+<span class="sourceLineNo">503</span> }<a name="line.503"></a>
+<span class="sourceLineNo">504</span> return null;<a name="line.504"></a>
+<span class="sourceLineNo">505</span> }<a name="line.505"></a>
+<span class="sourceLineNo">506</span><a name="line.506"></a>
+<span class="sourceLineNo">507</span> /**<a name="line.507"></a>
+<span class="sourceLineNo">508</span> * Finds the public constructor that can take in the specified arguments.<a name="line.508"></a>
+<span class="sourceLineNo">509</span> *<a name="line.509"></a>
+<span class="sourceLineNo">510</span> * @param c The class we're trying to construct.<a name="line.510"></a>
+<span class="sourceLineNo">511</span> * @param args The arguments we want to pass into the constructor.<a name="line.511"></a>
+<span class="sourceLineNo">512</span> * @return The constructor, or <jk>null</jk> if a public constructor could not be found that takes<a name="line.512"></a>
+<span class="sourceLineNo">513</span> * in the specified arguments.<a name="line.513"></a>
+<span class="sourceLineNo">514</span> */<a name="line.514"></a>
+<span class="sourceLineNo">515</span> public static <T> Constructor<T> findPublicConstructor(Class<T> c, Object...args) {<a name="line.515"></a>
+<span class="sourceLineNo">516</span> return findPublicConstructor(c, getClasses(args));<a name="line.516"></a>
<span class="sourceLineNo">517</span> }<a name="line.517"></a>
<span class="sourceLineNo">518</span><a name="line.518"></a>
-<span class="sourceLineNo">519</span>// This code is inherently unsafe (but still potentially useful?)<a name="line.519"></a>
-<span class="sourceLineNo">520</span>//<a name="line.520"></a>
-<span class="sourceLineNo">521</span>// /**<a name="line.521"></a>
-<span class="sourceLineNo">522</span>// * Converts class name strings to ClassMeta objects.<a name="line.522"></a>
-<span class="sourceLineNo">523</span>// *<a name="line.523"></a>
-<span class="sourceLineNo">524</span>// * <h5 class='section'>Example:</h5><a name="line.524"></a>
-<span class="sourceLineNo">525</span>// * <ul><a name="line.525"></a>
-<span class="sourceLineNo">526</span>// * <li><js>"java.lang.String"</js><a name="line.526"></a>
-<span class="sourceLineNo">527</span>// * <li><js>"com.foo.sample.MyBean[]"</js><a name="line.527"></a>
-<span class="sourceLineNo">528</span>// * <li><js>"java.util.HashMap<java.lang.String,java.lang.Integer>"</js><a name="line.528"></a>
-<span class="sourceLineNo">529</span>// * <li><js>"[Ljava.lang.String;"</js> (i.e. the value of <code>String[].<jk>class</jk>.getName()</code>)<a name="line.529"></a>
-<span class="sourceLineNo">530</span>// * </ul><a name="line.530"></a>
-<span class="sourceLineNo">531</span>// *<a name="line.531"></a>
-<span class="sourceLineNo">532</span>// * @param s The class name.<a name="line.532"></a>
-<span class="sourceLineNo">533</span>// * @return The ClassMeta corresponding to the class name string.<a name="line.533"></a>
-<span class="sourceLineNo">534</span>// */<a name="line.534"></a>
-<span class="sourceLineNo">535</span>// protected final ClassMeta<?> getClassMetaFromString(String s) {<a name="line.535"></a>
-<span class="sourceLineNo">536</span>// int d = 0;<a name="line.536"></a>
-<span class="sourceLineNo">537</span>// if (s == null || s.isEmpty())<a name="line.537"></a>
-<span class="sourceLineNo">538</span>// return null;<a name="line.538"></a>
-<span class="sourceLineNo">539</span>//<a name="line.539"></a>
-<span class="sourceLineNo">540</span>// // Check for Class.getName() on array class types.<a name="line.540"></a>
-<span class="sourceLineNo">541</span>// if (s.charAt(0) == '[') {<a name="line.541"></a>
-<span class="sourceLineNo">542</span>// try {<a name="line.542"></a>
-<span class="sourceLineNo">543</span>// return getClassMeta(findClass(s));<a name="line.543"></a>
-<span class="sourceLineNo">544</span>// } catch (ClassNotFoundException e) {<a name="line.544"></a>
-<span class="sourceLineNo">545</span>// throw new RuntimeException(e);<a name="line.545"></a>
-<span class="sourceLineNo">546</span>// }<a name="line.546"></a>
-<span class="sourceLineNo">547</span>// }<a name="line.547"></a>
-<span class="sourceLineNo">548</span>//<a name="line.548"></a>
-<span class="sourceLineNo">549</span>// int i1 = 0;<a name="line.549"></a>
-<span class="sourceLineNo">550</span>// int i2 = 0;<a name="line.550"></a>
-<span class="sourceLineNo">551</span>// int dim = 0;<a name="line.551"></a>
-<span class="sourceLineNo">552</span>// List<ClassMeta<?>> p = null;<a name="line.552"></a>
-<span class="sourceLineNo">553</span>// for (int i = 0; i < s.length(); i++) {<a name="line.553"></a>
-<span class="sourceLineNo">554</span>// char c = s.charAt(i);<a name="line.554"></a>
-<span class="sourceLineNo">555</span>// if (c == '<') {<a name="line.555"></a>
-<span class="sourceLineNo">556</span>// if (d == 0) {<a name="line.556"></a>
-<span class="sourceLineNo">557</span>// i1 = i;<a name="line.557"></a>
-<span class="sourceLineNo">558</span>// i2 = i+1;<a name="line.558"></a>
-<span class="sourceLineNo">559</span>// p = new LinkedList<ClassMeta<?>>();<a name="line.559"></a>
-<span class="sourceLineNo">560</span>// }<a name="line.560"></a>
-<span class="sourceLineNo">561</span>// d++;<a name="line.561"></a>
-<span class="sourceLineNo">562</span>// } else if (c == '>') {<a name="line.562"></a>
-<span class="sourceLineNo">563</span>// d--;<a name="line.563"></a>
-<span class="sourceLineNo">564</span>// if (d == 0 && p != null)<a name="line.564"></a>
-<span class="sourceLineNo">565</span>// p.add(getClassMetaFromString(s.substring(i2, i)));<a name="line.565"></a>
-<span class="sourceLineNo">566</span>// } else if (c == ',' && d == 1) {<a name="line.566"></a>
-<span class="sourceLineNo">567</span>// if (p != null)<a name="line.567"></a>
-<span class="sourceLineNo">568</span>// p.add(getClassMetaFromString(s.substring(i2, i)));<a name="line.568"></a>
-<span class="sourceLineNo">569</span>// i2 = i+1;<a name="line.569"></a>
-<span class="sourceLineNo">570</span>// }<a name="line.570"></a>
-<span class="sourceLineNo">571</span>// if (c == '[') {<a name="line.571"></a>
-<span class="sourceLineNo">572</span>// if (i1 == 0)<a name="line.572"></a>
-<span class="sourceLineNo">573</span>// i1 = i;<a name="line.573"></a>
-<span class="sourceLineNo">574</span>// dim++;<a name="line.574"></a>
-<span class="sourceLineNo">575</span>// }<a name="line.575"></a>
-<span class="sourceLineNo">576</span>// }<a name="line.576"></a>
-<span class="sourceLineNo">577</span>// if (i1 == 0)<a name="line.577"></a>
-<span class="sourceLineNo">578</span>// i1 = s.length();<a name="line.578"></a>
-<span class="sourceLineNo">579</span>// try {<a name="line.579"></a>
-<span class="sourceLineNo">580</span>// String name = s.substring(0, i1).trim();<a name="line.580"></a>
-<span class="sourceLineNo">581</span>// char x = name.charAt(0);<a name="line.581"></a>
-<span class="sourceLineNo">582</span>// Class<?> c = null;<a name="line.582"></a>
-<span class="sourceLineNo">583</span>// if (x >= 'b' && x <= 's') {<a name="line.583"></a>
-<span class="sourceLineNo">584</span>// if (x == 'b' && name.equals("boolean"))<a name="line.584"></a>
-<span class="sourceLineNo">585</span>// c = boolean.class;<a name="line.585"></a>
-<span class="sourceLineNo">586</span>// else if (x == 'b' && name.equals("byte"))<a name="line.586"></a>
-<span class="sourceLineNo">587</span>// c = byte.class;<a name="line.587"></a>
-<span class="sourceLineNo">588</span>// else if (x == 'c' && name.equals("char"))<a name="line.588"></a>
-<span class="sourceLineNo">589</span>// c = char.class;<a name="line.589"></a>
-<span class="sourceLineNo">590</span>// else if (x == 'd' && name.equals("double"))<a name="line.590"></a>
-<span class="sourceLineNo">591</span>// c = double.class;<a name="line.591"></a>
-<span class="sourceLineNo">592</span>// else if (x == 'i' && name.equals("int"))<a name="line.592"></a>
-<span class="sourceLineNo">593</span>// c = int.class;<a name="line.593"></a>
-<span class="sourceLineNo">594</span>// else if (x == 'l' && name.equals("long"))<a name="line.594"></a>
-<span class="sourceLineNo">595</span>// c = long.class;<a name="line.595"></a>
-<span class="sourceLineNo">596</span>// else if (x == 's' && name.equals("short"))<a name="line.596"></a>
-<span class="sourceLineNo">597</span>// c = short.class;<a name="line.597"></a>
-<span class="sourceLineNo">598</span>// else<a name="line.598"></a>
-<span class="sourceLineNo">599</span>// c = findClass(name);<a name="line.599"></a>
-<span class="sourceLineNo">600</span>// } else {<a name="line.600"></a>
-<span class="sourceLineNo">601</span>// c = findClass(name);<a name="line.601"></a>
-<span class="sourceLineNo">602</span>// }<a name="line.602"></a>
-<span class="sourceLineNo">603</span>//<a name="line.603"></a>
-<span class="sourceLineNo">604</span>// ClassMeta<?> cm = getClassMeta(c);<a name="line.604"></a>
-<span class="sourceLineNo">605</span>//<a name="line.605"></a>
-<span class="sourceLineNo">606</span>// if (p != null) {<a name="line.606"></a>
-<span class="sourceLineNo">607</span>// if (cm.isMap())<a name="line.607"></a>
-<span class="sourceLineNo">608</span>// cm = new ClassMeta(c, this).setKeyType(p.get(0)).setValueType(p.get(1));<a name="line.608"></a>
-<span class="sourceLineNo">609</span>// if (cm.isCollection())<a name="line.609"></a>
-<span class="sourceLineNo">610</span>// cm = new ClassMeta(c, this).setElementType(p.get(0));<a name="line.610"></a>
-<span class="sourceLineNo">611</span>// }<a name="line.611"></a>
-<span class="sourceLineNo">612</span>//<a name="line.612"></a>
-<span class="sourceLineNo">613</span>// while (dim > 0) {<a name="line.613"></a>
-<span class="sourceLineNo">614</span>// cm = new ClassMeta(Array.newInstance(cm.getInnerClass(), 0).getClass(), this);<a name="line.614"></a>
-<span class="sourceLineNo">615</span>// dim--;<a name="line.615"></a>
-<span class="sourceLineNo">616</span>// }<a name="line.616"></a>
-<span class="sourceLineNo">617</span>//<a name="line.617"></a>
-<span class="sourceLineNo">618</span>// return cm;<a name="line.618"></a>
-<span class="sourceLineNo">619</span>// } catch (ClassNotFoundException e) {<a name="line.619"></a>
-<span class="sourceLineNo">620</span>// throw new RuntimeException(e);<a name="line.620"></a>
-<span class="sourceLineNo">621</span>// }<a name="line.621"></a>
-<span class="sourceLineNo">622</span>// }<a name="line.622"></a>
-<span class="sourceLineNo">623</span>//<a name="line.623"></a>
-<span class="sourceLineNo">624</span>// private Class<?> findClass(String name) throws ClassNotFoundException {<a name="line.624"></a>
-<span class="sourceLineNo">625</span>// return classLoader == null ? Class.forName(name) : Class.forName(name, true, classLoader);<a name="line.625"></a>
-<span class="sourceLineNo">626</span>// }<a name="line.626"></a>
-<span class="sourceLineNo">627</span><a name="line.627"></a>
-<span class="sourceLineNo">628</span> /**<a name="line.628"></a>
-<span class="sourceLineNo">629</span> * Returns a {@link MethodInfo} bean that describes the specified method.<a name="line.629"></a>
-<span class="sourceLineNo">630</span> * @param m The method to describe.<a name="line.630"></a>
-<span class="sourceLineNo">631</span> * @return The bean with information about the method.<a name="line.631"></a>
-<span class="sourceLineNo">632</span> */<a name="line.632"></a>
-<span class="sourceLineNo">633</span> public static MethodInfo getMethodInfo(Method m) {<a name="line.633"></a>
-<span class="sourceLineNo">634</span> return new MethodInfo(m);<a name="line.634"></a>
-<span class="sourceLineNo">635</span> }<a name="line.635"></a>
-<span class="sourceLineNo">636</span><a name="line.636"></a>
-<span class="sourceLineNo">637</span> /**<a name="line.637"></a>
-<span class="sourceLineNo">638</span> * Returns {@link MethodInfo} beans that describe the specified methods.<a name="line.638"></a>
-<span class="sourceLineNo">639</span> * @param m The methods to describe.<a name="line.639"></a>
-<span class="sourceLineNo">640</span> * @return The beans with information about the methods.<a name="line.640"></a>
-<span class="sourceLineNo">641</span> */<a name="line.641"></a>
-<span class="sourceLineNo">642</span> public static MethodInfo[] getMethodInfo(Collection<Method> m) {<a name="line.642"></a>
-<span class="sourceLineNo">643</span> MethodInfo[] mi = new MethodInfo[m.size()];<a name="line.643"></a>
-<span class="sourceLineNo">644</span> int i = 0;<a name="line.644"></a>
-<span class="sourceLineNo">645</span> for (Method mm : m)<a name="line.645"></a>
-<span class="sourceLineNo">646</span> mi[i++] = getMethodInfo(mm);<a name="line.646"></a>
-<span class="sourceLineNo">647</span> return mi;<a name="line.647"></a>
+<span class="sourceLineNo">519</span> /**<a name="line.519"></a>
+<span class="sourceLineNo">520</span> * Returns the class types for the specified arguments.<a name="line.520"></a>
+<span class="sourceLineNo">521</span> *<a name="line.521"></a>
+<span class="sourceLineNo">522</span> * @param args The objects we're getting the classes of.<a name="line.522"></a>
+<span class="sourceLineNo">523</span> * @return The classes of the arguments.<a name="line.523"></a>
+<span class="sourceLineNo">524</span> */<a name="line.524"></a>
+<span class="sourceLineNo">525</span> public static Class<?>[] getClasses(Object...args) {<a name="line.525"></a>
+<span class="sourceLineNo">526</span> Class<?>[] pt = new
<TRUNCATED>
[08/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/rest/RequestQuery.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/rest/RequestQuery.html b/content/site/apidocs/src-html/org/apache/juneau/rest/RequestQuery.html
new file mode 100644
index 0000000..a2f20bf
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/rest/RequestQuery.html
@@ -0,0 +1,359 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.rest;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>import java.lang.reflect.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span>import java.util.*;<a name="line.16"></a>
+<span class="sourceLineNo">017</span><a name="line.17"></a>
+<span class="sourceLineNo">018</span>import javax.servlet.http.*;<a name="line.18"></a>
+<span class="sourceLineNo">019</span><a name="line.19"></a>
+<span class="sourceLineNo">020</span>import org.apache.juneau.*;<a name="line.20"></a>
+<span class="sourceLineNo">021</span>import org.apache.juneau.internal.*;<a name="line.21"></a>
+<span class="sourceLineNo">022</span>import org.apache.juneau.parser.*;<a name="line.22"></a>
+<span class="sourceLineNo">023</span>import org.apache.juneau.urlencoding.*;<a name="line.23"></a>
+<span class="sourceLineNo">024</span><a name="line.24"></a>
+<span class="sourceLineNo">025</span>/**<a name="line.25"></a>
+<span class="sourceLineNo">026</span> * Represents the query parameters in an HTTP request.<a name="line.26"></a>
+<span class="sourceLineNo">027</span> */<a name="line.27"></a>
+<span class="sourceLineNo">028</span>@SuppressWarnings("unchecked")<a name="line.28"></a>
+<span class="sourceLineNo">029</span>public final class RequestQuery extends LinkedHashMap<String,String[]> {<a name="line.29"></a>
+<span class="sourceLineNo">030</span> private static final long serialVersionUID = 1L;<a name="line.30"></a>
+<span class="sourceLineNo">031</span><a name="line.31"></a>
+<span class="sourceLineNo">032</span> private UrlEncodingParser parser;<a name="line.32"></a>
+<span class="sourceLineNo">033</span> private BeanSession beanSession;<a name="line.33"></a>
+<span class="sourceLineNo">034</span><a name="line.34"></a>
+<span class="sourceLineNo">035</span> RequestQuery setParser(UrlEncodingParser parser) {<a name="line.35"></a>
+<span class="sourceLineNo">036</span> this.parser = parser;<a name="line.36"></a>
+<span class="sourceLineNo">037</span> return this;<a name="line.37"></a>
+<span class="sourceLineNo">038</span> }<a name="line.38"></a>
+<span class="sourceLineNo">039</span><a name="line.39"></a>
+<span class="sourceLineNo">040</span> RequestQuery setBeanSession(BeanSession beanSession) {<a name="line.40"></a>
+<span class="sourceLineNo">041</span> this.beanSession = beanSession;<a name="line.41"></a>
+<span class="sourceLineNo">042</span> return this;<a name="line.42"></a>
+<span class="sourceLineNo">043</span> }<a name="line.43"></a>
+<span class="sourceLineNo">044</span><a name="line.44"></a>
+<span class="sourceLineNo">045</span> /**<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * Sets a request query parameter value.<a name="line.46"></a>
+<span class="sourceLineNo">047</span> *<a name="line.47"></a>
+<span class="sourceLineNo">048</span> * @param name The parameter name.<a name="line.48"></a>
+<span class="sourceLineNo">049</span> * @param value The parameter value.<a name="line.49"></a>
+<span class="sourceLineNo">050</span> */<a name="line.50"></a>
+<span class="sourceLineNo">051</span> public void put(String name, Object value) {<a name="line.51"></a>
+<span class="sourceLineNo">052</span> put(name, new String[]{StringUtils.toString(value)});<a name="line.52"></a>
+<span class="sourceLineNo">053</span> }<a name="line.53"></a>
+<span class="sourceLineNo">054</span><a name="line.54"></a>
+<span class="sourceLineNo">055</span> /**<a name="line.55"></a>
+<span class="sourceLineNo">056</span> * Returns a query parameter value.<a name="line.56"></a>
+<span class="sourceLineNo">057</span> * <p><a name="line.57"></a>
+<span class="sourceLineNo">058</span> * Same as {@link HttpServletRequest#getParameter(String)} except only looks in the URL string, not parameters from URL-Encoded FORM posts.<a name="line.58"></a>
+<span class="sourceLineNo">059</span> * <p><a name="line.59"></a>
+<span class="sourceLineNo">060</span> * This method can be used to retrieve a parameter without triggering the underlying servlet API to load and parse the request body.<a name="line.60"></a>
+<span class="sourceLineNo">061</span> *<a name="line.61"></a>
+<span class="sourceLineNo">062</span> * @param name The URL parameter name.<a name="line.62"></a>
+<span class="sourceLineNo">063</span> * @return The parameter value, or <jk>null</jk> if parameter not specified or has no value (e.g. <js>"&amp;foo"</js>.<a name="line.63"></a>
+<span class="sourceLineNo">064</span> */<a name="line.64"></a>
+<span class="sourceLineNo">065</span> public String getFirst(String name) {<a name="line.65"></a>
+<span class="sourceLineNo">066</span> String[] v = get(name);<a name="line.66"></a>
+<span class="sourceLineNo">067</span> if (v == null || v.length == 0)<a name="line.67"></a>
+<span class="sourceLineNo">068</span> return null;<a name="line.68"></a>
+<span class="sourceLineNo">069</span> if (v.length == 1 && v[0] != null && v[0].isEmpty()) {<a name="line.69"></a>
+<span class="sourceLineNo">070</span> // Fix for behavior difference between Tomcat and WAS.<a name="line.70"></a>
+<span class="sourceLineNo">071</span> // getParameter("foo") on "&foo" in Tomcat returns "".<a name="line.71"></a>
+<span class="sourceLineNo">072</span> // getParameter("foo") on "&foo" in WAS returns null.<a name="line.72"></a>
+<span class="sourceLineNo">073</span> if (containsKey(name))<a name="line.73"></a>
+<span class="sourceLineNo">074</span> return null;<a name="line.74"></a>
+<span class="sourceLineNo">075</span> }<a name="line.75"></a>
+<span class="sourceLineNo">076</span> return v[0];<a name="line.76"></a>
+<span class="sourceLineNo">077</span> }<a name="line.77"></a>
+<span class="sourceLineNo">078</span><a name="line.78"></a>
+<span class="sourceLineNo">079</span> /**<a name="line.79"></a>
+<span class="sourceLineNo">080</span> * Same as {@link #getFirst(String)} but returns the specified default value if the query parameter was not specified.<a name="line.80"></a>
+<span class="sourceLineNo">081</span> *<a name="line.81"></a>
+<span class="sourceLineNo">082</span> * @param name The URL parameter name.<a name="line.82"></a>
+<span class="sourceLineNo">083</span> * @param def The default value.<a name="line.83"></a>
+<span class="sourceLineNo">084</span> * @return The parameter value, or the default value if parameter not specified or has no value (e.g. <js>"&amp;foo"</js>.<a name="line.84"></a>
+<span class="sourceLineNo">085</span> */<a name="line.85"></a>
+<span class="sourceLineNo">086</span> public String getFirst(String name, String def) {<a name="line.86"></a>
+<span class="sourceLineNo">087</span> String s = getFirst(name);<a name="line.87"></a>
+<span class="sourceLineNo">088</span> return s == null ? def : s;<a name="line.88"></a>
+<span class="sourceLineNo">089</span> }<a name="line.89"></a>
+<span class="sourceLineNo">090</span><a name="line.90"></a>
+<span class="sourceLineNo">091</span> /**<a name="line.91"></a>
+<span class="sourceLineNo">092</span> * Returns the specified query parameter value converted to a POJO.<a name="line.92"></a>
+<span class="sourceLineNo">093</span> * <p><a name="line.93"></a>
+<span class="sourceLineNo">094</span> * This method can be used to retrieve a parameter without triggering the underlying servlet API to load and parse the request body.<a name="line.94"></a>
+<span class="sourceLineNo">095</span> * <p><a name="line.95"></a>
+<span class="sourceLineNo">096</span> * <h5 class='section'>Examples:</h5><a name="line.96"></a>
+<span class="sourceLineNo">097</span> * <p class='bcode'><a name="line.97"></a>
+<span class="sourceLineNo">098</span> * <jc>// Parse into an integer.</jc><a name="line.98"></a>
+<span class="sourceLineNo">099</span> * <jk>int</jk> myparam = req.getQueryParameter(<js>"myparam"</js>, <jk>int</jk>.<jk>class</jk>);<a name="line.99"></a>
+<span class="sourceLineNo">100</span> *<a name="line.100"></a>
+<span class="sourceLineNo">101</span> * <jc>// Parse into an int array.</jc><a name="line.101"></a>
+<span class="sourceLineNo">102</span> * <jk>int</jk>[] myparam = req.getQueryParameter(<js>"myparam"</js>, <jk>int</jk>[].<jk>class</jk>);<a name="line.102"></a>
+<span class="sourceLineNo">103</span><a name="line.103"></a>
+<span class="sourceLineNo">104</span> * <jc>// Parse into a bean.</jc><a name="line.104"></a>
+<span class="sourceLineNo">105</span> * MyBean myparam = req.getQueryParameter(<js>"myparam"</js>, MyBean.<jk>class</jk>);<a name="line.105"></a>
+<span class="sourceLineNo">106</span> *<a name="line.106"></a>
+<span class="sourceLineNo">107</span> * <jc>// Parse into a linked-list of objects.</jc><a name="line.107"></a>
+<span class="sourceLineNo">108</span> * List myparam = req.getQueryParameter(<js>"myparam"</js>, LinkedList.<jk>class</jk>);<a name="line.108"></a>
+<span class="sourceLineNo">109</span> *<a name="line.109"></a>
+<span class="sourceLineNo">110</span> * <jc>// Parse into a map of object keys/values.</jc><a name="line.110"></a>
+<span class="sourceLineNo">111</span> * Map myparam = req.getQueryParameter(<js>"myparam"</js>, TreeMap.<jk>class</jk>);<a name="line.111"></a>
+<span class="sourceLineNo">112</span> * </p><a name="line.112"></a>
+<span class="sourceLineNo">113</span> *<a name="line.113"></a>
+<span class="sourceLineNo">114</span> * @param name The parameter name.<a name="line.114"></a>
+<span class="sourceLineNo">115</span> * @param type The class type to convert the parameter value to.<a name="line.115"></a>
+<span class="sourceLineNo">116</span> * @param <T> The class type to convert the parameter value to.<a name="line.116"></a>
+<span class="sourceLineNo">117</span> * @return The parameter value converted to the specified class type.<a name="line.117"></a>
+<span class="sourceLineNo">118</span> * @throws ParseException<a name="line.118"></a>
+<span class="sourceLineNo">119</span> */<a name="line.119"></a>
+<span class="sourceLineNo">120</span> public <T> T get(String name, Class<T> type) throws ParseException {<a name="line.120"></a>
+<span class="sourceLineNo">121</span> return get(name, beanSession.getClassMeta(type));<a name="line.121"></a>
+<span class="sourceLineNo">122</span> }<a name="line.122"></a>
+<span class="sourceLineNo">123</span><a name="line.123"></a>
+<span class="sourceLineNo">124</span> /**<a name="line.124"></a>
+<span class="sourceLineNo">125</span> * Same as {@link #get(String, Class)} except returns a default value if not found.<a name="line.125"></a>
+<span class="sourceLineNo">126</span> *<a name="line.126"></a>
+<span class="sourceLineNo">127</span> * @param name The parameter name.<a name="line.127"></a>
+<span class="sourceLineNo">128</span> * @param def The default value if the parameter was not specified or is <jk>null</jk>.<a name="line.128"></a>
+<span class="sourceLineNo">129</span> * @param type The class type to convert the parameter value to.<a name="line.129"></a>
+<span class="sourceLineNo">130</span> * @param <T> The class type to convert the parameter value to.<a name="line.130"></a>
+<span class="sourceLineNo">131</span> * @return The parameter value converted to the specified class type.<a name="line.131"></a>
+<span class="sourceLineNo">132</span> * @throws ParseException<a name="line.132"></a>
+<span class="sourceLineNo">133</span> */<a name="line.133"></a>
+<span class="sourceLineNo">134</span> public <T> T get(String name, T def, Class<T> type) throws ParseException {<a name="line.134"></a>
+<span class="sourceLineNo">135</span> return get(name, def, beanSession.getClassMeta(type));<a name="line.135"></a>
+<span class="sourceLineNo">136</span> }<a name="line.136"></a>
+<span class="sourceLineNo">137</span><a name="line.137"></a>
+<span class="sourceLineNo">138</span> /**<a name="line.138"></a>
+<span class="sourceLineNo">139</span> * Returns the specified query parameter value converted to a POJO.<a name="line.139"></a>
+<span class="sourceLineNo">140</span> * <p><a name="line.140"></a>
+<span class="sourceLineNo">141</span> * This method can be used to retrieve a parameter without triggering the underlying servlet API to load and parse the request body.<a name="line.141"></a>
+<span class="sourceLineNo">142</span> * <p><a name="line.142"></a>
+<span class="sourceLineNo">143</span> * Use this method if you want to parse into a parameterized <code>Map</code>/<code>Collection</code> object.<a name="line.143"></a>
+<span class="sourceLineNo">144</span> * <p><a name="line.144"></a>
+<span class="sourceLineNo">145</span> * <h5 class='section'>Examples:</h5><a name="line.145"></a>
+<span class="sourceLineNo">146</span> * <p class='bcode'><a name="line.146"></a>
+<span class="sourceLineNo">147</span> * <jc>// Parse into a linked-list of strings.</jc><a name="line.147"></a>
+<span class="sourceLineNo">148</span> * Listt&lt;String&gt; myparam = req.getQueryParameter(<js>"myparam"</js>, LinkedList.<jk>class</jk>, String.<jk>class</jk>);<a name="line.148"></a>
+<span class="sourceLineNo">149</span> *<a name="line.149"></a>
+<span class="sourceLineNo">150</span> * <jc>// Parse into a linked-list of linked-lists of strings.</jc><a name="line.150"></a>
+<span class="sourceLineNo">151</span> * Listt&lt;List&lt;String&gt;&gt; myparam = req.getQueryParameter(<js>"myparam"</js>, LinkedList.<jk>class</jk>, LinkedList.<jk>class</jk>, String.<jk>class</jk>);<a name="line.151"></a>
+<span class="sourceLineNo">152</span> *<a name="line.152"></a>
+<span class="sourceLineNo">153</span> * <jc>// Parse into a map of string keys/values.</jc><a name="line.153"></a>
+<span class="sourceLineNo">154</span> * Map&lt;String,String&gt; myparam = req.getQueryParameter(<js>"myparam"</js>, TreeMap.<jk>class</jk>, String.<jk>class</jk>, String.<jk>class</jk>);<a name="line.154"></a>
+<span class="sourceLineNo">155</span> *<a name="line.155"></a>
+<span class="sourceLineNo">156</span> * <jc>// Parse into a map containing string keys and values of lists containing beans.</jc><a name="line.156"></a>
+<span class="sourceLineNo">157</span> * Map&lt;String,List&lt;MyBean&gt;&gt; myparam = req.getQueryParameter(<js>"myparam"</js>, TreeMap.<jk>class</jk>, String.<jk>class</jk>, List.<jk>class</jk>, MyBean.<jk>class</jk>);<a name="line.157"></a>
+<span class="sourceLineNo">158</span> * </p><a name="line.158"></a>
+<span class="sourceLineNo">159</span> *<a name="line.159"></a>
+<span class="sourceLineNo">160</span> * @param name The parameter name.<a name="line.160"></a>
+<span class="sourceLineNo">161</span> * @param type The type of object to create.<a name="line.161"></a>
+<span class="sourceLineNo">162</span> * <br>Can be any of the following: {@link ClassMeta}, {@link Class}, {@link ParameterizedType}, {@link GenericArrayType}<a name="line.162"></a>
+<span class="sourceLineNo">163</span> * @param args The type arguments of the class if it's a collection or map.<a name="line.163"></a>
+<span class="sourceLineNo">164</span> * <br>Can be any of the following: {@link ClassMeta}, {@link Class}, {@link ParameterizedType}, {@link GenericArrayType}<a name="line.164"></a>
+<span class="sourceLineNo">165</span> * <br>Ignored if the main type is not a map or collection.<a name="line.165"></a>
+<span class="sourceLineNo">166</span> * @param <T> The class type to convert the parameter value to.<a name="line.166"></a>
+<span class="sourceLineNo">167</span> * @return The parameter value converted to the specified class type.<a name="line.167"></a>
+<span class="sourceLineNo">168</span> * @throws ParseException<a name="line.168"></a>
+<span class="sourceLineNo">169</span> */<a name="line.169"></a>
+<span class="sourceLineNo">170</span> public <T> T get(String name, Type type, Type...args) throws ParseException {<a name="line.170"></a>
+<span class="sourceLineNo">171</span> return (T)parse(name, beanSession.getClassMeta(type, args));<a name="line.171"></a>
+<span class="sourceLineNo">172</span> }<a name="line.172"></a>
+<span class="sourceLineNo">173</span><a name="line.173"></a>
+<span class="sourceLineNo">174</span> /**<a name="line.174"></a>
+<span class="sourceLineNo">175</span> * Same as {@link #get(String, Class)} except returns a default value if not found.<a name="line.175"></a>
+<span class="sourceLineNo">176</span> *<a name="line.176"></a>
+<span class="sourceLineNo">177</span> * @param name The parameter name.<a name="line.177"></a>
+<span class="sourceLineNo">178</span> * @param type The type of object to create.<a name="line.178"></a>
+<span class="sourceLineNo">179</span> * <br>Can be any of the following: {@link ClassMeta}, {@link Class}, {@link ParameterizedType}, {@link GenericArrayType}<a name="line.179"></a>
+<span class="sourceLineNo">180</span> * @param args The type arguments of the class if it's a collection or map.<a name="line.180"></a>
+<span class="sourceLineNo">181</span> * <br>Can be any of the following: {@link ClassMeta}, {@link Class}, {@link ParameterizedType}, {@link GenericArrayType}<a name="line.181"></a>
+<span class="sourceLineNo">182</span> * <br>Ignored if the main type is not a map or collection.<a name="line.182"></a>
+<span class="sourceLineNo">183</span> * @param def The default value if the parameter was not specified or is <jk>null</jk>.<a name="line.183"></a>
+<span class="sourceLineNo">184</span> * @param <T> The class type to convert the parameter value to.<a name="line.184"></a>
+<span class="sourceLineNo">185</span> * @return The parameter value converted to the specified class type.<a name="line.185"></a>
+<span class="sourceLineNo">186</span> * @throws ParseException<a name="line.186"></a>
+<span class="sourceLineNo">187</span> */<a name="line.187"></a>
+<span class="sourceLineNo">188</span> public <T> T get(String name, Object def, Type type, Type...args) throws ParseException {<a name="line.188"></a>
+<span class="sourceLineNo">189</span> return (T)parse(name, def, beanSession.getClassMeta(type, args));<a name="line.189"></a>
+<span class="sourceLineNo">190</span> }<a name="line.190"></a>
+<span class="sourceLineNo">191</span><a name="line.191"></a>
+<span class="sourceLineNo">192</span> /**<a name="line.192"></a>
+<span class="sourceLineNo">193</span> * Same as {@link #get(String, Class)} except for use on multi-part parameters<a name="line.193"></a>
+<span class="sourceLineNo">194</span> * (e.g. <js>"&amp;key=1&amp;key=2&amp;key=3"</js> instead of <js>"&amp;key=(1,2,3)"</js>).<a name="line.194"></a>
+<span class="sourceLineNo">195</span> * <p><a name="line.195"></a>
+<span class="sourceLineNo">196</span> * This method must only be called when parsing into classes of type Collection or array.<a name="line.196"></a>
+<span class="sourceLineNo">197</span> *<a name="line.197"></a>
+<span class="sourceLineNo">198</span> * @param name The query parameter name.<a name="line.198"></a>
+<span class="sourceLineNo">199</span> * @param c The class type to convert the parameter value to.<a name="line.199"></a>
+<span class="sourceLineNo">200</span> * @param <T> The class type to convert the parameter value to.<a name="line.200"></a>
+<span class="sourceLineNo">201</span> * @return The query parameter value converted to the specified class type.<a name="line.201"></a>
+<span class="sourceLineNo">202</span> * @throws ParseException<a name="line.202"></a>
+<span class="sourceLineNo">203</span> */<a name="line.203"></a>
+<span class="sourceLineNo">204</span> public <T> T getAll(String name, Class<T> c) throws ParseException {<a name="line.204"></a>
+<span class="sourceLineNo">205</span> return getAll(name, beanSession.getClassMeta(c));<a name="line.205"></a>
+<span class="sourceLineNo">206</span> }<a name="line.206"></a>
+<span class="sourceLineNo">207</span><a name="line.207"></a>
+<span class="sourceLineNo">208</span> /**<a name="line.208"></a>
+<span class="sourceLineNo">209</span> * Same as {@link #get(String, Type, Type...)} except for use on multi-part parameters<a name="line.209"></a>
+<span class="sourceLineNo">210</span> * (e.g. <js>"&amp;key=1&amp;key=2&amp;key=3"</js> instead of <js>"&amp;key=(1,2,3)"</js>).<a name="line.210"></a>
+<span class="sourceLineNo">211</span> * <p><a name="line.211"></a>
+<span class="sourceLineNo">212</span> * This method must only be called when parsing into classes of type Collection or array.<a name="line.212"></a>
+<span class="sourceLineNo">213</span> *<a name="line.213"></a>
+<span class="sourceLineNo">214</span> * @param name The query parameter name.<a name="line.214"></a>
+<span class="sourceLineNo">215</span> * @param type The type of object to create.<a name="line.215"></a>
+<span class="sourceLineNo">216</span> * <br>Can be any of the following: {@link ClassMeta}, {@link Class}, {@link ParameterizedType}, {@link GenericArrayType}<a name="line.216"></a>
+<span class="sourceLineNo">217</span> * @param args The type arguments of the class if it's a collection or map.<a name="line.217"></a>
+<span class="sourceLineNo">218</span> * <br>Can be any of the following: {@link ClassMeta}, {@link Class}, {@link ParameterizedType}, {@link GenericArrayType}<a name="line.218"></a>
+<span class="sourceLineNo">219</span> * <br>Ignored if the main type is not a map or collection.<a name="line.219"></a>
+<span class="sourceLineNo">220</span> * @param <T> The class type to convert the parameter value to.<a name="line.220"></a>
+<span class="sourceLineNo">221</span> * @return The query parameter value converted to the specified class type.<a name="line.221"></a>
+<span class="sourceLineNo">222</span> * @throws ParseException<a name="line.222"></a>
+<span class="sourceLineNo">223</span> */<a name="line.223"></a>
+<span class="sourceLineNo">224</span> public <T> T getAll(String name, Type type, Type...args) throws ParseException {<a name="line.224"></a>
+<span class="sourceLineNo">225</span> return (T)parseAll(name, beanSession.getClassMeta(type, args));<a name="line.225"></a>
+<span class="sourceLineNo">226</span> }<a name="line.226"></a>
+<span class="sourceLineNo">227</span><a name="line.227"></a>
+<span class="sourceLineNo">228</span> /**<a name="line.228"></a>
+<span class="sourceLineNo">229</span> * Returns <jk>true</jk> if the request contains any of the specified query parameters.<a name="line.229"></a>
+<span class="sourceLineNo">230</span> *<a name="line.230"></a>
+<span class="sourceLineNo">231</span> * @param params The list of parameters to check for.<a name="line.231"></a>
+<span class="sourceLineNo">232</span> * @return <jk>true</jk> if the request contains any of the specified query parameters.<a name="line.232"></a>
+<span class="sourceLineNo">233</span> */<a name="line.233"></a>
+<span class="sourceLineNo">234</span> public boolean containsAnyKeys(String...params) {<a name="line.234"></a>
+<span class="sourceLineNo">235</span> for (String p : params)<a name="line.235"></a>
+<span class="sourceLineNo">236</span> if (containsKey(p))<a name="line.236"></a>
+<span class="sourceLineNo">237</span> return true;<a name="line.237"></a>
+<span class="sourceLineNo">238</span> return false;<a name="line.238"></a>
+<span class="sourceLineNo">239</span> }<a name="line.239"></a>
+<span class="sourceLineNo">240</span><a name="line.240"></a>
+<span class="sourceLineNo">241</span> /* Workhorse method */<a name="line.241"></a>
+<span class="sourceLineNo">242</span> private <T> T parse(String name, T def, ClassMeta<T> cm) throws ParseException {<a name="line.242"></a>
+<span class="sourceLineNo">243</span> String val = getFirst(name);<a name="line.243"></a>
+<span class="sourceLineNo">244</span> if (val == null)<a name="line.244"></a>
+<span class="sourceLineNo">245</span> return def;<a name="line.245"></a>
+<span class="sourceLineNo">246</span> return parseValue(val, cm);<a name="line.246"></a>
+<span class="sourceLineNo">247</span> }<a name="line.247"></a>
+<span class="sourceLineNo">248</span><a name="line.248"></a>
+<span class="sourceLineNo">249</span> /* Workhorse method */<a name="line.249"></a>
+<span class="sourceLineNo">250</span> private <T> T parse(String name, ClassMeta<T> cm) throws ParseException {<a name="line.250"></a>
+<span class="sourceLineNo">251</span> String val = getFirst(name);<a name="line.251"></a>
+<span class="sourceLineNo">252</span> if (cm.isPrimitive() && (val == null || val.isEmpty()))<a name="line.252"></a>
+<span class="sourceLineNo">253</span> return cm.getPrimitiveDefault();<a name="line.253"></a>
+<span class="sourceLineNo">254</span> return parseValue(val, cm);<a name="line.254"></a>
+<span class="sourceLineNo">255</span> }<a name="line.255"></a>
+<span class="sourceLineNo">256</span><a name="line.256"></a>
+<span class="sourceLineNo">257</span> /* Workhorse method */<a name="line.257"></a>
+<span class="sourceLineNo">258</span> @SuppressWarnings("rawtypes")<a name="line.258"></a>
+<span class="sourceLineNo">259</span> private <T> T parseAll(String name, ClassMeta<T> cm) throws ParseException {<a name="line.259"></a>
+<span class="sourceLineNo">260</span> String[] p = get(name);<a name="line.260"></a>
+<span class="sourceLineNo">261</span> if (p == null)<a name="line.261"></a>
+<span class="sourceLineNo">262</span> return null;<a name="line.262"></a>
+<span class="sourceLineNo">263</span> if (cm.isArray()) {<a name="line.263"></a>
+<span class="sourceLineNo">264</span> List c = new ArrayList();<a name="line.264"></a>
+<span class="sourceLineNo">265</span> for (int i = 0; i < p.length; i++)<a name="line.265"></a>
+<span class="sourceLineNo">266</span> c.add(parseValue(p[i], cm.getElementType()));<a name="line.266"></a>
+<span class="sourceLineNo">267</span> return (T)ArrayUtils.toArray(c, cm.getElementType().getInnerClass());<a name="line.267"></a>
+<span class="sourceLineNo">268</span> } else if (cm.isCollection()) {<a name="line.268"></a>
+<span class="sourceLineNo">269</span> try {<a name="line.269"></a>
+<span class="sourceLineNo">270</span> Collection c = (Collection)(cm.canCreateNewInstance() ? cm.newInstance() : new ObjectList());<a name="line.270"></a>
+<span class="sourceLineNo">271</span> for (int i = 0; i < p.length; i++)<a name="line.271"></a>
+<span class="sourceLineNo">272</span> c.add(parseValue(p[i], cm.getElementType()));<a name="line.272"></a>
+<span class="sourceLineNo">273</span> return (T)c;<a name="line.273"></a>
+<span class="sourceLineNo">274</span> } catch (ParseException e) {<a name="line.274"></a>
+<span class="sourceLineNo">275</span> throw e;<a name="line.275"></a>
+<span class="sourceLineNo">276</span> } catch (Exception e) {<a name="line.276"></a>
+<span class="sourceLineNo">277</span> // Typically an instantiation exception.<a name="line.277"></a>
+<span class="sourceLineNo">278</span> throw new ParseException(e);<a name="line.278"></a>
+<span class="sourceLineNo">279</span> }<a name="line.279"></a>
+<span class="sourceLineNo">280</span> }<a name="line.280"></a>
+<span class="sourceLineNo">281</span> throw new ParseException("Invalid call to getQueryParameters(String, ClassMeta). Class type must be a Collection or array.");<a name="line.281"></a>
+<span class="sourceLineNo">282</span> }<a name="line.282"></a>
+<span class="sourceLineNo">283</span><a name="line.283"></a>
+<span class="sourceLineNo">284</span> private <T> T parseValue(String val, ClassMeta<T> c) throws ParseException {<a name="line.284"></a>
+<span class="sourceLineNo">285</span> return parser.parsePart(val, c);<a name="line.285"></a>
+<span class="sourceLineNo">286</span> }<a name="line.286"></a>
+<span class="sourceLineNo">287</span>}<a name="line.287"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
[36/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/internal/ByteArrayInOutStream.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/internal/ByteArrayInOutStream.html b/content/site/apidocs/org/apache/juneau/internal/ByteArrayInOutStream.html
index dd564d8..7232b30 100644
--- a/content/site/apidocs/org/apache/juneau/internal/ByteArrayInOutStream.html
+++ b/content/site/apidocs/org/apache/juneau/internal/ByteArrayInOutStream.html
@@ -49,7 +49,7 @@ var activeTableTab = "activeTableTab";
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/juneau/internal/ByteArrayCache.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Prev Class</span></a></li>
-<li><a href="../../../../org/apache/juneau/internal/CharSequenceReader.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Next Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/internal/Cache.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/juneau/internal/ByteArrayInOutStream.html" target="_top">Frames</a></li>
@@ -276,7 +276,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/io/ByteArrayOutpu
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/juneau/internal/ByteArrayCache.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Prev Class</span></a></li>
-<li><a href="../../../../org/apache/juneau/internal/CharSequenceReader.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Next Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/internal/Cache.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/juneau/internal/ByteArrayInOutStream.html" target="_top">Frames</a></li>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/internal/Cache.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/internal/Cache.html b/content/site/apidocs/org/apache/juneau/internal/Cache.html
new file mode 100644
index 0000000..970516e
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/internal/Cache.html
@@ -0,0 +1,327 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Cache (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="Cache (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":10,"i1":10};
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/internal/ByteArrayInOutStream.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/internal/CharSequenceReader.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/internal/Cache.html" target="_top">Frames</a></li>
+<li><a href="Cache.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li><a href="#constructor.summary">Constr</a> | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li><a href="#constructor.detail">Constr</a> | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.internal</div>
+<h2 title="Class Cache" class="title">Class Cache<K,V></h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.internal.Cache<K,V></li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt><span class="paramLabel">Type Parameters:</span></dt>
+<dd><code>K</code> - The key type.</dd>
+<dd><code>V</code> - The value type.</dd>
+</dl>
+<hr>
+<br>
+<pre>public class <a href="../../../../src-html/org/apache/juneau/internal/Cache.html#line.25">Cache</a><K,V>
+extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
+<div class="block">Simple in-memory cache of objects.
+ <p>
+ Essentially just a wrapper around a ConcurrentHashMap.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.summary">
+<!-- -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
+<tr>
+<th class="colOne" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/Cache.html#Cache-boolean-int-">Cache</a></span>(boolean disabled,
+ int maxSize)</code>
+<div class="block">Constructor.</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/internal/Cache.html" title="type parameter in Cache">V</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/Cache.html#get-K-">get</a></span>(<a href="../../../../org/apache/juneau/internal/Cache.html" title="type parameter in Cache">K</a> key)</code>
+<div class="block">Retrieves the value with the specified key from this cache.</div>
+</td>
+</tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/internal/Cache.html" title="type parameter in Cache">V</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/Cache.html#put-K-V-">put</a></span>(<a href="../../../../org/apache/juneau/internal/Cache.html" title="type parameter in Cache">K</a> key,
+ <a href="../../../../org/apache/juneau/internal/Cache.html" title="type parameter in Cache">V</a> value)</code>
+<div class="block">Adds the value with the specified key to this cache.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.detail">
+<!-- -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="Cache-boolean-int-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>Cache</h4>
+<pre>public <a href="../../../../src-html/org/apache/juneau/internal/Cache.html#line.36">Cache</a>(boolean disabled,
+ int maxSize)</pre>
+<div class="block">Constructor.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>disabled</code> - If <jk>true</jk> then the cache is disabled.</dd>
+<dd><code>maxSize</code> - The maximum size of the cache. If this threshold is reached, the cache is flushed.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="get-java.lang.Object-">
+<!-- -->
+</a><a name="get-K-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>get</h4>
+<pre>public <a href="../../../../org/apache/juneau/internal/Cache.html" title="type parameter in Cache">V</a> <a href="../../../../src-html/org/apache/juneau/internal/Cache.html#line.51">get</a>(<a href="../../../../org/apache/juneau/internal/Cache.html" title="type parameter in Cache">K</a> key)</pre>
+<div class="block">Retrieves the value with the specified key from this cache.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>key</code> - The key.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The value, or <jk>null</jk> if the value is not in the cache, or the cache is disabled.</dd>
+</dl>
+</li>
+</ul>
+<a name="put-java.lang.Object-java.lang.Object-">
+<!-- -->
+</a><a name="put-K-V-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>put</h4>
+<pre>public <a href="../../../../org/apache/juneau/internal/Cache.html" title="type parameter in Cache">V</a> <a href="../../../../src-html/org/apache/juneau/internal/Cache.html#line.65">put</a>(<a href="../../../../org/apache/juneau/internal/Cache.html" title="type parameter in Cache">K</a> key,
+ <a href="../../../../org/apache/juneau/internal/Cache.html" title="type parameter in Cache">V</a> value)</pre>
+<div class="block">Adds the value with the specified key to this cache.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>key</code> - The key.</dd>
+<dd><code>value</code> - The value.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>Either the value already in the cache if it already exists, or the same value passed in.
+ Always returns the same value if the cache is disabled.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/internal/ByteArrayInOutStream.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/internal/CharSequenceReader.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/internal/Cache.html" target="_top">Frames</a></li>
+<li><a href="Cache.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li><a href="#constructor.summary">Constr</a> | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li><a href="#constructor.detail">Constr</a> | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/internal/CharSequenceReader.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/internal/CharSequenceReader.html b/content/site/apidocs/org/apache/juneau/internal/CharSequenceReader.html
index 768606e..70274ee 100644
--- a/content/site/apidocs/org/apache/juneau/internal/CharSequenceReader.html
+++ b/content/site/apidocs/org/apache/juneau/internal/CharSequenceReader.html
@@ -48,7 +48,7 @@ var activeTableTab = "activeTableTab";
</div>
<div class="subNav">
<ul class="navList">
-<li><a href="../../../../org/apache/juneau/internal/ByteArrayInOutStream.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/internal/Cache.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Prev Class</span></a></li>
<li><a href="../../../../org/apache/juneau/internal/ClassUtils.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Next Class</span></a></li>
</ul>
<ul class="navList">
@@ -372,7 +372,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/io/BufferedReader
</div>
<div class="subNav">
<ul class="navList">
-<li><a href="../../../../org/apache/juneau/internal/ByteArrayInOutStream.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/internal/Cache.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Prev Class</span></a></li>
<li><a href="../../../../org/apache/juneau/internal/ClassUtils.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Next Class</span></a></li>
</ul>
<ul class="navList">
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/internal/ClassUtils.ClassComparator.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/internal/ClassUtils.ClassComparator.html b/content/site/apidocs/org/apache/juneau/internal/ClassUtils.ClassComparator.html
index 29049f9..740cbba 100644
--- a/content/site/apidocs/org/apache/juneau/internal/ClassUtils.ClassComparator.html
+++ b/content/site/apidocs/org/apache/juneau/internal/ClassUtils.ClassComparator.html
@@ -116,7 +116,7 @@ var activeTableTab = "activeTableTab";
</dl>
<hr>
<br>
-<pre>public static final class <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.150">ClassUtils.ClassComparator</a>
+<pre>public static final class <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.163">ClassUtils.ClassComparator</a>
extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
implements <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util">Comparator</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>>, <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></pre>
<div class="block">Comparator for use with <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true" title="class or interface in java.util"><code>TreeMaps</code></a> with <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a> keys.</div>
@@ -199,7 +199,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Comparato
<ul class="blockListLast">
<li class="blockList">
<h4>ClassComparator</h4>
-<pre>public <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.ClassComparator.html#line.150">ClassComparator</a>()</pre>
+<pre>public <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.ClassComparator.html#line.163">ClassComparator</a>()</pre>
</li>
</ul>
</li>
@@ -216,7 +216,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Comparato
<ul class="blockListLast">
<li class="blockList">
<h4>compare</h4>
-<pre>public int <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.ClassComparator.html#line.155">compare</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> object1,
+<pre>public int <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.ClassComparator.html#line.168">compare</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> object1,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> object2)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/internal/ClassUtils.MethodInfo.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/internal/ClassUtils.MethodInfo.html b/content/site/apidocs/org/apache/juneau/internal/ClassUtils.MethodInfo.html
index 0781488..f76c1c6 100644
--- a/content/site/apidocs/org/apache/juneau/internal/ClassUtils.MethodInfo.html
+++ b/content/site/apidocs/org/apache/juneau/internal/ClassUtils.MethodInfo.html
@@ -106,7 +106,7 @@
</dl>
<hr>
<br>
-<pre>public static class <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.654">ClassUtils.MethodInfo</a>
+<pre>public static class <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.667">ClassUtils.MethodInfo</a>
extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">Simple bean that shows the name, parameter types, and return type of a method.</div>
</li>
@@ -175,7 +175,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>methodName</h4>
-<pre>public 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/internal/ClassUtils.MethodInfo.html#line.655">methodName</a></pre>
+<pre>public 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/internal/ClassUtils.MethodInfo.html#line.668">methodName</a></pre>
</li>
</ul>
<a name="parameterTypes">
@@ -184,7 +184,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>parameterTypes</h4>
-<pre>public 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/internal/ClassUtils.MethodInfo.html#line.656">parameterTypes</a></pre>
+<pre>public 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/internal/ClassUtils.MethodInfo.html#line.669">parameterTypes</a></pre>
</li>
</ul>
<a name="returnType">
@@ -193,7 +193,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
<ul class="blockListLast">
<li class="blockList">
<h4>returnType</h4>
-<pre>public 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/internal/ClassUtils.MethodInfo.html#line.657">returnType</a></pre>
+<pre>public 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/internal/ClassUtils.MethodInfo.html#line.670">returnType</a></pre>
</li>
</ul>
</li>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/internal/ClassUtils.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/internal/ClassUtils.html b/content/site/apidocs/org/apache/juneau/internal/ClassUtils.html
index ac740eb..e6f4455 100644
--- a/content/site/apidocs/org/apache/juneau/internal/ClassUtils.html
+++ b/content/site/apidocs/org/apache/juneau/internal/ClassUtils.html
@@ -18,7 +18,7 @@
catch(err) {
}
//-->
-var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9};
+var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9,"i27":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -311,35 +311,42 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#isParentClass-java.lang.Class-java.lang.reflect.Type-">isParentClass</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> parent,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> child)</code>
+<div class="block">Returns <jk>true</jk> if <code>parent</code> is a parent class or the same as <code>child</code>.</div>
+</td>
+</tr>
+<tr id="i22" class="altColor">
+<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#isPublic-java.lang.Class-">isPublic</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</code>
<div class="block">Returns <jk>true</jk> if the specified class is public.</div>
</td>
</tr>
-<tr id="i22" class="altColor">
+<tr id="i23" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#isPublic-java.lang.reflect.Constructor-">isPublic</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a><?> c)</code>
<div class="block">Returns <jk>true</jk> if the specified constructor is public.</div>
</td>
</tr>
-<tr id="i23" class="rowColor">
+<tr id="i24" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#isPublic-java.lang.reflect.Method-">isPublic</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> m)</code>
<div class="block">Returns <jk>true</jk> if the specified method is public.</div>
</td>
</tr>
-<tr id="i24" class="altColor">
+<tr id="i25" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#isStatic-java.lang.Class-">isStatic</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</code>
<div class="block">Returns <jk>true</jk> if the specified class is public.</div>
</td>
</tr>
-<tr id="i25" class="rowColor">
+<tr id="i26" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#isStatic-java.lang.reflect.Method-">isStatic</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> m)</code>
<div class="block">Returns <jk>true</jk> if the specified method is static.</div>
</td>
</tr>
-<tr id="i26" class="altColor">
+<tr id="i27" class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#resolveParameterType-java.lang.Class-int-java.lang.Class-">resolveParameterType</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c,
int index,
@@ -521,13 +528,31 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
</dl>
</li>
</ul>
+<a name="isParentClass-java.lang.Class-java.lang.reflect.Type-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>isParentClass</h4>
+<pre>public static boolean <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.154">isParentClass</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> parent,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> child)</pre>
+<div class="block">Returns <jk>true</jk> if <code>parent</code> is a parent class or the same as <code>child</code>.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>parent</code> - The parent class.</dd>
+<dd><code>child</code> - The child class.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd><jk>true</jk> if <code>parent</code> is a parent class or the same as <code>child</code>.</dd>
+</dl>
+</li>
+</ul>
<a name="getMethodSignature-java.lang.reflect.Method-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMethodSignature</h4>
-<pre>public 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> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.168">getMethodSignature</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> m)</pre>
+<pre>public 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> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.181">getMethodSignature</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> m)</pre>
<div class="block">Returns the signature of the specified method.
For no-arg methods, the signature will be a simple string such as <js>"toString"</js>.
For methods with one or more args, the arguments will be fully-qualified class names (e.g. <js>"append(java.util.StringBuilder,boolean)"</js>)</div>
@@ -545,7 +570,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>getPrimitiveWrapper</h4>
-<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.210">getPrimitiveWrapper</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</pre>
+<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.223">getPrimitiveWrapper</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</pre>
<div class="block">If the specified class is a primitive (e.g. <code><jk>int</jk>.<jk>class</jk></code>)
returns it's wrapper class (e.g. <code>Integer.<jk>class</jk></code>).</div>
<dl>
@@ -562,7 +587,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>getPrimitiveForWrapper</h4>
-<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.221">getPrimitiveForWrapper</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</pre>
+<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.234">getPrimitiveForWrapper</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</pre>
<div class="block">If the specified class is a primitive wrapper (e.g. <code><jk>Integer</jk>.<jk>class</jk></code>)
returns it's primitive class (e.g. <code>int.<jk>class</jk></code>).</div>
<dl>
@@ -579,7 +604,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>getWrapperIfPrimitive</h4>
-<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.232">getWrapperIfPrimitive</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</pre>
+<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.245">getWrapperIfPrimitive</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</pre>
<div class="block">If the specified class is a primitive (e.g. <code><jk>int</jk>.<jk>class</jk></code>)
returns it's wrapper class (e.g. <code>Integer.<jk>class</jk></code>).</div>
<dl>
@@ -596,7 +621,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>isNotDeprecated</h4>
-<pre>public static boolean <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.244">isNotDeprecated</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</pre>
+<pre>public static boolean <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.257">isNotDeprecated</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</pre>
<div class="block">Returns <jk>true</jk> if the specified class has the <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang"><code>@Deprecated</code></a> annotation on it.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -612,7 +637,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>isNotDeprecated</h4>
-<pre>public static boolean <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.254">isNotDeprecated</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> m)</pre>
+<pre>public static boolean <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.267">isNotDeprecated</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> m)</pre>
<div class="block">Returns <jk>true</jk> if the specified method has the <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang"><code>@Deprecated</code></a> annotation on it.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -628,7 +653,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>isNotDeprecated</h4>
-<pre>public static boolean <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.265">isNotDeprecated</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a><?> c)</pre>
+<pre>public static boolean <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.278">isNotDeprecated</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a><?> c)</pre>
<div class="block">Returns <jk>true</jk> if the specified constructor has the <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang"><code>@Deprecated</code></a> annotation on it.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -644,7 +669,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>isPublic</h4>
-<pre>public static boolean <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.275">isPublic</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</pre>
+<pre>public static boolean <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.288">isPublic</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</pre>
<div class="block">Returns <jk>true</jk> if the specified class is public.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -660,7 +685,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>isStatic</h4>
-<pre>public static boolean <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.285">isStatic</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</pre>
+<pre>public static boolean <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.298">isStatic</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</pre>
<div class="block">Returns <jk>true</jk> if the specified class is public.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -676,7 +701,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>isPublic</h4>
-<pre>public static boolean <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.295">isPublic</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> m)</pre>
+<pre>public static boolean <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.308">isPublic</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> m)</pre>
<div class="block">Returns <jk>true</jk> if the specified method is public.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -692,7 +717,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>isStatic</h4>
-<pre>public static boolean <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.305">isStatic</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> m)</pre>
+<pre>public static boolean <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.318">isStatic</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> m)</pre>
<div class="block">Returns <jk>true</jk> if the specified method is static.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -708,7 +733,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>isPublic</h4>
-<pre>public static boolean <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.315">isPublic</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a><?> c)</pre>
+<pre>public static boolean <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.328">isPublic</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a><?> c)</pre>
<div class="block">Returns <jk>true</jk> if the specified constructor is public.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -724,7 +749,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>findNoArgConstructor</h4>
-<pre>public static final <T> <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a><T> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.331">findNoArgConstructor</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c,
+<pre>public static final <T> <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a><T> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.344">findNoArgConstructor</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c,
<a href="../../../../org/apache/juneau/Visibility.html" title="enum in org.apache.juneau">Visibility</a> v)</pre>
<div class="block">Locates the no-arg constructor for the specified class.
Constructor must match the visibility requirements specified by parameter 'v'.
@@ -745,7 +770,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>resolveParameterType</h4>
-<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.352">resolveParameterType</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c,
+<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.365">resolveParameterType</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c,
int index,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> oc)</pre>
<div class="block">Finds the real parameter type of the specified class.</div>
@@ -765,7 +790,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>findPublicMethod</h4>
-<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.442">findPublicMethod</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c,
+<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.455">findPublicMethod</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c,
<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> name,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> returnType,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>... parameterTypes)</pre>
@@ -791,7 +816,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>findPublicConstructor</h4>
-<pre>public static <T> <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a><T> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.474">findPublicConstructor</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c,
+<pre>public static <T> <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a><T> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.487">findPublicConstructor</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>... parameterTypes)</pre>
<div class="block">Finds a public constructor with the specified parameters without throwing an exception.</div>
<dl>
@@ -810,7 +835,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>findPublicConstructor</h4>
-<pre>public static <T> <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a><T> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.502">findPublicConstructor</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c,
+<pre>public static <T> <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a><T> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.515">findPublicConstructor</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... args)</pre>
<div class="block">Finds the public constructor that can take in the specified arguments.</div>
<dl>
@@ -829,7 +854,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>getClasses</h4>
-<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>[] <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.512">getClasses</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... args)</pre>
+<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>[] <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.525">getClasses</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... args)</pre>
<div class="block">Returns the class types for the specified arguments.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -845,7 +870,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>getMethodInfo</h4>
-<pre>public static <a href="../../../../org/apache/juneau/internal/ClassUtils.MethodInfo.html" title="class in org.apache.juneau.internal">ClassUtils.MethodInfo</a> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.633">getMethodInfo</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> m)</pre>
+<pre>public static <a href="../../../../org/apache/juneau/internal/ClassUtils.MethodInfo.html" title="class in org.apache.juneau.internal">ClassUtils.MethodInfo</a> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.646">getMethodInfo</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> m)</pre>
<div class="block">Returns a <a href="../../../../org/apache/juneau/internal/ClassUtils.MethodInfo.html" title="class in org.apache.juneau.internal"><code>ClassUtils.MethodInfo</code></a> bean that describes the specified method.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -861,7 +886,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
<ul class="blockListLast">
<li class="blockList">
<h4>getMethodInfo</h4>
-<pre>public static <a href="../../../../org/apache/juneau/internal/ClassUtils.MethodInfo.html" title="class in org.apache.juneau.internal">ClassUtils.MethodInfo</a>[] <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.642">getMethodInfo</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a>> m)</pre>
+<pre>public static <a href="../../../../org/apache/juneau/internal/ClassUtils.MethodInfo.html" title="class in org.apache.juneau.internal">ClassUtils.MethodInfo</a>[] <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.655">getMethodInfo</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a>> m)</pre>
<div class="block">Returns <a href="../../../../org/apache/juneau/internal/ClassUtils.MethodInfo.html" title="class in org.apache.juneau.internal"><code>ClassUtils.MethodInfo</code></a> beans that describe the specified methods.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/internal/CollectionUtils.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/internal/CollectionUtils.html b/content/site/apidocs/org/apache/juneau/internal/CollectionUtils.html
index 783a031..d600d5d 100644
--- a/content/site/apidocs/org/apache/juneau/internal/CollectionUtils.html
+++ b/content/site/apidocs/org/apache/juneau/internal/CollectionUtils.html
@@ -49,7 +49,7 @@ var activeTableTab = "activeTableTab";
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/juneau/internal/ClassUtils.MethodInfo.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Prev Class</span></a></li>
-<li><a href="../../../../org/apache/juneau/internal/DelegateBeanMap.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Next Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/internal/DateUtils.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/juneau/internal/CollectionUtils.html" target="_top">Frames</a></li>
@@ -316,7 +316,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/juneau/internal/ClassUtils.MethodInfo.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Prev Class</span></a></li>
-<li><a href="../../../../org/apache/juneau/internal/DelegateBeanMap.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Next Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/internal/DateUtils.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/juneau/internal/CollectionUtils.html" target="_top">Frames</a></li>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/internal/DateUtils.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/internal/DateUtils.html b/content/site/apidocs/org/apache/juneau/internal/DateUtils.html
new file mode 100644
index 0000000..cde8729
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/internal/DateUtils.html
@@ -0,0 +1,458 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>DateUtils (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="DateUtils (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/internal/CollectionUtils.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/internal/DelegateBeanMap.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/internal/DateUtils.html" target="_top">Frames</a></li>
+<li><a href="DateUtils.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li><a href="#field.summary">Field</a> | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li><a href="#field.detail">Field</a> | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.internal</div>
+<h2 title="Class DateUtils" class="title">Class DateUtils</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.internal.DateUtils</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/internal/DateUtils.html#line.26">DateUtils</a>
+extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
+<div class="block">A utility class for parsing and formatting HTTP dates as used in cookies and
+ other headers. This class handles dates as defined by RFC 2616 section
+ 3.3.1 as well as some other common non-standard formats.
+ <p>
+ This class was copied from HttpClient 4.3.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- =========== FIELD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="field.summary">
+<!-- -->
+</a>
+<h3>Field Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
+<caption><span>Fields</span><span class="tabEnd"> </span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Field and Description</th>
+</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/internal/DateUtils.html#PATTERN_ASCTIME">PATTERN_ASCTIME</a></span></code>
+<div class="block">Date format pattern used to parse HTTP date headers in ANSI C <code>asctime()</code> format.</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/internal/DateUtils.html#PATTERN_RFC1036">PATTERN_RFC1036</a></span></code>
+<div class="block">Date format pattern used to parse HTTP date headers in RFC 1036 format.</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/internal/DateUtils.html#PATTERN_RFC1123">PATTERN_RFC1123</a></span></code>
+<div class="block">Date format pattern used to parse HTTP date headers in RFC 1123 format.</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/DateUtils.html#clearThreadLocal--">clearThreadLocal</a></span>()</code>
+<div class="block">Clears thread-local variable containing <a href="http://docs.oracle.com/javase/7/docs/api/java/text/DateFormat.html?is-external=true" title="class or interface in java.text"><code>DateFormat</code></a> cache.</div>
+</td>
+</tr>
+<tr id="i1" 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/internal/DateUtils.html#formatDate-java.util.Date-">formatDate</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a> date)</code>
+<div class="block">Formats the given date according to the RFC 1123 pattern.</div>
+</td>
+</tr>
+<tr id="i2" 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/internal/DateUtils.html#formatDate-java.util.Date-java.lang.String-">formatDate</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a> date,
+ <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> pattern)</code>
+<div class="block">Formats the given date according to the specified pattern.</div>
+</td>
+</tr>
+<tr id="i3" class="rowColor">
+<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/DateUtils.html#parseDate-java.lang.String-">parseDate</a></span>(<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> dateValue)</code>
+<div class="block">Parses a date value.</div>
+</td>
+</tr>
+<tr id="i4" class="altColor">
+<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/DateUtils.html#parseDate-java.lang.String-java.lang.String:A-">parseDate</a></span>(<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> dateValue,
+ <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>[] dateFormats)</code>
+<div class="block">Parses the date value using the given date formats.</div>
+</td>
+</tr>
+<tr id="i5" class="rowColor">
+<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/DateUtils.html#parseDate-java.lang.String-java.lang.String:A-java.util.Date-">parseDate</a></span>(<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> dateValue,
+ <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>[] dateFormats,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a> startDate)</code>
+<div class="block">Parses the date value using the given date formats.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ FIELD DETAIL =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="field.detail">
+<!-- -->
+</a>
+<h3>Field Detail</h3>
+<a name="PATTERN_RFC1123">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>PATTERN_RFC1123</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/internal/DateUtils.html#line.31">PATTERN_RFC1123</a></pre>
+<div class="block">Date format pattern used to parse HTTP date headers in RFC 1123 format.</div>
+<dl>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a href="../../../../constant-values.html#org.apache.juneau.internal.DateUtils.PATTERN_RFC1123">Constant Field Values</a></dd>
+</dl>
+</li>
+</ul>
+<a name="PATTERN_RFC1036">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>PATTERN_RFC1036</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/internal/DateUtils.html#line.36">PATTERN_RFC1036</a></pre>
+<div class="block">Date format pattern used to parse HTTP date headers in RFC 1036 format.</div>
+<dl>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a href="../../../../constant-values.html#org.apache.juneau.internal.DateUtils.PATTERN_RFC1036">Constant Field Values</a></dd>
+</dl>
+</li>
+</ul>
+<a name="PATTERN_ASCTIME">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>PATTERN_ASCTIME</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/internal/DateUtils.html#line.41">PATTERN_ASCTIME</a></pre>
+<div class="block">Date format pattern used to parse HTTP date headers in ANSI C <code>asctime()</code> format.</div>
+<dl>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a href="../../../../constant-values.html#org.apache.juneau.internal.DateUtils.PATTERN_ASCTIME">Constant Field Values</a></dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="parseDate-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>parseDate</h4>
+<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a> <a href="../../../../src-html/org/apache/juneau/internal/DateUtils.html#line.59">parseDate</a>(<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> dateValue)</pre>
+<div class="block">Parses a date value. The formats used for parsing the date value are retrieved from the default http params.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>dateValue</code> - the date value to parse</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>the parsed date or null if input could not be parsed</dd>
+</dl>
+</li>
+</ul>
+<a name="parseDate-java.lang.String-java.lang.String:A-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>parseDate</h4>
+<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a> <a href="../../../../src-html/org/apache/juneau/internal/DateUtils.html#line.71">parseDate</a>(<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> dateValue,
+ <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>[] dateFormats)</pre>
+<div class="block">Parses the date value using the given date formats.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>dateValue</code> - the date value to parse</dd>
+<dd><code>dateFormats</code> - the date formats to use</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>the parsed date or null if input could not be parsed</dd>
+</dl>
+</li>
+</ul>
+<a name="parseDate-java.lang.String-java.lang.String:A-java.util.Date-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>parseDate</h4>
+<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a> <a href="../../../../src-html/org/apache/juneau/internal/DateUtils.html#line.86">parseDate</a>(<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> dateValue,
+ <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>[] dateFormats,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a> startDate)</pre>
+<div class="block">Parses the date value using the given date formats.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>dateValue</code> - the date value to parse</dd>
+<dd><code>dateFormats</code> - the date formats to use</dd>
+<dd><code>startDate</code> - During parsing, two digit years will be placed in the range <code>startDate</code> to
+ <code>startDate + 100 years</code>. This value may be <code>null</code>. When
+ <code>null</code> is given as a parameter, year <code>2000</code> will be used.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>the parsed date or null if input could not be parsed</dd>
+</dl>
+</li>
+</ul>
+<a name="formatDate-java.util.Date-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>formatDate</h4>
+<pre>public 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> <a href="../../../../src-html/org/apache/juneau/internal/DateUtils.html#line.115">formatDate</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a> date)</pre>
+<div class="block">Formats the given date according to the RFC 1123 pattern.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>date</code> - The date to format.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>An RFC 1123 formatted date string.</dd>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a href="../../../../org/apache/juneau/internal/DateUtils.html#PATTERN_RFC1123"><code>PATTERN_RFC1123</code></a></dd>
+</dl>
+</li>
+</ul>
+<a name="formatDate-java.util.Date-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>formatDate</h4>
+<pre>public 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> <a href="../../../../src-html/org/apache/juneau/internal/DateUtils.html#line.129">formatDate</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a> date,
+ <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> pattern)</pre>
+<div class="block">Formats the given date according to the specified pattern. The pattern must conform to that used by the
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html?is-external=true" title="class or interface in java.text"><code>simple date format</code></a> class.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>date</code> - The date to format.</dd>
+<dd><code>pattern</code> - The pattern to use for formatting the date.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>A formatted date string.</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - If the given date pattern is invalid.</dd>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a href="http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html?is-external=true" title="class or interface in java.text"><code>SimpleDateFormat</code></a></dd>
+</dl>
+</li>
+</ul>
+<a name="clearThreadLocal--">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>clearThreadLocal</h4>
+<pre>public static void <a href="../../../../src-html/org/apache/juneau/internal/DateUtils.html#line.137">clearThreadLocal</a>()</pre>
+<div class="block">Clears thread-local variable containing <a href="http://docs.oracle.com/javase/7/docs/api/java/text/DateFormat.html?is-external=true" title="class or interface in java.text"><code>DateFormat</code></a> cache.</div>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/internal/CollectionUtils.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/internal/DelegateBeanMap.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/internal/DateUtils.html" target="_top">Frames</a></li>
+<li><a href="DateUtils.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li><a href="#field.summary">Field</a> | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li><a href="#field.detail">Field</a> | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/internal/DelegateBeanMap.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/internal/DelegateBeanMap.html b/content/site/apidocs/org/apache/juneau/internal/DelegateBeanMap.html
index fd1c00b..448db14 100644
--- a/content/site/apidocs/org/apache/juneau/internal/DelegateBeanMap.html
+++ b/content/site/apidocs/org/apache/juneau/internal/DelegateBeanMap.html
@@ -48,7 +48,7 @@ var activeTableTab = "activeTableTab";
</div>
<div class="subNav">
<ul class="navList">
-<li><a href="../../../../org/apache/juneau/internal/CollectionUtils.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/internal/DateUtils.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Prev Class</span></a></li>
<li><a href="../../../../org/apache/juneau/internal/DelegateList.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Next Class</span></a></li>
</ul>
<ul class="navList">
@@ -562,7 +562,7 @@ extends <a href="../../../../org/apache/juneau/BeanMap.html" title="class in org
</div>
<div class="subNav">
<ul class="navList">
-<li><a href="../../../../org/apache/juneau/internal/CollectionUtils.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/internal/DateUtils.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Prev Class</span></a></li>
<li><a href="../../../../org/apache/juneau/internal/DelegateList.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Next Class</span></a></li>
</ul>
<ul class="navList">
[05/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/rest/RestParam.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/rest/RestParam.html b/content/site/apidocs/src-html/org/apache/juneau/rest/RestParam.html
new file mode 100644
index 0000000..fccff81
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/rest/RestParam.html
@@ -0,0 +1,162 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.rest;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>import java.lang.reflect.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span><a name="line.16"></a>
+<span class="sourceLineNo">017</span>import org.apache.juneau.rest.annotation.*;<a name="line.17"></a>
+<span class="sourceLineNo">018</span><a name="line.18"></a>
+<span class="sourceLineNo">019</span>/**<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * REST java method parameter resolver.<a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * Used to resolve instances of classes being passed to Java REST methods.<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * <p><a name="line.23"></a>
+<span class="sourceLineNo">024</span> * This class is associated with REST classes via the {@link RestResource#paramResolvers()} annotation and<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * {@link RestConfig#addParamResolvers(Class...)} method.<a name="line.25"></a>
+<span class="sourceLineNo">026</span> */<a name="line.26"></a>
+<span class="sourceLineNo">027</span>public abstract class RestParam {<a name="line.27"></a>
+<span class="sourceLineNo">028</span><a name="line.28"></a>
+<span class="sourceLineNo">029</span> final RestParamType paramType;<a name="line.29"></a>
+<span class="sourceLineNo">030</span> final String name;<a name="line.30"></a>
+<span class="sourceLineNo">031</span> final Type type;<a name="line.31"></a>
+<span class="sourceLineNo">032</span><a name="line.32"></a>
+<span class="sourceLineNo">033</span> /**<a name="line.33"></a>
+<span class="sourceLineNo">034</span> * Constructor.<a name="line.34"></a>
+<span class="sourceLineNo">035</span> *<a name="line.35"></a>
+<span class="sourceLineNo">036</span> * @param paramType The Swagger parameter type.<a name="line.36"></a>
+<span class="sourceLineNo">037</span> * @param name The parameter name.<a name="line.37"></a>
+<span class="sourceLineNo">038</span> * Can be <jk>null</jk> if parameter doesn't have a name (e.g. the request body).<a name="line.38"></a>
+<span class="sourceLineNo">039</span> * @param type The object type to convert the parameter to.<a name="line.39"></a>
+<span class="sourceLineNo">040</span> */<a name="line.40"></a>
+<span class="sourceLineNo">041</span> protected RestParam(RestParamType paramType, String name, Type type) {<a name="line.41"></a>
+<span class="sourceLineNo">042</span> this.paramType = paramType;<a name="line.42"></a>
+<span class="sourceLineNo">043</span> this.name = name;<a name="line.43"></a>
+<span class="sourceLineNo">044</span> this.type = type;<a name="line.44"></a>
+<span class="sourceLineNo">045</span> }<a name="line.45"></a>
+<span class="sourceLineNo">046</span><a name="line.46"></a>
+<span class="sourceLineNo">047</span> /**<a name="line.47"></a>
+<span class="sourceLineNo">048</span> * Resolves the parameter object.<a name="line.48"></a>
+<span class="sourceLineNo">049</span> *<a name="line.49"></a>
+<span class="sourceLineNo">050</span> * @param req The rest request.<a name="line.50"></a>
+<span class="sourceLineNo">051</span> * @param res The rest response.<a name="line.51"></a>
+<span class="sourceLineNo">052</span> * @return The resolved object.<a name="line.52"></a>
+<span class="sourceLineNo">053</span> * @throws Exception<a name="line.53"></a>
+<span class="sourceLineNo">054</span> */<a name="line.54"></a>
+<span class="sourceLineNo">055</span> public abstract Object resolve(RestRequest req, RestResponse res) throws Exception;<a name="line.55"></a>
+<span class="sourceLineNo">056</span><a name="line.56"></a>
+<span class="sourceLineNo">057</span> /**<a name="line.57"></a>
+<span class="sourceLineNo">058</span> * Returns the parameter class type that this parameter resolver is meant for.<a name="line.58"></a>
+<span class="sourceLineNo">059</span> * @return The parameter class type, or <jk>null</jk> if the type passed in isn't an instance of {@link Class}.<a name="line.59"></a>
+<span class="sourceLineNo">060</span> */<a name="line.60"></a>
+<span class="sourceLineNo">061</span> protected Class<?> forClass() {<a name="line.61"></a>
+<span class="sourceLineNo">062</span> if (type instanceof Class)<a name="line.62"></a>
+<span class="sourceLineNo">063</span> return (Class<?>)type;<a name="line.63"></a>
+<span class="sourceLineNo">064</span> return null;<a name="line.64"></a>
+<span class="sourceLineNo">065</span> }<a name="line.65"></a>
+<span class="sourceLineNo">066</span><a name="line.66"></a>
+<span class="sourceLineNo">067</span> /**<a name="line.67"></a>
+<span class="sourceLineNo">068</span> * Returns the swagger parameter type for this parameter as shown in the Swagger doc.<a name="line.68"></a>
+<span class="sourceLineNo">069</span> * @return the swagger parameter type for this parameter.<a name="line.69"></a>
+<span class="sourceLineNo">070</span> */<a name="line.70"></a>
+<span class="sourceLineNo">071</span> protected RestParamType getParamType() {<a name="line.71"></a>
+<span class="sourceLineNo">072</span> return paramType;<a name="line.72"></a>
+<span class="sourceLineNo">073</span> }<a name="line.73"></a>
+<span class="sourceLineNo">074</span><a name="line.74"></a>
+<span class="sourceLineNo">075</span> /**<a name="line.75"></a>
+<span class="sourceLineNo">076</span> * Returns the parameter name for this parameter as shown in the Swagger doc.<a name="line.76"></a>
+<span class="sourceLineNo">077</span> * @return the parameter name for this parameter.<a name="line.77"></a>
+<span class="sourceLineNo">078</span> */<a name="line.78"></a>
+<span class="sourceLineNo">079</span> protected String getName() {<a name="line.79"></a>
+<span class="sourceLineNo">080</span> return name;<a name="line.80"></a>
+<span class="sourceLineNo">081</span> }<a name="line.81"></a>
+<span class="sourceLineNo">082</span><a name="line.82"></a>
+<span class="sourceLineNo">083</span> /**<a name="line.83"></a>
+<span class="sourceLineNo">084</span> * Returns the parameter class type.<a name="line.84"></a>
+<span class="sourceLineNo">085</span> * @return the parameter class type.<a name="line.85"></a>
+<span class="sourceLineNo">086</span> */<a name="line.86"></a>
+<span class="sourceLineNo">087</span> public Type getType() {<a name="line.87"></a>
+<span class="sourceLineNo">088</span> return type;<a name="line.88"></a>
+<span class="sourceLineNo">089</span> }<a name="line.89"></a>
+<span class="sourceLineNo">090</span>}<a name="line.90"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/rest/RestParamType.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/rest/RestParamType.html b/content/site/apidocs/src-html/org/apache/juneau/rest/RestParamType.html
new file mode 100644
index 0000000..b7c26c1
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/rest/RestParamType.html
@@ -0,0 +1,120 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.rest;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Represents the possible parameter types as defined by the Swagger 2.0 specification.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> */<a name="line.17"></a>
+<span class="sourceLineNo">018</span>public enum RestParamType {<a name="line.18"></a>
+<span class="sourceLineNo">019</span><a name="line.19"></a>
+<span class="sourceLineNo">020</span> /** Path variable */<a name="line.20"></a>
+<span class="sourceLineNo">021</span> PATH("path"),<a name="line.21"></a>
+<span class="sourceLineNo">022</span><a name="line.22"></a>
+<span class="sourceLineNo">023</span> /** Header value */<a name="line.23"></a>
+<span class="sourceLineNo">024</span> HEADER("header"),<a name="line.24"></a>
+<span class="sourceLineNo">025</span><a name="line.25"></a>
+<span class="sourceLineNo">026</span> /** Form data entry */<a name="line.26"></a>
+<span class="sourceLineNo">027</span> FORMDATA("formData"),<a name="line.27"></a>
+<span class="sourceLineNo">028</span><a name="line.28"></a>
+<span class="sourceLineNo">029</span> /** Query parameter */<a name="line.29"></a>
+<span class="sourceLineNo">030</span> QUERY("query"),<a name="line.30"></a>
+<span class="sourceLineNo">031</span><a name="line.31"></a>
+<span class="sourceLineNo">032</span> /** Request body */<a name="line.32"></a>
+<span class="sourceLineNo">033</span> BODY("body"),<a name="line.33"></a>
+<span class="sourceLineNo">034</span><a name="line.34"></a>
+<span class="sourceLineNo">035</span> /** Not a standard Swagger-defined field */<a name="line.35"></a>
+<span class="sourceLineNo">036</span> OTHER("other");<a name="line.36"></a>
+<span class="sourceLineNo">037</span><a name="line.37"></a>
+<span class="sourceLineNo">038</span> private final String value;<a name="line.38"></a>
+<span class="sourceLineNo">039</span><a name="line.39"></a>
+<span class="sourceLineNo">040</span> private RestParamType(String value) {<a name="line.40"></a>
+<span class="sourceLineNo">041</span> this.value = value;<a name="line.41"></a>
+<span class="sourceLineNo">042</span> }<a name="line.42"></a>
+<span class="sourceLineNo">043</span><a name="line.43"></a>
+<span class="sourceLineNo">044</span> @Override /* Object */<a name="line.44"></a>
+<span class="sourceLineNo">045</span> public String toString() {<a name="line.45"></a>
+<span class="sourceLineNo">046</span> return value;<a name="line.46"></a>
+<span class="sourceLineNo">047</span> }<a name="line.47"></a>
+<span class="sourceLineNo">048</span>}<a name="line.48"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
[45/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/Expect.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/Expect.html b/content/site/apidocs/org/apache/juneau/http/Expect.html
new file mode 100644
index 0000000..c0c3517
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/Expect.html
@@ -0,0 +1,296 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Expect (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="Expect (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/ETag.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/Expires.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/Expect.html" target="_top">Frames</a></li>
+<li><a href="Expect.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class Expect" class="title">Class Expect</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">org.apache.juneau.http.HeaderString</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.Expect</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/Expect.html#line.56">Expect</a>
+extends <a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></pre>
+<div class="block">Represents a parsed <l>Expect</l> HTTP request header.
+ <p>
+ Indicates that particular server behaviors are required by the client.
+
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ Expect: 100-continue
+ </p>
+
+ <h6 class='topic'>RFC2616 Specification</h6>
+
+ The Expect request-header field is used to indicate that particular server behaviors are required by the client.
+ <p class='bcode'>
+ Expect = "Expect" ":" 1#expectation
+ expectation = "100-continue" | expectation-extension
+ expectation-extension = token [ "=" ( token | quoted-string )
+ *expect-params ]
+ expect-params = ";" token [ "=" ( token | quoted-string ) ]
+ </p>
+ <p>
+ A server that does not understand or is unable to comply with any of the expectation values in the Expect field of a
+ request MUST respond with appropriate error status.
+ The server MUST respond with a 417 (Expectation Failed) status if any of the expectations cannot be met or, if there
+ are other problems with the request, some other 4xx status.
+ <p>
+ This header field is defined with extensible syntax to allow for future extensions.
+ If a server receives a request containing an Expect field that includes an expectation-extension that it does not
+ support, it MUST respond with a 417 (Expectation Failed) status.
+ <p>
+ Comparison of expectation values is case-insensitive for unquoted tokens (including the 100-continue token), and is
+ case-sensitive for quoted-string expectation-extensions.
+ <p>
+ The Expect mechanism is hop-by-hop: that is, an HTTP/1.1 proxy MUST return a 417 (Expectation Failed) status if it
+ receives a request with an expectation that it cannot meet.
+ However, the Expect request-header itself is end-to-end; it MUST be forwarded if the request is forwarded.
+ <p>
+ Many older HTTP/1.0 and HTTP/1.1 applications do not understand the Expect header.
+ <p>
+ See section 8.2.3 for the use of the 100 (continue) status.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/Expect.html" title="class in org.apache.juneau.http">Expect</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/Expect.html#forString-java.lang.String-">forString</a></span>(<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> value)</code>
+<div class="block">Returns a parsed <code>Expect</code> header.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.http.HeaderString">
+<!-- -->
+</a>
+<h3>Methods inherited from class org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></h3>
+<code><a href="../../../../org/apache/juneau/http/HeaderString.html#asString--">asString</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#eq-java.lang.String-">eq</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#eqIC-java.lang.String-">eqIC</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#toString--">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="forString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>forString</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/Expect.html" title="class in org.apache.juneau.http">Expect</a> <a href="../../../../src-html/org/apache/juneau/http/Expect.html#line.64">forString</a>(<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> value)</pre>
+<div class="block">Returns a parsed <code>Expect</code> header.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The <code>Expect</code> header string.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Expect</code> header, or <jk>null</jk> if the string was null.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/ETag.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/Expires.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/Expect.html" target="_top">Frames</a></li>
+<li><a href="Expect.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/Expires.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/Expires.html b/content/site/apidocs/org/apache/juneau/http/Expires.html
new file mode 100644
index 0000000..9a1d285
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/Expires.html
@@ -0,0 +1,303 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Expires (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="Expires (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/Expect.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/From.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/Expires.html" target="_top">Frames</a></li>
+<li><a href="Expires.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class Expires" class="title">Class Expires</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../org/apache/juneau/http/HeaderDate.html" title="class in org.apache.juneau.http">org.apache.juneau.http.HeaderDate</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.Expires</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/Expires.html#line.63">Expires</a>
+extends <a href="../../../../org/apache/juneau/http/HeaderDate.html" title="class in org.apache.juneau.http">HeaderDate</a></pre>
+<div class="block">Represents a parsed <l>Expires</l> HTTP response header.
+ <p>
+ Gives the date/time after which the response is considered stale (in "HTTP-date" format as defined by RFC 7231).
+
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ Expires: Thu, 01 Dec 1994 16:00:00 GMT
+ </p>
+
+ <h6 class='topic'>RFC2616 Specification</h6>
+ The Expires entity-header field gives the date/time after which the response is considered stale.
+ A stale cache entry may not normally be returned by a cache (either a proxy cache or a user agent cache) unless it is
+ first validated with the origin server
+ (or with an intermediate cache that has a fresh copy of the entity).
+ See section 13.2 for further discussion of the expiration model.
+ <p>
+ The presence of an Expires field does not imply that the original resource will change or cease to exist at, before,
+ or after that time.
+ <p>
+ The format is an absolute date and time as defined by HTTP-date in section 3.3.1; it MUST be in RFC 1123 date format:
+ <p class='bcode'>
+ Expires = "Expires" ":" HTTP-date
+ </p>
+ <p>
+ An example of its use is...
+ <p class='bcode'>
+ Expires: Thu, 01 Dec 1994 16:00:00 GMT
+ </p>
+ <p>
+ Note: if a response includes a Cache-Control field with the max-age directive (see section 14.9.3), that directive
+ overrides the Expires field.
+ <p>
+ HTTP/1.1 clients and caches MUST treat other invalid date formats, especially including the value "0", as in the past
+ (i.e., "already expired").
+ <p>
+ To mark a response as "already expired," an origin server sends an Expires date that is equal to the Date header
+ value.
+ (See the rules for expiration calculations in section 13.2.4.)
+ <p>
+ To mark a response as "never expires," an origin server sends an Expires date approximately one year from the time
+ the response is sent.
+ HTTP/1.1 servers SHOULD NOT send Expires dates more than one year in the future.
+ <p>
+ The presence of an Expires header field with a date value of some time in the future on a response that otherwise
+ would by default be non-cacheable indicates that the response is cacheable, unless indicated otherwise by a
+ Cache-Control header field (section 14.9).</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/Expires.html" title="class in org.apache.juneau.http">Expires</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/Expires.html#forString-java.lang.String-">forString</a></span>(<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> value)</code>
+<div class="block">Returns a parsed <code>Expires</code> header.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.http.HeaderDate">
+<!-- -->
+</a>
+<h3>Methods inherited from class org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderDate.html" title="class in org.apache.juneau.http">HeaderDate</a></h3>
+<code><a href="../../../../org/apache/juneau/http/HeaderDate.html#asDate--">asDate</a>, <a href="../../../../org/apache/juneau/http/HeaderDate.html#toString--">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="forString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>forString</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/Expires.html" title="class in org.apache.juneau.http">Expires</a> <a href="../../../../src-html/org/apache/juneau/http/Expires.html#line.71">forString</a>(<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> value)</pre>
+<div class="block">Returns a parsed <code>Expires</code> header.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The <code>Expires</code> header string.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Expires</code> header, or <jk>null</jk> if the string was null.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/Expect.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/From.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/Expires.html" target="_top">Frames</a></li>
+<li><a href="Expires.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/From.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/From.html b/content/site/apidocs/org/apache/juneau/http/From.html
new file mode 100644
index 0000000..7237f59
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/From.html
@@ -0,0 +1,295 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>From (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="From (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/Expires.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/HeaderDate.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/From.html" target="_top">Frames</a></li>
+<li><a href="From.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class From" class="title">Class From</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">org.apache.juneau.http.HeaderString</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.From</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/From.html#line.55">From</a>
+extends <a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></pre>
+<div class="block">Represents a parsed <l>From</l> HTTP request header.
+ <p>
+ The email address of the user making the request.
+
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ From: user@example.com
+ </p>
+
+ <h6 class='topic'>RFC2616 Specification</h6>
+
+ The From request-header field, if given, SHOULD contain an Internet e-mail address for the human user who controls
+ the requesting user agent.
+ The address SHOULD be machine-usable, as defined by "mailbox" in RFC 822 [9] as updated by RFC 1123 [8]:
+ <p class='bcode'>
+ From = "From" ":" mailbox
+ </p>
+ <p>
+ An example is:
+ <p class='bcode'>
+ From: webmaster@w3.org
+ </p>
+ <p>
+ This header field MAY be used for logging purposes and as a means for identifying the source of invalid or unwanted
+ requests.
+ It SHOULD NOT be used as an insecure form of access protection.
+ The interpretation of this field is that the request is being performed on behalf of the person given, who accepts
+ responsibility for the method performed.
+ In particular, robot agents SHOULD include this header so that the person responsible for running the robot can be
+ contacted if problems occur on the receiving end.
+ <p>
+ The Internet e-mail address in this field MAY be separate from the Internet host which issued the request.
+ For example, when a request is passed through a proxy the original issuer's address SHOULD be used.
+ <p>
+ The client SHOULD NOT send the From header field without the user's approval, as it might conflict with the user's
+ privacy interests or their site's security policy.
+ It is strongly recommended that the user be able to disable, enable, and modify the value of this field at any time
+ prior to a request.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/From.html" title="class in org.apache.juneau.http">From</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/From.html#forString-java.lang.String-">forString</a></span>(<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> value)</code>
+<div class="block">Returns a parsed <code>From</code> header.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.http.HeaderString">
+<!-- -->
+</a>
+<h3>Methods inherited from class org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></h3>
+<code><a href="../../../../org/apache/juneau/http/HeaderString.html#asString--">asString</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#eq-java.lang.String-">eq</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#eqIC-java.lang.String-">eqIC</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#toString--">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="forString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>forString</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/From.html" title="class in org.apache.juneau.http">From</a> <a href="../../../../src-html/org/apache/juneau/http/From.html#line.63">forString</a>(<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> value)</pre>
+<div class="block">Returns a parsed <code>From</code> header.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The <code>From</code> header string.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>From</code> header, or <jk>null</jk> if the string was null.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/Expires.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/HeaderDate.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/From.html" target="_top">Frames</a></li>
+<li><a href="From.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/HeaderDate.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/HeaderDate.html b/content/site/apidocs/org/apache/juneau/http/HeaderDate.html
new file mode 100644
index 0000000..e399761
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/HeaderDate.html
@@ -0,0 +1,313 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>HeaderDate (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="HeaderDate (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":10,"i1":10};
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/From.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/HeaderEntityValidator.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/HeaderDate.html" target="_top">Frames</a></li>
+<li><a href="HeaderDate.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li><a href="#constructor.summary">Constr</a> | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li><a href="#constructor.detail">Constr</a> | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class HeaderDate" class="title">Class HeaderDate</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.HeaderDate</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt>Direct Known Subclasses:</dt>
+<dd><a href="../../../../org/apache/juneau/http/Date.html" title="class in org.apache.juneau.http">Date</a>, <a href="../../../../org/apache/juneau/http/Expires.html" title="class in org.apache.juneau.http">Expires</a>, <a href="../../../../org/apache/juneau/http/IfModifiedSince.html" title="class in org.apache.juneau.http">IfModifiedSince</a>, <a href="../../../../org/apache/juneau/http/IfUnmodifiedSince.html" title="class in org.apache.juneau.http">IfUnmodifiedSince</a>, <a href="../../../../org/apache/juneau/http/LastModified.html" title="class in org.apache.juneau.http">LastModified</a></dd>
+</dl>
+<hr>
+<br>
+<pre>public class <a href="../../../../src-html/org/apache/juneau/http/HeaderDate.html#line.25">HeaderDate</a>
+extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
+<div class="block">Category of headers that consist of a single HTTP-date.
+ <p>
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ If-Modified-Since: Sat, 29 Oct 1994 19:43:31 GMT
+ </p></div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.summary">
+<!-- -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier</th>
+<th class="colLast" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>protected </code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/HeaderDate.html#HeaderDate-java.lang.String-">HeaderDate</a></span>(<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> raw)</code>
+<div class="block">Constructor.</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/HeaderDate.html#asDate--">asDate</a></span>()</code>
+<div class="block">Returns this header value as a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util"><code>Date</code></a>.</div>
+</td>
+</tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code><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/http/HeaderDate.html#toString--">toString</a></span>()</code> </td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.detail">
+<!-- -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="HeaderDate-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>HeaderDate</h4>
+<pre>protected <a href="../../../../src-html/org/apache/juneau/http/HeaderDate.html#line.34">HeaderDate</a>(<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> raw)</pre>
+<div class="block">Constructor.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>raw</code> - The raw header value.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="asDate--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>asDate</h4>
+<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a> <a href="../../../../src-html/org/apache/juneau/http/HeaderDate.html#line.43">asDate</a>()</pre>
+<div class="block">Returns this header value as a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util"><code>Date</code></a>.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>This header value as a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util"><code>Date</code></a>, or <jk>null</jk> if the header could not be parsed.</dd>
+</dl>
+</li>
+</ul>
+<a name="toString--">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>toString</h4>
+<pre>public <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/http/HeaderDate.html#line.48">toString</a>()</pre>
+<dl>
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code> in class <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/From.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/HeaderEntityValidator.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/HeaderDate.html" target="_top">Frames</a></li>
+<li><a href="HeaderDate.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li><a href="#constructor.summary">Constr</a> | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li><a href="#constructor.detail">Constr</a> | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/HeaderEntityValidator.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/HeaderEntityValidator.html b/content/site/apidocs/org/apache/juneau/http/HeaderEntityValidator.html
new file mode 100644
index 0000000..d1a33f6
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/HeaderEntityValidator.html
@@ -0,0 +1,309 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>HeaderEntityValidator (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="HeaderEntityValidator (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":10,"i1":10};
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/HeaderDate.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/HeaderEntityValidatorArray.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/HeaderEntityValidator.html" target="_top">Frames</a></li>
+<li><a href="HeaderEntityValidator.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li><a href="#constructor.summary">Constr</a> | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li><a href="#constructor.detail">Constr</a> | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class HeaderEntityValidator" class="title">Class HeaderEntityValidator</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.HeaderEntityValidator</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public class <a href="../../../../src-html/org/apache/juneau/http/HeaderEntityValidator.html#line.23">HeaderEntityValidator</a>
+extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
+<div class="block">Category of headers that consist of a single entity validator value.
+ <p>
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ ETag: "xyzzy"
+ </p></div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.summary">
+<!-- -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier</th>
+<th class="colLast" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>protected </code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/HeaderEntityValidator.html#HeaderEntityValidator-java.lang.String-">HeaderEntityValidator</a></span>(<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> value)</code>
+<div class="block">Constructor.</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/http/EntityValidator.html" title="class in org.apache.juneau.http">EntityValidator</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/HeaderEntityValidator.html#asValidator--">asValidator</a></span>()</code>
+<div class="block">Returns this header value as a <a href="../../../../org/apache/juneau/http/EntityValidator.html" title="class in org.apache.juneau.http"><code>EntityValidator</code></a> object.</div>
+</td>
+</tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code><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/http/HeaderEntityValidator.html#toString--">toString</a></span>()</code> </td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.detail">
+<!-- -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="HeaderEntityValidator-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>HeaderEntityValidator</h4>
+<pre>protected <a href="../../../../src-html/org/apache/juneau/http/HeaderEntityValidator.html#line.31">HeaderEntityValidator</a>(<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> value)</pre>
+<div class="block">Constructor.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The raw header value.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="asValidator--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>asValidator</h4>
+<pre>public <a href="../../../../org/apache/juneau/http/EntityValidator.html" title="class in org.apache.juneau.http">EntityValidator</a> <a href="../../../../src-html/org/apache/juneau/http/HeaderEntityValidator.html#line.39">asValidator</a>()</pre>
+<div class="block">Returns this header value as a <a href="../../../../org/apache/juneau/http/EntityValidator.html" title="class in org.apache.juneau.http"><code>EntityValidator</code></a> object.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>this header value as a <a href="../../../../org/apache/juneau/http/EntityValidator.html" title="class in org.apache.juneau.http"><code>EntityValidator</code></a> object.</dd>
+</dl>
+</li>
+</ul>
+<a name="toString--">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>toString</h4>
+<pre>public <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/http/HeaderEntityValidator.html#line.44">toString</a>()</pre>
+<dl>
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code> in class <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/HeaderDate.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/HeaderEntityValidatorArray.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/HeaderEntityValidator.html" target="_top">Frames</a></li>
+<li><a href="HeaderEntityValidator.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li><a href="#constructor.summary">Constr</a> | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li><a href="#constructor.detail">Constr</a> | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/HeaderEntityValidatorArray.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/HeaderEntityValidatorArray.html b/content/site/apidocs/org/apache/juneau/http/HeaderEntityValidatorArray.html
new file mode 100644
index 0000000..b13248c
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/HeaderEntityValidatorArray.html
@@ -0,0 +1,315 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>HeaderEntityValidatorArray (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="HeaderEntityValidatorArray (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":10,"i1":10};
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/HeaderEntityValidator.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/HeaderEnum.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/HeaderEntityValidatorArray.html" target="_top">Frames</a></li>
+<li><a href="HeaderEntityValidatorArray.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li><a href="#constructor.summary">Constr</a> | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li><a href="#constructor.detail">Constr</a> | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class HeaderEntityValidatorArray" class="title">Class HeaderEntityValidatorArray</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.HeaderEntityValidatorArray</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt>Direct Known Subclasses:</dt>
+<dd><a href="../../../../org/apache/juneau/http/IfMatch.html" title="class in org.apache.juneau.http">IfMatch</a>, <a href="../../../../org/apache/juneau/http/IfNoneMatch.html" title="class in org.apache.juneau.http">IfNoneMatch</a></dd>
+</dl>
+<hr>
+<br>
+<pre>public class <a href="../../../../src-html/org/apache/juneau/http/HeaderEntityValidatorArray.html#line.27">HeaderEntityValidatorArray</a>
+extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
+<div class="block">Category of headers that consist of a comma-delimited list of entity validator values.
+ <p>
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ If-Match: "xyzzy"
+ If-Match: "xyzzy", "r2d2xxxx", "c3piozzzz"
+ If-Match: *
+ </p></div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.summary">
+<!-- -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier</th>
+<th class="colLast" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>protected </code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/HeaderEntityValidatorArray.html#HeaderEntityValidatorArray-java.lang.String-">HeaderEntityValidatorArray</a></span>(<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> value)</code>
+<div class="block">Constructor.</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/http/EntityValidator.html" title="class in org.apache.juneau.http">EntityValidator</a>[]</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/HeaderEntityValidatorArray.html#asValidators--">asValidators</a></span>()</code>
+<div class="block">Returns this header value as an array of <a href="../../../../org/apache/juneau/http/EntityValidator.html" title="class in org.apache.juneau.http"><code>EntityValidator</code></a> objects.</div>
+</td>
+</tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code><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/http/HeaderEntityValidatorArray.html#toString--">toString</a></span>()</code> </td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.detail">
+<!-- -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="HeaderEntityValidatorArray-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>HeaderEntityValidatorArray</h4>
+<pre>protected <a href="../../../../src-html/org/apache/juneau/http/HeaderEntityValidatorArray.html#line.35">HeaderEntityValidatorArray</a>(<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> value)</pre>
+<div class="block">Constructor.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The raw header value.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="asValidators--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>asValidators</h4>
+<pre>public <a href="../../../../org/apache/juneau/http/EntityValidator.html" title="class in org.apache.juneau.http">EntityValidator</a>[] <a href="../../../../src-html/org/apache/juneau/http/HeaderEntityValidatorArray.html#line.47">asValidators</a>()</pre>
+<div class="block">Returns this header value as an array of <a href="../../../../org/apache/juneau/http/EntityValidator.html" title="class in org.apache.juneau.http"><code>EntityValidator</code></a> objects.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>this header value as an array of <a href="../../../../org/apache/juneau/http/EntityValidator.html" title="class in org.apache.juneau.http"><code>EntityValidator</code></a> objects.</dd>
+</dl>
+</li>
+</ul>
+<a name="toString--">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>toString</h4>
+<pre>public <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/http/HeaderEntityValidatorArray.html#line.52">toString</a>()</pre>
+<dl>
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code> in class <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/HeaderEntityValidator.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/HeaderEnum.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/HeaderEntityValidatorArray.html" target="_top">Frames</a></li>
+<li><a href="HeaderEntityValidatorArray.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li><a href="#constructor.summary">Constr</a> | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li><a href="#constructor.detail">Constr</a> | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
[47/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/ContentEncoding.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/ContentEncoding.html b/content/site/apidocs/org/apache/juneau/http/ContentEncoding.html
new file mode 100644
index 0000000..0202d13
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/ContentEncoding.html
@@ -0,0 +1,297 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>ContentEncoding (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="ContentEncoding (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/Constants.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/ContentEncodingEnum.html" title="enum in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/ContentEncoding.html" target="_top">Frames</a></li>
+<li><a href="ContentEncoding.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class ContentEncoding" class="title">Class ContentEncoding</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../org/apache/juneau/http/HeaderEnum.html" title="class in org.apache.juneau.http">org.apache.juneau.http.HeaderEnum</a><<a href="../../../../org/apache/juneau/http/ContentEncodingEnum.html" title="enum in org.apache.juneau.http">ContentEncodingEnum</a>></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.ContentEncoding</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/ContentEncoding.html#line.57">ContentEncoding</a>
+extends <a href="../../../../org/apache/juneau/http/HeaderEnum.html" title="class in org.apache.juneau.http">HeaderEnum</a><<a href="../../../../org/apache/juneau/http/ContentEncodingEnum.html" title="enum in org.apache.juneau.http">ContentEncodingEnum</a>></pre>
+<div class="block">Represents a parsed <l>Content-Encoding</l> HTTP response header.
+ <p>
+ The type of encoding used on the data.
+
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ Content-Encoding: gzip
+ </p>
+
+ <h6 class='topic'>RFC2616 Specification</h6>
+
+ The Content-Encoding entity-header field is used as a modifier to the media-type.
+ When present, its value indicates what additional content codings have been applied to the entity-body, and thus
+ what decoding mechanisms must be applied in order to obtain the media-type referenced by the Content-Type header
+ field.
+ Content-Encoding is primarily used to allow a document to be compressed without losing the identity of its
+ underlying media type.
+ <p class='bcode'>
+ Content-Encoding = "Content-Encoding" ":" 1#content-coding
+ </p>
+ <p>
+ Content codings are defined in section 3.5. An example of its use is...
+ <p class='bcode'>
+ Content-Encoding: gzip
+ </p>
+ <p>
+ The content-coding is a characteristic of the entity identified by the Request-URI.
+ Typically, the entity-body is stored with this encoding and is only decoded before rendering or analogous usage.
+ However, a non-transparent proxy MAY modify the content-coding if the new coding is known to be acceptable to the
+ recipient, unless the "no-transform" cache-control directive is present in the message.
+ <p>
+ If the content-coding of an entity is not "identity", then the response MUST include a Content-Encoding
+ entity-header (section 14.11) that lists the non-identity content-coding(s) used.
+ <p>
+ If the content-coding of an entity in a request message is not acceptable to the origin server, the server SHOULD
+ respond with a status code of 415 (Unsupported Media Type).
+ <p>
+ If multiple encodings have been applied to an entity, the content codings MUST be listed in the order in which they
+ were applied.
+ Additional information about the encoding parameters MAY be provided.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/ContentEncoding.html" title="class in org.apache.juneau.http">ContentEncoding</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/ContentEncoding.html#forString-java.lang.String-">forString</a></span>(<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> value)</code>
+<div class="block">Returns a parsed <code>Content-Encoding</code> header.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.http.HeaderEnum">
+<!-- -->
+</a>
+<h3>Methods inherited from class org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderEnum.html" title="class in org.apache.juneau.http">HeaderEnum</a></h3>
+<code><a href="../../../../org/apache/juneau/http/HeaderEnum.html#asEnum--">asEnum</a>, <a href="../../../../org/apache/juneau/http/HeaderEnum.html#asString--">asString</a>, <a href="../../../../org/apache/juneau/http/HeaderEnum.html#toString--">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="forString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>forString</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/ContentEncoding.html" title="class in org.apache.juneau.http">ContentEncoding</a> <a href="../../../../src-html/org/apache/juneau/http/ContentEncoding.html#line.65">forString</a>(<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> value)</pre>
+<div class="block">Returns a parsed <code>Content-Encoding</code> header.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The <code>Content-Encoding</code> header string.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Content-Encoding</code> header, or <jk>null</jk> if the string was null.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/Constants.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/ContentEncodingEnum.html" title="enum in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/ContentEncoding.html" target="_top">Frames</a></li>
+<li><a href="ContentEncoding.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/ContentEncodingEnum.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/ContentEncodingEnum.html b/content/site/apidocs/org/apache/juneau/http/ContentEncodingEnum.html
new file mode 100644
index 0000000..af9d1ef
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/ContentEncodingEnum.html
@@ -0,0 +1,392 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>ContentEncodingEnum (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="ContentEncodingEnum (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":9,"i1":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/ContentEncoding.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/ContentLanguage.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/ContentEncodingEnum.html" target="_top">Frames</a></li>
+<li><a href="ContentEncodingEnum.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li><a href="#enum.constant.summary">Enum Constants</a> | </li>
+<li>Field | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li><a href="#enum.constant.detail">Enum Constants</a> | </li>
+<li>Field | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Enum ContentEncodingEnum" class="title">Enum ContentEncodingEnum</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">java.lang.Enum</a><<a href="../../../../org/apache/juneau/http/ContentEncodingEnum.html" title="enum in org.apache.juneau.http">ContentEncodingEnum</a>></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.ContentEncodingEnum</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt>All Implemented Interfaces:</dt>
+<dd><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><<a href="../../../../org/apache/juneau/http/ContentEncodingEnum.html" title="enum in org.apache.juneau.http">ContentEncodingEnum</a>></dd>
+</dl>
+<hr>
+<br>
+<pre>public enum <a href="../../../../src-html/org/apache/juneau/http/ContentEncodingEnum.html#line.18">ContentEncodingEnum</a>
+extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a><<a href="../../../../org/apache/juneau/http/ContentEncodingEnum.html" title="enum in org.apache.juneau.http">ContentEncodingEnum</a>></pre>
+<div class="block">Represents the possible values for a <code>Content-Encoding</code> header.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- =========== ENUM CONSTANT SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="enum.constant.summary">
+<!-- -->
+</a>
+<h3>Enum Constant Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation">
+<caption><span>Enum Constants</span><span class="tabEnd"> </span></caption>
+<tr>
+<th class="colOne" scope="col">Enum Constant and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/ContentEncodingEnum.html#COMPRESS">COMPRESS</a></span></code>
+<div class="block">Content-Encoding: compress</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/ContentEncodingEnum.html#DEFLATE">DEFLATE</a></span></code>
+<div class="block">Content-Encoding: deflate</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/ContentEncodingEnum.html#GZIP">GZIP</a></span></code>
+<div class="block">Content-Encoding: gzip</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/ContentEncodingEnum.html#IDENTITY">IDENTITY</a></span></code>
+<div class="block">Content-Encoding: identity</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/ContentEncodingEnum.html#OTHER">OTHER</a></span></code>
+<div class="block">Unknown value</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/ContentEncodingEnum.html" title="enum in org.apache.juneau.http">ContentEncodingEnum</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/ContentEncodingEnum.html#valueOf-java.lang.String-">valueOf</a></span>(<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> name)</code>
+<div class="block">Returns the enum constant of this type with the specified name.</div>
+</td>
+</tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/ContentEncodingEnum.html" title="enum in org.apache.juneau.http">ContentEncodingEnum</a>[]</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/ContentEncodingEnum.html#values--">values</a></span>()</code>
+<div class="block">Returns an array containing the constants of this enum type, in
+the order they are declared.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Enum">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#compareTo-E-" title="class or interface in java.lang">compareTo</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#getDeclaringClass--" title="class or interface in java.lang">getDeclaringClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/
api/java/lang/Enum.html?is-external=true#name--" title="class or interface in java.lang">name</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#ordinal--" title="class or interface in java.lang">ordinal</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#valueOf-java.lang.Class-java.lang.String-" title="class or interface in java.lang">valueOf</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ ENUM CONSTANT DETAIL =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="enum.constant.detail">
+<!-- -->
+</a>
+<h3>Enum Constant Detail</h3>
+<a name="GZIP">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>GZIP</h4>
+<pre>public static final <a href="../../../../org/apache/juneau/http/ContentEncodingEnum.html" title="enum in org.apache.juneau.http">ContentEncodingEnum</a> <a href="../../../../src-html/org/apache/juneau/http/ContentEncodingEnum.html#line.21">GZIP</a></pre>
+<div class="block">Content-Encoding: gzip</div>
+</li>
+</ul>
+<a name="COMPRESS">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>COMPRESS</h4>
+<pre>public static final <a href="../../../../org/apache/juneau/http/ContentEncodingEnum.html" title="enum in org.apache.juneau.http">ContentEncodingEnum</a> <a href="../../../../src-html/org/apache/juneau/http/ContentEncodingEnum.html#line.24">COMPRESS</a></pre>
+<div class="block">Content-Encoding: compress</div>
+</li>
+</ul>
+<a name="DEFLATE">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>DEFLATE</h4>
+<pre>public static final <a href="../../../../org/apache/juneau/http/ContentEncodingEnum.html" title="enum in org.apache.juneau.http">ContentEncodingEnum</a> <a href="../../../../src-html/org/apache/juneau/http/ContentEncodingEnum.html#line.27">DEFLATE</a></pre>
+<div class="block">Content-Encoding: deflate</div>
+</li>
+</ul>
+<a name="IDENTITY">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>IDENTITY</h4>
+<pre>public static final <a href="../../../../org/apache/juneau/http/ContentEncodingEnum.html" title="enum in org.apache.juneau.http">ContentEncodingEnum</a> <a href="../../../../src-html/org/apache/juneau/http/ContentEncodingEnum.html#line.30">IDENTITY</a></pre>
+<div class="block">Content-Encoding: identity</div>
+</li>
+</ul>
+<a name="OTHER">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>OTHER</h4>
+<pre>public static final <a href="../../../../org/apache/juneau/http/ContentEncodingEnum.html" title="enum in org.apache.juneau.http">ContentEncodingEnum</a> <a href="../../../../src-html/org/apache/juneau/http/ContentEncodingEnum.html#line.33">OTHER</a></pre>
+<div class="block">Unknown value</div>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="values--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>values</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/ContentEncodingEnum.html" title="enum in org.apache.juneau.http">ContentEncodingEnum</a>[] <a href="../../../../src-html/org/apache/juneau/http/ContentEncodingEnum.html#line.18">values</a>()</pre>
+<div class="block">Returns an array containing the constants of this enum type, in
+the order they are declared. This method may be used to iterate
+over the constants as follows:
+<pre>
+for (ContentEncodingEnum c : ContentEncodingEnum.values())
+ System.out.println(c);
+</pre></div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>an array containing the constants of this enum type, in the order they are declared</dd>
+</dl>
+</li>
+</ul>
+<a name="valueOf-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>valueOf</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/ContentEncodingEnum.html" title="enum in org.apache.juneau.http">ContentEncodingEnum</a> <a href="../../../../src-html/org/apache/juneau/http/ContentEncodingEnum.html#line.18">valueOf</a>(<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> name)</pre>
+<div class="block">Returns the enum constant of this type with the specified name.
+The string must match <i>exactly</i> an identifier used to declare an
+enum constant in this type. (Extraneous whitespace characters are
+not permitted.)</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>name</code> - the name of the enum constant to be returned.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>the enum constant with the specified name</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if this enum type has no constant with the specified name</dd>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - if the argument is null</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/ContentEncoding.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/ContentLanguage.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/ContentEncodingEnum.html" target="_top">Frames</a></li>
+<li><a href="ContentEncodingEnum.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li><a href="#enum.constant.summary">Enum Constants</a> | </li>
+<li>Field | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li><a href="#enum.constant.detail">Enum Constants</a> | </li>
+<li>Field | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/ContentLanguage.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/ContentLanguage.html b/content/site/apidocs/org/apache/juneau/http/ContentLanguage.html
new file mode 100644
index 0000000..600ff2e
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/ContentLanguage.html
@@ -0,0 +1,301 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>ContentLanguage (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="ContentLanguage (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/ContentEncodingEnum.html" title="enum in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/ContentLength.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/ContentLanguage.html" target="_top">Frames</a></li>
+<li><a href="ContentLanguage.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class ContentLanguage" class="title">Class ContentLanguage</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../org/apache/juneau/http/HeaderStringArray.html" title="class in org.apache.juneau.http">org.apache.juneau.http.HeaderStringArray</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.ContentLanguage</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/ContentLanguage.html#line.61">ContentLanguage</a>
+extends <a href="../../../../org/apache/juneau/http/HeaderStringArray.html" title="class in org.apache.juneau.http">HeaderStringArray</a></pre>
+<div class="block">Represents a parsed <l>Content-Language</l> HTTP response header.
+ <p>
+ The natural language or languages of the intended audience for the enclosed content.
+
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ Content-Language: da
+ </p>
+
+ <h6 class='topic'>RFC2616 Specification</h6>
+
+ The Content-Language entity-header field describes the natural language(s) of the intended audience for the
+ enclosed entity.
+ Note that this might not be equivalent to all the languages used within the entity-body.
+ <p class='bcode'>
+ Content-Language = "Content-Language" ":" 1#language-tag
+ </p>
+ <p>
+ Language tags are defined in section 3.10.
+ The primary purpose of Content-Language is to allow a user to identify and differentiate entities according to the
+ user's own preferred language.
+ Thus, if the body content is intended only for a Danish-literate audience, the appropriate field is...
+ <p class='bcode'>
+ Content-Language: da
+ </p>
+ <p>
+ If no Content-Language is specified, the default is that the content is intended for all language audiences.
+ This might mean that the sender does not consider it to be specific to any natural language, or that the sender
+ does not know for which language it is intended.
+ <p>
+ Multiple languages MAY be listed for content that is intended for multiple audiences.
+ For example, a rendition of the "Treaty of Waitangi," presented simultaneously in the original Maori and English
+ versions, would call for...
+ <p class='bcode'>
+ Content-Language: mi, en
+ </p>
+ <p>
+ However, just because multiple languages are present within an entity does not mean that it is intended for
+ multiple linguistic audiences.
+ An example would be a beginner's language primer, such as "A First Lesson in Latin," which is clearly intended to
+ be used by an English-literate audience.
+ In this case, the Content-Language would properly only include "en".
+ <p>
+ Content-Language MAY be applied to any media type -- it is not limited to textual documents.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/ContentLanguage.html" title="class in org.apache.juneau.http">ContentLanguage</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/ContentLanguage.html#forString-java.lang.String-">forString</a></span>(<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> value)</code>
+<div class="block">Returns a parsed <code>Content-Language</code> header.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.http.HeaderStringArray">
+<!-- -->
+</a>
+<h3>Methods inherited from class org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderStringArray.html" title="class in org.apache.juneau.http">HeaderStringArray</a></h3>
+<code><a href="../../../../org/apache/juneau/http/HeaderStringArray.html#asString--">asString</a>, <a href="../../../../org/apache/juneau/http/HeaderStringArray.html#contains-java.lang.String-">contains</a>, <a href="../../../../org/apache/juneau/http/HeaderStringArray.html#containsIC-java.lang.String-">containsIC</a>, <a href="../../../../org/apache/juneau/http/HeaderStringArray.html#toString--">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="forString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>forString</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/ContentLanguage.html" title="class in org.apache.juneau.http">ContentLanguage</a> <a href="../../../../src-html/org/apache/juneau/http/ContentLanguage.html#line.69">forString</a>(<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> value)</pre>
+<div class="block">Returns a parsed <code>Content-Language</code> header.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The <code>Content-Language</code> header string.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Content-Language</code> header, or <jk>null</jk> if the string was null.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/ContentEncodingEnum.html" title="enum in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/ContentLength.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/ContentLanguage.html" target="_top">Frames</a></li>
+<li><a href="ContentLanguage.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/ContentLength.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/ContentLength.html b/content/site/apidocs/org/apache/juneau/http/ContentLength.html
new file mode 100644
index 0000000..b266aa3
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/ContentLength.html
@@ -0,0 +1,290 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>ContentLength (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="ContentLength (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/ContentLanguage.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/ContentLocation.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/ContentLength.html" target="_top">Frames</a></li>
+<li><a href="ContentLength.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class ContentLength" class="title">Class ContentLength</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../org/apache/juneau/http/HeaderInteger.html" title="class in org.apache.juneau.http">org.apache.juneau.http.HeaderInteger</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.ContentLength</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/ContentLength.html#line.50">ContentLength</a>
+extends <a href="../../../../org/apache/juneau/http/HeaderInteger.html" title="class in org.apache.juneau.http">HeaderInteger</a></pre>
+<div class="block">Represents a parsed <l>Content-Length</l> HTTP request/response header.
+ <p>
+ The length of the response body in octets (8-bit bytes).
+
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ Content-Length: 348
+ </p>
+
+ <h6 class='topic'>RFC2616 Specification</h6>
+
+ The Content-Length entity-header field indicates the size of the entity-body, in decimal number of OCTETs, sent to
+ the recipient or, in the case of the HEAD method, the size of the entity-body that would have been sent had the
+ request been a GET.
+ <p class='bcode'>
+ Content-Length = "Content-Length" ":" 1*DIGIT
+ </p>
+ <p>
+ An example is...
+ <p class='bcode'>
+ Content-Length: 3495
+ </p>
+ <p>
+ Applications SHOULD use this field to indicate the transfer-length of the message-body, unless this is prohibited by
+ the rules in section 4.4.
+ <p>
+ Any Content-Length greater than or equal to zero is a valid value.
+ Section 4.4 describes how to determine the length of a message-body if a Content-Length is not given.
+ <p>
+ Note that the meaning of this field is significantly different from the corresponding definition in MIME, where it is
+ an optional field used within the "message/external-body" content-type.
+ In HTTP, it SHOULD be sent whenever the message's length can be determined prior to being transferred, unless this is
+ prohibited by the rules in section 4.4.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/ContentLength.html" title="class in org.apache.juneau.http">ContentLength</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/ContentLength.html#forString-java.lang.String-">forString</a></span>(<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> value)</code>
+<div class="block">Returns a parsed <code>Content-Length</code> header.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.http.HeaderInteger">
+<!-- -->
+</a>
+<h3>Methods inherited from class org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderInteger.html" title="class in org.apache.juneau.http">HeaderInteger</a></h3>
+<code><a href="../../../../org/apache/juneau/http/HeaderInteger.html#asInt--">asInt</a>, <a href="../../../../org/apache/juneau/http/HeaderInteger.html#toString--">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="forString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>forString</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/ContentLength.html" title="class in org.apache.juneau.http">ContentLength</a> <a href="../../../../src-html/org/apache/juneau/http/ContentLength.html#line.58">forString</a>(<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> value)</pre>
+<div class="block">Returns a parsed <code>Content-Length</code> header.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The <code>Content-Length</code> header string.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Content-Length</code> header, or <jk>null</jk> if the string was null.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/ContentLanguage.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/ContentLocation.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/ContentLength.html" target="_top">Frames</a></li>
+<li><a href="ContentLength.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/ContentLocation.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/ContentLocation.html b/content/site/apidocs/org/apache/juneau/http/ContentLocation.html
new file mode 100644
index 0000000..7bf45e0
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/ContentLocation.html
@@ -0,0 +1,295 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>ContentLocation (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="ContentLocation (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/ContentLength.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/ContentRange.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/ContentLocation.html" target="_top">Frames</a></li>
+<li><a href="ContentLocation.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class ContentLocation" class="title">Class ContentLocation</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../org/apache/juneau/http/HeaderUri.html" title="class in org.apache.juneau.http">org.apache.juneau.http.HeaderUri</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.ContentLocation</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/ContentLocation.html#line.55">ContentLocation</a>
+extends <a href="../../../../org/apache/juneau/http/HeaderUri.html" title="class in org.apache.juneau.http">HeaderUri</a></pre>
+<div class="block">Represents a parsed <l>Content-Location</l> HTTP response header.
+ <p>
+ An alternate location for the returned data.
+
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ Content-Location: /index.htm
+ </p>
+
+ <h6 class='topic'>RFC2616 Specification</h6>
+
+ The Content-Location entity-header field MAY be used to supply the resource location for the entity enclosed in the
+ message when that entity is accessible from a location separate from the requested resource's URI.
+ A server SHOULD provide a Content-Location for the variant corresponding to the response entity; especially in the
+ case where a resource has multiple entities associated with it, and those entities actually have separate locations
+ by which they might be individually accessed, the server SHOULD provide a Content-Location for the particular variant
+ which is returned.
+ <p class='bcode'>
+ Content-Location = "Content-Location" ":"
+ ( absoluteURI | relativeURI )
+ </p>
+ <p>
+ The value of Content-Location also defines the base URI for the entity.
+ <p>
+ The Content-Location value is not a replacement for the original requested URI; it is only a statement of the
+ location of the resource corresponding to this particular entity at the time of the request.
+ Future requests MAY specify the Content-Location URI as the request- URI if the desire is to identify the source of
+ that particular entity.
+ <p>
+ A cache cannot assume that an entity with a Content-Location different from the URI used to retrieve it can be used
+ to respond to later requests on that Content-Location URI.
+ However, the Content- Location can be used to differentiate between multiple entities retrieved from a single
+ requested resource, as described in section 13.6.
+ <p>
+ If the Content-Location is a relative URI, the relative URI is interpreted relative to the Request-URI.
+ <p>
+ The meaning of the Content-Location header in PUT or POST requests is undefined; servers are free to ignore it in
+ those cases.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/ContentLocation.html" title="class in org.apache.juneau.http">ContentLocation</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/ContentLocation.html#forString-java.lang.String-">forString</a></span>(<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> value)</code>
+<div class="block">Returns a parsed <code>Content-Location</code> header.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.http.HeaderUri">
+<!-- -->
+</a>
+<h3>Methods inherited from class org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderUri.html" title="class in org.apache.juneau.http">HeaderUri</a></h3>
+<code><a href="../../../../org/apache/juneau/http/HeaderUri.html#asString--">asString</a>, <a href="../../../../org/apache/juneau/http/HeaderUri.html#asURI--">asURI</a>, <a href="../../../../org/apache/juneau/http/HeaderUri.html#toString--">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="forString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>forString</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/ContentLocation.html" title="class in org.apache.juneau.http">ContentLocation</a> <a href="../../../../src-html/org/apache/juneau/http/ContentLocation.html#line.63">forString</a>(<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> value)</pre>
+<div class="block">Returns a parsed <code>Content-Location</code> header.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The <code>Content-Location</code> header string.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Content-Location</code> header, or <jk>null</jk> if the string was null.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/ContentLength.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/ContentRange.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/ContentLocation.html" target="_top">Frames</a></li>
+<li><a href="ContentLocation.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
[11/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/internal/DateUtils.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/internal/DateUtils.html b/content/site/apidocs/src-html/org/apache/juneau/internal/DateUtils.html
new file mode 100644
index 0000000..2c23043
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/internal/DateUtils.html
@@ -0,0 +1,258 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.internal;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>import java.lang.ref.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span>import java.text.*;<a name="line.16"></a>
+<span class="sourceLineNo">017</span>import java.util.*;<a name="line.17"></a>
+<span class="sourceLineNo">018</span><a name="line.18"></a>
+<span class="sourceLineNo">019</span>/**<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * A utility class for parsing and formatting HTTP dates as used in cookies and<a name="line.20"></a>
+<span class="sourceLineNo">021</span> * other headers. This class handles dates as defined by RFC 2616 section<a name="line.21"></a>
+<span class="sourceLineNo">022</span> * 3.3.1 as well as some other common non-standard formats.<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * <p><a name="line.23"></a>
+<span class="sourceLineNo">024</span> * This class was copied from HttpClient 4.3.<a name="line.24"></a>
+<span class="sourceLineNo">025</span> */<a name="line.25"></a>
+<span class="sourceLineNo">026</span>public final class DateUtils {<a name="line.26"></a>
+<span class="sourceLineNo">027</span><a name="line.27"></a>
+<span class="sourceLineNo">028</span> /**<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * Date format pattern used to parse HTTP date headers in RFC 1123 format.<a name="line.29"></a>
+<span class="sourceLineNo">030</span> */<a name="line.30"></a>
+<span class="sourceLineNo">031</span> public static final String PATTERN_RFC1123 = "EEE, dd MMM yyyy HH:mm:ss zzz";<a name="line.31"></a>
+<span class="sourceLineNo">032</span><a name="line.32"></a>
+<span class="sourceLineNo">033</span> /**<a name="line.33"></a>
+<span class="sourceLineNo">034</span> * Date format pattern used to parse HTTP date headers in RFC 1036 format.<a name="line.34"></a>
+<span class="sourceLineNo">035</span> */<a name="line.35"></a>
+<span class="sourceLineNo">036</span> public static final String PATTERN_RFC1036 = "EEE, dd-MMM-yy HH:mm:ss zzz";<a name="line.36"></a>
+<span class="sourceLineNo">037</span><a name="line.37"></a>
+<span class="sourceLineNo">038</span> /**<a name="line.38"></a>
+<span class="sourceLineNo">039</span> * Date format pattern used to parse HTTP date headers in ANSI C <code>asctime()</code> format.<a name="line.39"></a>
+<span class="sourceLineNo">040</span> */<a name="line.40"></a>
+<span class="sourceLineNo">041</span> public static final String PATTERN_ASCTIME = "EEE MMM d HH:mm:ss yyyy";<a name="line.41"></a>
+<span class="sourceLineNo">042</span> private static final String[] DEFAULT_PATTERNS = new String[] { PATTERN_RFC1123, PATTERN_RFC1036, PATTERN_ASCTIME };<a name="line.42"></a>
+<span class="sourceLineNo">043</span> private static final Date DEFAULT_TWO_DIGIT_YEAR_START;<a name="line.43"></a>
+<span class="sourceLineNo">044</span> private static final TimeZone GMT = TimeZone.getTimeZone("GMT");<a name="line.44"></a>
+<span class="sourceLineNo">045</span> static {<a name="line.45"></a>
+<span class="sourceLineNo">046</span> final Calendar calendar = Calendar.getInstance();<a name="line.46"></a>
+<span class="sourceLineNo">047</span> calendar.setTimeZone(GMT);<a name="line.47"></a>
+<span class="sourceLineNo">048</span> calendar.set(2000, Calendar.JANUARY, 1, 0, 0, 0);<a name="line.48"></a>
+<span class="sourceLineNo">049</span> calendar.set(Calendar.MILLISECOND, 0);<a name="line.49"></a>
+<span class="sourceLineNo">050</span> DEFAULT_TWO_DIGIT_YEAR_START = calendar.getTime();<a name="line.50"></a>
+<span class="sourceLineNo">051</span> }<a name="line.51"></a>
+<span class="sourceLineNo">052</span><a name="line.52"></a>
+<span class="sourceLineNo">053</span> /**<a name="line.53"></a>
+<span class="sourceLineNo">054</span> * Parses a date value. The formats used for parsing the date value are retrieved from the default http params.<a name="line.54"></a>
+<span class="sourceLineNo">055</span> *<a name="line.55"></a>
+<span class="sourceLineNo">056</span> * @param dateValue the date value to parse<a name="line.56"></a>
+<span class="sourceLineNo">057</span> * @return the parsed date or null if input could not be parsed<a name="line.57"></a>
+<span class="sourceLineNo">058</span> */<a name="line.58"></a>
+<span class="sourceLineNo">059</span> public static Date parseDate(final String dateValue) {<a name="line.59"></a>
+<span class="sourceLineNo">060</span> return parseDate(dateValue, null, null);<a name="line.60"></a>
+<span class="sourceLineNo">061</span> }<a name="line.61"></a>
+<span class="sourceLineNo">062</span><a name="line.62"></a>
+<span class="sourceLineNo">063</span> /**<a name="line.63"></a>
+<span class="sourceLineNo">064</span> * Parses the date value using the given date formats.<a name="line.64"></a>
+<span class="sourceLineNo">065</span> *<a name="line.65"></a>
+<span class="sourceLineNo">066</span> * @param dateValue the date value to parse<a name="line.66"></a>
+<span class="sourceLineNo">067</span> * @param dateFormats the date formats to use<a name="line.67"></a>
+<span class="sourceLineNo">068</span> *<a name="line.68"></a>
+<span class="sourceLineNo">069</span> * @return the parsed date or null if input could not be parsed<a name="line.69"></a>
+<span class="sourceLineNo">070</span> */<a name="line.70"></a>
+<span class="sourceLineNo">071</span> public static Date parseDate(final String dateValue, final String[] dateFormats) {<a name="line.71"></a>
+<span class="sourceLineNo">072</span> return parseDate(dateValue, dateFormats, null);<a name="line.72"></a>
+<span class="sourceLineNo">073</span> }<a name="line.73"></a>
+<span class="sourceLineNo">074</span><a name="line.74"></a>
+<span class="sourceLineNo">075</span> /**<a name="line.75"></a>
+<span class="sourceLineNo">076</span> * Parses the date value using the given date formats.<a name="line.76"></a>
+<span class="sourceLineNo">077</span> *<a name="line.77"></a>
+<span class="sourceLineNo">078</span> * @param dateValue the date value to parse<a name="line.78"></a>
+<span class="sourceLineNo">079</span> * @param dateFormats the date formats to use<a name="line.79"></a>
+<span class="sourceLineNo">080</span> * @param startDate During parsing, two digit years will be placed in the range <code>startDate</code> to<a name="line.80"></a>
+<span class="sourceLineNo">081</span> * <code>startDate + 100 years</code>. This value may be <code>null</code>. When<a name="line.81"></a>
+<span class="sourceLineNo">082</span> * <code>null</code> is given as a parameter, year <code>2000</code> will be used.<a name="line.82"></a>
+<span class="sourceLineNo">083</span> *<a name="line.83"></a>
+<span class="sourceLineNo">084</span> * @return the parsed date or null if input could not be parsed<a name="line.84"></a>
+<span class="sourceLineNo">085</span> */<a name="line.85"></a>
+<span class="sourceLineNo">086</span> public static Date parseDate(final String dateValue, final String[] dateFormats, final Date startDate) {<a name="line.86"></a>
+<span class="sourceLineNo">087</span> final String[] localDateFormats = dateFormats != null ? dateFormats : DEFAULT_PATTERNS;<a name="line.87"></a>
+<span class="sourceLineNo">088</span> final Date localStartDate = startDate != null ? startDate : DEFAULT_TWO_DIGIT_YEAR_START;<a name="line.88"></a>
+<span class="sourceLineNo">089</span> String v = dateValue;<a name="line.89"></a>
+<span class="sourceLineNo">090</span> // trim single quotes around date if present<a name="line.90"></a>
+<span class="sourceLineNo">091</span> // see issue #5279<a name="line.91"></a>
+<span class="sourceLineNo">092</span> if (v.length() > 1 && v.startsWith("'") && v.endsWith("'")) {<a name="line.92"></a>
+<span class="sourceLineNo">093</span> v = v.substring(1, v.length() - 1);<a name="line.93"></a>
+<span class="sourceLineNo">094</span> }<a name="line.94"></a>
+<span class="sourceLineNo">095</span> for (final String dateFormat : localDateFormats) {<a name="line.95"></a>
+<span class="sourceLineNo">096</span> final SimpleDateFormat dateParser = DateFormatHolder.formatFor(dateFormat);<a name="line.96"></a>
+<span class="sourceLineNo">097</span> dateParser.set2DigitYearStart(localStartDate);<a name="line.97"></a>
+<span class="sourceLineNo">098</span> final ParsePosition pos = new ParsePosition(0);<a name="line.98"></a>
+<span class="sourceLineNo">099</span> final Date result = dateParser.parse(v, pos);<a name="line.99"></a>
+<span class="sourceLineNo">100</span> if (pos.getIndex() != 0) {<a name="line.100"></a>
+<span class="sourceLineNo">101</span> return result;<a name="line.101"></a>
+<span class="sourceLineNo">102</span> }<a name="line.102"></a>
+<span class="sourceLineNo">103</span> }<a name="line.103"></a>
+<span class="sourceLineNo">104</span> return null;<a name="line.104"></a>
+<span class="sourceLineNo">105</span> }<a name="line.105"></a>
+<span class="sourceLineNo">106</span><a name="line.106"></a>
+<span class="sourceLineNo">107</span> /**<a name="line.107"></a>
+<span class="sourceLineNo">108</span> * Formats the given date according to the RFC 1123 pattern.<a name="line.108"></a>
+<span class="sourceLineNo">109</span> *<a name="line.109"></a>
+<span class="sourceLineNo">110</span> * @param date The date to format.<a name="line.110"></a>
+<span class="sourceLineNo">111</span> * @return An RFC 1123 formatted date string.<a name="line.111"></a>
+<span class="sourceLineNo">112</span> *<a name="line.112"></a>
+<span class="sourceLineNo">113</span> * @see #PATTERN_RFC1123<a name="line.113"></a>
+<span class="sourceLineNo">114</span> */<a name="line.114"></a>
+<span class="sourceLineNo">115</span> public static String formatDate(final Date date) {<a name="line.115"></a>
+<span class="sourceLineNo">116</span> return formatDate(date, PATTERN_RFC1123);<a name="line.116"></a>
+<span class="sourceLineNo">117</span> }<a name="line.117"></a>
+<span class="sourceLineNo">118</span><a name="line.118"></a>
+<span class="sourceLineNo">119</span> /**<a name="line.119"></a>
+<span class="sourceLineNo">120</span> * Formats the given date according to the specified pattern. The pattern must conform to that used by the<a name="line.120"></a>
+<span class="sourceLineNo">121</span> * {@link SimpleDateFormat simple date format} class.<a name="line.121"></a>
+<span class="sourceLineNo">122</span> *<a name="line.122"></a>
+<span class="sourceLineNo">123</span> * @param date The date to format.<a name="line.123"></a>
+<span class="sourceLineNo">124</span> * @param pattern The pattern to use for formatting the date.<a name="line.124"></a>
+<span class="sourceLineNo">125</span> * @return A formatted date string.<a name="line.125"></a>
+<span class="sourceLineNo">126</span> * @throws IllegalArgumentException If the given date pattern is invalid.<a name="line.126"></a>
+<span class="sourceLineNo">127</span> * @see SimpleDateFormat<a name="line.127"></a>
+<span class="sourceLineNo">128</span> */<a name="line.128"></a>
+<span class="sourceLineNo">129</span> public static String formatDate(final Date date, final String pattern) {<a name="line.129"></a>
+<span class="sourceLineNo">130</span> final SimpleDateFormat formatter = DateFormatHolder.formatFor(pattern);<a name="line.130"></a>
+<span class="sourceLineNo">131</span> return formatter.format(date);<a name="line.131"></a>
+<span class="sourceLineNo">132</span> }<a name="line.132"></a>
+<span class="sourceLineNo">133</span><a name="line.133"></a>
+<span class="sourceLineNo">134</span> /**<a name="line.134"></a>
+<span class="sourceLineNo">135</span> * Clears thread-local variable containing {@link java.text.DateFormat} cache.<a name="line.135"></a>
+<span class="sourceLineNo">136</span> */<a name="line.136"></a>
+<span class="sourceLineNo">137</span> public static void clearThreadLocal() {<a name="line.137"></a>
+<span class="sourceLineNo">138</span> DateFormatHolder.clearThreadLocal();<a name="line.138"></a>
+<span class="sourceLineNo">139</span> }<a name="line.139"></a>
+<span class="sourceLineNo">140</span><a name="line.140"></a>
+<span class="sourceLineNo">141</span> /** This class should not be instantiated. */<a name="line.141"></a>
+<span class="sourceLineNo">142</span> private DateUtils() {<a name="line.142"></a>
+<span class="sourceLineNo">143</span> }<a name="line.143"></a>
+<span class="sourceLineNo">144</span><a name="line.144"></a>
+<span class="sourceLineNo">145</span> /**<a name="line.145"></a>
+<span class="sourceLineNo">146</span> * A factory for {@link SimpleDateFormat}s. The instances are stored in a threadlocal way because SimpleDateFormat<a name="line.146"></a>
+<span class="sourceLineNo">147</span> * is not threadsafe as noted in {@link SimpleDateFormat its javadoc}.<a name="line.147"></a>
+<span class="sourceLineNo">148</span> *<a name="line.148"></a>
+<span class="sourceLineNo">149</span> */<a name="line.149"></a>
+<span class="sourceLineNo">150</span> final static class DateFormatHolder {<a name="line.150"></a>
+<span class="sourceLineNo">151</span> private static final ThreadLocal<SoftReference<Map<String,SimpleDateFormat>>> THREADLOCAL_FORMATS = new ThreadLocal<SoftReference<Map<String,SimpleDateFormat>>>() {<a name="line.151"></a>
+<span class="sourceLineNo">152</span> @Override<a name="line.152"></a>
+<span class="sourceLineNo">153</span> protected SoftReference<Map<String,SimpleDateFormat>> initialValue() {<a name="line.153"></a>
+<span class="sourceLineNo">154</span> return new SoftReference<Map<String,SimpleDateFormat>>(new HashMap<String,SimpleDateFormat>());<a name="line.154"></a>
+<span class="sourceLineNo">155</span> }<a name="line.155"></a>
+<span class="sourceLineNo">156</span> };<a name="line.156"></a>
+<span class="sourceLineNo">157</span><a name="line.157"></a>
+<span class="sourceLineNo">158</span> /**<a name="line.158"></a>
+<span class="sourceLineNo">159</span> * creates a {@link SimpleDateFormat} for the requested format string.<a name="line.159"></a>
+<span class="sourceLineNo">160</span> *<a name="line.160"></a>
+<span class="sourceLineNo">161</span> * @param pattern a non-<code>null</code> format String according to {@link SimpleDateFormat}. The format is not<a name="line.161"></a>
+<span class="sourceLineNo">162</span> * checked against <code>null</code> since all paths go through {@link DateUtils}.<a name="line.162"></a>
+<span class="sourceLineNo">163</span> * @return the requested format. This simple dateformat should not be used to<a name="line.163"></a>
+<span class="sourceLineNo">164</span> * {@link SimpleDateFormat#applyPattern(String) apply} to a different pattern.<a name="line.164"></a>
+<span class="sourceLineNo">165</span> */<a name="line.165"></a>
+<span class="sourceLineNo">166</span> public static SimpleDateFormat formatFor(final String pattern) {<a name="line.166"></a>
+<span class="sourceLineNo">167</span> final SoftReference<Map<String,SimpleDateFormat>> ref = THREADLOCAL_FORMATS.get();<a name="line.167"></a>
+<span class="sourceLineNo">168</span> Map<String,SimpleDateFormat> formats = ref.get();<a name="line.168"></a>
+<span class="sourceLineNo">169</span> if (formats == null) {<a name="line.169"></a>
+<span class="sourceLineNo">170</span> formats = new HashMap<String,SimpleDateFormat>();<a name="line.170"></a>
+<span class="sourceLineNo">171</span> THREADLOCAL_FORMATS.set(new SoftReference<Map<String,SimpleDateFormat>>(formats));<a name="line.171"></a>
+<span class="sourceLineNo">172</span> }<a name="line.172"></a>
+<span class="sourceLineNo">173</span> SimpleDateFormat format = formats.get(pattern);<a name="line.173"></a>
+<span class="sourceLineNo">174</span> if (format == null) {<a name="line.174"></a>
+<span class="sourceLineNo">175</span> format = new SimpleDateFormat(pattern, Locale.US);<a name="line.175"></a>
+<span class="sourceLineNo">176</span> format.setTimeZone(TimeZone.getTimeZone("GMT"));<a name="line.176"></a>
+<span class="sourceLineNo">177</span> formats.put(pattern, format);<a name="line.177"></a>
+<span class="sourceLineNo">178</span> }<a name="line.178"></a>
+<span class="sourceLineNo">179</span> return format;<a name="line.179"></a>
+<span class="sourceLineNo">180</span> }<a name="line.180"></a>
+<span class="sourceLineNo">181</span><a name="line.181"></a>
+<span class="sourceLineNo">182</span> public static void clearThreadLocal() {<a name="line.182"></a>
+<span class="sourceLineNo">183</span> THREADLOCAL_FORMATS.remove();<a name="line.183"></a>
+<span class="sourceLineNo">184</span> }<a name="line.184"></a>
+<span class="sourceLineNo">185</span> }<a name="line.185"></a>
+<span class="sourceLineNo">186</span>}<a name="line.186"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/internal/StringUtils.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/internal/StringUtils.html b/content/site/apidocs/src-html/org/apache/juneau/internal/StringUtils.html
index 354d7e3..7799473 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/internal/StringUtils.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/internal/StringUtils.html
@@ -1324,7 +1324,23 @@
<span class="sourceLineNo">1316</span> }<a name="line.1316"></a>
<span class="sourceLineNo">1317</span> return 0;<a name="line.1317"></a>
<span class="sourceLineNo">1318</span> }<a name="line.1318"></a>
-<span class="sourceLineNo">1319</span>}<a name="line.1319"></a>
+<span class="sourceLineNo">1319</span><a name="line.1319"></a>
+<span class="sourceLineNo">1320</span> /**<a name="line.1320"></a>
+<span class="sourceLineNo">1321</span> * Returns the character at the specified index in the string without throwing exceptions.<a name="line.1321"></a>
+<span class="sourceLineNo">1322</span> *<a name="line.1322"></a>
+<span class="sourceLineNo">1323</span> * @param s The string.<a name="line.1323"></a>
+<span class="sourceLineNo">1324</span> * @param i The index position.<a name="line.1324"></a>
+<span class="sourceLineNo">1325</span> * @return The character at the specified index, or <code>0</code> if the index is out-of-range or the string<a name="line.1325"></a>
+<span class="sourceLineNo">1326</span> * is <jk>null</jk>.<a name="line.1326"></a>
+<span class="sourceLineNo">1327</span> */<a name="line.1327"></a>
+<span class="sourceLineNo">1328</span> public static char charAt(String s, int i) {<a name="line.1328"></a>
+<span class="sourceLineNo">1329</span> if (s == null)<a name="line.1329"></a>
+<span class="sourceLineNo">1330</span> return 0;<a name="line.1330"></a>
+<span class="sourceLineNo">1331</span> if (i < 0 || i >= s.length())<a name="line.1331"></a>
+<span class="sourceLineNo">1332</span> return 0;<a name="line.1332"></a>
+<span class="sourceLineNo">1333</span> return s.charAt(i);<a name="line.1333"></a>
+<span class="sourceLineNo">1334</span> }<a name="line.1334"></a>
+<span class="sourceLineNo">1335</span>}<a name="line.1335"></a>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/internal/WrappedMap.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/internal/WrappedMap.html b/content/site/apidocs/src-html/org/apache/juneau/internal/WrappedMap.html
new file mode 100644
index 0000000..439e591
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/internal/WrappedMap.html
@@ -0,0 +1,166 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.internal;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>import java.util.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span><a name="line.16"></a>
+<span class="sourceLineNo">017</span>/**<a name="line.17"></a>
+<span class="sourceLineNo">018</span> * Wraps an existing map inside an extensible interface so that convenience methods can be added to the subclass.<a name="line.18"></a>
+<span class="sourceLineNo">019</span> * @param <K> The key type.<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * @param <V> The value type.<a name="line.20"></a>
+<span class="sourceLineNo">021</span> */<a name="line.21"></a>
+<span class="sourceLineNo">022</span>public class WrappedMap<K,V> implements Map<K,V> {<a name="line.22"></a>
+<span class="sourceLineNo">023</span><a name="line.23"></a>
+<span class="sourceLineNo">024</span> private final Map<K,V> inner;<a name="line.24"></a>
+<span class="sourceLineNo">025</span><a name="line.25"></a>
+<span class="sourceLineNo">026</span> /**<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * Constructor.<a name="line.27"></a>
+<span class="sourceLineNo">028</span> *<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * @param inner The inner map.<a name="line.29"></a>
+<span class="sourceLineNo">030</span> */<a name="line.30"></a>
+<span class="sourceLineNo">031</span> protected WrappedMap(Map<K,V> inner) {<a name="line.31"></a>
+<span class="sourceLineNo">032</span> this.inner = inner;<a name="line.32"></a>
+<span class="sourceLineNo">033</span> }<a name="line.33"></a>
+<span class="sourceLineNo">034</span><a name="line.34"></a>
+<span class="sourceLineNo">035</span> @Override /* Map */<a name="line.35"></a>
+<span class="sourceLineNo">036</span> public void clear() {<a name="line.36"></a>
+<span class="sourceLineNo">037</span> inner.clear();<a name="line.37"></a>
+<span class="sourceLineNo">038</span> }<a name="line.38"></a>
+<span class="sourceLineNo">039</span><a name="line.39"></a>
+<span class="sourceLineNo">040</span> @Override<a name="line.40"></a>
+<span class="sourceLineNo">041</span> public boolean containsKey(Object key) {<a name="line.41"></a>
+<span class="sourceLineNo">042</span> return inner.containsKey(key);<a name="line.42"></a>
+<span class="sourceLineNo">043</span> }<a name="line.43"></a>
+<span class="sourceLineNo">044</span><a name="line.44"></a>
+<span class="sourceLineNo">045</span> @Override /* Map */<a name="line.45"></a>
+<span class="sourceLineNo">046</span> public boolean containsValue(Object value) {<a name="line.46"></a>
+<span class="sourceLineNo">047</span> return inner.containsValue(value);<a name="line.47"></a>
+<span class="sourceLineNo">048</span> }<a name="line.48"></a>
+<span class="sourceLineNo">049</span><a name="line.49"></a>
+<span class="sourceLineNo">050</span> @Override /* Map */<a name="line.50"></a>
+<span class="sourceLineNo">051</span> public Set<java.util.Map.Entry<K,V>> entrySet() {<a name="line.51"></a>
+<span class="sourceLineNo">052</span> return inner.entrySet();<a name="line.52"></a>
+<span class="sourceLineNo">053</span> }<a name="line.53"></a>
+<span class="sourceLineNo">054</span><a name="line.54"></a>
+<span class="sourceLineNo">055</span> @Override /* Map */<a name="line.55"></a>
+<span class="sourceLineNo">056</span> public V get(Object key) {<a name="line.56"></a>
+<span class="sourceLineNo">057</span> return inner.get(key);<a name="line.57"></a>
+<span class="sourceLineNo">058</span> }<a name="line.58"></a>
+<span class="sourceLineNo">059</span><a name="line.59"></a>
+<span class="sourceLineNo">060</span> @Override /* Map */<a name="line.60"></a>
+<span class="sourceLineNo">061</span> public boolean isEmpty() {<a name="line.61"></a>
+<span class="sourceLineNo">062</span> return inner.isEmpty();<a name="line.62"></a>
+<span class="sourceLineNo">063</span> }<a name="line.63"></a>
+<span class="sourceLineNo">064</span><a name="line.64"></a>
+<span class="sourceLineNo">065</span> @Override /* Map */<a name="line.65"></a>
+<span class="sourceLineNo">066</span> public Set<K> keySet() {<a name="line.66"></a>
+<span class="sourceLineNo">067</span> return inner.keySet();<a name="line.67"></a>
+<span class="sourceLineNo">068</span> }<a name="line.68"></a>
+<span class="sourceLineNo">069</span><a name="line.69"></a>
+<span class="sourceLineNo">070</span> @Override /* Map */<a name="line.70"></a>
+<span class="sourceLineNo">071</span> public V put(K key, V value) {<a name="line.71"></a>
+<span class="sourceLineNo">072</span> return inner.put(key, value);<a name="line.72"></a>
+<span class="sourceLineNo">073</span> }<a name="line.73"></a>
+<span class="sourceLineNo">074</span><a name="line.74"></a>
+<span class="sourceLineNo">075</span> @Override /* Map */<a name="line.75"></a>
+<span class="sourceLineNo">076</span> public void putAll(Map<? extends K,? extends V> m) {<a name="line.76"></a>
+<span class="sourceLineNo">077</span> inner.putAll(m);<a name="line.77"></a>
+<span class="sourceLineNo">078</span> }<a name="line.78"></a>
+<span class="sourceLineNo">079</span><a name="line.79"></a>
+<span class="sourceLineNo">080</span> @Override /* Map */<a name="line.80"></a>
+<span class="sourceLineNo">081</span> public V remove(Object key) {<a name="line.81"></a>
+<span class="sourceLineNo">082</span> return inner.remove(key);<a name="line.82"></a>
+<span class="sourceLineNo">083</span> }<a name="line.83"></a>
+<span class="sourceLineNo">084</span><a name="line.84"></a>
+<span class="sourceLineNo">085</span> @Override /* Map */<a name="line.85"></a>
+<span class="sourceLineNo">086</span> public int size() {<a name="line.86"></a>
+<span class="sourceLineNo">087</span> return inner.size();<a name="line.87"></a>
+<span class="sourceLineNo">088</span> }<a name="line.88"></a>
+<span class="sourceLineNo">089</span><a name="line.89"></a>
+<span class="sourceLineNo">090</span> @Override /* Map */<a name="line.90"></a>
+<span class="sourceLineNo">091</span> public Collection<V> values() {<a name="line.91"></a>
+<span class="sourceLineNo">092</span> return inner.values();<a name="line.92"></a>
+<span class="sourceLineNo">093</span> }<a name="line.93"></a>
+<span class="sourceLineNo">094</span>}<a name="line.94"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/rest/RequestBody.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/rest/RequestBody.html b/content/site/apidocs/src-html/org/apache/juneau/rest/RequestBody.html
new file mode 100644
index 0000000..db00cdc
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/rest/RequestBody.html
@@ -0,0 +1,503 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.rest;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>import static javax.servlet.http.HttpServletResponse.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span><a name="line.16"></a>
+<span class="sourceLineNo">017</span>import java.io.*;<a name="line.17"></a>
+<span class="sourceLineNo">018</span>import java.lang.reflect.*;<a name="line.18"></a>
+<span class="sourceLineNo">019</span>import java.util.*;<a name="line.19"></a>
+<span class="sourceLineNo">020</span><a name="line.20"></a>
+<span class="sourceLineNo">021</span>import javax.servlet.*;<a name="line.21"></a>
+<span class="sourceLineNo">022</span><a name="line.22"></a>
+<span class="sourceLineNo">023</span>import org.apache.juneau.*;<a name="line.23"></a>
+<span class="sourceLineNo">024</span>import org.apache.juneau.encoders.*;<a name="line.24"></a>
+<span class="sourceLineNo">025</span>import org.apache.juneau.http.*;<a name="line.25"></a>
+<span class="sourceLineNo">026</span>import org.apache.juneau.internal.*;<a name="line.26"></a>
+<span class="sourceLineNo">027</span>import org.apache.juneau.parser.*;<a name="line.27"></a>
+<span class="sourceLineNo">028</span>import org.apache.juneau.urlencoding.*;<a name="line.28"></a>
+<span class="sourceLineNo">029</span><a name="line.29"></a>
+<span class="sourceLineNo">030</span>/**<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * Contains the body of the HTTP request.<a name="line.31"></a>
+<span class="sourceLineNo">032</span> */<a name="line.32"></a>
+<span class="sourceLineNo">033</span>@SuppressWarnings("unchecked")<a name="line.33"></a>
+<span class="sourceLineNo">034</span>public class RequestBody {<a name="line.34"></a>
+<span class="sourceLineNo">035</span><a name="line.35"></a>
+<span class="sourceLineNo">036</span> private byte[] body;<a name="line.36"></a>
+<span class="sourceLineNo">037</span> private final RestRequest req;<a name="line.37"></a>
+<span class="sourceLineNo">038</span> private EncoderGroup encoders;<a name="line.38"></a>
+<span class="sourceLineNo">039</span> private Encoder encoder;<a name="line.39"></a>
+<span class="sourceLineNo">040</span> private ParserGroup parsers;<a name="line.40"></a>
+<span class="sourceLineNo">041</span> private UrlEncodingParser urlEncodingParser;<a name="line.41"></a>
+<span class="sourceLineNo">042</span> private RequestHeaders headers;<a name="line.42"></a>
+<span class="sourceLineNo">043</span> private BeanSession beanSession;<a name="line.43"></a>
+<span class="sourceLineNo">044</span> private int contentLength = 0;<a name="line.44"></a>
+<span class="sourceLineNo">045</span><a name="line.45"></a>
+<span class="sourceLineNo">046</span> RequestBody(RestRequest req) {<a name="line.46"></a>
+<span class="sourceLineNo">047</span> this.req = req;<a name="line.47"></a>
+<span class="sourceLineNo">048</span> }<a name="line.48"></a>
+<span class="sourceLineNo">049</span><a name="line.49"></a>
+<span class="sourceLineNo">050</span> RequestBody setEncoders(EncoderGroup encoders) {<a name="line.50"></a>
+<span class="sourceLineNo">051</span> this.encoders = encoders;<a name="line.51"></a>
+<span class="sourceLineNo">052</span> return this;<a name="line.52"></a>
+<span class="sourceLineNo">053</span> }<a name="line.53"></a>
+<span class="sourceLineNo">054</span><a name="line.54"></a>
+<span class="sourceLineNo">055</span> RequestBody setParsers(ParserGroup parsers) {<a name="line.55"></a>
+<span class="sourceLineNo">056</span> this.parsers = parsers;<a name="line.56"></a>
+<span class="sourceLineNo">057</span> return this;<a name="line.57"></a>
+<span class="sourceLineNo">058</span> }<a name="line.58"></a>
+<span class="sourceLineNo">059</span><a name="line.59"></a>
+<span class="sourceLineNo">060</span> RequestBody setHeaders(RequestHeaders headers) {<a name="line.60"></a>
+<span class="sourceLineNo">061</span> this.headers = headers;<a name="line.61"></a>
+<span class="sourceLineNo">062</span> return this;<a name="line.62"></a>
+<span class="sourceLineNo">063</span> }<a name="line.63"></a>
+<span class="sourceLineNo">064</span><a name="line.64"></a>
+<span class="sourceLineNo">065</span> RequestBody setUrlEncodingParser(UrlEncodingParser urlEncodingParser) {<a name="line.65"></a>
+<span class="sourceLineNo">066</span> this.urlEncodingParser = urlEncodingParser;<a name="line.66"></a>
+<span class="sourceLineNo">067</span> return this;<a name="line.67"></a>
+<span class="sourceLineNo">068</span> }<a name="line.68"></a>
+<span class="sourceLineNo">069</span><a name="line.69"></a>
+<span class="sourceLineNo">070</span> RequestBody setBeanSession(BeanSession beanSession) {<a name="line.70"></a>
+<span class="sourceLineNo">071</span> this.beanSession = beanSession;<a name="line.71"></a>
+<span class="sourceLineNo">072</span> return this;<a name="line.72"></a>
+<span class="sourceLineNo">073</span> }<a name="line.73"></a>
+<span class="sourceLineNo">074</span><a name="line.74"></a>
+<span class="sourceLineNo">075</span> @SuppressWarnings("hiding")<a name="line.75"></a>
+<span class="sourceLineNo">076</span> RequestBody load(byte[] body) {<a name="line.76"></a>
+<span class="sourceLineNo">077</span> this.body = body;<a name="line.77"></a>
+<span class="sourceLineNo">078</span> return this;<a name="line.78"></a>
+<span class="sourceLineNo">079</span> }<a name="line.79"></a>
+<span class="sourceLineNo">080</span><a name="line.80"></a>
+<span class="sourceLineNo">081</span> boolean isLoaded() {<a name="line.81"></a>
+<span class="sourceLineNo">082</span> return body != null;<a name="line.82"></a>
+<span class="sourceLineNo">083</span> }<a name="line.83"></a>
+<span class="sourceLineNo">084</span><a name="line.84"></a>
+<span class="sourceLineNo">085</span> /**<a name="line.85"></a>
+<span class="sourceLineNo">086</span> * Reads the input from the HTTP request as JSON, XML, or HTML and converts the input to a POJO.<a name="line.86"></a>
+<span class="sourceLineNo">087</span> * <p><a name="line.87"></a>
+<span class="sourceLineNo">088</span> * If {@code allowHeaderParams} init parameter is <jk>true</jk>, then first looks for {@code &body=xxx} in the URL <a name="line.88"></a>
+<span class="sourceLineNo">089</span> * query string.<a name="line.89"></a>
+<span class="sourceLineNo">090</span> * <p><a name="line.90"></a>
+<span class="sourceLineNo">091</span> * If type is <jk>null</jk> or <code>Object.<jk>class</jk></code>, then the actual type will be determined <a name="line.91"></a>
+<span class="sourceLineNo">092</span> * automatically based on the following input:<a name="line.92"></a>
+<span class="sourceLineNo">093</span> * <table class='styled'><a name="line.93"></a>
+<span class="sourceLineNo">094</span> * <tr><th>Type</th><th>JSON input</th><th>XML input</th><th>Return type</th></tr><a name="line.94"></a>
+<span class="sourceLineNo">095</span> * <tr><a name="line.95"></a>
+<span class="sourceLineNo">096</span> * <td>object</td><a name="line.96"></a>
+<span class="sourceLineNo">097</span> * <td><js>"{...}"</js></td><a name="line.97"></a>
+<span class="sourceLineNo">098</span> * <td><code><xt>&lt;object&gt;</xt>...<xt>&lt;/object&gt;</xt></code><br><code><xt>&lt;x</xt> <xa>type</xa>=<xs>'object'</xs><xt>&gt;</xt>...<xt>&lt;/x&gt;</xt></code></td><a name="line.98"></a>
+<span class="sourceLineNo">099</span> * <td>{@link ObjectMap}</td><a name="line.99"></a>
+<span class="sourceLineNo">100</span> * </tr><a name="line.100"></a>
+<span class="sourceLineNo">101</span> * <tr><a name="line.101"></a>
+<span class="sourceLineNo">102</span> * <td>array</td><a name="line.102"></a>
+<span class="sourceLineNo">103</span> * <td><js>"[...]"</js></td><a name="line.103"></a>
+<span class="sourceLineNo">104</span> * <td><code><xt>&lt;array&gt;</xt>...<xt>&lt;/array&gt;</xt></code><br><code><xt>&lt;x</xt> <xa>type</xa>=<xs>'array'</xs><xt>&gt;</xt>...<xt>&lt;/x&gt;</xt></code></td><a name="line.104"></a>
+<span class="sourceLineNo">105</span> * <td>{@link ObjectList}</td><a name="line.105"></a>
+<span class="sourceLineNo">106</span> * </tr><a name="line.106"></a>
+<span class="sourceLineNo">107</span> * <tr><a name="line.107"></a>
+<span class="sourceLineNo">108</span> * <td>string</td><a name="line.108"></a>
+<span class="sourceLineNo">109</span> * <td><js>"'...'"</js></td><a name="line.109"></a>
+<span class="sourceLineNo">110</span> * <td><code><xt>&lt;string&gt;</xt>...<xt>&lt;/string&gt;</xt></code><br><code><xt>&lt;x</xt> <xa>type</xa>=<xs>'string'</xs><xt>&gt;</xt>...<xt>&lt;/x&gt;</xt></code></td><a name="line.110"></a>
+<span class="sourceLineNo">111</span> * <td>{@link String}</td><a name="line.111"></a>
+<span class="sourceLineNo">112</span> * </tr><a name="line.112"></a>
+<span class="sourceLineNo">113</span> * <tr><a name="line.113"></a>
+<span class="sourceLineNo">114</span> * <td>number</td><a name="line.114"></a>
+<span class="sourceLineNo">115</span> * <td><code>123</code></td><a name="line.115"></a>
+<span class="sourceLineNo">116</span> * <td><code><xt>&lt;number&gt;</xt>123<xt>&lt;/number&gt;</xt></code><br><code><xt>&lt;x</xt> <xa>type</xa>=<xs>'number'</xs><xt>&gt;</xt>...<xt>&lt;/x&gt;</xt></code></td><a name="line.116"></a>
+<span class="sourceLineNo">117</span> * <td>{@link Number}</td><a name="line.117"></a>
+<span class="sourceLineNo">118</span> * </tr><a name="line.118"></a>
+<span class="sourceLineNo">119</span> * <tr><a name="line.119"></a>
+<span class="sourceLineNo">120</span> * <td>boolean</td><a name="line.120"></a>
+<span class="sourceLineNo">121</span> * <td><jk>true</jk></td><a name="line.121"></a>
+<span class="sourceLineNo">122</span> * <td><code><xt>&lt;boolean&gt;</xt>true<xt>&lt;/boolean&gt;</xt></code><br><code><xt>&lt;x</xt> <xa>type</xa>=<xs>'boolean'</xs><xt>&gt;</xt>...<xt>&lt;/x&gt;</xt></code></td><a name="line.122"></a>
+<span class="sourceLineNo">123</span> * <td>{@link Boolean}</td><a name="line.123"></a>
+<span class="sourceLineNo">124</span> * </tr><a name="line.124"></a>
+<span class="sourceLineNo">125</span> * <tr><a name="line.125"></a>
+<span class="sourceLineNo">126</span> * <td>null</td><a name="line.126"></a>
+<span class="sourceLineNo">127</span> * <td><jk>null</jk> or blank</td><a name="line.127"></a>
+<span class="sourceLineNo">128</span> * <td><code><xt>&lt;null/&gt;</xt></code> or blank<br><code><xt>&lt;x</xt> <xa>type</xa>=<xs>'null'</xs><xt>/&gt;</xt></code></td><a name="line.128"></a>
+<span class="sourceLineNo">129</span> * <td><jk>null</jk></td><a name="line.129"></a>
+<span class="sourceLineNo">130</span> * </tr><a name="line.130"></a>
+<span class="sourceLineNo">131</span> * </table><a name="line.131"></a>
+<span class="sourceLineNo">132</span> * <p><a name="line.132"></a>
+<span class="sourceLineNo">133</span> * Refer to <a class="doclink" href="../../../../overview-summary.html#Core.PojoCategories">POJO Categories</a> for <a name="line.133"></a>
+<span class="sourceLineNo">134</span> * a complete definition of supported POJOs.<a name="line.134"></a>
+<span class="sourceLineNo">135</span> * <p><a name="line.135"></a>
+<span class="sourceLineNo">136</span> * <h5 class='section'>Examples:</h5><a name="line.136"></a>
+<span class="sourceLineNo">137</span> * <p class='bcode'><a name="line.137"></a>
+<span class="sourceLineNo">138</span> * <jc>// Parse into an integer.</jc><a name="line.138"></a>
+<span class="sourceLineNo">139</span> * <jk>int</jk> body = req.getBody(<jk>int</jk>.<jk>class</jk>);<a name="line.139"></a>
+<span class="sourceLineNo">140</span> *<a name="line.140"></a>
+<span class="sourceLineNo">141</span> * <jc>// Parse into an int array.</jc><a name="line.141"></a>
+<span class="sourceLineNo">142</span> * <jk>int</jk>[] body = req.getBody(<jk>int</jk>[].<jk>class</jk>);<a name="line.142"></a>
+<span class="sourceLineNo">143</span><a name="line.143"></a>
+<span class="sourceLineNo">144</span> * <jc>// Parse into a bean.</jc><a name="line.144"></a>
+<span class="sourceLineNo">145</span> * MyBean body = req.getBody(MyBean.<jk>class</jk>);<a name="line.145"></a>
+<span class="sourceLineNo">146</span> *<a name="line.146"></a>
+<span class="sourceLineNo">147</span> * <jc>// Parse into a linked-list of objects.</jc><a name="line.147"></a>
+<span class="sourceLineNo">148</span> * List body = req.getBody(LinkedList.<jk>class</jk>);<a name="line.148"></a>
+<span class="sourceLineNo">149</span> *<a name="line.149"></a>
+<span class="sourceLineNo">150</span> * <jc>// Parse into a map of object keys/values.</jc><a name="line.150"></a>
+<span class="sourceLineNo">151</span> * Map body = req.getBody(TreeMap.<jk>class</jk>);<a name="line.151"></a>
+<span class="sourceLineNo">152</span> * </p><a name="line.152"></a>
+<span class="sourceLineNo">153</span> *<a name="line.153"></a>
+<span class="sourceLineNo">154</span> * @param type The class type to instantiate.<a name="line.154"></a>
+<span class="sourceLineNo">155</span> * @param <T> The class type to instantiate.<a name="line.155"></a>
+<span class="sourceLineNo">156</span> * @return The input parsed to a POJO.<a name="line.156"></a>
+<span class="sourceLineNo">157</span> * @throws IOException If a problem occurred trying to read from the reader.<a name="line.157"></a>
+<span class="sourceLineNo">158</span> * @throws ParseException If the input contains a syntax error or is malformed for the requested {@code Accept} <a name="line.158"></a>
+<span class="sourceLineNo">159</span> * header or is not valid for the specified type.<a name="line.159"></a>
+<span class="sourceLineNo">160</span> */<a name="line.160"></a>
+<span class="sourceLineNo">161</span> public <T> T asType(Class<T> type) throws IOException, ParseException {<a name="line.161"></a>
+<span class="sourceLineNo">162</span> return parse(beanSession.getClassMeta(type));<a name="line.162"></a>
+<span class="sourceLineNo">163</span> }<a name="line.163"></a>
+<span class="sourceLineNo">164</span><a name="line.164"></a>
+<span class="sourceLineNo">165</span> /**<a name="line.165"></a>
+<span class="sourceLineNo">166</span> * Reads the input from the HTTP request as JSON, XML, or HTML and converts the input to a POJO.<a name="line.166"></a>
+<span class="sourceLineNo">167</span> * <p><a name="line.167"></a>
+<span class="sourceLineNo">168</span> * <h5 class='section'>Examples:</h5><a name="line.168"></a>
+<span class="sourceLineNo">169</span> * <p class='bcode'><a name="line.169"></a>
+<span class="sourceLineNo">170</span> * <jc>// Parse into a linked-list of strings.</jc><a name="line.170"></a>
+<span class="sourceLineNo">171</span> * List&lt;String&gt; body = req.getBody(LinkedList.<jk>class</jk>, String.<jk>class</jk>);<a name="line.171"></a>
+<span class="sourceLineNo">172</span> *<a name="line.172"></a>
+<span class="sourceLineNo">173</span> * <jc>// Parse into a linked-list of linked-lists of strings.</jc><a name="line.173"></a>
+<span class="sourceLineNo">174</span> * List&lt;List&lt;String&gt;&gt; body = req.getBody(LinkedList.<jk>class</jk>, LinkedList.<jk>class</jk>, String.<jk>class</jk>);<a name="line.174"></a>
+<span class="sourceLineNo">175</span> *<a name="line.175"></a>
+<span class="sourceLineNo">176</span> * <jc>// Parse into a map of string keys/values.</jc><a name="line.176"></a>
+<span class="sourceLineNo">177</span> * Map&lt;String,String&gt; body = req.getBody(TreeMap.<jk>class</jk>, String.<jk>class</jk>, String.<jk>class</jk>);<a name="line.177"></a>
+<span class="sourceLineNo">178</span> *<a name="line.178"></a>
+<span class="sourceLineNo">179</span> * <jc>// Parse into a map containing string keys and values of lists containing beans.</jc><a name="line.179"></a>
+<span class="sourceLineNo">180</span> * Map&lt;String,List&lt;MyBean&gt;&gt; body = req.getBody(TreeMap.<jk>class</jk>, String.<jk>class</jk>, List.<jk>class</jk>, MyBean.<jk>class</jk>);<a name="line.180"></a>
+<span class="sourceLineNo">181</span> * </p><a name="line.181"></a>
+<span class="sourceLineNo">182</span> *<a name="line.182"></a>
+<span class="sourceLineNo">183</span> * @param type The type of object to create.<a name="line.183"></a>
+<span class="sourceLineNo">184</span> * <br>Can be any of the following: {@link ClassMeta}, {@link Class}, {@link ParameterizedType}, <a name="line.184"></a>
+<span class="sourceLineNo">185</span> * {@link GenericArrayType}<a name="line.185"></a>
+<span class="sourceLineNo">186</span> * @param args The type arguments of the class if it's a collection or map.<a name="line.186"></a>
+<span class="sourceLineNo">187</span> * <br>Can be any of the following: {@link ClassMeta}, {@link Class}, {@link ParameterizedType}, <a name="line.187"></a>
+<span class="sourceLineNo">188</span> * {@link GenericArrayType}<a name="line.188"></a>
+<span class="sourceLineNo">189</span> * <br>Ignored if the main type is not a map or collection.<a name="line.189"></a>
+<span class="sourceLineNo">190</span> * @param <T> The class type to instantiate.<a name="line.190"></a>
+<span class="sourceLineNo">191</span> * @return The input parsed to a POJO.<a name="line.191"></a>
+<span class="sourceLineNo">192</span> */<a name="line.192"></a>
+<span class="sourceLineNo">193</span> public <T> T asType(Type type, Type...args) {<a name="line.193"></a>
+<span class="sourceLineNo">194</span> return (T)parse(beanSession.getClassMeta(type, args));<a name="line.194"></a>
+<span class="sourceLineNo">195</span> }<a name="line.195"></a>
+<span class="sourceLineNo">196</span><a name="line.196"></a>
+<span class="sourceLineNo">197</span> /**<a name="line.197"></a>
+<span class="sourceLineNo">198</span> * Returns the HTTP body content as a plain string.<a name="line.198"></a>
+<span class="sourceLineNo">199</span> * <p><a name="line.199"></a>
+<span class="sourceLineNo">200</span> * If {@code allowHeaderParams} init parameter is true, then first looks for {@code &body=xxx} in the URL query <a name="line.200"></a>
+<span class="sourceLineNo">201</span> * string.<a name="line.201"></a>
+<span class="sourceLineNo">202</span> *<a name="line.202"></a>
+<span class="sourceLineNo">203</span> * @return The incoming input from the connection as a plain string.<a name="line.203"></a>
+<span class="sourceLineNo">204</span> * @throws IOException If a problem occurred trying to read from the reader.<a name="line.204"></a>
+<span class="sourceLineNo">205</span> */<a name="line.205"></a>
+<span class="sourceLineNo">206</span> public String asString() throws IOException {<a name="line.206"></a>
+<span class="sourceLineNo">207</span> if (body == null)<a name="line.207"></a>
+<span class="sourceLineNo">208</span> body = IOUtils.readBytes(getInputStream(), 1024);<a name="line.208"></a>
+<span class="sourceLineNo">209</span> return new String(body, IOUtils.UTF8);<a name="line.209"></a>
+<span class="sourceLineNo">210</span> }<a name="line.210"></a>
+<span class="sourceLineNo">211</span><a name="line.211"></a>
+<span class="sourceLineNo">212</span> /**<a name="line.212"></a>
+<span class="sourceLineNo">213</span> * Returns the HTTP body content as a simple hexadecimal character string.<a name="line.213"></a>
+<span class="sourceLineNo">214</span> *<a name="line.214"></a>
+<span class="sourceLineNo">215</span> * @return The incoming input from the connection as a plain string.<a name="line.215"></a>
+<span class="sourceLineNo">216</span> * @throws IOException If a problem occurred trying to read from the reader.<a name="line.216"></a>
+<span class="sourceLineNo">217</span> */<a name="line.217"></a>
+<span class="sourceLineNo">218</span> public String asHex() throws IOException {<a name="line.218"></a>
+<span class="sourceLineNo">219</span> if (body == null)<a name="line.219"></a>
+<span class="sourceLineNo">220</span> body = IOUtils.readBytes(getInputStream(), 1024);<a name="line.220"></a>
+<span class="sourceLineNo">221</span> return StringUtils.toHex(body);<a name="line.221"></a>
+<span class="sourceLineNo">222</span> }<a name="line.222"></a>
+<span class="sourceLineNo">223</span><a name="line.223"></a>
+<span class="sourceLineNo">224</span> /**<a name="line.224"></a>
+<span class="sourceLineNo">225</span> * Returns the HTTP body content as a {@link Reader}.<a name="line.225"></a>
+<span class="sourceLineNo">226</span> * <p><a name="line.226"></a>
+<span class="sourceLineNo">227</span> * If {@code allowHeaderParams} init parameter is true, then first looks for {@code &body=xxx} in the URL query <a name="line.227"></a>
+<span class="sourceLineNo">228</span> * string.<a name="line.228"></a>
+<span class="sourceLineNo">229</span> * <p><a name="line.229"></a>
+<span class="sourceLineNo">230</span> * Automatically handles GZipped input streams.<a name="line.230"></a>
+<span class="sourceLineNo">231</span> * @return The body contents as a reader.<a name="line.231"></a>
+<span class="sourceLineNo">232</span> * @throws IOException<a name="line.232"></a>
+<span class="sourceLineNo">233</span> */<a name="line.233"></a>
+<span class="sourceLineNo">234</span> public BufferedReader getReader() throws IOException {<a name="line.234"></a>
+<span class="sourceLineNo">235</span> Reader r = getUnbufferedReader();<a name="line.235"></a>
+<span class="sourceLineNo">236</span> if (r instanceof BufferedReader)<a name="line.236"></a>
+<span class="sourceLineNo">237</span> return (BufferedReader)r;<a name="line.237"></a>
+<span class="sourceLineNo">238</span> int len = req.getContentLength();<a name="line.238"></a>
+<span class="sourceLineNo">239</span> int buffSize = len <= 0 ? 8192 : Math.max(len, 8192);<a name="line.239"></a>
+<span class="sourceLineNo">240</span> return new BufferedReader(r, buffSize);<a name="line.240"></a>
+<span class="sourceLineNo">241</span> }<a name="line.241"></a>
+<span class="sourceLineNo">242</span><a name="line.242"></a>
+<span class="sourceLineNo">243</span> /**<a name="line.243"></a>
+<span class="sourceLineNo">244</span> * Same as {@link #getReader()}, but doesn't encapsulate the result in a {@link BufferedReader};<a name="line.244"></a>
+<span class="sourceLineNo">245</span> *<a name="line.245"></a>
+<span class="sourceLineNo">246</span> * @return An unbuffered reader.<a name="line.246"></a>
+<span class="sourceLineNo">247</span> * @throws IOException<a name="line.247"></a>
+<span class="sourceLineNo">248</span> */<a name="line.248"></a>
+<span class="sourceLineNo">249</span> protected Reader getUnbufferedReader() throws IOException {<a name="line.249"></a>
+<span class="sourceLineNo">250</span> if (body != null)<a name="line.250"></a>
+<span class="sourceLineNo">251</span> return new CharSequenceReader(new String(body, IOUtils.UTF8));<a name="line.251"></a>
+<span class="sourceLineNo">252</span> return new InputStreamReader(getInputStream(), req.getCharacterEncoding());<a name="line.252"></a>
+<span class="sourceLineNo">253</span> }<a name="line.253"></a>
+<span class="sourceLineNo">254</span><a name="line.254"></a>
+<span class="sourceLineNo">255</span> /**<a name="line.255"></a>
+<span class="sourceLineNo">256</span> * Returns the HTTP body content as an {@link InputStream}.<a name="line.256"></a>
+<span class="sourceLineNo">257</span> * <p><a name="line.257"></a>
+<span class="sourceLineNo">258</span> * Automatically handles GZipped input streams.<a name="line.258"></a>
+<span class="sourceLineNo">259</span> *<a name="line.259"></a>
+<span class="sourceLineNo">260</span> * @return The negotiated input stream.<a name="line.260"></a>
+<span class="sourceLineNo">261</span> * @throws IOException If any error occurred while trying to get the input stream or wrap it<a name="line.261"></a>
+<span class="sourceLineNo">262</span> * in the GZIP wrapper.<a name="line.262"></a>
+<span class="sourceLineNo">263</span> */<a name="line.263"></a>
+<span class="sourceLineNo">264</span> public ServletInputStream getInputStream() throws IOException {<a name="line.264"></a>
+<span class="sourceLineNo">265</span><a name="line.265"></a>
+<span class="sourceLineNo">266</span> if (body != null)<a name="line.266"></a>
+<span class="sourceLineNo">267</span> return new ServletInputStream2(body);<a name="line.267"></a>
+<span class="sourceLineNo">268</span><a name="line.268"></a>
+<span class="sourceLineNo">269</span> Encoder enc = getEncoder();<a name="line.269"></a>
+<span class="sourceLineNo">270</span><a name="line.270"></a>
+<span class="sourceLineNo">271</span> ServletInputStream is = req.getRawInputStream();<a name="line.271"></a>
+<span class="sourceLineNo">272</span> if (enc != null) {<a name="line.272"></a>
+<span class="sourceLineNo">273</span> final InputStream is2 = enc.getInputStream(is);<a name="line.273"></a>
+<span class="sourceLineNo">274</span> return new ServletInputStream2(is2);<a name="line.274"></a>
+<span class="sourceLineNo">275</span> }<a name="line.275"></a>
+<span class="sourceLineNo">276</span> return is;<a name="line.276"></a>
+<span class="sourceLineNo">277</span> }<a name="line.277"></a>
+<span class="sourceLineNo">278</span><a name="line.278"></a>
+<span class="sourceLineNo">279</span> /**<a name="line.279"></a>
+<span class="sourceLineNo">280</span> * Returns the parser and media type matching the request <code>Content-Type</code> header.<a name="line.280"></a>
+<span class="sourceLineNo">281</span> *<a name="line.281"></a>
+<span class="sourceLineNo">282</span> * @return The parser matching the request <code>Content-Type</code> header, or <jk>null</jk><a name="line.282"></a>
+<span class="sourceLineNo">283</span> * if no matching parser was found.<a name="line.283"></a>
+<span class="sourceLineNo">284</span> * Includes the matching media type.<a name="line.284"></a>
+<span class="sourceLineNo">285</span> */<a name="line.285"></a>
+<span class="sourceLineNo">286</span> public ParserMatch getParserMatch() {<a name="line.286"></a>
+<span class="sourceLineNo">287</span> MediaType mediaType = headers.getContentType();<a name="line.287"></a>
+<span class="sourceLineNo">288</span> if (mediaType == null) {<a name="line.288"></a>
+<span class="sourceLineNo">289</span> if (body != null)<a name="line.289"></a>
+<span class="sourceLineNo">290</span> mediaType = MediaType.UON;<a name="line.290"></a>
+<span class="sourceLineNo">291</span> else<a name="line.291"></a>
+<span class="sourceLineNo">292</span> mediaType = MediaType.JSON;<a name="line.292"></a>
+<span class="sourceLineNo">293</span> }<a name="line.293"></a>
+<span class="sourceLineNo">294</span> ParserMatch pm = parsers.getParserMatch(mediaType);<a name="line.294"></a>
+<span class="sourceLineNo">295</span><a name="line.295"></a>
+<span class="sourceLineNo">296</span> // If no patching parser for URL-encoding, use the one defined on the servlet.<a name="line.296"></a>
+<span class="sourceLineNo">297</span> if (pm == null && mediaType.equals(MediaType.URLENCODING))<a name="line.297"></a>
+<span class="sourceLineNo">298</span> pm = new ParserMatch(MediaType.URLENCODING, urlEncodingParser);<a name="line.298"></a>
+<span class="sourceLineNo">299</span><a name="line.299"></a>
+<span class="sourceLineNo">300</span> return pm;<a name="line.300"></a>
+<span class="sourceLineNo">301</span> }<a name="line.301"></a>
+<span class="sourceLineNo">302</span><a name="line.302"></a>
+<span class="sourceLineNo">303</span> /**<a name="line.303"></a>
+<span class="sourceLineNo">304</span> * Returns the parser matching the request <code>Content-Type</code> header.<a name="line.304"></a>
+<span class="sourceLineNo">305</span> *<a name="line.305"></a>
+<span class="sourceLineNo">306</span> * @return The parser matching the request <code>Content-Type</code> header, or <jk>null</jk><a name="line.306"></a>
+<span class="sourceLineNo">307</span> * if no matching parser was found.<a name="line.307"></a>
+<span class="sourceLineNo">308</span> */<a name="line.308"></a>
+<span class="sourceLineNo">309</span> public Parser getParser() {<a name="line.309"></a>
+<span class="sourceLineNo">310</span> ParserMatch pm = getParserMatch();<a name="line.310"></a>
+<span class="sourceLineNo">311</span> return (pm == null ? null : pm.getParser());<a name="line.311"></a>
+<span class="sourceLineNo">312</span> }<a name="line.312"></a>
+<span class="sourceLineNo">313</span><a name="line.313"></a>
+<span class="sourceLineNo">314</span> /**<a name="line.314"></a>
+<span class="sourceLineNo">315</span> * Returns the reader parser matching the request <code>Content-Type</code> header.<a name="line.315"></a>
+<span class="sourceLineNo">316</span> *<a name="line.316"></a>
+<span class="sourceLineNo">317</span> * @return The reader parser matching the request <code>Content-Type</code> header, or <jk>null</jk><a name="line.317"></a>
+<span class="sourceLineNo">318</span> * if no matching reader parser was found, or the matching parser was an input stream parser.<a name="line.318"></a>
+<span class="sourceLineNo">319</span> */<a name="line.319"></a>
+<span class="sourceLineNo">320</span> public ReaderParser getReaderParser() {<a name="line.320"></a>
+<span class="sourceLineNo">321</span> Parser p = getParser();<a name="line.321"></a>
+<span class="sourceLineNo">322</span> if (p != null && p.isReaderParser())<a name="line.322"></a>
+<span class="sourceLineNo">323</span> return (ReaderParser)p;<a name="line.323"></a>
+<span class="sourceLineNo">324</span> return null;<a name="line.324"></a>
+<span class="sourceLineNo">325</span> }<a name="line.325"></a>
+<span class="sourceLineNo">326</span><a name="line.326"></a>
+<span class="sourceLineNo">327</span> /* Workhorse method */<a name="line.327"></a>
+<span class="sourceLineNo">328</span> private <T> T parse(ClassMeta<T> cm) throws RestException {<a name="line.328"></a>
+<span class="sourceLineNo">329</span><a name="line.329"></a>
+<span class="sourceLineNo">330</span> try {<a name="line.330"></a>
+<span class="sourceLineNo">331</span> if (cm.isReader())<a name="line.331"></a>
+<span class="sourceLineNo">332</span> return (T)getReader();<a name="line.332"></a>
+<span class="sourceLineNo">333</span><a name="line.333"></a>
+<span class="sourceLineNo">334</span> if (cm.isInputStream())<a name="line.334"></a>
+<span class="sourceLineNo">335</span> return (T)getInputStream();<a name="line.335"></a>
+<span class="sourceLineNo">336</span><a name="line.336"></a>
+<span class="sourceLineNo">337</span> TimeZone timeZone = headers.getTimeZone();<a name="line.337"></a>
+<span class="sourceLineNo">338</span> Locale locale = req.getLocale();<a name="line.338"></a>
+<span class="sourceLineNo">339</span> ParserMatch pm = getParserMatch();<a name="line.339"></a>
+<span class="sourceLineNo">340</span><a name="line.340"></a>
+<span class="sourceLineNo">341</span> if (pm != null) {<a name="line.341"></a>
+<span class="sourceLineNo">342</span> Parser p = pm.getParser();<a name="line.342"></a>
+<span class="sourceLineNo">343</span> MediaType mediaType = pm.getMediaType();<a name="line.343"></a>
+<span class="sourceLineNo">344</span> try {<a name="line.344"></a>
+<span class="sourceLineNo">345</span> req.getProperties().append("mediaType", mediaType).append("characterEncoding", req.getCharacterEncoding());<a name="line.345"></a>
+<span class="sourceLineNo">346</span> if (! p.isReaderParser()) {<a name="line.346"></a>
+<span class="sourceLineNo">347</span> InputStreamParser p2 = (InputStreamParser)p;<a name="line.347"></a>
+<span class="sourceLineNo">348</span> ParserSession session = p2.createSession(getInputStream(), req.getProperties(), req.getJavaMethod(), req.getContext().getResource(), locale, timeZone, mediaType);<a name="line.348"></a>
+<span class="sourceLineNo">349</span> return p2.parseSession(session, cm);<a name="line.349"></a>
+<span class="sourceLineNo">350</span> }<a name="line.350"></a>
+<span class="sourceLineNo">351</span> ReaderParser p2 = (ReaderParser)p;<a name="line.351"></a>
+<span class="sourceLineNo">352</span> ParserSession session = p2.createSession(getUnbufferedReader(), req.getProperties(), req.getJavaMethod(), req.getContext().getResource(), locale, timeZone, mediaType);<a name="line.352"></a>
+<span class="sourceLineNo">353</span> return p2.parseSession(session, cm);<a name="line.353"></a>
+<span class="sourceLineNo">354</span> } catch (ParseException e) {<a name="line.354"></a>
+<span class="sourceLineNo">355</span> throw new RestException(SC_BAD_REQUEST,<a name="line.355"></a>
+<span class="sourceLineNo">356</span> "Could not convert request body content to class type ''{0}'' using parser ''{1}''.",<a name="line.356"></a>
+<span class="sourceLineNo">357</span> cm, p.getClass().getName()<a name="line.357"></a>
+<span class="sourceLineNo">358</span> ).initCause(e);<a name="line.358"></a>
+<span class="sourceLineNo">359</span> }<a name="line.359"></a>
+<span class="sourceLineNo">360</span> }<a name="line.360"></a>
+<span class="sourceLineNo">361</span><a name="line.361"></a>
+<span class="sourceLineNo">362</span> throw new RestException(SC_UNSUPPORTED_MEDIA_TYPE,<a name="line.362"></a>
+<span class="sourceLineNo">363</span> "Unsupported media-type in request header ''Content-Type'': ''{0}''\n\tSupported media-types: {1}",<a name="line.363"></a>
+<span class="sourceLineNo">364</span> headers.getContentType(), req.getParserGroup().getSupportedMediaTypes()<a name="line.364"></a>
+<span class="sourceLineNo">365</span> );<a name="line.365"></a>
+<span class="sourceLineNo">366</span><a name="line.366"></a>
+<span class="sourceLineNo">367</span> } catch (IOException e) {<a name="line.367"></a>
+<span class="sourceLineNo">368</span> throw new RestException(SC_INTERNAL_SERVER_ERROR,<a name="line.368"></a>
+<span class="sourceLineNo">369</span> "I/O exception occurred while attempting to handle request ''{0}''.",<a name="line.369"></a>
+<span class="sourceLineNo">370</span> req.getDescription()<a name="line.370"></a>
+<span class="sourceLineNo">371</span> ).initCause(e);<a name="line.371"></a>
+<span class="sourceLineNo">372</span> }<a name="line.372"></a>
+<span class="sourceLineNo">373</span> }<a name="line.373"></a>
+<span class="sourceLineNo">374</span><a name="line.374"></a>
+<span class="sourceLineNo">375</span> private Encoder getEncoder() {<a name="line.375"></a>
+<span class="sourceLineNo">376</span> if (encoder == null) {<a name="line.376"></a>
+<span class="sourceLineNo">377</span> String ce = req.getHeader("content-encoding");<a name="line.377"></a>
+<span class="sourceLineNo">378</span> if (! (ce == null || ce.isEmpty())) {<a name="line.378"></a>
+<span class="sourceLineNo">379</span> ce = ce.trim();<a name="line.379"></a>
+<span class="sourceLineNo">380</span> encoder = encoders.getEncoder(ce);<a name="line.380"></a>
+<span class="sourceLineNo">381</span> if (encoder == null)<a name="line.381"></a>
+<span class="sourceLineNo">382</span> throw new RestException(SC_UNSUPPORTED_MEDIA_TYPE,<a name="line.382"></a>
+<span class="sourceLineNo">383</span> "Unsupported encoding in request header ''Content-Encoding'': ''{0}''\n\tSupported codings: {1}",<a name="line.383"></a>
+<span class="sourceLineNo">384</span> req.getHeader("content-encoding"), encoders.getSupportedEncodings()<a name="line.384"></a>
+<span class="sourceLineNo">385</span> );<a name="line.385"></a>
+<span class="sourceLineNo">386</span> }<a name="line.386"></a>
+<span class="sourceLineNo">387</span><a name="line.387"></a>
+<span class="sourceLineNo">388</span> if (encoder != null)<a name="line.388"></a>
+<span class="sourceLineNo">389</span> contentLength = -1;<a name="line.389"></a>
+<span class="sourceLineNo">390</span> }<a name="line.390"></a>
+<span class="sourceLineNo">391</span> // Note that if this is the identity encoder, we want to return null<a name="line.391"></a>
+<span class="sourceLineNo">392</span> // so that we don't needlessly wrap the input stream.<a name="line.392"></a>
+<span class="sourceLineNo">393</span> if (encoder == IdentityEncoder.INSTANCE)<a name="line.393"></a>
+<span class="sourceLineNo">394</span> return null;<a name="line.394"></a>
+<span class="sourceLineNo">395</span> return encoder;<a name="line.395"></a>
+<span class="sourceLineNo">396</span> }<a name="line.396"></a>
+<span class="sourceLineNo">397</span><a name="line.397"></a>
+<span class="sourceLineNo">398</span> /**<a name="line.398"></a>
+<span class="sourceLineNo">399</span> * Returns the content length of the body.<a name="line.399"></a>
+<span class="sourceLineNo">400</span> * @return The content length of the body in bytes.<a name="line.400"></a>
+<span class="sourceLineNo">401</span> */<a name="line.401"></a>
+<span class="sourceLineNo">402</span> public int getContentLength() {<a name="line.402"></a>
+<span class="sourceLineNo">403</span> return contentLength == 0 ? req.getRawContentLength() : contentLength;<a name="line.403"></a>
+<span class="sourceLineNo">404</span> }<a name="line.404"></a>
+<span class="sourceLineNo">405</span><a name="line.405"></a>
+<span class="sourceLineNo">406</span> /**<a name="line.406"></a>
+<span class="sourceLineNo">407</span> * ServletInputStream wrapper around a normal input stream.<a name="line.407"></a>
+<span class="sourceLineNo">408</span> */<a name="line.408"></a>
+<span class="sourceLineNo">409</span> private static class ServletInputStream2 extends ServletInputStream {<a name="line.409"></a>
+<span class="sourceLineNo">410</span><a name="line.410"></a>
+<span class="sourceLineNo">411</span> private final InputStream is;<a name="line.411"></a>
+<span class="sourceLineNo">412</span><a name="line.412"></a>
+<span class="sourceLineNo">413</span> private ServletInputStream2(InputStream is) {<a name="line.413"></a>
+<span class="sourceLineNo">414</span> this.is = is;<a name="line.414"></a>
+<span class="sourceLineNo">415</span> }<a name="line.415"></a>
+<span class="sourceLineNo">416</span><a name="line.416"></a>
+<span class="sourceLineNo">417</span> private ServletInputStream2(byte[] b) {<a name="line.417"></a>
+<span class="sourceLineNo">418</span> this(new ByteArrayInputStream(b));<a name="line.418"></a>
+<span class="sourceLineNo">419</span> }<a name="line.419"></a>
+<span class="sourceLineNo">420</span><a name="line.420"></a>
+<span class="sourceLineNo">421</span> @Override /* InputStream */<a name="line.421"></a>
+<span class="sourceLineNo">422</span> public final int read() throws IOException {<a name="line.422"></a>
+<span class="sourceLineNo">423</span> return is.read();<a name="line.423"></a>
+<span class="sourceLineNo">424</span> }<a name="line.424"></a>
+<span class="sourceLineNo">425</span><a name="line.425"></a>
+<span class="sourceLineNo">426</span> @Override /* InputStream */<a name="line.426"></a>
+<span class="sourceLineNo">427</span> public final void close() throws IOException {<a name="line.427"></a>
+<span class="sourceLineNo">428</span> is.close();<a name="line.428"></a>
+<span class="sourceLineNo">429</span> }<a name="line.429"></a>
+<span class="sourceLineNo">430</span> }<a name="line.430"></a>
+<span class="sourceLineNo">431</span>}<a name="line.431"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
[38/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/TE.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/TE.html b/content/site/apidocs/org/apache/juneau/http/TE.html
new file mode 100644
index 0000000..211d7f6
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/TE.html
@@ -0,0 +1,311 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>TE (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="TE (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/StringRange.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/Trailer.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/TE.html" target="_top">Frames</a></li>
+<li><a href="TE.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class TE" class="title">Class TE</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../org/apache/juneau/http/HeaderRangeArray.html" title="class in org.apache.juneau.http">org.apache.juneau.http.HeaderRangeArray</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.TE</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/TE.html#line.75">TE</a>
+extends <a href="../../../../org/apache/juneau/http/HeaderRangeArray.html" title="class in org.apache.juneau.http">HeaderRangeArray</a></pre>
+<div class="block">Represents a parsed <l>TE</l> HTTP request header.
+ <p>
+ The transfer encodings the user agent is willing to accept: the same values as for the response header field
+ Transfer-Encoding can be used, plus the "trailers" value (related to the "chunked" transfer method) to notify the
+ server it expects to receive additional fields in the trailer after the last, zero-sized, chunk.
+
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ TE: trailers, deflate
+ </p>
+
+ <h6 class='topic'>RFC2616 Specification</h6>
+
+ The TE request-header field indicates what extension transfer-codings it is willing to accept in the response and
+ whether or not it is willing to accept trailer fields in a chunked transfer-coding.
+ Its value may consist of the keyword "trailers" and/or a comma-separated list of extension transfer-coding names
+ with optional accept parameters (as described in section 3.6).
+ <p class='bcode'>
+ TE = "TE" ":" #( t-codings )
+ t-codings = "trailers" | ( transfer-extension [ accept-params ] )
+ </p>
+ The presence of the keyword "trailers" indicates that the client is willing to accept trailer fields in a chunked
+ transfer-coding, as defined in section 3.6.1.
+ This keyword is reserved for use with transfer-coding values even though it does not itself represent a transfer-coding.
+ <p>
+ Examples of its use are:
+ <p class='bcode'>
+ TE: deflate
+ TE:
+ TE: trailers, deflate;q=0.5
+ </p>
+ <p>
+ The TE header field only applies to the immediate connection.
+ Therefore, the keyword MUST be supplied within a Connection header field (section 14.10) whenever TE is present in
+ an HTTP/1.1 message.
+ <p>
+ A server tests whether a transfer-coding is acceptable, according to a TE field, using these rules:
+ <ol>
+ <li>The "chunked" transfer-coding is always acceptable.
+ If the keyword "trailers" is listed, the client indicates that it is willing to accept trailer fields in the
+ chunked response on behalf of itself and any downstream clients.
+ The implication is that, if given, the client is stating that either all downstream clients are willing to accept
+ trailer fields in the forwarded response, or that it will attempt to buffer the response on behalf of downstream
+ recipients.
+ Note: HTTP/1.1 does not define any means to limit the size of a chunked response such that a client can be assured
+ of buffering the entire response.
+ <li>If the transfer-coding being tested is one of the transfer-codings listed in the TE field, then it is acceptable
+ unless it is accompanied by a qvalue of 0. (As defined in section 3.9, a qvalue of 0 means "not acceptable.")
+ <li>If multiple transfer-codings are acceptable, then the acceptable transfer-coding with the highest non-zero
+ qvalue is preferred.
+ The "chunked" transfer-coding always has a qvalue of 1.
+ </ol>
+ If the TE field-value is empty or if no TE field is present, the only transfer-coding is "chunked".
+ A message with no transfer-coding is always acceptable.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/TE.html" title="class in org.apache.juneau.http">TE</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/TE.html#forString-java.lang.String-">forString</a></span>(<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> value)</code>
+<div class="block">Returns a parsed <code>Accept</code> header.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.http.HeaderRangeArray">
+<!-- -->
+</a>
+<h3>Methods inherited from class org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderRangeArray.html" title="class in org.apache.juneau.http">HeaderRangeArray</a></h3>
+<code><a href="../../../../org/apache/juneau/http/HeaderRangeArray.html#asSimpleRanges--">asSimpleRanges</a>, <a href="../../../../org/apache/juneau/http/HeaderRangeArray.html#findMatch-java.lang.String:A-">findMatch</a>, <a href="../../../../org/apache/juneau/http/HeaderRangeArray.html#toString--">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="forString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>forString</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/TE.html" title="class in org.apache.juneau.http">TE</a> <a href="../../../../src-html/org/apache/juneau/http/TE.html#line.85">forString</a>(<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> value)</pre>
+<div class="block">Returns a parsed <code>Accept</code> header.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The <code>Accept</code> header string.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Accept</code> header, or <jk>null</jk> if the string was null.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/StringRange.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/Trailer.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/TE.html" target="_top">Frames</a></li>
+<li><a href="TE.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/Trailer.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/Trailer.html b/content/site/apidocs/org/apache/juneau/http/Trailer.html
new file mode 100644
index 0000000..0b70c0d
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/Trailer.html
@@ -0,0 +1,288 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Trailer (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="Trailer (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/TE.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/TransferEncoding.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/Trailer.html" target="_top">Frames</a></li>
+<li><a href="Trailer.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class Trailer" class="title">Class Trailer</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">org.apache.juneau.http.HeaderString</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.Trailer</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/Trailer.html#line.48">Trailer</a>
+extends <a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></pre>
+<div class="block">Represents a parsed <l>Trailer</l> HTTP response header.
+ <p>
+ The Trailer general field value indicates that the given set of header fields is present in the trailer of a message
+ encoded with chunked transfer coding.
+
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ Trailer: Max-Forwards
+ </p>
+
+ <h6 class='topic'>RFC2616 Specification</h6>
+
+ The Trailer general field value indicates that the given set of header fields is present in the trailer of a message
+ encoded with chunked transfer-coding.
+ <p class='bcode'>
+ Trailer = "Trailer" ":" 1#field-name
+ </p>
+ <p>
+ An HTTP/1.1 message SHOULD include a Trailer header field in a message using chunked transfer-coding with a non-empty
+ trailer.
+ Doing so allows the recipient to know which header fields to expect in the trailer.
+ <p>
+ If no Trailer header field is present, the trailer SHOULD NOT include any header fields.
+ See section 3.6.1 for restrictions on the use of trailer fields in a "chunked" transfer-coding.
+ <p>
+ Message header fields listed in the Trailer header field MUST NOT include the following header fields:
+ <ul>
+ <li>Transfer-Encoding
+ <li>Content-Length
+ <li>Trailer
+ </ul></div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/Trailer.html" title="class in org.apache.juneau.http">Trailer</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/Trailer.html#forString-java.lang.String-">forString</a></span>(<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> value)</code>
+<div class="block">Returns a parsed <code>Trailer</code> header.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.http.HeaderString">
+<!-- -->
+</a>
+<h3>Methods inherited from class org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></h3>
+<code><a href="../../../../org/apache/juneau/http/HeaderString.html#asString--">asString</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#eq-java.lang.String-">eq</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#eqIC-java.lang.String-">eqIC</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#toString--">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="forString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>forString</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/Trailer.html" title="class in org.apache.juneau.http">Trailer</a> <a href="../../../../src-html/org/apache/juneau/http/Trailer.html#line.56">forString</a>(<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> value)</pre>
+<div class="block">Returns a parsed <code>Trailer</code> header.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The <code>Trailer</code> header string.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Trailer</code> header, or <jk>null</jk> if the string was null.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/TE.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/TransferEncoding.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/Trailer.html" target="_top">Frames</a></li>
+<li><a href="Trailer.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/TransferEncoding.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/TransferEncoding.html b/content/site/apidocs/org/apache/juneau/http/TransferEncoding.html
new file mode 100644
index 0000000..df4958b
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/TransferEncoding.html
@@ -0,0 +1,287 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>TransferEncoding (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="TransferEncoding (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/Trailer.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/Upgrade.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/TransferEncoding.html" target="_top">Frames</a></li>
+<li><a href="TransferEncoding.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class TransferEncoding" class="title">Class TransferEncoding</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">org.apache.juneau.http.HeaderString</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.TransferEncoding</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/TransferEncoding.html#line.47">TransferEncoding</a>
+extends <a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></pre>
+<div class="block">Represents a parsed <l>Transfer-Encoding</l> HTTP response header.
+ <p>
+ The form of encoding used to safely transfer the entity to the user.
+ Currently defined methods are: chunked, compress, deflate, gzip, identity.
+
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ Transfer-Encoding: chunked
+ </p>
+
+ <h6 class='topic'>RFC2616 Specification</h6>
+
+ The Transfer-Encoding general-header field indicates what (if any) type of transformation has been applied to the
+ message body in order to safely transfer it between the sender and the recipient.
+ This differs from the content-coding in that the transfer-coding is a property of the message, not of the entity.
+ <p class='bcode'>
+ Transfer-Encoding = "Transfer-Encoding" ":" 1#transfer-coding
+ </p>
+ <p>
+ Transfer-codings are defined in section 3.6. An example is:
+ <p class='bcode'>
+ Transfer-Encoding: chunked
+ </p>
+ <p>
+ If multiple encodings have been applied to an entity, the transfer-codings MUST be listed in the order in which
+ they were applied.
+ Additional information about the encoding parameters MAY be provided by other entity-header fields not defined by
+ this specification.
+ <p>
+ Many older HTTP/1.0 applications do not understand the Transfer-Encoding header.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/TransferEncoding.html" title="class in org.apache.juneau.http">TransferEncoding</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/TransferEncoding.html#forString-java.lang.String-">forString</a></span>(<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> value)</code>
+<div class="block">Returns a parsed <code>Transfer-Encoding</code> header.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.http.HeaderString">
+<!-- -->
+</a>
+<h3>Methods inherited from class org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></h3>
+<code><a href="../../../../org/apache/juneau/http/HeaderString.html#asString--">asString</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#eq-java.lang.String-">eq</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#eqIC-java.lang.String-">eqIC</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#toString--">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="forString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>forString</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/TransferEncoding.html" title="class in org.apache.juneau.http">TransferEncoding</a> <a href="../../../../src-html/org/apache/juneau/http/TransferEncoding.html#line.55">forString</a>(<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> value)</pre>
+<div class="block">Returns a parsed <code>Transfer-Encoding</code> header.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The <code>Transfer-Encoding</code> header string.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Transfer-Encoding</code> header, or <jk>null</jk> if the string was null.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/Trailer.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/Upgrade.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/TransferEncoding.html" target="_top">Frames</a></li>
+<li><a href="TransferEncoding.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/TypeRange.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/TypeRange.html b/content/site/apidocs/org/apache/juneau/http/TypeRange.html
index 608f806..6f5b19e 100644
--- a/content/site/apidocs/org/apache/juneau/http/TypeRange.html
+++ b/content/site/apidocs/org/apache/juneau/http/TypeRange.html
@@ -48,8 +48,8 @@ var activeTableTab = "activeTableTab";
</div>
<div class="subNav">
<ul class="navList">
-<li><a href="../../../../org/apache/juneau/http/MediaTypeRange.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
-<li>Next Class</li>
+<li><a href="../../../../org/apache/juneau/http/TransferEncoding.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/Upgrade.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/juneau/http/TypeRange.html" target="_top">Frames</a></li>
@@ -422,8 +422,8 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparabl
</div>
<div class="subNav">
<ul class="navList">
-<li><a href="../../../../org/apache/juneau/http/MediaTypeRange.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
-<li>Next Class</li>
+<li><a href="../../../../org/apache/juneau/http/TransferEncoding.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/Upgrade.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/juneau/http/TypeRange.html" target="_top">Frames</a></li>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/Upgrade.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/Upgrade.html b/content/site/apidocs/org/apache/juneau/http/Upgrade.html
new file mode 100644
index 0000000..933bf95
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/Upgrade.html
@@ -0,0 +1,307 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Upgrade (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="Upgrade (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/TransferEncoding.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/UserAgent.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/Upgrade.html" target="_top">Frames</a></li>
+<li><a href="Upgrade.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class Upgrade" class="title">Class Upgrade</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../org/apache/juneau/http/HeaderStringArray.html" title="class in org.apache.juneau.http">org.apache.juneau.http.HeaderStringArray</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.Upgrade</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/Upgrade.html#line.67">Upgrade</a>
+extends <a href="../../../../org/apache/juneau/http/HeaderStringArray.html" title="class in org.apache.juneau.http">HeaderStringArray</a></pre>
+<div class="block">Represents a parsed <l>Upgrade</l> HTTP request header.
+ <p>
+ Ask the client to upgrade to another protocol.
+
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ Upgrade: HTTP/2.0, HTTPS/1.3, IRC/6.9, RTA/x11, websocket
+ </p>
+
+ <h6 class='topic'>RFC2616 Specification</h6>
+ The Upgrade general-header allows the client to specify what additional communication protocols it supports and
+ would like to use if the server finds it appropriate to switch protocols.
+ The server MUST use the Upgrade header field within a 101 (Switching Protocols) response to indicate which
+ protocol(s) are being switched.
+ <p class='bcode'>
+ Upgrade = "Upgrade" ":" 1#product
+ </p>
+ <p>
+ For example,
+ <p class='bcode'>
+ Upgrade: HTTP/2.0, SHTTP/1.3, IRC/6.9, RTA/x11
+ </p>
+ <p>
+ The Upgrade header field is intended to provide a simple mechanism for transition from HTTP/1.1 to some other,
+ incompatible protocol.
+ It does so by allowing the client to advertise its desire to use another protocol, such as a later version of HTTP
+ with a higher major version number, even though the current request has been made using HTTP/1.1.
+ This eases the difficult transition between incompatible protocols by allowing the client to initiate a request in
+ the more commonly supported protocol while indicating to the server that it would like to use a "better" protocol if
+ available (where "better" is determined by the server, possibly according to the nature of the method and/or resource
+ being requested).
+ <p>
+ The Upgrade header field only applies to switching application-layer protocols upon the existing transport-layer
+ connection.
+ Upgrade cannot be used to insist on a protocol change; its acceptance and use by the server is optional.
+ The capabilities and nature of the application-layer communication after the protocol change is entirely dependent
+ upon the new protocol chosen, although the first action after changing the protocol MUST be a response to the initial
+ HTTP request containing the Upgrade header field.
+ <p>
+ The Upgrade header field only applies to the immediate connection.
+ Therefore, the upgrade keyword MUST be supplied within a Connection header field (section 14.10) whenever Upgrade is
+ present in an HTTP/1.1 message.
+ <p>
+ The Upgrade header field cannot be used to indicate a switch to a protocol on a different connection.
+ For that purpose, it is more appropriate to use a 301, 302, 303, or 305 redirection response.
+ <p>
+ This specification only defines the protocol name "HTTP" for use by the family of Hypertext Transfer Protocols, as
+ defined by the HTTP version rules of section 3.1 and future updates to this specification.
+ Any token can be used as a protocol name; however, it will only be useful if both the client and server associate
+ the name with the same protocol.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/Upgrade.html" title="class in org.apache.juneau.http">Upgrade</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/Upgrade.html#forString-java.lang.String-">forString</a></span>(<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> value)</code>
+<div class="block">Returns a parsed <code>Upgrade</code> header.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.http.HeaderStringArray">
+<!-- -->
+</a>
+<h3>Methods inherited from class org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderStringArray.html" title="class in org.apache.juneau.http">HeaderStringArray</a></h3>
+<code><a href="../../../../org/apache/juneau/http/HeaderStringArray.html#asString--">asString</a>, <a href="../../../../org/apache/juneau/http/HeaderStringArray.html#contains-java.lang.String-">contains</a>, <a href="../../../../org/apache/juneau/http/HeaderStringArray.html#containsIC-java.lang.String-">containsIC</a>, <a href="../../../../org/apache/juneau/http/HeaderStringArray.html#toString--">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="forString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>forString</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/Upgrade.html" title="class in org.apache.juneau.http">Upgrade</a> <a href="../../../../src-html/org/apache/juneau/http/Upgrade.html#line.75">forString</a>(<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> value)</pre>
+<div class="block">Returns a parsed <code>Upgrade</code> header.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The <code>Upgrade</code> header string.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Upgrade</code> header, or <jk>null</jk> if the string was null.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/TransferEncoding.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/UserAgent.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/Upgrade.html" target="_top">Frames</a></li>
+<li><a href="Upgrade.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/UserAgent.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/UserAgent.html b/content/site/apidocs/org/apache/juneau/http/UserAgent.html
new file mode 100644
index 0000000..78fb767
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/UserAgent.html
@@ -0,0 +1,283 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>UserAgent (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="UserAgent (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/Upgrade.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/Vary.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/UserAgent.html" target="_top">Frames</a></li>
+<li><a href="UserAgent.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class UserAgent" class="title">Class UserAgent</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">org.apache.juneau.http.HeaderString</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.UserAgent</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/UserAgent.html#line.43">UserAgent</a>
+extends <a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></pre>
+<div class="block">Represents a parsed <l>User-Agent</l> HTTP request header.
+ <p>
+ The user agent string of the user agent.
+
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20100101 Firefox/21.0
+ </p>
+
+ <h6 class='topic'>RFC2616 Specification</h6>
+
+ The User-Agent request-header field contains information about the user agent originating the request.
+ This is for statistical purposes, the tracing of protocol violations, and automated recognition of user agents for
+ the sake of tailoring responses to avoid particular user agent limitations.
+ User agents SHOULD include this field with requests.
+ The field can contain multiple product tokens (section 3.8) and comments identifying the agent and any subproducts
+ which form a significant part of the user agent.
+ By convention, the product tokens are listed in order of their significance for identifying the application.
+ <p class='bcode'>
+ User-Agent = "User-Agent" ":" 1*( product | comment )
+ </p>
+ <p>
+ Example:
+ <p class='bcode'>
+ User-Agent: CERN-LineMode/2.15 libwww/2.17b3
+ </p></div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/UserAgent.html" title="class in org.apache.juneau.http">UserAgent</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/UserAgent.html#forString-java.lang.String-">forString</a></span>(<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> value)</code>
+<div class="block">Returns a parsed <code>User-Agent</code> header.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.http.HeaderString">
+<!-- -->
+</a>
+<h3>Methods inherited from class org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></h3>
+<code><a href="../../../../org/apache/juneau/http/HeaderString.html#asString--">asString</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#eq-java.lang.String-">eq</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#eqIC-java.lang.String-">eqIC</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#toString--">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="forString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>forString</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/UserAgent.html" title="class in org.apache.juneau.http">UserAgent</a> <a href="../../../../src-html/org/apache/juneau/http/UserAgent.html#line.51">forString</a>(<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> value)</pre>
+<div class="block">Returns a parsed <code>User-Agent</code> header.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The <code>User-Agent</code> header string.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>User-Agent</code> header, or <jk>null</jk> if the string was null.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/Upgrade.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/Vary.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/UserAgent.html" target="_top">Frames</a></li>
+<li><a href="UserAgent.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/Vary.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/Vary.html b/content/site/apidocs/org/apache/juneau/http/Vary.html
new file mode 100644
index 0000000..9613bae
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/Vary.html
@@ -0,0 +1,301 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Vary (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="Vary (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/UserAgent.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/Via.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/Vary.html" target="_top">Frames</a></li>
+<li><a href="Vary.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class Vary" class="title">Class Vary</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">org.apache.juneau.http.HeaderString</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.Vary</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/Vary.html#line.61">Vary</a>
+extends <a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></pre>
+<div class="block">Represents a parsed <l>Vary</l> HTTP response header.
+ <p>
+ Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather
+ than requesting a fresh one from the origin server.
+
+
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ Vary: *
+ Vary: Accept-Language
+ </p>
+
+ <h6 class='topic'>RFC2616 Specification</h6>
+
+ The Vary field value indicates the set of request-header fields that fully determines, while the response is fresh,
+ whether a cache is permitted to use the response to reply to a subsequent request without revalidation.
+ For uncacheable or stale responses, the Vary field value advises the user agent about the criteria that were used to
+ select the representation.
+ A Vary field value of "*" implies that a cache cannot determine from the request headers of a subsequent request
+ whether this response is the appropriate representation.
+ See section 13.6 for use of the Vary header field by caches.
+ <p class='bcode'>
+ Vary = "Vary" ":" ( "*" | 1#field-name )
+ </p>
+ <p>
+ An HTTP/1.1 server SHOULD include a Vary header field with any cacheable response that is subject to server-driven
+ negotiation.
+ Doing so allows a cache to properly interpret future requests on that resource and informs the user agent about the
+ presence of negotiation on that resource.
+ A server MAY include a Vary header field with a non-cacheable response that is subject to server-driven negotiation,
+ since this might provide the user agent with useful information about the dimensions over which the response varies
+ at the time of the response.
+ <p>
+ A Vary field value consisting of a list of field-names signals that the representation selected for the response is
+ based on a selection algorithm which considers ONLY the listed request-header field values in selecting the most appropriate representation.
+ A cache MAY assume that the same selection will be made for future requests with the same values for the listed
+ field names, for the duration of time for which the response is fresh.
+ <p>
+ The field-names given are not limited to the set of standard request-header fields defined by this specification.
+ Field names are case-insensitive.
+ <p>
+ A Vary field value of "*" signals that unspecified parameters not limited to the request-headers (e.g., the network
+ address of the client), play a role in the selection of the response representation.
+ The "*" value MUST NOT be generated by a proxy server; it may only be generated by an origin server.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/Vary.html" title="class in org.apache.juneau.http">Vary</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/Vary.html#forString-java.lang.String-">forString</a></span>(<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> value)</code>
+<div class="block">Returns a parsed <code>Vary</code> header.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.http.HeaderString">
+<!-- -->
+</a>
+<h3>Methods inherited from class org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></h3>
+<code><a href="../../../../org/apache/juneau/http/HeaderString.html#asString--">asString</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#eq-java.lang.String-">eq</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#eqIC-java.lang.String-">eqIC</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#toString--">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="forString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>forString</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/Vary.html" title="class in org.apache.juneau.http">Vary</a> <a href="../../../../src-html/org/apache/juneau/http/Vary.html#line.69">forString</a>(<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> value)</pre>
+<div class="block">Returns a parsed <code>Vary</code> header.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The <code>Vary</code> header string.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Vary</code> header, or <jk>null</jk> if the string was null.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/UserAgent.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/Via.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/Vary.html" target="_top">Frames</a></li>
+<li><a href="Vary.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
[35/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/internal/StringUtils.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/internal/StringUtils.html b/content/site/apidocs/org/apache/juneau/internal/StringUtils.html
index 516cbaf..d4b3e82 100644
--- a/content/site/apidocs/org/apache/juneau/internal/StringUtils.html
+++ b/content/site/apidocs/org/apache/juneau/internal/StringUtils.html
@@ -18,7 +18,7 @@
catch(err) {
}
//-->
-var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9,"i27":9,"i28":9,"i29":9,"i30":9,"i31":9,"i32":9,"i33":9,"i34":9,"i35":9,"i36":9,"i37":9,"i38":9,"i39":9,"i40":9,"i41":9,"i42":9,"i43":9,"i44":9,"i45":9,"i46":9,"i47":9,"i48":9,"i49":9,"i50":9,"i51":9,"i52":9,"i53":9,"i54":9,"i55":9};
+var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9,"i27":9,"i28":9,"i29":9,"i30":9,"i31":9,"i32":9,"i33":9,"i34":9,"i35":9,"i36":9,"i37":9,"i38":9,"i39":9,"i40":9,"i41":9,"i42":9,"i43":9,"i44":9,"i45":9,"i46":9,"i47":9,"i48":9,"i49":9,"i50":9,"i51":9,"i52":9,"i53":9,"i54":9,"i55":9,"i56":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -172,43 +172,50 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
</td>
</tr>
<tr id="i4" class="altColor">
+<td class="colFirst"><code>static char</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#charAt-java.lang.String-int-">charAt</a></span>(<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> s,
+ int i)</code>
+<div class="block">Returns the character at the specified index in the string without throwing exceptions.</div>
+</td>
+</tr>
+<tr id="i5" 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/internal/StringUtils.html#decodeHex-java.lang.String-">decodeHex</a></span>(<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> s)</code>
<div class="block">Debug method for rendering non-ASCII character sequences.</div>
</td>
</tr>
-<tr id="i5" class="rowColor">
+<tr id="i6" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#endsWith-java.lang.String-char-">endsWith</a></span>(<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> s,
char c)</code>
<div class="block">An efficient method for checking if a string ends with a character.</div>
</td>
</tr>
-<tr id="i6" class="altColor">
+<tr id="i7" class="rowColor">
<td class="colFirst"><code>static char</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#firstNonWhitespaceChar-java.lang.String-">firstNonWhitespaceChar</a></span>(<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> s)</code>
<div class="block">Returns the first non-whitespace character in the string.</div>
</td>
</tr>
-<tr id="i7" class="rowColor">
+<tr id="i8" class="altColor">
<td class="colFirst"><code>static byte[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#fromHex-java.lang.String-">fromHex</a></span>(<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> hex)</code>
<div class="block">Converts a hexadecimal character string to a byte array.</div>
</td>
</tr>
-<tr id="i8" class="altColor">
+<tr id="i9" 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/internal/StringUtils.html#fromHexToUTF8-java.lang.String-">fromHexToUTF8</a></span>(<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> hex)</code>
<div class="block">Converts a hexadecimal byte stream (e.g.</div>
</td>
</tr>
-<tr id="i9" class="rowColor">
+<tr id="i10" 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/internal/StringUtils.html#generateUUID-int-">generateUUID</a></span>(int numchars)</code>
<div class="block">Generated a random UUID with the specified number of characters.</div>
</td>
</tr>
-<tr id="i10" class="altColor">
+<tr id="i11" 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/internal/StringUtils.html#getField-int-java.lang.String-char-">getField</a></span>(int fieldNum,
<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> s,
@@ -216,7 +223,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
<div class="block">Returns the specified field in a delimited string without splitting the string.</div>
</td>
</tr>
-<tr id="i11" class="rowColor">
+<tr id="i12" 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/internal/StringUtils.html#getField-int-java.lang.String-char-java.lang.String-">getField</a></span>(int fieldNum,
<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> s,
@@ -225,77 +232,77 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
<div class="block">Same as <a href="../../../../org/apache/juneau/internal/StringUtils.html#getField-int-java.lang.String-char-"><code>getField(int, String, char)</code></a> except allows you to specify the default value.</div>
</td>
</tr>
-<tr id="i12" class="altColor">
+<tr id="i13" 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/internal/StringUtils.html#getStackTrace-java.lang.Throwable-">getStackTrace</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> t)</code>
<div class="block">Convenience method for getting a stack trace as a string.</div>
</td>
</tr>
-<tr id="i13" class="rowColor">
+<tr id="i14" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#isDecimal-java.lang.String-">isDecimal</a></span>(<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> s)</code>
<div class="block">Returns <jk>true</jk> if the specified string is numeric.</div>
</td>
</tr>
-<tr id="i14" class="altColor">
+<tr id="i15" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#isEmpty-java.lang.Object-">isEmpty</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> s)</code>
<div class="block">Returns <jk>true</jk> if specified string is <jk>null</jk> or it's <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang"><code>Object.toString()</code></a> method returns an empty string.</div>
</td>
</tr>
-<tr id="i15" class="rowColor">
+<tr id="i16" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#isEmpty-java.lang.String-">isEmpty</a></span>(<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> s)</code>
<div class="block">Returns <jk>true</jk> if specified string is <jk>null</jk> or empty.</div>
</td>
</tr>
-<tr id="i16" class="altColor">
+<tr id="i17" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#isEquals-java.lang.String-java.lang.String-">isEquals</a></span>(<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> s1,
<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> s2)</code>
<div class="block">Tests two strings for equality, but gracefully handles nulls.</div>
</td>
</tr>
-<tr id="i17" class="rowColor">
+<tr id="i18" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#isFirstNumberChar-char-">isFirstNumberChar</a></span>(char c)</code>
<div class="block">Returns <jk>true</jk> if the specified character is a valid first character for a number.</div>
</td>
</tr>
-<tr id="i18" class="altColor">
+<tr id="i19" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#isFloat-java.lang.String-">isFloat</a></span>(<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> s)</code>
<div class="block">Returns <jk>true</jk> if the specified string is a floating point number.</div>
</td>
</tr>
-<tr id="i19" class="rowColor">
+<tr id="i20" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#isNumeric-java.lang.String-">isNumeric</a></span>(<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> s)</code>
<div class="block">Returns <jk>true</jk> if this string can be parsed by <a href="../../../../org/apache/juneau/internal/StringUtils.html#parseNumber-java.lang.String-java.lang.Class-"><code>parseNumber(String, Class)</code></a>.</div>
</td>
</tr>
-<tr id="i20" class="altColor">
+<tr id="i21" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#isOneOf-java.lang.String-java.lang.String...-">isOneOf</a></span>(<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> s,
<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>... values)</code>
<div class="block">Returns <jk>true</jk> if the specified string is one of the specified values.</div>
</td>
</tr>
-<tr id="i21" class="rowColor">
+<tr id="i22" 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/internal/StringUtils.html#join-java.util.Collection-char-">join</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><?> tokens,
char d)</code>
<div class="block">Join the specified tokens into a delimited string.</div>
</td>
</tr>
-<tr id="i22" class="altColor">
+<tr id="i23" 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/internal/StringUtils.html#join-java.util.Collection-java.lang.String-">join</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><?> tokens,
<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> d)</code>
<div class="block">Join the specified tokens into a delimited string.</div>
</td>
</tr>
-<tr id="i23" class="rowColor">
+<tr id="i24" class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#join-java.util.Collection-java.lang.String-java.lang.StringBuilder-">join</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><?> tokens,
<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> d,
@@ -303,28 +310,28 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
<div class="block">Joins the specified tokens into a delimited string and writes the output to the specified string builder.</div>
</td>
</tr>
-<tr id="i24" class="altColor">
+<tr id="i25" 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/internal/StringUtils.html#join-int:A-char-">join</a></span>(int[] tokens,
char d)</code>
<div class="block">Join the specified tokens into a delimited string.</div>
</td>
</tr>
-<tr id="i25" class="rowColor">
+<tr id="i26" 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/internal/StringUtils.html#join-int:A-java.lang.String-">join</a></span>(int[] tokens,
<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> d)</code>
<div class="block">Join the specified tokens into a delimited string.</div>
</td>
</tr>
-<tr id="i26" class="altColor">
+<tr id="i27" 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/internal/StringUtils.html#join-java.lang.Object:A-char-">join</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] tokens,
char d)</code>
<div class="block">Joins the specified tokens into a delimited string.</div>
</td>
</tr>
-<tr id="i27" class="rowColor">
+<tr id="i28" class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#join-java.lang.Object:A-char-java.lang.StringBuilder-">join</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] tokens,
char d,
@@ -332,73 +339,73 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
<div class="block">Join the specified tokens into a delimited string and writes the output to the specified string builder.</div>
</td>
</tr>
-<tr id="i28" class="altColor">
+<tr id="i29" 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/internal/StringUtils.html#join-java.lang.Object:A-java.lang.String-">join</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] tokens,
<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> separator)</code>
<div class="block">Join the specified tokens into a delimited string.</div>
</td>
</tr>
-<tr id="i29" class="rowColor">
+<tr id="i30" 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/internal/StringUtils.html#nullIfEmpty-java.lang.String-">nullIfEmpty</a></span>(<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> s)</code>
<div class="block">Returns <jk>null</jk> if the specified string is <jk>null</jk> or empty.</div>
</td>
</tr>
-<tr id="i30" class="altColor">
+<tr id="i31" class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#parseISO8601Date-java.lang.String-">parseISO8601Date</a></span>(<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> date)</code>
<div class="block">Parses an ISO8601 string into a date.</div>
</td>
</tr>
-<tr id="i31" class="rowColor">
+<tr id="i32" class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#parseNumber-org.apache.juneau.parser.ParserReader-java.lang.Class-">parseNumber</a></span>(<a href="../../../../org/apache/juneau/parser/ParserReader.html" title="class in org.apache.juneau.parser">ParserReader</a> r,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</a>> type)</code>
<div class="block">Parses a number from the specified reader stream.</div>
</td>
</tr>
-<tr id="i32" class="altColor">
+<tr id="i33" class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#parseNumber-java.lang.String-java.lang.Class-">parseNumber</a></span>(<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> s,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</a>> type)</code>
<div class="block">Parses a number from the specified string.</div>
</td>
</tr>
-<tr id="i33" class="rowColor">
+<tr id="i34" 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/internal/StringUtils.html#parseNumberString-org.apache.juneau.parser.ParserReader-">parseNumberString</a></span>(<a href="../../../../org/apache/juneau/parser/ParserReader.html" title="class in org.apache.juneau.parser">ParserReader</a> r)</code>
<div class="block">Reads a numeric string from the specified reader.</div>
</td>
</tr>
-<tr id="i34" class="altColor">
+<tr id="i35" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#pathStartsWith-java.lang.String-java.lang.String-">pathStartsWith</a></span>(<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> path,
<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> pathPrefix)</code>
<div class="block">Returns <jk>true</jk> if the specified path string is prefixed with the specified prefix.</div>
</td>
</tr>
-<tr id="i35" class="rowColor">
+<tr id="i36" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#pathStartsWith-java.lang.String-java.lang.String:A-">pathStartsWith</a></span>(<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> path,
<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>[] pathPrefixes)</code>
<div class="block">Same as <a href="../../../../org/apache/juneau/internal/StringUtils.html#pathStartsWith-java.lang.String-java.lang.String-"><code>pathStartsWith(String, String)</code></a> but returns <jk>true</jk> if at least one prefix matches.</div>
</td>
</tr>
-<tr id="i36" class="altColor">
+<tr id="i37" 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/internal/StringUtils.html#repeat-int-java.lang.String-">repeat</a></span>(int count,
<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> pattern)</code>
<div class="block">Creates a repeated pattern.</div>
</td>
</tr>
-<tr id="i37" class="rowColor">
+<tr id="i38" 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/internal/StringUtils.html#replaceUnicodeSequences-java.lang.String-">replaceUnicodeSequences</a></span>(<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> s)</code>
<div class="block">Replaces <js>"\\uXXXX"</js> character sequences with their unicode characters.</div>
</td>
</tr>
-<tr id="i38" class="altColor">
+<tr id="i39" 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/internal/StringUtils.html#replaceVars-java.lang.String-java.util.Map-">replaceVars</a></span>(<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> s,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> m)</code>
@@ -406,21 +413,21 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
in the specified map.</div>
</td>
</tr>
-<tr id="i39" class="rowColor">
+<tr id="i40" 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/internal/StringUtils.html#split-java.lang.String:A-char-">split</a></span>(<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>[] s,
char c)</code>
<div class="block">Same as <a href="../../../../org/apache/juneau/internal/StringUtils.html#split-java.lang.String-char-"><code>split(String, char)</code></a> except splits all strings in the input and returns a single result.</div>
</td>
</tr>
-<tr id="i40" class="altColor">
+<tr id="i41" 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/internal/StringUtils.html#split-java.lang.String-char-">split</a></span>(<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> s,
char c)</code>
<div class="block">Splits a character-delimited string into a string array.</div>
</td>
</tr>
-<tr id="i41" class="rowColor">
+<tr id="i42" class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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="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/internal/StringUtils.html#splitMap-java.lang.String-char-char-boolean-">splitMap</a></span>(<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> s,
char delim,
@@ -429,75 +436,75 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
<div class="block">Splits a list of key-value pairs into an ordered map.</div>
</td>
</tr>
-<tr id="i42" class="altColor">
+<tr id="i43" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#startsWith-java.lang.String-char-">startsWith</a></span>(<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> s,
char c)</code>
<div class="block">An efficient method for checking if a string starts with a character.</div>
</td>
</tr>
-<tr id="i43" class="rowColor">
+<tr id="i44" 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/internal/StringUtils.html#toHex-byte:A-">toHex</a></span>(byte[] bytes)</code>
<div class="block">Converts a byte array into a simple hexadecimal character string.</div>
</td>
</tr>
-<tr id="i44" class="altColor">
+<tr id="i45" class="rowColor">
<td class="colFirst"><code>static char[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#toHex-int-">toHex</a></span>(int num)</code>
<div class="block">Converts the specified number into a 4 hexadecimal characters.</div>
</td>
</tr>
-<tr id="i45" class="rowColor">
+<tr id="i46" 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/internal/StringUtils.html#toString-java.lang.Object-">toString</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</code>
<div class="block">Calls <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang"><code>Object.toString()</code></a> on the specified object if it's not null.</div>
</td>
</tr>
-<tr id="i46" class="altColor">
+<tr id="i47" 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/internal/StringUtils.html#trim-java.lang.String-">trim</a></span>(<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> s)</code>
<div class="block">Same as <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true#trim--" title="class or interface in java.lang"><code>String.trim()</code></a> but prevents <code>NullPointerExceptions</code>.</div>
</td>
</tr>
-<tr id="i47" class="rowColor">
+<tr id="i48" 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/internal/StringUtils.html#trimEnd-java.lang.String-">trimEnd</a></span>(<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> s)</code>
<div class="block">Trims whitespace characters from the end of the specified string.</div>
</td>
</tr>
-<tr id="i48" class="altColor">
+<tr id="i49" 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/internal/StringUtils.html#trimSlashes-java.lang.String-">trimSlashes</a></span>(<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> s)</code>
<div class="block">Trims <js>'/'</js> characters from both the start and end of the specified string.</div>
</td>
</tr>
-<tr id="i49" class="rowColor">
+<tr id="i50" 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/internal/StringUtils.html#trimStart-java.lang.String-">trimStart</a></span>(<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> s)</code>
<div class="block">Trims whitespace characters from the beginning of the specified string.</div>
</td>
</tr>
-<tr id="i50" class="altColor">
+<tr id="i51" 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/internal/StringUtils.html#trimTrailingSlashes-java.lang.String-">trimTrailingSlashes</a></span>(<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> s)</code>
<div class="block">Trims <js>'/'</js> characters from the end of the specified string.</div>
</td>
</tr>
-<tr id="i51" class="rowColor">
+<tr id="i52" class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#trimTrailingSlashes-java.lang.StringBuffer-">trimTrailingSlashes</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</a> s)</code>
<div class="block">Trims <js>'/'</js> characters from the end of the specified string.</div>
</td>
</tr>
-<tr id="i52" class="altColor">
+<tr id="i53" 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/internal/StringUtils.html#unEscapeChars-java.lang.String-char:A-">unEscapeChars</a></span>(<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> s,
char[] toEscape)</code>
<div class="block">Removes escape characters (\) from the specified characters.</div>
</td>
</tr>
-<tr id="i53" class="rowColor">
+<tr id="i54" 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/internal/StringUtils.html#unEscapeChars-java.lang.String-char:A-char-">unEscapeChars</a></span>(<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> s,
char[] toEscape,
@@ -505,13 +512,13 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
<div class="block">Removes escape characters (specified by escapeChar) from the specified characters.</div>
</td>
</tr>
-<tr id="i54" class="altColor">
+<tr id="i55" 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/internal/StringUtils.html#urlDecode-java.lang.String-">urlDecode</a></span>(<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> s)</code>
<div class="block">Decodes a <code>application/x-www-form-urlencoded</code> string using <code>UTF-8</code> encoding scheme.</div>
</td>
</tr>
-<tr id="i55" class="rowColor">
+<tr id="i56" 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/internal/StringUtils.html#urlEncode-java.lang.String-">urlEncode</a></span>(<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> s)</code>
<div class="block">Encodes a <code>application/x-www-form-urlencoded</code> string using <code>UTF-8</code> encoding scheme.</div>
@@ -1595,7 +1602,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
<a name="firstNonWhitespaceChar-java.lang.String-">
<!-- -->
</a>
-<ul class="blockListLast">
+<ul class="blockList">
<li class="blockList">
<h4>firstNonWhitespaceChar</h4>
<pre>public static char <a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.1309">firstNonWhitespaceChar</a>(<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> s)</pre>
@@ -1608,6 +1615,25 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
</dl>
</li>
</ul>
+<a name="charAt-java.lang.String-int-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>charAt</h4>
+<pre>public static char <a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.1328">charAt</a>(<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> s,
+ int i)</pre>
+<div class="block">Returns the character at the specified index in the string without throwing exceptions.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>s</code> - The string.</dd>
+<dd><code>i</code> - The index position.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The character at the specified index, or <code>0</code> if the index is out-of-range or the string
+ is <jk>null</jk>.</dd>
+</dl>
+</li>
+</ul>
</li>
</ul>
</li>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/internal/VersionRange.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/internal/VersionRange.html b/content/site/apidocs/org/apache/juneau/internal/VersionRange.html
index 940a2cc..16d56f8 100644
--- a/content/site/apidocs/org/apache/juneau/internal/VersionRange.html
+++ b/content/site/apidocs/org/apache/juneau/internal/VersionRange.html
@@ -49,7 +49,7 @@ var activeTableTab = "activeTableTab";
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/juneau/internal/Version.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Prev Class</span></a></li>
-<li>Next Class</li>
+<li><a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/juneau/internal/VersionRange.html" target="_top">Frames</a></li>
@@ -266,7 +266,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/juneau/internal/Version.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Prev Class</span></a></li>
-<li>Next Class</li>
+<li><a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/juneau/internal/VersionRange.html" target="_top">Frames</a></li>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/internal/WrappedMap.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/internal/WrappedMap.html b/content/site/apidocs/org/apache/juneau/internal/WrappedMap.html
new file mode 100644
index 0000000..9d7468a
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/internal/WrappedMap.html
@@ -0,0 +1,507 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>WrappedMap (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="WrappedMap (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10};
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/internal/VersionRange.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Prev Class</span></a></li>
+<li>Next Class</li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/internal/WrappedMap.html" target="_top">Frames</a></li>
+<li><a href="WrappedMap.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li><a href="#constructor.summary">Constr</a> | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li><a href="#constructor.detail">Constr</a> | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.internal</div>
+<h2 title="Class WrappedMap" class="title">Class WrappedMap<K,V></h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.internal.WrappedMap<K,V></li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt><span class="paramLabel">Type Parameters:</span></dt>
+<dd><code>K</code> - The key type.</dd>
+<dd><code>V</code> - The value type.</dd>
+</dl>
+<dl>
+<dt>All Implemented Interfaces:</dt>
+<dd><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><K,V></dd>
+</dl>
+<hr>
+<br>
+<pre>public class <a href="../../../../src-html/org/apache/juneau/internal/WrappedMap.html#line.22">WrappedMap</a><K,V>
+extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
+implements <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><K,V></pre>
+<div class="block">Wraps an existing map inside an extensible interface so that convenience methods can be added to the subclass.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== NESTED CLASS SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="nested.class.summary">
+<!-- -->
+</a>
+<h3>Nested Class Summary</h3>
+<ul class="blockList">
+<li class="blockList"><a name="nested.classes.inherited.from.class.java.util.Map">
+<!-- -->
+</a>
+<h3>Nested classes/interfaces inherited from interface java.util.<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">K</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">V</a>></code></li>
+</ul>
+</li>
+</ul>
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.summary">
+<!-- -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier</th>
+<th class="colLast" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>protected </code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/WrappedMap.html#WrappedMap-java.util.Map-">WrappedMap</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">K</a>,<a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">V</a>> inner)</code>
+<div class="block">Constructor.</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/WrappedMap.html#clear--">clear</a></span>()</code> </td>
+</tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/WrappedMap.html#containsKey-java.lang.Object-">containsKey</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</code> </td>
+</tr>
+<tr id="i2" class="altColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/WrappedMap.html#containsValue-java.lang.Object-">containsValue</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code> </td>
+</tr>
+<tr id="i3" class="rowColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</a><<a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">K</a>,<a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">V</a>>></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/WrappedMap.html#entrySet--">entrySet</a></span>()</code> </td>
+</tr>
+<tr id="i4" class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">V</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/WrappedMap.html#get-java.lang.Object-">get</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</code> </td>
+</tr>
+<tr id="i5" class="rowColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/WrappedMap.html#isEmpty--">isEmpty</a></span>()</code> </td>
+</tr>
+<tr id="i6" class="altColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">K</a>></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/WrappedMap.html#keySet--">keySet</a></span>()</code> </td>
+</tr>
+<tr id="i7" class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">V</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/WrappedMap.html#put-K-V-">put</a></span>(<a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">K</a> key,
+ <a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">V</a> value)</code> </td>
+</tr>
+<tr id="i8" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/WrappedMap.html#putAll-java.util.Map-">putAll</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><? extends <a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">K</a>,? extends <a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">V</a>> m)</code> </td>
+</tr>
+<tr id="i9" class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">V</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/WrappedMap.html#remove-java.lang.Object-">remove</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</code> </td>
+</tr>
+<tr id="i10" class="altColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/WrappedMap.html#size--">size</a></span>()</code> </td>
+</tr>
+<tr id="i11" class="rowColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">V</a>></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/WrappedMap.html#values--">values</a></span>()</code> </td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.util.Map">
+<!-- -->
+</a>
+<h3>Methods inherited from interface java.util.<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#compute-K-java.util.function.BiFunction-" title="class or interface in java.util">compute</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#computeIfAbsent-K-java.util.function.Function-" title="class or interface in java.util">computeIfAbsent</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#computeIfPresent-K-java.util.function.BiFunction-" title="class or interface in java.util">computeIfPresent</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.util">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#forEach-java.util.function.BiConsumer-" title="class or interface in java.util">forEach</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-e
xternal=true#getOrDefault-java.lang.Object-V-" title="class or interface in java.util">getOrDefault</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#hashCode--" title="class or interface in java.util">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#merge-K-V-java.util.function.BiFunction-" title="class or interface in java.util">merge</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#putIfAbsent-K-V-" title="class or interface in java.util">putIfAbsent</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#remove-java.lang.Object-java.lang.Object-" title="class or interface in java.util">remove</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#replace-K-V-" title="class or interface in java.util">replace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.ht
ml?is-external=true#replace-K-V-V-" title="class or interface in java.util">replace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#replaceAll-java.util.function.BiFunction-" title="class or interface in java.util">replaceAll</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.detail">
+<!-- -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="WrappedMap-java.util.Map-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>WrappedMap</h4>
+<pre>protected <a href="../../../../src-html/org/apache/juneau/internal/WrappedMap.html#line.31">WrappedMap</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">K</a>,<a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">V</a>> inner)</pre>
+<div class="block">Constructor.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>inner</code> - The inner map.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="clear--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>clear</h4>
+<pre>public void <a href="../../../../src-html/org/apache/juneau/internal/WrappedMap.html#line.36">clear</a>()</pre>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#clear--" title="class or interface in java.util">clear</a></code> in interface <code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">K</a>,<a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">V</a>></code></dd>
+</dl>
+</li>
+</ul>
+<a name="containsKey-java.lang.Object-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>containsKey</h4>
+<pre>public boolean <a href="../../../../src-html/org/apache/juneau/internal/WrappedMap.html#line.41">containsKey</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</pre>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#containsKey-java.lang.Object-" title="class or interface in java.util">containsKey</a></code> in interface <code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">K</a>,<a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">V</a>></code></dd>
+</dl>
+</li>
+</ul>
+<a name="containsValue-java.lang.Object-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>containsValue</h4>
+<pre>public boolean <a href="../../../../src-html/org/apache/juneau/internal/WrappedMap.html#line.46">containsValue</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</pre>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#containsValue-java.lang.Object-" title="class or interface in java.util">containsValue</a></code> in interface <code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">K</a>,<a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">V</a>></code></dd>
+</dl>
+</li>
+</ul>
+<a name="entrySet--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>entrySet</h4>
+<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</a><<a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">K</a>,<a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">V</a>>> <a href="../../../../src-html/org/apache/juneau/internal/WrappedMap.html#line.51">entrySet</a>()</pre>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#entrySet--" title="class or interface in java.util">entrySet</a></code> in interface <code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">K</a>,<a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">V</a>></code></dd>
+</dl>
+</li>
+</ul>
+<a name="get-java.lang.Object-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>get</h4>
+<pre>public <a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">V</a> <a href="../../../../src-html/org/apache/juneau/internal/WrappedMap.html#line.56">get</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</pre>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#get-java.lang.Object-" title="class or interface in java.util">get</a></code> in interface <code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">K</a>,<a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">V</a>></code></dd>
+</dl>
+</li>
+</ul>
+<a name="isEmpty--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>isEmpty</h4>
+<pre>public boolean <a href="../../../../src-html/org/apache/juneau/internal/WrappedMap.html#line.61">isEmpty</a>()</pre>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#isEmpty--" title="class or interface in java.util">isEmpty</a></code> in interface <code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">K</a>,<a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">V</a>></code></dd>
+</dl>
+</li>
+</ul>
+<a name="keySet--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>keySet</h4>
+<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">K</a>> <a href="../../../../src-html/org/apache/juneau/internal/WrappedMap.html#line.66">keySet</a>()</pre>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#keySet--" title="class or interface in java.util">keySet</a></code> in interface <code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">K</a>,<a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">V</a>></code></dd>
+</dl>
+</li>
+</ul>
+<a name="put-java.lang.Object-java.lang.Object-">
+<!-- -->
+</a><a name="put-K-V-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>put</h4>
+<pre>public <a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">V</a> <a href="../../../../src-html/org/apache/juneau/internal/WrappedMap.html#line.71">put</a>(<a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">K</a> key,
+ <a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">V</a> value)</pre>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#put-K-V-" title="class or interface in java.util">put</a></code> in interface <code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">K</a>,<a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">V</a>></code></dd>
+</dl>
+</li>
+</ul>
+<a name="putAll-java.util.Map-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>putAll</h4>
+<pre>public void <a href="../../../../src-html/org/apache/juneau/internal/WrappedMap.html#line.76">putAll</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><? extends <a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">K</a>,? extends <a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">V</a>> m)</pre>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#putAll-java.util.Map-" title="class or interface in java.util">putAll</a></code> in interface <code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">K</a>,<a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">V</a>></code></dd>
+</dl>
+</li>
+</ul>
+<a name="remove-java.lang.Object-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>remove</h4>
+<pre>public <a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">V</a> <a href="../../../../src-html/org/apache/juneau/internal/WrappedMap.html#line.81">remove</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</pre>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#remove-java.lang.Object-" title="class or interface in java.util">remove</a></code> in interface <code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">K</a>,<a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">V</a>></code></dd>
+</dl>
+</li>
+</ul>
+<a name="size--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>size</h4>
+<pre>public int <a href="../../../../src-html/org/apache/juneau/internal/WrappedMap.html#line.86">size</a>()</pre>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#size--" title="class or interface in java.util">size</a></code> in interface <code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">K</a>,<a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">V</a>></code></dd>
+</dl>
+</li>
+</ul>
+<a name="values--">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>values</h4>
+<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">V</a>> <a href="../../../../src-html/org/apache/juneau/internal/WrappedMap.html#line.91">values</a>()</pre>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#values--" title="class or interface in java.util">values</a></code> in interface <code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">K</a>,<a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="type parameter in WrappedMap">V</a>></code></dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/internal/VersionRange.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Prev Class</span></a></li>
+<li>Next Class</li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/internal/WrappedMap.html" target="_top">Frames</a></li>
+<li><a href="WrappedMap.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li><a href="#constructor.summary">Constr</a> | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li><a href="#constructor.detail">Constr</a> | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/internal/package-frame.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/internal/package-frame.html b/content/site/apidocs/org/apache/juneau/internal/package-frame.html
index 457c4ed..a193657 100644
--- a/content/site/apidocs/org/apache/juneau/internal/package-frame.html
+++ b/content/site/apidocs/org/apache/juneau/internal/package-frame.html
@@ -17,11 +17,13 @@
<li><a href="AsciiSet.html" title="class in org.apache.juneau.internal" target="classFrame">AsciiSet</a></li>
<li><a href="ByteArrayCache.html" title="class in org.apache.juneau.internal" target="classFrame">ByteArrayCache</a></li>
<li><a href="ByteArrayInOutStream.html" title="class in org.apache.juneau.internal" target="classFrame">ByteArrayInOutStream</a></li>
+<li><a href="Cache.html" title="class in org.apache.juneau.internal" target="classFrame">Cache</a></li>
<li><a href="CharSequenceReader.html" title="class in org.apache.juneau.internal" target="classFrame">CharSequenceReader</a></li>
<li><a href="ClassUtils.html" title="class in org.apache.juneau.internal" target="classFrame">ClassUtils</a></li>
<li><a href="ClassUtils.ClassComparator.html" title="class in org.apache.juneau.internal" target="classFrame">ClassUtils.ClassComparator</a></li>
<li><a href="ClassUtils.MethodInfo.html" title="class in org.apache.juneau.internal" target="classFrame">ClassUtils.MethodInfo</a></li>
<li><a href="CollectionUtils.html" title="class in org.apache.juneau.internal" target="classFrame">CollectionUtils</a></li>
+<li><a href="DateUtils.html" title="class in org.apache.juneau.internal" target="classFrame">DateUtils</a></li>
<li><a href="DelegateBeanMap.html" title="class in org.apache.juneau.internal" target="classFrame">DelegateBeanMap</a></li>
<li><a href="DelegateList.html" title="class in org.apache.juneau.internal" target="classFrame">DelegateList</a></li>
<li><a href="DelegateMap.html" title="class in org.apache.juneau.internal" target="classFrame">DelegateMap</a></li>
@@ -46,6 +48,7 @@
<li><a href="Utils.html" title="class in org.apache.juneau.internal" target="classFrame">Utils</a></li>
<li><a href="Version.html" title="class in org.apache.juneau.internal" target="classFrame">Version</a></li>
<li><a href="VersionRange.html" title="class in org.apache.juneau.internal" target="classFrame">VersionRange</a></li>
+<li><a href="WrappedMap.html" title="class in org.apache.juneau.internal" target="classFrame">WrappedMap</a></li>
</ul>
</div>
</body>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/internal/package-summary.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/internal/package-summary.html b/content/site/apidocs/org/apache/juneau/internal/package-summary.html
index 1b2c7c1..0da587d 100644
--- a/content/site/apidocs/org/apache/juneau/internal/package-summary.html
+++ b/content/site/apidocs/org/apache/juneau/internal/package-summary.html
@@ -110,35 +110,48 @@
</td>
</tr>
<tr class="altColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/internal/Cache.html" title="class in org.apache.juneau.internal">Cache</a><K,V></td>
+<td class="colLast">
+<div class="block">Simple in-memory cache of objects.</div>
+</td>
+</tr>
+<tr class="rowColor">
<td class="colFirst"><a href="../../../../org/apache/juneau/internal/CharSequenceReader.html" title="class in org.apache.juneau.internal">CharSequenceReader</a></td>
<td class="colLast">
<div class="block">Similar to <a href="http://docs.oracle.com/javase/7/docs/api/java/io/StringReader.html?is-external=true" title="class or interface in java.io"><code>StringReader</code></a> except reads from a generic <a href="../../../../org/apache/juneau/internal/CharSequenceReader.html" title="class in org.apache.juneau.internal"><code>CharSequenceReader</code></a>.</div>
</td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><a href="../../../../org/apache/juneau/internal/ClassUtils.html" title="class in org.apache.juneau.internal">ClassUtils</a></td>
<td class="colLast">
<div class="block">Class-related utility methods.</div>
</td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><a href="../../../../org/apache/juneau/internal/ClassUtils.ClassComparator.html" title="class in org.apache.juneau.internal">ClassUtils.ClassComparator</a></td>
<td class="colLast">
<div class="block">Comparator for use with <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true" title="class or interface in java.util"><code>TreeMaps</code></a> with <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a> keys.</div>
</td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><a href="../../../../org/apache/juneau/internal/ClassUtils.MethodInfo.html" title="class in org.apache.juneau.internal">ClassUtils.MethodInfo</a></td>
<td class="colLast">
<div class="block">Simple bean that shows the name, parameter types, and return type of a method.</div>
</td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><a href="../../../../org/apache/juneau/internal/CollectionUtils.html" title="class in org.apache.juneau.internal">CollectionUtils</a></td>
<td class="colLast">
<div class="block">Utility methods for collections.</div>
</td>
</tr>
+<tr class="altColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/internal/DateUtils.html" title="class in org.apache.juneau.internal">DateUtils</a></td>
+<td class="colLast">
+<div class="block">A utility class for parsing and formatting HTTP dates as used in cookies and
+ other headers.</div>
+</td>
+</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../org/apache/juneau/internal/DelegateBeanMap.html" title="class in org.apache.juneau.internal">DelegateBeanMap</a><T></td>
<td class="colLast">
@@ -288,6 +301,12 @@
<div class="block">Represents an OSGi-style version range like <js>"1.2"</js> or <js>"[1.0,2.0)"</js>.</div>
</td>
</tr>
+<tr class="rowColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="class in org.apache.juneau.internal">WrappedMap</a><K,V></td>
+<td class="colLast">
+<div class="block">Wraps an existing map inside an extensible interface so that convenience methods can be added to the subclass.</div>
+</td>
+</tr>
</tbody>
</table>
</li>
[29/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/rest/RestConfig.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/RestConfig.html b/content/site/apidocs/org/apache/juneau/rest/RestConfig.html
index dcc7102..0155b9d 100644
--- a/content/site/apidocs/org/apache/juneau/rest/RestConfig.html
+++ b/content/site/apidocs/org/apache/juneau/rest/RestConfig.html
@@ -18,7 +18,7 @@
catch(err) {
}
//-->
-var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10};
+var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -258,261 +258,267 @@ implements <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletCon
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestConfig.html#addParamResolvers-java.lang.Class...-">addParamResolvers</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends <a href="../../../../org/apache/juneau/rest/RestParam.html" title="class in org.apache.juneau.rest">RestParam</a>>... paramResolvers)</code>
+<div class="block">Adds class-level parameter resolvers to this resource.</div>
+</td>
+</tr>
+<tr id="i16" class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestConfig.html#addParsers-java.lang.Class...-">addParsers</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>... parsers)</code>
<div class="block">Adds class-level parsers to this resource.</div>
</td>
</tr>
-<tr id="i16" class="altColor">
+<tr id="i17" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestConfig.html#addParsers-org.apache.juneau.parser.Parser...-">addParsers</a></span>(<a href="../../../../org/apache/juneau/parser/Parser.html" title="class in org.apache.juneau.parser">Parser</a>... parsers)</code>
<div class="block">Adds class-level parsers to this resource.</div>
</td>
</tr>
-<tr id="i17" class="rowColor">
+<tr id="i18" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestConfig.html#addPojoSwaps-java.lang.Class...-">addPojoSwaps</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>... pojoSwaps)</code>
<div class="block">Adds class-level pojo swaps to this resource.</div>
</td>
</tr>
-<tr id="i18" class="altColor">
+<tr id="i19" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestConfig.html#addResponseHandlers-java.lang.Class...-">addResponseHandlers</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>... responseHandlers)</code>
<div class="block">Adds class-level response handler classes to this resource.</div>
</td>
</tr>
-<tr id="i19" class="rowColor">
+<tr id="i20" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestConfig.html#addResponseHandlers-org.apache.juneau.rest.ResponseHandler...-">addResponseHandlers</a></span>(<a href="../../../../org/apache/juneau/rest/ResponseHandler.html" title="interface in org.apache.juneau.rest">ResponseHandler</a>... responseHandlers)</code>
<div class="block">Adds class-level response handlers to this resource.</div>
</td>
</tr>
-<tr id="i20" class="altColor">
+<tr id="i21" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestConfig.html#addSerializers-java.lang.Class...-">addSerializers</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>... serializers)</code>
<div class="block">Adds class-level serializers to this resource.</div>
</td>
</tr>
-<tr id="i21" class="rowColor">
+<tr id="i22" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestConfig.html#addSerializers-org.apache.juneau.serializer.Serializer...-">addSerializers</a></span>(<a href="../../../../org/apache/juneau/serializer/Serializer.html" title="class in org.apache.juneau.serializer">Serializer</a>... serializers)</code>
<div class="block">Adds class-level serializers to this resource.</div>
</td>
</tr>
-<tr id="i22" class="altColor">
+<tr id="i23" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestConfig.html#addStaticFiles-java.lang.Class-java.lang.String-">addStaticFiles</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> resourceClass,
<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> staticFilesString)</code>
<div class="block">Appends to the static files resource map.</div>
</td>
</tr>
-<tr id="i23" class="rowColor">
+<tr id="i24" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestConfig.html#addStyleSheet-java.lang.Class-java.lang.String-">addStyleSheet</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> resourceClass,
<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> resourcePath)</code>
<div class="block">Adds to the stylesheet that make up the contents of the page <js>"/resource-path/styles.css"</js>.</div>
</td>
</tr>
-<tr id="i24" class="altColor">
+<tr id="i25" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestConfig.html#addStyleSheet-java.lang.Object...-">addStyleSheet</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... styleSheets)</code>
<div class="block">Adds to the stylesheet that make up the contents of the page <js>"/resource-path/styles.css"</js>.</div>
</td>
</tr>
-<tr id="i25" class="rowColor">
+<tr id="i26" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestConfig.html#addVarContextObject-java.lang.String-java.lang.Object-">addVarContextObject</a></span>(<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> name,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> object)</code>
<div class="block">Adds a var context object to this config.</div>
</td>
</tr>
-<tr id="i26" class="altColor">
+<tr id="i27" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestConfig.html#addVars-java.lang.Class...-">addVars</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>... vars)</code>
<div class="block">Adds the specified <a href="../../../../org/apache/juneau/svl/Var.html" title="class in org.apache.juneau.svl"><code>Var</code></a> classes to this config.</div>
</td>
</tr>
-<tr id="i27" class="rowColor">
+<tr id="i28" class="altColor">
<td class="colFirst"><code>protected <a href="../../../../org/apache/juneau/PropertyStore.html" title="class in org.apache.juneau">PropertyStore</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestConfig.html#createPropertyStore--">createPropertyStore</a></span>()</code>
<div class="block">Creates a new <a href="../../../../org/apache/juneau/PropertyStore.html" title="class in org.apache.juneau"><code>PropertyStore</code></a> object initialized with the properties defined in this config.</div>
</td>
</tr>
-<tr id="i28" class="altColor">
+<tr id="i29" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestConfig.html#getConfigFile--">getConfigFile</a></span>()</code>
<div class="block">Returns the external configuration file for this resource.</div>
</td>
</tr>
-<tr id="i29" class="rowColor">
+<tr id="i30" class="altColor">
<td class="colFirst"><code><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/rest/RestConfig.html#getInitParameter-java.lang.String-">getInitParameter</a></span>(<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> name)</code> </td>
</tr>
-<tr id="i30" class="altColor">
+<tr id="i31" class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Enumeration.html?is-external=true" title="class or interface in java.util">Enumeration</a><<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/rest/RestConfig.html#getInitParameterNames--">getInitParameterNames</a></span>()</code> </td>
</tr>
-<tr id="i31" class="rowColor">
+<tr id="i32" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestConfig.html#getProperties--">getProperties</a></span>()</code>
<div class="block">Returns the configuration properties for this resource.</div>
</td>
</tr>
-<tr id="i32" class="altColor">
+<tr id="i33" class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletContext.html?is-external=true" title="class or interface in javax.servlet">ServletContext</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestConfig.html#getServletContext--">getServletContext</a></span>()</code> </td>
</tr>
-<tr id="i33" class="rowColor">
+<tr id="i34" class="altColor">
<td class="colFirst"><code><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/rest/RestConfig.html#getServletName--">getServletName</a></span>()</code> </td>
</tr>
-<tr id="i34" class="altColor">
+<tr id="i35" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/svl/VarResolverBuilder.html" title="class in org.apache.juneau.svl">VarResolverBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestConfig.html#getVarResolverBuilder--">getVarResolverBuilder</a></span>()</code>
<div class="block">Creates the variable resolver for this resource.</div>
</td>
</tr>
-<tr id="i35" class="rowColor">
+<tr id="i36" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestConfig.html#setCallHandler-java.lang.Class-">setCallHandler</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends <a href="../../../../org/apache/juneau/rest/RestCallHandler.html" title="class in org.apache.juneau.rest">RestCallHandler</a>> restHandler)</code>
<div class="block">Overrides the call handler for the resource.</div>
</td>
</tr>
-<tr id="i36" class="altColor">
+<tr id="i37" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestConfig.html#setCallHandler-org.apache.juneau.rest.RestCallHandler-">setCallHandler</a></span>(<a href="../../../../org/apache/juneau/rest/RestCallHandler.html" title="class in org.apache.juneau.rest">RestCallHandler</a> restHandler)</code>
<div class="block">Overrides the call handler for the resource.</div>
</td>
</tr>
-<tr id="i37" class="rowColor">
+<tr id="i38" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestConfig.html#setClientVersionHeader-java.lang.String-">setClientVersionHeader</a></span>(<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> clientVersionHeader)</code>
<div class="block">Sets name of the header used to denote the client version on HTTP requests.</div>
</td>
</tr>
-<tr id="i38" class="altColor">
+<tr id="i39" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestConfig.html#setConfigFile-org.apache.juneau.ini.ConfigFile-">setConfigFile</a></span>(<a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a> configFile)</code>
<div class="block">Overwrites the default config file with a custom config file.</div>
</td>
</tr>
-<tr id="i39" class="rowColor">
+<tr id="i40" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestConfig.html#setFavIcon-java.lang.Class-java.lang.String-">setFavIcon</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> resourceClass,
<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> resourcePath)</code>
<div class="block">Specifies the icon contents that make up the contents of the page <js>"/resource-path/favicon.ico"</js>.</div>
</td>
</tr>
-<tr id="i40" class="altColor">
+<tr id="i41" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestConfig.html#setFavIcon-java.lang.Object-">setFavIcon</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> favIcon)</code>
<div class="block">Specifies the icon contents that make up the contents of the page <js>"/resource-path/favicon.ico"</js>.</div>
</td>
</tr>
-<tr id="i41" class="rowColor">
+<tr id="i42" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestConfig.html#setInfoProvider-java.lang.Class-">setInfoProvider</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends <a href="../../../../org/apache/juneau/rest/RestInfoProvider.html" title="class in org.apache.juneau.rest">RestInfoProvider</a>> infoProvider)</code>
<div class="block">Overrides the info provider for the resource.</div>
</td>
</tr>
-<tr id="i42" class="altColor">
+<tr id="i43" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestConfig.html#setInfoProvider-org.apache.juneau.rest.RestInfoProvider-">setInfoProvider</a></span>(<a href="../../../../org/apache/juneau/rest/RestInfoProvider.html" title="class in org.apache.juneau.rest">RestInfoProvider</a> infoProvider)</code>
<div class="block">Overrides the info provider for the resource.</div>
</td>
</tr>
-<tr id="i43" class="rowColor">
+<tr id="i44" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestConfig.html#setLogger-java.lang.Class-">setLogger</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends <a href="../../../../org/apache/juneau/rest/RestLogger.html" title="class in org.apache.juneau.rest">RestLogger</a>> logger)</code>
<div class="block">Overrides the logger for the resource.</div>
</td>
</tr>
-<tr id="i44" class="altColor">
+<tr id="i45" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestConfig.html#setLogger-org.apache.juneau.rest.RestLogger-">setLogger</a></span>(<a href="../../../../org/apache/juneau/rest/RestLogger.html" title="class in org.apache.juneau.rest">RestLogger</a> logger)</code>
<div class="block">Overrides the logger for the resource.</div>
</td>
</tr>
-<tr id="i45" class="rowColor">
+<tr id="i46" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestConfig.html#setPageLinks-java.lang.String-">setPageLinks</a></span>(<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> pageLinks)</code>
<div class="block">Sets the page links to use on HTML views of pages.</div>
</td>
</tr>
-<tr id="i46" class="altColor">
+<tr id="i47" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestConfig.html#setPageText-java.lang.String-">setPageText</a></span>(<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> pageText)</code>
<div class="block">Sets the page text to use on HTML views of pages.</div>
</td>
</tr>
-<tr id="i47" class="rowColor">
+<tr id="i48" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestConfig.html#setPageTitle-java.lang.String-">setPageTitle</a></span>(<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> pageTitle)</code>
<div class="block">Sets the page title to use on HTML views of pages.</div>
</td>
</tr>
-<tr id="i48" class="altColor">
+<tr id="i49" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestConfig.html#setPath-java.lang.String-">setPath</a></span>(<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> path)</code>
<div class="block">Sets the URL path of the resource <js>"/foobar"</js>.</div>
</td>
</tr>
-<tr id="i49" class="rowColor">
+<tr id="i50" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestConfig.html#setProperties-java.util.Map-">setProperties</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> properties)</code>
<div class="block">Sets multiple properties on this resource.</div>
</td>
</tr>
-<tr id="i50" class="altColor">
+<tr id="i51" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestConfig.html#setProperty-java.lang.String-java.lang.Object-">setProperty</a></span>(<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> key,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code>
<div class="block">Sets a property on this resource.</div>
</td>
</tr>
-<tr id="i51" class="rowColor">
+<tr id="i52" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestConfig.html#setResourceResolver-java.lang.Class-">setResourceResolver</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends <a href="../../../../org/apache/juneau/rest/RestResourceResolver.html" title="class in org.apache.juneau.rest">RestResourceResolver</a>> resourceResolver)</code>
<div class="block">Overrides the default REST resource resolver.</div>
</td>
</tr>
-<tr id="i52" class="altColor">
+<tr id="i53" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestConfig.html#setResourceResolver-org.apache.juneau.rest.RestResourceResolver-">setResourceResolver</a></span>(<a href="../../../../org/apache/juneau/rest/RestResourceResolver.html" title="class in org.apache.juneau.rest">RestResourceResolver</a> resourceResolver)</code>
<div class="block">Overrides the default REST resource resolver.</div>
</td>
</tr>
-<tr id="i53" class="rowColor">
+<tr id="i54" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestConfig.html#setStyleSheet-java.lang.Class-java.lang.String-">setStyleSheet</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> resourceClass,
<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> resourcePath)</code>
<div class="block">Specifies the stylesheet that make up the contents of the page <js>"/resource-path/styles.css"</js>.</div>
</td>
</tr>
-<tr id="i54" class="altColor">
+<tr id="i55" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestConfig.html#setStyleSheet-java.lang.Object...-">setStyleSheet</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... styleSheets)</code>
<div class="block">Specifies the stylesheets that make up the contents of the page <js>"/resource-path/styles.css"</js>.</div>
</td>
</tr>
-<tr id="i55" class="rowColor">
+<tr id="i56" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestConfig.html#setSupportedAcceptTypes-org.apache.juneau.http.MediaType...-">setSupportedAcceptTypes</a></span>(<a href="../../../../org/apache/juneau/http/MediaType.html" title="class in org.apache.juneau.http">MediaType</a>... mediaTypes)</code>
<div class="block">Specifies the list of supported <code>Accept</code> media types for this resource.</div>
</td>
</tr>
-<tr id="i56" class="altColor">
+<tr id="i57" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestConfig.html#setSupportedAcceptTypes-java.lang.String...-">setSupportedAcceptTypes</a></span>(<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>... mediaTypes)</code>
<div class="block">Specifies the list of supported <code>Accept</code> media types for this resource.</div>
</td>
</tr>
-<tr id="i57" class="rowColor">
+<tr id="i58" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestConfig.html#setSupportedContentTypes-org.apache.juneau.http.MediaType...-">setSupportedContentTypes</a></span>(<a href="../../../../org/apache/juneau/http/MediaType.html" title="class in org.apache.juneau.http">MediaType</a>... mediaTypes)</code>
<div class="block">Specifies the list of supported <code>Content-Type</code> media types for this resource.</div>
</td>
</tr>
-<tr id="i58" class="altColor">
+<tr id="i59" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestConfig.html#setSupportedContentTypes-java.lang.String...-">setSupportedContentTypes</a></span>(<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>... mediaTypes)</code>
<div class="block">Specifies the list of supported <code>Content-Type</code> media types for this resource.</div>
@@ -546,7 +552,7 @@ implements <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletCon
<ul class="blockList">
<li class="blockList">
<h4>addVars</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.264">addVars</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>... vars)</pre>
+<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.266">addVars</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>... vars)</pre>
<div class="block">Adds the specified <a href="../../../../org/apache/juneau/svl/Var.html" title="class in org.apache.juneau.svl"><code>Var</code></a> classes to this config.
<p>
These variables affect the variable resolver returned by <a href="../../../../org/apache/juneau/rest/RestRequest.html#getVarResolverSession--"><code>RestRequest.getVarResolverSession()</code></a> which is
@@ -583,7 +589,7 @@ implements <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletCon
<ul class="blockList">
<li class="blockList">
<h4>addVarContextObject</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.286">addVarContextObject</a>(<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> name,
+<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.288">addVarContextObject</a>(<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> name,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> object)</pre>
<div class="block">Adds a var context object to this config.
<p>
@@ -611,7 +617,7 @@ implements <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletCon
<ul class="blockList">
<li class="blockList">
<h4>setConfigFile</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.300">setConfigFile</a>(<a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a> configFile)</pre>
+<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.302">setConfigFile</a>(<a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a> configFile)</pre>
<div class="block">Overwrites the default config file with a custom config file.
<p>
By default, the config file is determined using the <a href="../../../../org/apache/juneau/rest/annotation/RestResource.html#config--"><code>@RestResource.config()</code></a> annotation.
@@ -630,7 +636,7 @@ implements <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletCon
<ul class="blockList">
<li class="blockList">
<h4>setProperty</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.314">setProperty</a>(<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> key,
+<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.316">setProperty</a>(<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> key,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</pre>
<div class="block">Sets a property on this resource.
<p>
@@ -650,7 +656,7 @@ implements <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletCon
<ul class="blockList">
<li class="blockList">
<h4>setProperties</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.329">setProperties</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> properties)</pre>
+<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.331">setProperties</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> properties)</pre>
<div class="block">Sets multiple properties on this resource.
<p>
This is the programmatic equivalent to the <a href="../../../../org/apache/juneau/rest/annotation/RestResource.html#properties--"><code>@RestResource.properties()</code></a> annotation.
@@ -670,7 +676,7 @@ implements <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletCon
<ul class="blockList">
<li class="blockList">
<h4>addBeanFilters</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.344">addBeanFilters</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>... beanFilters)</pre>
+<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.346">addBeanFilters</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>... beanFilters)</pre>
<div class="block">Adds class-level bean filters to this resource.
<p>
This is the programmatic equivalent to the <a href="../../../../org/apache/juneau/rest/annotation/RestResource.html#beanFilters--"><code>@RestResource.beanFilters()</code></a> annotation.
@@ -690,7 +696,7 @@ implements <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletCon
<ul class="blockList">
<li class="blockList">
<h4>addPojoSwaps</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.359">addPojoSwaps</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>... pojoSwaps)</pre>
+<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.361">addPojoSwaps</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>... pojoSwaps)</pre>
<div class="block">Adds class-level pojo swaps to this resource.
<p>
This is the programmatic equivalent to the <a href="../../../../org/apache/juneau/rest/annotation/RestResource.html#pojoSwaps--"><code>@RestResource.pojoSwaps()</code></a> annotation.
@@ -704,13 +710,31 @@ implements <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletCon
</dl>
</li>
</ul>
+<a name="addParamResolvers-java.lang.Class...-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>addParamResolvers</h4>
+<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.374">addParamResolvers</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends <a href="../../../../org/apache/juneau/rest/RestParam.html" title="class in org.apache.juneau.rest">RestParam</a>>... paramResolvers)</pre>
+<div class="block">Adds class-level parameter resolvers to this resource.
+ <p>
+ This is the programmatic equivalent to the <a href="../../../../org/apache/juneau/rest/annotation/RestResource.html#paramResolvers--"><code>@RestResource.paramResolvers()</code></a> annotation.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>paramResolvers</code> - The parameter resolvers to add to this config.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>This object (for method chaining).</dd>
+</dl>
+</li>
+</ul>
<a name="addSerializers-java.lang.Class...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addSerializers</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.374">addSerializers</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>... serializers)</pre>
+<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.389">addSerializers</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>... serializers)</pre>
<div class="block">Adds class-level serializers to this resource.
<p>
This is the programmatic equivalent to the <a href="../../../../org/apache/juneau/rest/annotation/RestResource.html#serializers--"><code>@RestResource.serializers()</code></a> annotation.
@@ -730,7 +754,7 @@ implements <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletCon
<ul class="blockList">
<li class="blockList">
<h4>addSerializers</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.393">addSerializers</a>(<a href="../../../../org/apache/juneau/serializer/Serializer.html" title="class in org.apache.juneau.serializer">Serializer</a>... serializers)</pre>
+<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.408">addSerializers</a>(<a href="../../../../org/apache/juneau/serializer/Serializer.html" title="class in org.apache.juneau.serializer">Serializer</a>... serializers)</pre>
<div class="block">Adds class-level serializers to this resource.
<p>
Same as <a href="../../../../org/apache/juneau/rest/RestConfig.html#addSerializers-java.lang.Class...-"><code>addSerializers(Class...)</code></a> except allows you to pass in serializer instances.
@@ -754,7 +778,7 @@ implements <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletCon
<ul class="blockList">
<li class="blockList">
<h4>addParsers</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.408">addParsers</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>... parsers)</pre>
+<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.423">addParsers</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>... parsers)</pre>
<div class="block">Adds class-level parsers to this resource.
<p>
This is the programmatic equivalent to the <a href="../../../../org/apache/juneau/rest/annotation/RestResource.html#parsers--"><code>@RestResource.parsers()</code></a> annotation.
@@ -774,7 +798,7 @@ implements <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletCon
<ul class="blockList">
<li class="blockList">
<h4>addParsers</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.427">addParsers</a>(<a href="../../../../org/apache/juneau/parser/Parser.html" title="class in org.apache.juneau.parser">Parser</a>... parsers)</pre>
+<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.442">addParsers</a>(<a href="../../../../org/apache/juneau/parser/Parser.html" title="class in org.apache.juneau.parser">Parser</a>... parsers)</pre>
<div class="block">Adds class-level parsers to this resource.
<p>
Same as <a href="../../../../org/apache/juneau/rest/RestConfig.html#addParsers-java.lang.Class...-"><code>addParsers(Class...)</code></a> except allows you to pass in parser instances.
@@ -798,7 +822,7 @@ implements <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletCon
<ul class="blockList">
<li class="blockList">
<h4>addEncoders</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.444">addEncoders</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>... encoders)</pre>
+<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.459">addEncoders</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>... encoders)</pre>
<div class="block">Adds class-level encoders to this resource.
<p>
This is the programmatic equivalent to the <a href="../../../../org/apache/juneau/rest/annotation/RestResource.html#encoders--"><code>@RestResource.encoders()</code></a> annotation.
@@ -820,7 +844,7 @@ implements <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletCon
<ul class="blockList">
<li class="blockList">
<h4>addEncoders</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.457">addEncoders</a>(<a href="../../../../org/apache/juneau/encoders/Encoder.html" title="class in org.apache.juneau.encoders">Encoder</a>... encoders)</pre>
+<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.472">addEncoders</a>(<a href="../../../../org/apache/juneau/encoders/Encoder.html" title="class in org.apache.juneau.encoders">Encoder</a>... encoders)</pre>
<div class="block">Adds class-level encoders to this resource.
<p>
Same as <a href="../../../../org/apache/juneau/rest/RestConfig.html#addEncoders-java.lang.Class...-"><code>addEncoders(Class...)</code></a> except allows you to pass in encoder instances.</div>
@@ -838,7 +862,7 @@ implements <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletCon
<ul class="blockList">
<li class="blockList">
<h4>addConverters</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.482">addConverters</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>... converters)</pre>
+<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.497">addConverters</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>... converters)</pre>
<div class="block">Adds class-level converters to this resource.
<p>
This is the programmatic equivalent to the <a href="../../../../org/apache/juneau/rest/annotation/RestResource.html#converters--"><code>@RestResource.converters()</code></a> annotation.
@@ -868,7 +892,7 @@ implements <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletCon
<ul class="blockList">
<li class="blockList">
<h4>addConverters</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.495">addConverters</a>(<a href="../../../../org/apache/juneau/rest/RestConverter.html" title="interface in org.apache.juneau.rest">RestConverter</a>... converters)</pre>
+<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.510">addConverters</a>(<a href="../../../../org/apache/juneau/rest/RestConverter.html" title="interface in org.apache.juneau.rest">RestConverter</a>... converters)</pre>
<div class="block">Adds class-level encoders to this resource.
<p>
Same as <a href="../../../../org/apache/juneau/rest/RestConfig.html#addConverters-java.lang.Class...-"><code>addConverters(Class...)</code></a> except allows you to pass in converter instances.</div>
@@ -886,7 +910,7 @@ implements <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletCon
<ul class="blockList">
<li class="blockList">
<h4>addGuards</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.510">addGuards</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>... guards)</pre>
+<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.525">addGuards</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>... guards)</pre>
<div class="block">Adds class-level guards to this resource.
<p>
This is the programmatic equivalent to the <a href="../../../../org/apache/juneau/rest/annotation/RestResource.html#guards--"><code>@RestResource.guards()</code></a> annotation.
@@ -906,7 +930,7 @@ implements <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletCon
<ul class="blockList">
<li class="blockList">
<h4>addGuards</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.523">addGuards</a>(<a href="../../../../org/apache/juneau/rest/RestGuard.html" title="class in org.apache.juneau.rest">RestGuard</a>... guards)</pre>
+<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.538">addGuards</a>(<a href="../../../../org/apache/juneau/rest/RestGuard.html" title="class in org.apache.juneau.rest">RestGuard</a>... guards)</pre>
<div class="block">Adds class-level guards to this resource.
<p>
Same as <a href="../../../../org/apache/juneau/rest/RestConfig.html#addGuards-java.lang.Class...-"><code>addGuards(Class...)</code></a> except allows you to pass in guard instances.</div>
@@ -924,7 +948,7 @@ implements <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletCon
<ul class="blockList">
<li class="blockList">
<h4>addMimeTypes</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.554">addMimeTypes</a>(<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>... mimeTypes)</pre>
+<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.569">addMimeTypes</a>(<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>... mimeTypes)</pre>
<div class="block">Adds MIME-type definitions.
<p>
These definitions are used in the following locations for setting the media type on responses:
@@ -960,7 +984,7 @@ implements <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletCon
<ul class="blockList">
<li class="blockList">
<h4>addDefaultRequestHeader</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.572">addDefaultRequestHeader</a>(<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> name,
+<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.587">addDefaultRequestHeader</a>(<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> name,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</pre>
<div class="block">Adds class-level default HTTP request headers to this resource.
<p>
@@ -983,7 +1007,7 @@ implements <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletCon
<ul class="blockList">
<li class="blockList">
<h4>addDefaultRequestHeaders</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.589">addDefaultRequestHeaders</a>(<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>... headers)
+<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.604">addDefaultRequestHeaders</a>(<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>... headers)
throws <a href="../../../../org/apache/juneau/rest/RestServletException.html" title="class in org.apache.juneau.rest">RestServletException</a></pre>
<div class="block">Adds class-level default HTTP request headers to this resource.
<p>
@@ -1007,7 +1031,7 @@ implements <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletCon
<ul class="blockList">
<li class="blockList">
<h4>addDefaultResponseHeader</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.613">addDefaultResponseHeader</a>(<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> name,
+<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.628">addDefaultResponseHeader</a>(<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> name,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</pre>
<div class="block">Adds class-level default HTTP response headers to this resource.
<p>
@@ -1032,7 +1056,7 @@ implements <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletCon
<ul class="blockList">
<li class="blockList">
<h4>addDefaultResponseHeaders</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.630">addDefaultResponseHeaders</a>(<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>... headers)
+<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.645">addDefaultResponseHeaders</a>(<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>... headers)
throws <a href="../../../../org/apache/juneau/rest/RestServletException.html" title="class in org.apache.juneau.rest">RestServletException</a></pre>
<div class="block">Adds class-level default HTTP response headers to this resource.
<p>
@@ -1056,7 +1080,7 @@ implements <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletCon
<ul class="blockList">
<li class="blockList">
<h4>addResponseHandlers</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.660">addResponseHandlers</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>... responseHandlers)</pre>
+<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.675">addResponseHandlers</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>... responseHandlers)</pre>
<div class="block">Adds class-level response handler classes to this resource.
<p>
Response handlers are responsible for converting various POJOs returned by REST methods into actual HTTP responses.
@@ -1086,7 +1110,7 @@ implements <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletCon
<ul class="blockList">
<li class="blockList">
<h4>addResponseHandlers</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.673">addResponseHandlers</a>(<a href="../../../../org/apache/juneau/rest/ResponseHandler.html" title="interface in org.apache.juneau.rest">ResponseHandler</a>... responseHandlers)</pre>
+<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.688">addResponseHandlers</a>(<a href="../../../../org/apache/juneau/rest/ResponseHandler.html" title="interface in org.apache.juneau.rest">ResponseHandler</a>... responseHandlers)</pre>
<div class="block">Adds class-level response handlers to this resource.
<p>
Same as <a href="../../../../org/apache/juneau/rest/RestConfig.html#addResponseHandlers-java.lang.Class...-"><code>addResponseHandlers(Class...)</code></a> except allows you to pass in response handler instances.</div>
@@ -1104,7 +1128,7 @@ implements <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletCon
<ul class="blockList">
<li class="blockList">
<h4>addChildResource</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.689">addChildResource</a>(<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> path,
+<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.704">addChildResource</a>(<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> path,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> child)</pre>
<div class="block">Adds a child resource to this resource.
<p>
@@ -1126,7 +1150,7 @@ implements <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletCon
<ul class="blockList">
<li class="blockList">
<h4>addChildResources</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.705">addChildResources</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... children)</pre>
+<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.720">addChildResources</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... children)</pre>
<div class="block">Add child resources to this resource.
<p>
Child resources are resources that are accessed under the path of the parent resource.
@@ -1147,7 +1171,7 @@ implements <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletCon
<ul class="blockList">
<li class="blockList">
<h4>addChildResources</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.721">addChildResources</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>... children)</pre>
+<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.736">addChildResources</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>... children)</pre>
<div class="block">Add child resources to this resource.
<p>
Child resources are resources that are accessed under the path of the parent resource.
@@ -1168,7 +1192,7 @@ implements <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletCon
<ul class="blockList">
<li class="blockList">
<h4>setSupportedAcceptTypes</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.736">setSupportedAcceptTypes</a>(<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>... mediaTypes)</pre>
+<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.751">setSupportedAcceptTypes</a>(<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>... mediaTypes)</pre>
<div class="block">Specifies the list of supported <code>Accept</code> media types for this resource.
<p>
This overrides the media types inferred from the parsers on this resource.
@@ -1188,7 +1212,7 @@ implements <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletCon
<ul class="blockList">
<li class="blockList">
<h4>setSupportedAcceptTypes</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.753">setSupportedAcceptTypes</a>(<a href="../../../../org/apache/juneau/http/MediaType.html" title="class in org.apache.juneau.http">MediaType</a>... mediaTypes)</pre>
+<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.768">setSupportedAcceptTypes</a>(<a href="../../../../org/apache/juneau/http/MediaType.html" title="class in org.apache.juneau.http">MediaType</a>... mediaTypes)</pre>
<div class="block">Specifies the list of supported <code>Accept</code> media types for this resource.
<p>
This overrides the media types inferred from the parsers on this resource.
@@ -1208,7 +1232,7 @@ implements <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletCon
<ul class="blockList">
<li class="blockList">
<h4>setSupportedContentTypes</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.768">setSupportedContentTypes</a>(<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>... mediaTypes)</pre>
+<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.783">setSupportedContentTypes</a>(<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>... mediaTypes)</pre>
<div class="block">Specifies the list of supported <code>Content-Type</code> media types for this resource.
<p>
This overrides the media types inferred from the serializers on this resource.
@@ -1228,7 +1252,7 @@ implements <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletCon
<ul class="blockList">
<li class="blockList">
<h4>setSupportedContentTypes</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.785">setSupportedContentTypes</a>(<a href="../../../../org/apache/juneau/http/MediaType.html" title="class in org.apache.juneau.http">MediaType</a>... mediaTypes)</pre>
+<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.800">setSupportedContentTypes</a>(<a href="../../../../org/apache/juneau/http/MediaType.html" title="class in org.apache.juneau.http">MediaType</a>... mediaTypes)</pre>
<div class="block">Specifies the list of supported <code>Content-Type</code> media types for this resource.
<p>
This overrides the media types inferred from the serializers on this resource.
@@ -1248,7 +1272,7 @@ implements <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletCon
<ul class="blockList">
<li class="blockList">
<h4>setStyleSheet</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.808">setStyleSheet</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... styleSheets)</pre>
+<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.823">setStyleSheet</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... styleSheets)</pre>
<div class="block">Specifies the stylesheets that make up the contents of the page <js>"/resource-path/styles.css"</js>.
<p>
This is the programmatic equivalent to the <a href="../../../../org/apache/juneau/rest/annotation/RestResource.html#stylesheet--"><code>@RestResource.stylesheet()</code></a> annotation.
@@ -1276,7 +1300,7 @@ implements <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletCon
<ul class="blockList">
<li class="blockList">
<h4>setStyleSheet</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.826">setStyleSheet</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> resourceClass,
+<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.841">setStyleSheet</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> resourceClass,
<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> resourcePath)</pre>
<div class="block">Specifies the stylesheet that make up the contents of the page <js>"/resource-path/styles.css"</js>.
<p>
@@ -1300,7 +1324,7 @@ implements <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletCon
<ul class="blockList">
<li class="blockList">
<h4>addStyleSheet</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.840">addStyleSheet</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... styleSheets)</pre>
+<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.855">addStyleSheet</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... styleSheets)</pre>
<div class="block">Adds to the stylesheet that make up the contents of the page <js>"/resource-path/styles.css"</js>.
<p>
Same as <a href="../../../../org/apache/juneau/rest/RestConfig.html#setStyleSheet-java.lang.Object...-"><code>setStyleSheet(Object...)</code></a> except appends to the existing list instead of replacing.</div>
@@ -1318,7 +1342,7 @@ implements <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletCon
<ul class="blockList">
<li class="blockList">
<h4>addStyleSheet</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.856">addStyleSheet</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> resourceClass,
+<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.871">addStyleSheet</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> resourceClass,
<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> resourcePath)</pre>
<div class="block">Adds to the stylesheet that make up the contents of the page <js>"/resource-path/styles.css"</js>.
<p>
@@ -1338,7 +1362,7 @@ implements <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletCon
<ul class="blockList">
<li class="blockList">
<h4>setFavIcon</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.878">setFavIcon</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> favIcon)</pre>
+<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.893">setFavIcon</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> favIcon)</pre>
<div class="block">Specifies the icon contents that make up the contents of the page <js>"/resource-path/favicon.ico"</js>.
<p>
This is the programmatic equivalent to the <a href="../../../../org/apache/juneau/rest/annotation/RestResource.html#favicon--"><code>@RestResource.favicon()</code></a> annotation.
@@ -1363,7 +1387,7 @@ implements <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletCon
<ul class="blockList">
<li class="blockList">
<h4>setFavIcon</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.896">setFavIcon</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> resourceClass,
+<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.911">setFavIcon</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> resourceClass,
<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> resourcePath)</pre>
<div class="block">Specifies the icon contents that make up the contents of the page <js>"/resource-path/favicon.ico"</js>.
<p>
@@ -1387,7 +1411,7 @@ implements <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletCon
<ul class="blockList">
<li class="blockList">
<h4>addStaticFiles</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.914">addStaticFiles</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> resourceClass,
+<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.929">addStaticFiles</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> resourceClass,
<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> staticFilesString)</pre>
<div class="block">Appends to the static files resource map.
<p>
@@ -1411,7 +1435,7 @@ implements <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletCon
<ul class="blockList">
<li class="blockList">
<h4>setResourceResolver</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.932">setResourceResolver</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends <a href="../../../../org/apache/juneau/rest/RestResourceResolver.html" title="class in org.apache.juneau.rest">RestResourceResolver</a>> resourceResolver)</pre>
+<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.947">setResourceResolver</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends <a href="../../../../org/apache/juneau/rest/RestResourceResolver.html" title="class in org.apache.juneau.rest">RestResourceResolver</a>> resourceResolver)</pre>
<div class="block">Overrides the default REST resource resolver.
<p>
The resource resolver is used to resolve instances from <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a> objects defined in the <a href="../../../../org/apache/juneau/rest/annotation/RestResource.html#children--"><code>RestResource.children()</code></a> annotation.
@@ -1432,7 +1456,7 @@ implements <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletCon
<ul class="blockList">
<li class="blockList">
<h4>setResourceResolver</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.945">setResourceResolver</a>(<a href="../../../../org/apache/juneau/rest/RestResourceResolver.html" title="class in org.apache.juneau.rest">RestResourceResolver</a> resourceResolver)</pre>
+<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.960">setResourceResolver</a>(<a href="../../../../org/apache/juneau/rest/RestResourceResolver.html" title="class in org.apache.juneau.rest">RestResourceResolver</a> resourceResolver)</pre>
<div class="block">Overrides the default REST resource resolver.
<p>
Same as <a href="../../../../org/apache/juneau/rest/RestConfig.html#setResourceResolver-java.lang.Class-"><code>setResourceResolver(Class)</code></a> except allows you to specify an instance instead of a class.</div>
@@ -1450,7 +1474,7 @@ implements <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletCon
<ul class="blockList">
<li class="blockList">
<h4>setPath</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.958">setPath</a>(<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> path)</pre>
+<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.973">setPath</a>(<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> path)</pre>
<div class="block">Sets the URL path of the resource <js>"/foobar"</js>.
<p>
This is the programmatic equivalent to the <a href="../../../../org/apache/juneau/rest/annotation/RestResource.html#path--"><code>@RestResource.path()</code></a> annotation.</div>
@@ -1468,7 +1492,7 @@ implements <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletCon
<ul class="blockList">
<li class="blockList">
<h4>setClientVersionHeader</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.973">setClientVersionHeader</a>(<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> clientVersionHeader)</pre>
+<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.988">setClientVersionHeader</a>(<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> clientVersionHeader)</pre>
<div class="block">Sets name of the header used to denote the client version on HTTP requests.
<p>
This is the programmatic equivalent to the <a href="../../../../org/apache/juneau/rest/annotation/RestResource.html#clientVersionHeader--"><code>@RestResource.clientVersionHeader()</code></a> annotation.</div>
@@ -1486,7 +1510,7 @@ implements <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletCon
<ul class="blockList">
<li class="blockList">
<h4>setPageTitle</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.986">setPageTitle</a>(<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> pageTitle)</pre>
+<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.1001">setPageTitle</a>(<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> pageTitle)</pre>
<div class="block">Sets the page title to use on HTML views of pages.
<p>
This is the programmatic equivalent to the <a href="../../../../org/apache/juneau/rest/annotation/RestResource.html#pageTitle--"><code>@RestResource.pageTitle()</code></a> annotation.</div>
@@ -1504,7 +1528,7 @@ implements <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletCon
<ul class="blockList">
<li class="blockList">
<h4>setPageText</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.999">setPageText</a>(<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> pageText)</pre>
+<pre>public <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> <a href="../../../../src-html/org/apache/juneau/rest/RestConfig.html#line.1014">setPageText</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">S
<TRUNCATED>
[44/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/HeaderEnum.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/HeaderEnum.html b/content/site/apidocs/org/apache/juneau/http/HeaderEnum.html
new file mode 100644
index 0000000..abf3679
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/HeaderEnum.html
@@ -0,0 +1,347 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>HeaderEnum (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="HeaderEnum (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":10,"i1":10,"i2":10};
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/HeaderEntityValidatorArray.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/HeaderInteger.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/HeaderEnum.html" target="_top">Frames</a></li>
+<li><a href="HeaderEnum.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li><a href="#constructor.summary">Constr</a> | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li><a href="#constructor.detail">Constr</a> | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class HeaderEnum" class="title">Class HeaderEnum<E extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a><E>></h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.HeaderEnum<E></li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt><span class="paramLabel">Type Parameters:</span></dt>
+<dd><code>E</code> - The enum type.</dd>
+</dl>
+<dl>
+<dt>Direct Known Subclasses:</dt>
+<dd><a href="../../../../org/apache/juneau/http/ContentEncoding.html" title="class in org.apache.juneau.http">ContentEncoding</a></dd>
+</dl>
+<hr>
+<br>
+<pre>public class <a href="../../../../src-html/org/apache/juneau/http/HeaderEnum.html#line.24">HeaderEnum</a><E extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a><E>>
+extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
+<div class="block">Category of headers that consist of a single enum value.
+ <p>
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ Accept-Ranges: bytes
+ </p></div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.summary">
+<!-- -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier</th>
+<th class="colLast" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>protected </code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/HeaderEnum.html#HeaderEnum-java.lang.String-java.lang.Class-E-">HeaderEnum</a></span>(<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> value,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><<a href="../../../../org/apache/juneau/http/HeaderEnum.html" title="type parameter in HeaderEnum">E</a>> enumClass,
+ <a href="../../../../org/apache/juneau/http/HeaderEnum.html" title="type parameter in HeaderEnum">E</a> def)</code>
+<div class="block">Constructor.</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/http/HeaderEnum.html" title="type parameter in HeaderEnum">E</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/HeaderEnum.html#asEnum--">asEnum</a></span>()</code>
+<div class="block">Returns <jk>true</jk> if the specified value is the same using <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true#equalsIgnoreCase-java.lang.String-" title="class or interface in java.lang"><code>String.equalsIgnoreCase(String)</code></a>.</div>
+</td>
+</tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code><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/http/HeaderEnum.html#asString--">asString</a></span>()</code>
+<div class="block">Returns this header as a simple string value.</div>
+</td>
+</tr>
+<tr id="i2" class="altColor">
+<td class="colFirst"><code><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/http/HeaderEnum.html#toString--">toString</a></span>()</code> </td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.detail">
+<!-- -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="HeaderEnum-java.lang.String-java.lang.Class-java.lang.Enum-">
+<!-- -->
+</a><a name="HeaderEnum-java.lang.String-java.lang.Class-E-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>HeaderEnum</h4>
+<pre>protected <a href="../../../../src-html/org/apache/juneau/http/HeaderEnum.html#line.35">HeaderEnum</a>(<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> value,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><<a href="../../../../org/apache/juneau/http/HeaderEnum.html" title="type parameter in HeaderEnum">E</a>> enumClass,
+ <a href="../../../../org/apache/juneau/http/HeaderEnum.html" title="type parameter in HeaderEnum">E</a> def)</pre>
+<div class="block">Constructor.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The raw header value.</dd>
+<dd><code>enumClass</code> - The enum class.</dd>
+<dd><code>def</code> - The default enum value if the value could not be parsed.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="asEnum--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>asEnum</h4>
+<pre>public <a href="../../../../org/apache/juneau/http/HeaderEnum.html" title="type parameter in HeaderEnum">E</a> <a href="../../../../src-html/org/apache/juneau/http/HeaderEnum.html#line.51">asEnum</a>()</pre>
+<div class="block">Returns <jk>true</jk> if the specified value is the same using <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true#equalsIgnoreCase-java.lang.String-" title="class or interface in java.lang"><code>String.equalsIgnoreCase(String)</code></a>.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd><jk>true</jk> if the specified value is the same.</dd>
+</dl>
+</li>
+</ul>
+<a name="asString--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>asString</h4>
+<pre>public <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/http/HeaderEnum.html#line.62">asString</a>()</pre>
+<div class="block">Returns this header as a simple string value.
+ <p>
+ Functionally equivalent to calling <a href="../../../../org/apache/juneau/http/HeaderEnum.html#toString--"><code>toString()</code></a>.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>This header as a simple string.</dd>
+</dl>
+</li>
+</ul>
+<a name="toString--">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>toString</h4>
+<pre>public <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/http/HeaderEnum.html#line.67">toString</a>()</pre>
+<dl>
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code> in class <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/HeaderEntityValidatorArray.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/HeaderInteger.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/HeaderEnum.html" target="_top">Frames</a></li>
+<li><a href="HeaderEnum.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li><a href="#constructor.summary">Constr</a> | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li><a href="#constructor.detail">Constr</a> | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/HeaderInteger.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/HeaderInteger.html b/content/site/apidocs/org/apache/juneau/http/HeaderInteger.html
new file mode 100644
index 0000000..13b2f6a
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/HeaderInteger.html
@@ -0,0 +1,315 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>HeaderInteger (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="HeaderInteger (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":10,"i1":10};
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/HeaderEnum.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/HeaderRangeArray.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/HeaderInteger.html" target="_top">Frames</a></li>
+<li><a href="HeaderInteger.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li><a href="#constructor.summary">Constr</a> | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li><a href="#constructor.detail">Constr</a> | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class HeaderInteger" class="title">Class HeaderInteger</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.HeaderInteger</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt>Direct Known Subclasses:</dt>
+<dd><a href="../../../../org/apache/juneau/http/Age.html" title="class in org.apache.juneau.http">Age</a>, <a href="../../../../org/apache/juneau/http/ContentLength.html" title="class in org.apache.juneau.http">ContentLength</a>, <a href="../../../../org/apache/juneau/http/MaxForwards.html" title="class in org.apache.juneau.http">MaxForwards</a></dd>
+</dl>
+<hr>
+<br>
+<pre>public class <a href="../../../../src-html/org/apache/juneau/http/HeaderInteger.html#line.23">HeaderInteger</a>
+extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
+<div class="block">Category of headers that consist of a single integer value.
+ <p>
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ Age: 300
+ </p></div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.summary">
+<!-- -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier</th>
+<th class="colLast" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>protected </code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/HeaderInteger.html#HeaderInteger-java.lang.String-">HeaderInteger</a></span>(<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> value)</code>
+<div class="block">Constructor.</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/HeaderInteger.html#asInt--">asInt</a></span>()</code>
+<div class="block">Returns this header as a simple string value.</div>
+</td>
+</tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code><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/http/HeaderInteger.html#toString--">toString</a></span>()</code> </td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.detail">
+<!-- -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="HeaderInteger-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>HeaderInteger</h4>
+<pre>protected <a href="../../../../src-html/org/apache/juneau/http/HeaderInteger.html#line.31">HeaderInteger</a>(<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> value)</pre>
+<div class="block">Constructor.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The raw header value.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="asInt--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>asInt</h4>
+<pre>public int <a href="../../../../src-html/org/apache/juneau/http/HeaderInteger.html#line.51">asInt</a>()</pre>
+<div class="block">Returns this header as a simple string value.
+ <p>
+ Functionally equivalent to calling <a href="../../../../org/apache/juneau/http/HeaderInteger.html#toString--"><code>toString()</code></a>.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>This header as a simple string.</dd>
+</dl>
+</li>
+</ul>
+<a name="toString--">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>toString</h4>
+<pre>public <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/http/HeaderInteger.html#line.56">toString</a>()</pre>
+<dl>
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code> in class <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/HeaderEnum.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/HeaderRangeArray.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/HeaderInteger.html" target="_top">Frames</a></li>
+<li><a href="HeaderInteger.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li><a href="#constructor.summary">Constr</a> | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li><a href="#constructor.detail">Constr</a> | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/HeaderRangeArray.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/HeaderRangeArray.html b/content/site/apidocs/org/apache/juneau/http/HeaderRangeArray.html
new file mode 100644
index 0000000..88117df
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/HeaderRangeArray.html
@@ -0,0 +1,337 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>HeaderRangeArray (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="HeaderRangeArray (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":10,"i1":10,"i2":10};
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/HeaderInteger.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/HeaderRangeArray.html" target="_top">Frames</a></li>
+<li><a href="HeaderRangeArray.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li><a href="#constructor.summary">Constr</a> | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li><a href="#constructor.detail">Constr</a> | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class HeaderRangeArray" class="title">Class HeaderRangeArray</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.HeaderRangeArray</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt>Direct Known Subclasses:</dt>
+<dd><a href="../../../../org/apache/juneau/http/AcceptCharset.html" title="class in org.apache.juneau.http">AcceptCharset</a>, <a href="../../../../org/apache/juneau/http/AcceptEncoding.html" title="class in org.apache.juneau.http">AcceptEncoding</a>, <a href="../../../../org/apache/juneau/http/AcceptLanguage.html" title="class in org.apache.juneau.http">AcceptLanguage</a>, <a href="../../../../org/apache/juneau/http/TE.html" title="class in org.apache.juneau.http">TE</a></dd>
+</dl>
+<hr>
+<br>
+<pre>public class <a href="../../../../src-html/org/apache/juneau/http/HeaderRangeArray.html#line.27">HeaderRangeArray</a>
+extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
+<div class="block">Category of headers that consist of simple comma-delimited lists of strings with q-values.
+ <p>
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ Accept-Encoding: compress;q=0.5, gzip;q=1.0
+ </p></div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.summary">
+<!-- -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier</th>
+<th class="colLast" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>protected </code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/HeaderRangeArray.html#HeaderRangeArray-java.lang.String-">HeaderRangeArray</a></span>(<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> value)</code>
+<div class="block">Constructor.</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../org/apache/juneau/http/StringRange.html" title="class in org.apache.juneau.http">StringRange</a>></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/HeaderRangeArray.html#asSimpleRanges--">asSimpleRanges</a></span>()</code>
+<div class="block">Returns the list of the types ranges that make up this header.</div>
+</td>
+</tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/HeaderRangeArray.html#findMatch-java.lang.String:A-">findMatch</a></span>(<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>[] types)</code>
+<div class="block">Given a list of type values, returns the best match for this header.</div>
+</td>
+</tr>
+<tr id="i2" class="altColor">
+<td class="colFirst"><code><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/http/HeaderRangeArray.html#toString--">toString</a></span>()</code> </td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.detail">
+<!-- -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="HeaderRangeArray-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>HeaderRangeArray</h4>
+<pre>protected <a href="../../../../src-html/org/apache/juneau/http/HeaderRangeArray.html#line.36">HeaderRangeArray</a>(<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> value)</pre>
+<div class="block">Constructor.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The raw header value.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="findMatch-java.lang.String:A-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>findMatch</h4>
+<pre>public int <a href="../../../../src-html/org/apache/juneau/http/HeaderRangeArray.html#line.47">findMatch</a>(<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>[] types)</pre>
+<div class="block">Given a list of type values, returns the best match for this header.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>types</code> - The types to match against.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The index into the array of the best match, or <code>-1</code> if no suitable matches could be found.</dd>
+</dl>
+</li>
+</ul>
+<a name="asSimpleRanges--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>asSimpleRanges</h4>
+<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../org/apache/juneau/http/StringRange.html" title="class in org.apache.juneau.http">StringRange</a>> <a href="../../../../src-html/org/apache/juneau/http/HeaderRangeArray.html#line.66">asSimpleRanges</a>()</pre>
+<div class="block">Returns the list of the types ranges that make up this header.
+ <p>
+ The types ranges in the list are sorted by their q-value in descending order.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>An unmodifiable list of type ranges.</dd>
+</dl>
+</li>
+</ul>
+<a name="toString--">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>toString</h4>
+<pre>public <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/http/HeaderRangeArray.html#line.71">toString</a>()</pre>
+<dl>
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code> in class <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/HeaderInteger.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/HeaderRangeArray.html" target="_top">Frames</a></li>
+<li><a href="HeaderRangeArray.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li><a href="#constructor.summary">Constr</a> | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li><a href="#constructor.detail">Constr</a> | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/HeaderString.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/HeaderString.html b/content/site/apidocs/org/apache/juneau/http/HeaderString.html
new file mode 100644
index 0000000..e708661
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/HeaderString.html
@@ -0,0 +1,359 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>HeaderString (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="HeaderString (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":10,"i1":10,"i2":10,"i3":10};
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/HeaderRangeArray.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/HeaderStringArray.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/HeaderString.html" target="_top">Frames</a></li>
+<li><a href="HeaderString.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li><a href="#constructor.summary">Constr</a> | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li><a href="#constructor.detail">Constr</a> | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class HeaderString" class="title">Class HeaderString</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.HeaderString</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt>Direct Known Subclasses:</dt>
+<dd><a href="../../../../org/apache/juneau/http/AcceptRanges.html" title="class in org.apache.juneau.http">AcceptRanges</a>, <a href="../../../../org/apache/juneau/http/Authorization.html" title="class in org.apache.juneau.http">Authorization</a>, <a href="../../../../org/apache/juneau/http/CacheControl.html" title="class in org.apache.juneau.http">CacheControl</a>, <a href="../../../../org/apache/juneau/http/Connection.html" title="class in org.apache.juneau.http">Connection</a>, <a href="../../../../org/apache/juneau/http/ContentRange.html" title="class in org.apache.juneau.http">ContentRange</a>, <a href="../../../../org/apache/juneau/http/ETag.html" title="class in org.apache.juneau.http">ETag</a>, <a href="../../../../org/apache/juneau/http/Expect.html" title="class in org.apache.juneau.http">Expect</a>, <a href="../../../../org/apache/juneau/http/From.html" title="class in org.apache.juneau.http">From</a>, <a href="../../../../org/apache/juneau/http/Host.html" title="class in
org.apache.juneau.http">Host</a>, <a href="../../../../org/apache/juneau/http/IfRange.html" title="class in org.apache.juneau.http">IfRange</a>, <a href="../../../../org/apache/juneau/http/Pragma.html" title="class in org.apache.juneau.http">Pragma</a>, <a href="../../../../org/apache/juneau/http/ProxyAuthenticate.html" title="class in org.apache.juneau.http">ProxyAuthenticate</a>, <a href="../../../../org/apache/juneau/http/ProxyAuthorization.html" title="class in org.apache.juneau.http">ProxyAuthorization</a>, <a href="../../../../org/apache/juneau/http/Range.html" title="class in org.apache.juneau.http">Range</a>, <a href="../../../../org/apache/juneau/http/RetryAfter.html" title="class in org.apache.juneau.http">RetryAfter</a>, <a href="../../../../org/apache/juneau/http/Server.html" title="class in org.apache.juneau.http">Server</a>, <a href="../../../../org/apache/juneau/http/Trailer.html" title="class in org.apache.juneau.http">Trailer</a>, <a href="../../../../org/apache/jun
eau/http/TransferEncoding.html" title="class in org.apache.juneau.http">TransferEncoding</a>, <a href="../../../../org/apache/juneau/http/UserAgent.html" title="class in org.apache.juneau.http">UserAgent</a>, <a href="../../../../org/apache/juneau/http/Vary.html" title="class in org.apache.juneau.http">Vary</a>, <a href="../../../../org/apache/juneau/http/Warning.html" title="class in org.apache.juneau.http">Warning</a>, <a href="../../../../org/apache/juneau/http/WwwAuthenticate.html" title="class in org.apache.juneau.http">WwwAuthenticate</a></dd>
+</dl>
+<hr>
+<br>
+<pre>public class <a href="../../../../src-html/org/apache/juneau/http/HeaderString.html#line.25">HeaderString</a>
+extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
+<div class="block">Category of headers that consist of a single string value.
+ <p>
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ Accept-Ranges: bytes
+ </p></div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.summary">
+<!-- -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier</th>
+<th class="colLast" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>protected </code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/HeaderString.html#HeaderString-java.lang.String-">HeaderString</a></span>(<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> value)</code>
+<div class="block">Constructor.</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code><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/http/HeaderString.html#asString--">asString</a></span>()</code>
+<div class="block">Returns this header as a simple string value.</div>
+</td>
+</tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/HeaderString.html#eq-java.lang.String-">eq</a></span>(<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> compare)</code>
+<div class="block">Returns <jk>true</jk> if the specified value is the same using <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang"><code>String.equals(Object)</code></a>.</div>
+</td>
+</tr>
+<tr id="i2" class="altColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/HeaderString.html#eqIC-java.lang.String-">eqIC</a></span>(<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> compare)</code>
+<div class="block">Returns <jk>true</jk> if the specified value is the same using <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true#equalsIgnoreCase-java.lang.String-" title="class or interface in java.lang"><code>String.equalsIgnoreCase(String)</code></a>.</div>
+</td>
+</tr>
+<tr id="i3" class="rowColor">
+<td class="colFirst"><code><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/http/HeaderString.html#toString--">toString</a></span>()</code> </td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.detail">
+<!-- -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="HeaderString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>HeaderString</h4>
+<pre>protected <a href="../../../../src-html/org/apache/juneau/http/HeaderString.html#line.33">HeaderString</a>(<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> value)</pre>
+<div class="block">Constructor.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The raw header value.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="eqIC-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>eqIC</h4>
+<pre>public boolean <a href="../../../../src-html/org/apache/juneau/http/HeaderString.html#line.43">eqIC</a>(<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> compare)</pre>
+<div class="block">Returns <jk>true</jk> if the specified value is the same using <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true#equalsIgnoreCase-java.lang.String-" title="class or interface in java.lang"><code>String.equalsIgnoreCase(String)</code></a>.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>compare</code> - The value to compare against.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd><jk>true</jk> if the specified value is the same.</dd>
+</dl>
+</li>
+</ul>
+<a name="eq-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>eq</h4>
+<pre>public boolean <a href="../../../../src-html/org/apache/juneau/http/HeaderString.html#line.53">eq</a>(<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> compare)</pre>
+<div class="block">Returns <jk>true</jk> if the specified value is the same using <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang"><code>String.equals(Object)</code></a>.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>compare</code> - The value to compare against.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd><jk>true</jk> if the specified value is the same.</dd>
+</dl>
+</li>
+</ul>
+<a name="asString--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>asString</h4>
+<pre>public <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/http/HeaderString.html#line.64">asString</a>()</pre>
+<div class="block">Returns this header as a simple string value.
+ <p>
+ Functionally equivalent to calling <a href="../../../../org/apache/juneau/http/HeaderString.html#toString--"><code>toString()</code></a>.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>This header as a simple string.</dd>
+</dl>
+</li>
+</ul>
+<a name="toString--">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>toString</h4>
+<pre>public <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/http/HeaderString.html#line.69">toString</a>()</pre>
+<dl>
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code> in class <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/HeaderRangeArray.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/HeaderStringArray.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/HeaderString.html" target="_top">Frames</a></li>
+<li><a href="HeaderString.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li><a href="#constructor.summary">Constr</a> | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li><a href="#constructor.detail">Constr</a> | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/HeaderStringArray.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/HeaderStringArray.html b/content/site/apidocs/org/apache/juneau/http/HeaderStringArray.html
new file mode 100644
index 0000000..f774ef7
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/HeaderStringArray.html
@@ -0,0 +1,359 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>HeaderStringArray (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="HeaderStringArray (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":10,"i1":10,"i2":10,"i3":10};
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/HeaderUri.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/HeaderStringArray.html" target="_top">Frames</a></li>
+<li><a href="HeaderStringArray.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li><a href="#constructor.summary">Constr</a> | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li><a href="#constructor.detail">Constr</a> | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class HeaderStringArray" class="title">Class HeaderStringArray</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.HeaderStringArray</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt>Direct Known Subclasses:</dt>
+<dd><a href="../../../../org/apache/juneau/http/Allow.html" title="class in org.apache.juneau.http">Allow</a>, <a href="../../../../org/apache/juneau/http/ContentLanguage.html" title="class in org.apache.juneau.http">ContentLanguage</a>, <a href="../../../../org/apache/juneau/http/Upgrade.html" title="class in org.apache.juneau.http">Upgrade</a>, <a href="../../../../org/apache/juneau/http/Via.html" title="class in org.apache.juneau.http">Via</a></dd>
+</dl>
+<hr>
+<br>
+<pre>public class <a href="../../../../src-html/org/apache/juneau/http/HeaderStringArray.html#line.25">HeaderStringArray</a>
+extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
+<div class="block">Category of headers that consist of a comma-delimited list of string values.
+ <p>
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ Allow: GET, PUT
+ </p></div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.summary">
+<!-- -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier</th>
+<th class="colLast" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>protected </code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/HeaderStringArray.html#HeaderStringArray-java.lang.String-">HeaderStringArray</a></span>(<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> value)</code>
+<div class="block">Constructor.</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code><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/http/HeaderStringArray.html#asString--">asString</a></span>()</code>
+<div class="block">Returns this header as a simple string value.</div>
+</td>
+</tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/HeaderStringArray.html#contains-java.lang.String-">contains</a></span>(<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> val)</code>
+<div class="block">Returns <jk>true</jk> if this header contains the specified value.</div>
+</td>
+</tr>
+<tr id="i2" class="altColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/HeaderStringArray.html#containsIC-java.lang.String-">containsIC</a></span>(<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> val)</code>
+<div class="block">Returns <jk>true</jk> if this header contains the specified value using <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true#equalsIgnoreCase-java.lang.String-" title="class or interface in java.lang"><code>String.equalsIgnoreCase(String)</code></a>.</div>
+</td>
+</tr>
+<tr id="i3" class="rowColor">
+<td class="colFirst"><code><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/http/HeaderStringArray.html#toString--">toString</a></span>()</code> </td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.detail">
+<!-- -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="HeaderStringArray-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>HeaderStringArray</h4>
+<pre>protected <a href="../../../../src-html/org/apache/juneau/http/HeaderStringArray.html#line.33">HeaderStringArray</a>(<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> value)</pre>
+<div class="block">Constructor.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The raw header value.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="asString--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>asString</h4>
+<pre>public <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/http/HeaderStringArray.html#line.44">asString</a>()</pre>
+<div class="block">Returns this header as a simple string value.
+ <p>
+ Functionally equivalent to calling <a href="../../../../org/apache/juneau/http/HeaderStringArray.html#toString--"><code>toString()</code></a>.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>This header as a simple string.</dd>
+</dl>
+</li>
+</ul>
+<a name="contains-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>contains</h4>
+<pre>public boolean <a href="../../../../src-html/org/apache/juneau/http/HeaderStringArray.html#line.54">contains</a>(<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> val)</pre>
+<div class="block">Returns <jk>true</jk> if this header contains the specified value.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>val</code> - The value to check for.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd><jk>true</jk> if this header contains the specified value.</dd>
+</dl>
+</li>
+</ul>
+<a name="containsIC-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>containsIC</h4>
+<pre>public boolean <a href="../../../../src-html/org/apache/juneau/http/HeaderStringArray.html#line.68">containsIC</a>(<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> val)</pre>
+<div class="block">Returns <jk>true</jk> if this header contains the specified value using <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true#equalsIgnoreCase-java.lang.String-" title="class or interface in java.lang"><code>String.equalsIgnoreCase(String)</code></a>.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>val</code> - The value to check for.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd><jk>true</jk> if this header contains the specified value.</dd>
+</dl>
+</li>
+</ul>
+<a name="toString--">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>toString</h4>
+<pre>public <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/http/HeaderStringArray.html#line.77">toString</a>()</pre>
+<dl>
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code> in class <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/HeaderUri.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/HeaderStringArray.html" target="_top">Frames</a></li>
+<li><a href="HeaderStringArray.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li><a href="#constructor.summary">Constr</a> | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li><a href="#constructor.detail">Constr</a> | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
[03/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/rest/annotation/FormData.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/rest/annotation/FormData.html b/content/site/apidocs/src-html/org/apache/juneau/rest/annotation/FormData.html
index 6f4aad9..595f492 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/rest/annotation/FormData.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/rest/annotation/FormData.html
@@ -54,7 +54,7 @@
<span class="sourceLineNo">046</span> *<a name="line.46"></a>
<span class="sourceLineNo">047</span> * <h6 class='topic'>Important note concerning FORM posts</h6><a name="line.47"></a>
<span class="sourceLineNo">048</span> * <p><a name="line.48"></a>
-<span class="sourceLineNo">049</span> * This annotation should not be combined with the {@link Body @Body} annotation or {@link RestRequest#getBody(Class)} method<a name="line.49"></a>
+<span class="sourceLineNo">049</span> * This annotation should not be combined with the {@link Body @Body} annotation or {@link RestRequest#getBody()} method<a name="line.49"></a>
<span class="sourceLineNo">050</span> * for <code>application/x-www-form-urlencoded POST</code> posts, since it will trigger the underlying servlet<a name="line.50"></a>
<span class="sourceLineNo">051</span> * API to parse the body content as key-value pairs resulting in empty content.<a name="line.51"></a>
<span class="sourceLineNo">052</span> * <p><a name="line.52"></a>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/rest/annotation/HasFormData.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/rest/annotation/HasFormData.html b/content/site/apidocs/src-html/org/apache/juneau/rest/annotation/HasFormData.html
index b8ed71e..f12864b 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/rest/annotation/HasFormData.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/rest/annotation/HasFormData.html
@@ -82,7 +82,7 @@
<span class="sourceLineNo">074</span> *<a name="line.74"></a>
<span class="sourceLineNo">075</span> * <h6 class='topic'>Important note concerning FORM posts</h6><a name="line.75"></a>
<span class="sourceLineNo">076</span> * <p><a name="line.76"></a>
-<span class="sourceLineNo">077</span> * This annotation should not be combined with the {@link Body @Body} annotation or {@link RestRequest#getBody(Class)} method<a name="line.77"></a>
+<span class="sourceLineNo">077</span> * This annotation should not be combined with the {@link Body @Body} annotation or {@link RestRequest#getBody()} method<a name="line.77"></a>
<span class="sourceLineNo">078</span> * for <code>application/x-www-form-urlencoded POST</code> posts, since it will trigger the underlying servlet API to parse the body<a name="line.78"></a>
<span class="sourceLineNo">079</span> * content as key-value pairs, resulting in empty content.<a name="line.79"></a>
<span class="sourceLineNo">080</span> * <p><a name="line.80"></a>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/rest/annotation/HasQuery.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/rest/annotation/HasQuery.html b/content/site/apidocs/src-html/org/apache/juneau/rest/annotation/HasQuery.html
index 08c24c9..2a00ac2 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/rest/annotation/HasQuery.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/rest/annotation/HasQuery.html
@@ -34,7 +34,7 @@
<span class="sourceLineNo">026</span> * Unlike {@link HasFormData @HasFormData}, using this annotation does not result in the servlet reading the contents<a name="line.26"></a>
<span class="sourceLineNo">027</span> * of URL-encoded form posts.<a name="line.27"></a>
<span class="sourceLineNo">028</span> * Therefore, this annotation can be used in conjunction with the {@link Body @Body} annotation<a name="line.28"></a>
-<span class="sourceLineNo">029</span> * or {@link RestRequest#getBody(Class)} method for <code>application/x-www-form-urlencoded POST</code> calls.<a name="line.29"></a>
+<span class="sourceLineNo">029</span> * or {@link RestRequest#getBody()} method for <code>application/x-www-form-urlencoded POST</code> calls.<a name="line.29"></a>
<span class="sourceLineNo">030</span> *<a name="line.30"></a>
<span class="sourceLineNo">031</span> * <h5 class='section'>Example:</h5><a name="line.31"></a>
<span class="sourceLineNo">032</span> * <p class='bcode'><a name="line.32"></a>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/rest/annotation/Query.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/rest/annotation/Query.html b/content/site/apidocs/src-html/org/apache/juneau/rest/annotation/Query.html
index d42301d..6e9c3e1 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/rest/annotation/Query.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/rest/annotation/Query.html
@@ -34,7 +34,7 @@
<span class="sourceLineNo">026</span> * Unlike {@link FormData @FormData}, using this annotation does not result in the servlet reading the contents<a name="line.26"></a>
<span class="sourceLineNo">027</span> * of URL-encoded form posts.<a name="line.27"></a>
<span class="sourceLineNo">028</span> * Therefore, this annotation can be used in conjunction with the {@link Body @Body} annotation<a name="line.28"></a>
-<span class="sourceLineNo">029</span> * or {@link RestRequest#getBody(Class)} method for <code>application/x-www-form-urlencoded POST</code> calls.<a name="line.29"></a>
+<span class="sourceLineNo">029</span> * or {@link RestRequest#getBody()} method for <code>application/x-www-form-urlencoded POST</code> calls.<a name="line.29"></a>
<span class="sourceLineNo">030</span> *<a name="line.30"></a>
<span class="sourceLineNo">031</span> * <h5 class='section'>Example:</h5><a name="line.31"></a>
<span class="sourceLineNo">032</span> * <p class='bcode'><a name="line.32"></a>
[04/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/rest/RestRequest.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/rest/RestRequest.html b/content/site/apidocs/src-html/org/apache/juneau/rest/RestRequest.html
index 16b04fe..1c3df04 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/rest/RestRequest.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/rest/RestRequest.html
@@ -39,2064 +39,1129 @@
<span class="sourceLineNo">031</span>import org.apache.juneau.*;<a name="line.31"></a>
<span class="sourceLineNo">032</span>import org.apache.juneau.dto.swagger.*;<a name="line.32"></a>
<span class="sourceLineNo">033</span>import org.apache.juneau.encoders.*;<a name="line.33"></a>
-<span class="sourceLineNo">034</span>import org.apache.juneau.encoders.Encoder;<a name="line.34"></a>
-<span class="sourceLineNo">035</span>import org.apache.juneau.http.*;<a name="line.35"></a>
-<span class="sourceLineNo">036</span>import org.apache.juneau.ini.*;<a name="line.36"></a>
-<span class="sourceLineNo">037</span>import org.apache.juneau.internal.*;<a name="line.37"></a>
-<span class="sourceLineNo">038</span>import org.apache.juneau.parser.*;<a name="line.38"></a>
-<span class="sourceLineNo">039</span>import org.apache.juneau.parser.ParseException;<a name="line.39"></a>
-<span class="sourceLineNo">040</span>import org.apache.juneau.serializer.*;<a name="line.40"></a>
-<span class="sourceLineNo">041</span>import org.apache.juneau.svl.*;<a name="line.41"></a>
-<span class="sourceLineNo">042</span>import org.apache.juneau.uon.*;<a name="line.42"></a>
-<span class="sourceLineNo">043</span>import org.apache.juneau.urlencoding.*;<a name="line.43"></a>
-<span class="sourceLineNo">044</span>import org.apache.juneau.utils.*;<a name="line.44"></a>
-<span class="sourceLineNo">045</span><a name="line.45"></a>
-<span class="sourceLineNo">046</span>/**<a name="line.46"></a>
-<span class="sourceLineNo">047</span> * Represents an HTTP request for a REST resource.<a name="line.47"></a>
+<span class="sourceLineNo">034</span>import org.apache.juneau.http.*;<a name="line.34"></a>
+<span class="sourceLineNo">035</span>import org.apache.juneau.ini.*;<a name="line.35"></a>
+<span class="sourceLineNo">036</span>import org.apache.juneau.internal.*;<a name="line.36"></a>
+<span class="sourceLineNo">037</span>import org.apache.juneau.parser.*;<a name="line.37"></a>
+<span class="sourceLineNo">038</span>import org.apache.juneau.serializer.*;<a name="line.38"></a>
+<span class="sourceLineNo">039</span>import org.apache.juneau.svl.*;<a name="line.39"></a>
+<span class="sourceLineNo">040</span>import org.apache.juneau.uon.*;<a name="line.40"></a>
+<span class="sourceLineNo">041</span>import org.apache.juneau.urlencoding.*;<a name="line.41"></a>
+<span class="sourceLineNo">042</span>import org.apache.juneau.utils.*;<a name="line.42"></a>
+<span class="sourceLineNo">043</span><a name="line.43"></a>
+<span class="sourceLineNo">044</span>/**<a name="line.44"></a>
+<span class="sourceLineNo">045</span> * Represents an HTTP request for a REST resource.<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * <p><a name="line.46"></a>
+<span class="sourceLineNo">047</span> * Equivalent to {@link HttpServletRequest} except with some additional convenience methods.<a name="line.47"></a>
<span class="sourceLineNo">048</span> * <p><a name="line.48"></a>
-<span class="sourceLineNo">049</span> * Equivalent to {@link HttpServletRequest} except with some additional convenience methods.<a name="line.49"></a>
-<span class="sourceLineNo">050</span> * <p><a name="line.50"></a>
-<span class="sourceLineNo">051</span> * For reference, given the URL <js>"http://localhost:9080/contextRoot/servletPath/foo?bar=baz#qux"</js>, the<a name="line.51"></a>
-<span class="sourceLineNo">052</span> * following methods return the following values....<a name="line.52"></a>
-<span class="sourceLineNo">053</span> * <table class='styled'><a name="line.53"></a>
-<span class="sourceLineNo">054</span> * <tr><th>Method</th><th>Value</th></tr><a name="line.54"></a>
-<span class="sourceLineNo">055</span> * <tr><td>{@code getContextPath()}</td><td>{@code /contextRoot}</td></tr><a name="line.55"></a>
-<span class="sourceLineNo">056</span> * <tr><td>{@code getPathInfo()}</td><td>{@code /foo}</td></tr><a name="line.56"></a>
-<span class="sourceLineNo">057</span> * <tr><td>{@code getPathTranslated()}</td><td>{@code path-to-deployed-war-on-filesystem/foo}</td></tr><a name="line.57"></a>
-<span class="sourceLineNo">058</span> * <tr><td>{@code getQueryString()}</td><td>{@code bar=baz}</td></tr><a name="line.58"></a>
-<span class="sourceLineNo">059</span> * <tr><td>{@code getRequestURI()}</td><td>{@code /contextRoot/servletPath/foo}</td></tr><a name="line.59"></a>
-<span class="sourceLineNo">060</span> * <tr><td>{@code getRequestURL()}</td><td>{@code http://localhost:9080/contextRoot/servletPath/foo}</td></tr><a name="line.60"></a>
-<span class="sourceLineNo">061</span> * <tr><td>{@code getServletPath()}</td><td>{@code /servletPath}</td></tr><a name="line.61"></a>
-<span class="sourceLineNo">062</span> * </table><a name="line.62"></a>
-<span class="sourceLineNo">063</span> * <p><a name="line.63"></a>
-<span class="sourceLineNo">064</span> * Refer to <a class="doclink" href="package-summary.html#TOC">REST Servlet API</a> for information about using this class.<a name="line.64"></a>
-<span class="sourceLineNo">065</span> */<a name="line.65"></a>
-<span class="sourceLineNo">066</span>@SuppressWarnings("unchecked")<a name="line.66"></a>
-<span class="sourceLineNo">067</span>public final class RestRequest extends HttpServletRequestWrapper {<a name="line.67"></a>
+<span class="sourceLineNo">049</span> * For reference, given the URL <js>"http://localhost:9080/contextRoot/servletPath/foo?bar=baz#qux"</js>, the<a name="line.49"></a>
+<span class="sourceLineNo">050</span> * following methods return the following values....<a name="line.50"></a>
+<span class="sourceLineNo">051</span> * <table class='styled'><a name="line.51"></a>
+<span class="sourceLineNo">052</span> * <tr><th>Method</th><th>Value</th></tr><a name="line.52"></a>
+<span class="sourceLineNo">053</span> * <tr><td>{@code getContextPath()}</td><td>{@code /contextRoot}</td></tr><a name="line.53"></a>
+<span class="sourceLineNo">054</span> * <tr><td>{@code getPathInfo()}</td><td>{@code /foo}</td></tr><a name="line.54"></a>
+<span class="sourceLineNo">055</span> * <tr><td>{@code getPathTranslated()}</td><td>{@code path-to-deployed-war-on-filesystem/foo}</td></tr><a name="line.55"></a>
+<span class="sourceLineNo">056</span> * <tr><td>{@code getQueryString()}</td><td>{@code bar=baz}</td></tr><a name="line.56"></a>
+<span class="sourceLineNo">057</span> * <tr><td>{@code getRequestURI()}</td><td>{@code /contextRoot/servletPath/foo}</td></tr><a name="line.57"></a>
+<span class="sourceLineNo">058</span> * <tr><td>{@code getRequestURL()}</td><td>{@code http://localhost:9080/contextRoot/servletPath/foo}</td></tr><a name="line.58"></a>
+<span class="sourceLineNo">059</span> * <tr><td>{@code getServletPath()}</td><td>{@code /servletPath}</td></tr><a name="line.59"></a>
+<span class="sourceLineNo">060</span> * </table><a name="line.60"></a>
+<span class="sourceLineNo">061</span> * <p><a name="line.61"></a>
+<span class="sourceLineNo">062</span> * Refer to <a class="doclink" href="package-summary.html#TOC">REST Servlet API</a> for information about using this class.<a name="line.62"></a>
+<span class="sourceLineNo">063</span> */<a name="line.63"></a>
+<span class="sourceLineNo">064</span>@SuppressWarnings("unchecked")<a name="line.64"></a>
+<span class="sourceLineNo">065</span>public final class RestRequest extends HttpServletRequestWrapper {<a name="line.65"></a>
+<span class="sourceLineNo">066</span><a name="line.66"></a>
+<span class="sourceLineNo">067</span> private final RestContext context;<a name="line.67"></a>
<span class="sourceLineNo">068</span><a name="line.68"></a>
-<span class="sourceLineNo">069</span> private final RestContext context;<a name="line.69"></a>
-<span class="sourceLineNo">070</span><a name="line.70"></a>
-<span class="sourceLineNo">071</span> private final String method;<a name="line.71"></a>
-<span class="sourceLineNo">072</span> private String pathRemainder;<a name="line.72"></a>
-<span class="sourceLineNo">073</span> private byte[] body;<a name="line.73"></a>
-<span class="sourceLineNo">074</span> private Method javaMethod;<a name="line.74"></a>
-<span class="sourceLineNo">075</span> private ObjectMap properties;<a name="line.75"></a>
-<span class="sourceLineNo">076</span> private SerializerGroup serializerGroup;<a name="line.76"></a>
-<span class="sourceLineNo">077</span> private ParserGroup parserGroup;<a name="line.77"></a>
-<span class="sourceLineNo">078</span> private EncoderGroup encoders;<a name="line.78"></a>
-<span class="sourceLineNo">079</span> private Encoder encoder;<a name="line.79"></a>
-<span class="sourceLineNo">080</span> private int contentLength;<a name="line.80"></a>
-<span class="sourceLineNo">081</span> private final boolean debug;<a name="line.81"></a>
-<span class="sourceLineNo">082</span> private UrlEncodingParser urlEncodingParser; // The parser used to parse URL attributes and parameters (beanContext also used to parse headers)<a name="line.82"></a>
-<span class="sourceLineNo">083</span> private BeanSession beanSession;<a name="line.83"></a>
-<span class="sourceLineNo">084</span> private VarResolverSession varSession;<a name="line.84"></a>
-<span class="sourceLineNo">085</span> private final Map<String,String[]> queryParams;<a name="line.85"></a>
-<span class="sourceLineNo">086</span> private Map<String,String> formData;<a name="line.86"></a>
-<span class="sourceLineNo">087</span> private final Map<String,String> defaultServletHeaders;<a name="line.87"></a>
-<span class="sourceLineNo">088</span> private Map<String,String> defaultMethodHeaders, overriddenHeaders, overriddenQueryParams, overriddenFormDataParams, pathParameters;<a name="line.88"></a>
-<span class="sourceLineNo">089</span> private boolean isPost;<a name="line.89"></a>
-<span class="sourceLineNo">090</span> private String servletURI, relativeServletURI;<a name="line.90"></a>
-<span class="sourceLineNo">091</span> private String charset, defaultCharset;<a name="line.91"></a>
-<span class="sourceLineNo">092</span> private ObjectMap headers;<a name="line.92"></a>
-<span class="sourceLineNo">093</span> private ConfigFile cf;<a name="line.93"></a>
-<span class="sourceLineNo">094</span> private Swagger swagger, fileSwagger;<a name="line.94"></a>
-<span class="sourceLineNo">095</span> private String pageTitle, pageText, pageLinks;<a name="line.95"></a>
-<span class="sourceLineNo">096</span><a name="line.96"></a>
-<span class="sourceLineNo">097</span> /**<a name="line.97"></a>
-<span class="sourceLineNo">098</span> * Constructor.<a name="line.98"></a>
-<span class="sourceLineNo">099</span> */<a name="line.99"></a>
-<span class="sourceLineNo">100</span> RestRequest(RestContext context, HttpServletRequest req) throws ServletException {<a name="line.100"></a>
-<span class="sourceLineNo">101</span> super(req);<a name="line.101"></a>
-<span class="sourceLineNo">102</span> this.context = context;<a name="line.102"></a>
-<span class="sourceLineNo">103</span><a name="line.103"></a>
-<span class="sourceLineNo">104</span> try {<a name="line.104"></a>
-<span class="sourceLineNo">105</span> isPost = req.getMethod().equalsIgnoreCase("POST");<a name="line.105"></a>
-<span class="sourceLineNo">106</span><a name="line.106"></a>
-<span class="sourceLineNo">107</span> // If this is a POST, we want to parse the query parameters ourselves to prevent<a name="line.107"></a>
-<span class="sourceLineNo">108</span> // the servlet code from processing the HTTP body as URL-Encoded parameters.<a name="line.108"></a>
-<span class="sourceLineNo">109</span> if (isPost)<a name="line.109"></a>
-<span class="sourceLineNo">110</span> queryParams = context.getUrlEncodingParser().parseIntoSimpleMap(getQueryString());<a name="line.110"></a>
-<span class="sourceLineNo">111</span> else {<a name="line.111"></a>
-<span class="sourceLineNo">112</span> queryParams = req.getParameterMap();<a name="line.112"></a>
-<span class="sourceLineNo">113</span> }<a name="line.113"></a>
-<span class="sourceLineNo">114</span><a name="line.114"></a>
-<span class="sourceLineNo">115</span> // Get the HTTP method.<a name="line.115"></a>
-<span class="sourceLineNo">116</span> // Can be overridden through a "method" GET attribute.<a name="line.116"></a>
-<span class="sourceLineNo">117</span> String _method = super.getMethod();<a name="line.117"></a>
-<span class="sourceLineNo">118</span><a name="line.118"></a>
-<span class="sourceLineNo">119</span> String m = getQueryParameter("method");<a name="line.119"></a>
-<span class="sourceLineNo">120</span> if (context.allowMethodParam(m))<a name="line.120"></a>
-<span class="sourceLineNo">121</span> _method = m;<a name="line.121"></a>
-<span class="sourceLineNo">122</span><a name="line.122"></a>
-<span class="sourceLineNo">123</span> method = _method;<a name="line.123"></a>
-<span class="sourceLineNo">124</span><a name="line.124"></a>
-<span class="sourceLineNo">125</span> if (context.isAllowBodyParam()) {<a name="line.125"></a>
-<span class="sourceLineNo">126</span> String b = getQueryParameter("body");<a name="line.126"></a>
-<span class="sourceLineNo">127</span> if (b != null) {<a name="line.127"></a>
-<span class="sourceLineNo">128</span> setHeader("Content-Type", UonSerializer.DEFAULT.getResponseContentType());<a name="line.128"></a>
-<span class="sourceLineNo">129</span> this.body = b.getBytes(IOUtils.UTF8);<a name="line.129"></a>
-<span class="sourceLineNo">130</span> }<a name="line.130"></a>
-<span class="sourceLineNo">131</span> }<a name="line.131"></a>
-<span class="sourceLineNo">132</span><a name="line.132"></a>
-<span class="sourceLineNo">133</span> defaultServletHeaders = context.getDefaultRequestHeaders();<a name="line.133"></a>
-<span class="sourceLineNo">134</span><a name="line.134"></a>
-<span class="sourceLineNo">135</span> debug = "true".equals(getQueryParameter("debug", "false")) || "true".equals(getHeader("Debug", "false"));<a name="line.135"></a>
-<span class="sourceLineNo">136</span><a name="line.136"></a>
-<span class="sourceLineNo">137</span> } catch (RestException e) {<a name="line.137"></a>
-<span class="sourceLineNo">138</span> throw e;<a name="line.138"></a>
-<span class="sourceLineNo">139</span> } catch (Exception e) {<a name="line.139"></a>
-<span class="sourceLineNo">140</span> throw new ServletException(e);<a name="line.140"></a>
-<span class="sourceLineNo">141</span> }<a name="line.141"></a>
-<span class="sourceLineNo">142</span> }<a name="line.142"></a>
-<span class="sourceLineNo">143</span><a name="line.143"></a>
-<span class="sourceLineNo">144</span> /*<a name="line.144"></a>
-<span class="sourceLineNo">145</span> * Called from RestServlet after a match has been made but before the guard or method invocation.<a name="line.145"></a>
-<span class="sourceLineNo">146</span> */<a name="line.146"></a>
-<span class="sourceLineNo">147</span> @SuppressWarnings("hiding")<a name="line.147"></a>
-<span class="sourceLineNo">148</span> final void init(Method javaMethod, String pathRemainder, ObjectMap properties, Map<String,String> mDefaultRequestHeaders, String defaultCharset, SerializerGroup mSerializers, ParserGroup mParsers, UrlEncodingParser mUrlEncodingParser, EncoderGroup encoders, String pageTitle, String pageText, String pageLinks) {<a name="line.148"></a>
-<span class="sourceLineNo">149</span> this.javaMethod = javaMethod;<a name="line.149"></a>
-<span class="sourceLineNo">150</span> this.pathRemainder = pathRemainder;<a name="line.150"></a>
-<span class="sourceLineNo">151</span> this.properties = properties;<a name="line.151"></a>
-<span class="sourceLineNo">152</span> this.defaultMethodHeaders = mDefaultRequestHeaders;<a name="line.152"></a>
-<span class="sourceLineNo">153</span> this.serializerGroup = mSerializers;<a name="line.153"></a>
-<span class="sourceLineNo">154</span> this.parserGroup = mParsers;<a name="line.154"></a>
-<span class="sourceLineNo">155</span> this.urlEncodingParser = mUrlEncodingParser;<a name="line.155"></a>
-<span class="sourceLineNo">156</span> this.beanSession = urlEncodingParser.getBeanContext().createSession();<a name="line.156"></a>
-<span class="sourceLineNo">157</span> this.defaultCharset = defaultCharset;<a name="line.157"></a>
-<span class="sourceLineNo">158</span> this.encoders = encoders;<a name="line.158"></a>
-<span class="sourceLineNo">159</span> this.pageTitle = pageTitle;<a name="line.159"></a>
-<span class="sourceLineNo">160</span> this.pageText = pageText;<a name="line.160"></a>
-<span class="sourceLineNo">161</span> this.pageLinks = pageLinks;<a name="line.161"></a>
-<span class="sourceLineNo">162</span><a name="line.162"></a>
-<span class="sourceLineNo">163</span> if (debug) {<a name="line.163"></a>
-<span class="sourceLineNo">164</span> String msg = ""<a name="line.164"></a>
-<span class="sourceLineNo">165</span> + "\n=== HTTP Request (incoming) ===================================================="<a name="line.165"></a>
-<span class="sourceLineNo">166</span> + toString()<a name="line.166"></a>
-<span class="sourceLineNo">167</span> + "\n=== END ========================================================================";<a name="line.167"></a>
-<span class="sourceLineNo">168</span> context.getLogger().log(Level.WARNING, msg);<a name="line.168"></a>
-<span class="sourceLineNo">169</span> }<a name="line.169"></a>
-<span class="sourceLineNo">170</span> }<a name="line.170"></a>
-<span class="sourceLineNo">171</span><a name="line.171"></a>
-<span class="sourceLineNo">172</span> /**<a name="line.172"></a>
-<span class="sourceLineNo">173</span> * Returns a string of the form <js>"HTTP method-name full-url"</js><a name="line.173"></a>
-<span class="sourceLineNo">174</span> *<a name="line.174"></a>
-<span class="sourceLineNo">175</span> * @return A description of the request.<a name="line.175"></a>
-<span class="sourceLineNo">176</span> */<a name="line.176"></a>
-<span class="sourceLineNo">177</span> public String getDescription() {<a name="line.177"></a>
-<span class="sourceLineNo">178</span> String qs = getQueryString();<a name="line.178"></a>
-<span class="sourceLineNo">179</span> return "HTTP " + getMethod() + " " + getRequestURI() + (qs == null ? "" : "?" + qs);<a name="line.179"></a>
-<span class="sourceLineNo">180</span> }<a name="line.180"></a>
-<span class="sourceLineNo">181</span><a name="line.181"></a>
-<span class="sourceLineNo">182</span><a name="line.182"></a>
-<span class="sourceLineNo">183</span> //--------------------------------------------------------------------------------<a name="line.183"></a>
-<span class="sourceLineNo">184</span> // Properties<a name="line.184"></a>
-<span class="sourceLineNo">185</span> //--------------------------------------------------------------------------------<a name="line.185"></a>
-<span class="sourceLineNo">186</span><a name="line.186"></a>
-<span class="sourceLineNo">187</span> /**<a name="line.187"></a>
-<span class="sourceLineNo">188</span> * Servlet calls this method to initialize the properties.<a name="line.188"></a>
-<span class="sourceLineNo">189</span> */<a name="line.189"></a>
-<span class="sourceLineNo">190</span> RestRequest setProperties(ObjectMap properties) {<a name="line.190"></a>
-<span class="sourceLineNo">191</span> this.properties = properties;<a name="line.191"></a>
-<span class="sourceLineNo">192</span> return this;<a name="line.192"></a>
-<span class="sourceLineNo">193</span> }<a name="line.193"></a>
-<span class="sourceLineNo">194</span><a name="line.194"></a>
-<span class="sourceLineNo">195</span> /**<a name="line.195"></a>
-<span class="sourceLineNo">196</span> * Retrieve the properties active for this request.<a name="line.196"></a>
-<span class="sourceLineNo">197</span> * <p><a name="line.197"></a>
-<span class="sourceLineNo">198</span> * These properties can be modified by the request.<a name="line.198"></a>
-<span class="sourceLineNo">199</span> *<a name="line.199"></a>
-<span class="sourceLineNo">200</span> * @return The properties active for this request.<a name="line.200"></a>
-<span class="sourceLineNo">201</span> */<a name="line.201"></a>
-<span class="sourceLineNo">202</span> public ObjectMap getProperties() {<a name="line.202"></a>
-<span class="sourceLineNo">203</span> return this.properties;<a name="line.203"></a>
-<span class="sourceLineNo">204</span> }<a name="line.204"></a>
-<span class="sourceLineNo">205</span><a name="line.205"></a>
-<span class="sourceLineNo">206</span><a name="line.206"></a>
-<span class="sourceLineNo">207</span> //--------------------------------------------------------------------------------<a name="line.207"></a>
-<span class="sourceLineNo">208</span> // Headers<a name="line.208"></a>
-<span class="sourceLineNo">209</span> //--------------------------------------------------------------------------------<a name="line.209"></a>
-<span class="sourceLineNo">210</span><a name="line.210"></a>
-<span class="sourceLineNo">211</span> /**<a name="line.211"></a>
-<span class="sourceLineNo">212</span> * Sets a request header value.<a name="line.212"></a>
-<span class="sourceLineNo">213</span> *<a name="line.213"></a>
-<span class="sourceLineNo">214</span> * @param name The header name.<a name="line.214"></a>
-<span class="sourceLineNo">215</span> * @param value The header value.<a name="line.215"></a>
-<span class="sourceLineNo">216</span> */<a name="line.216"></a>
-<span class="sourceLineNo">217</span> public void setHeader(String name, Object value) {<a name="line.217"></a>
-<span class="sourceLineNo">218</span> if (overriddenHeaders == null)<a name="line.218"></a>
-<span class="sourceLineNo">219</span> overriddenHeaders = new TreeMap<String,String>(String.CASE_INSENSITIVE_ORDER);<a name="line.219"></a>
-<span class="sourceLineNo">220</span> overriddenHeaders.put(name, StringUtils.toString(value));<a name="line.220"></a>
-<span class="sourceLineNo">221</span> }<a name="line.221"></a>
-<span class="sourceLineNo">222</span><a name="line.222"></a>
-<span class="sourceLineNo">223</span><a name="line.223"></a>
-<span class="sourceLineNo">224</span> /**<a name="line.224"></a>
-<span class="sourceLineNo">225</span> * Returns the specified header value, or <jk>null</jk> if the header doesn't exist.<a name="line.225"></a>
-<span class="sourceLineNo">226</span> * <p><a name="line.226"></a>
-<span class="sourceLineNo">227</span> * If {@code allowHeaderParams} init parameter is <jk>true</jk>, then first looks for {@code &HeaderName=x} in the URL query string.<a name="line.227"></a>
-<span class="sourceLineNo">228</span> */<a name="line.228"></a>
-<span class="sourceLineNo">229</span> @Override /* ServletRequest */<a name="line.229"></a>
-<span class="sourceLineNo">230</span> public String getHeader(String name) {<a name="line.230"></a>
-<span class="sourceLineNo">231</span> return getHeader(name, (String)null);<a name="line.231"></a>
-<span class="sourceLineNo">232</span> }<a name="line.232"></a>
-<span class="sourceLineNo">233</span><a name="line.233"></a>
-<span class="sourceLineNo">234</span> /**<a name="line.234"></a>
-<span class="sourceLineNo">235</span> * Returns the specified header value, or a default value if the header doesn't exist.<a name="line.235"></a>
-<span class="sourceLineNo">236</span> * <p><a name="line.236"></a>
-<span class="sourceLineNo">237</span> * If {@code allowHeaderParams} init parameter is <jk>true</jk>, then first looks for {@code &HeaderName=x} in the URL query string.<a name="line.237"></a>
-<span class="sourceLineNo">238</span> *<a name="line.238"></a>
-<span class="sourceLineNo">239</span> * @param name The HTTP header name.<a name="line.239"></a>
-<span class="sourceLineNo">240</span> * @param def The default value to return if the header value isn't found.<a name="line.240"></a>
-<span class="sourceLineNo">241</span> * @return The header value, or the default value if the header isn't present.<a name="line.241"></a>
-<span class="sourceLineNo">242</span> */<a name="line.242"></a>
-<span class="sourceLineNo">243</span> public String getHeader(String name, String def) {<a name="line.243"></a>
-<span class="sourceLineNo">244</span> String h = getOverriddenHeader(name);<a name="line.244"></a>
-<span class="sourceLineNo">245</span> if (h != null)<a name="line.245"></a>
-<span class="sourceLineNo">246</span> return h;<a name="line.246"></a>
-<span class="sourceLineNo">247</span> h = super.getHeader(name);<a name="line.247"></a>
-<span class="sourceLineNo">248</span> if (h != null && ! h.isEmpty())<a name="line.248"></a>
-<span class="sourceLineNo">249</span> return h;<a name="line.249"></a>
-<span class="sourceLineNo">250</span> if (defaultMethodHeaders != null) {<a name="line.250"></a>
-<span class="sourceLineNo">251</span> h = defaultMethodHeaders.get(name);<a name="line.251"></a>
-<span class="sourceLineNo">252</span> if (h != null)<a name="line.252"></a>
-<span class="sourceLineNo">253</span> return h;<a name="line.253"></a>
-<span class="sourceLineNo">254</span> }<a name="line.254"></a>
-<span class="sourceLineNo">255</span> h = defaultServletHeaders.get(name);<a name="line.255"></a>
-<span class="sourceLineNo">256</span> if (h != null)<a name="line.256"></a>
-<span class="sourceLineNo">257</span> return h;<a name="line.257"></a>
-<span class="sourceLineNo">258</span> return def;<a name="line.258"></a>
-<span class="sourceLineNo">259</span> }<a name="line.259"></a>
-<span class="sourceLineNo">260</span><a name="line.260"></a>
-<span class="sourceLineNo">261</span> /**<a name="line.261"></a>
-<span class="sourceLineNo">262</span> * Returns the specified header value converted to a POJO.<a name="line.262"></a>
-<span class="sourceLineNo">263</span> * <p><a name="line.263"></a>
-<span class="sourceLineNo">264</span> * The type can be any POJO type convertable from a <code>String</code><a name="line.264"></a>
-<span class="sourceLineNo">265</span> * (See <a class="doclink" href="package-summary.html#PojosConvertableFromString">POJOs Convertable From Strings</a>).<a name="line.265"></a>
-<span class="sourceLineNo">266</span> * <p><a name="line.266"></a>
-<span class="sourceLineNo">267</span> * <h5 class='section'>Examples:</h5><a name="line.267"></a>
-<span class="sourceLineNo">268</span> * <p class='bcode'><a name="line.268"></a>
-<span class="sourceLineNo">269</span> * <jc>// Parse into an integer.</jc><a name="line.269"></a>
-<span class="sourceLineNo">270</span> * <jk>int</jk> myheader = req.getHeader(<js>"My-Header"</js>, <jk>int</jk>.<jk>class</jk>);<a name="line.270"></a>
-<span class="sourceLineNo">271</span> *<a name="line.271"></a>
-<span class="sourceLineNo">272</span> * <jc>// Parse a UUID.</jc><a name="line.272"></a>
-<span class="sourceLineNo">273</span> * UUID myheader = req.getHeader(<js>"My-Header"</js>, UUID.<jk>class</jk>);<a name="line.273"></a>
-<span class="sourceLineNo">274</span> * </p><a name="line.274"></a>
-<span class="sourceLineNo">275</span> *<a name="line.275"></a>
-<span class="sourceLineNo">276</span> * @param name The HTTP header name.<a name="line.276"></a>
-<span class="sourceLineNo">277</span> * @param type The class type to convert the header value to.<a name="line.277"></a>
-<span class="sourceLineNo">278</span> * @param <T> The class type to convert the header value to.<a name="line.278"></a>
-<span class="sourceLineNo">279</span> * @return The parameter value converted to the specified class type.<a name="line.279"></a>
-<span class="sourceLineNo">280</span> */<a name="line.280"></a>
-<span class="sourceLineNo">281</span> public <T> T getHeader(String name, Class<T> type) {<a name="line.281"></a>
-<span class="sourceLineNo">282</span> String h = getHeader(name);<a name="line.282"></a>
-<span class="sourceLineNo">283</span> return beanSession.convertToType(h, type);<a name="line.283"></a>
-<span class="sourceLineNo">284</span> }<a name="line.284"></a>
-<span class="sourceLineNo">285</span><a name="line.285"></a>
-<span class="sourceLineNo">286</span> /**<a name="line.286"></a>
-<span class="sourceLineNo">287</span> * Same as {@link #getHeader(String, Class)} but returns a default value if not found.<a name="line.287"></a>
-<span class="sourceLineNo">288</span> *<a name="line.288"></a>
-<span class="sourceLineNo">289</span> * @param name The HTTP header name.<a name="line.289"></a>
-<span class="sourceLineNo">290</span> * @param def The default value if the header was not specified or is <jk>null</jk>.<a name="line.290"></a>
-<span class="sourceLineNo">291</span> * @param type The class type to convert the header value to.<a name="line.291"></a>
-<span class="sourceLineNo">292</span> * @param <T> The class type to convert the header value to.<a name="line.292"></a>
-<span class="sourceLineNo">293</span> * @return The parameter value converted to the specified class type.<a name="line.293"></a>
-<span class="sourceLineNo">294</span> */<a name="line.294"></a>
-<span class="sourceLineNo">295</span> public <T> T getHeader(String name, T def, Class<T> type) {<a name="line.295"></a>
-<span class="sourceLineNo">296</span> String h = getHeader(name);<a name="line.296"></a>
-<span class="sourceLineNo">297</span> if (h == null)<a name="line.297"></a>
-<span class="sourceLineNo">298</span> return def;<a name="line.298"></a>
-<span class="sourceLineNo">299</span> return beanSession.convertToType(h, type);<a name="line.299"></a>
-<span class="sourceLineNo">300</span> }<a name="line.300"></a>
-<span class="sourceLineNo">301</span><a name="line.301"></a>
-<span class="sourceLineNo">302</span> /**<a name="line.302"></a>
-<span class="sourceLineNo">303</span> * Returns the specified header value converted to a POJO.<a name="line.303"></a>
-<span class="sourceLineNo">304</span> * <p><a name="line.304"></a>
-<span class="sourceLineNo">305</span> * The type can be any POJO type convertable from a <code>String</code><a name="line.305"></a>
-<span class="sourceLineNo">306</span> * (See <a class="doclink" href="package-summary.html#PojosConvertableFromString">POJOs Convertable From Strings</a>).<a name="line.306"></a>
-<span class="sourceLineNo">307</span> * <p><a name="line.307"></a>
-<span class="sourceLineNo">308</span> * <h5 class='section'>Examples:</h5><a name="line.308"></a>
-<span class="sourceLineNo">309</span> * <p class='bcode'><a name="line.309"></a>
-<span class="sourceLineNo">310</span> * <jc>// Parse into a linked-list of strings.</jc><a name="line.310"></a>
-<span class="sourceLineNo">311</span> * List&lt;String&gt; myheader = req.getHeader(<js>"My-Header"</js>, LinkedList.<jk>class</jk>, String.<jk>class</jk>);<a name="line.311"></a>
-<span class="sourceLineNo">312</span> * </p><a name="line.312"></a>
-<span class="sourceLineNo">313</span> *<a name="line.313"></a>
-<span class="sourceLineNo">314</span> * @param name The HTTP header name.<a name="line.314"></a>
-<span class="sourceLineNo">315</span> * @param type The type of object to create.<a name="line.315"></a>
-<span class="sourceLineNo">316</span> * <br>Can be any of the following: {@link ClassMeta}, {@link Class}, {@link ParameterizedType}, {@link GenericArrayType}<a name="line.316"></a>
-<span class="sourceLineNo">317</span> * @param args The type arguments of the class if it's a collection or map.<a name="line.317"></a>
-<span class="sourceLineNo">318</span> * <br>Can be any of the following: {@link ClassMeta}, {@link Class}, {@link ParameterizedType}, {@link GenericArrayType}<a name="line.318"></a>
-<span class="sourceLineNo">319</span> * <br>Ignored if the main type is not a map or collection.<a name="line.319"></a>
-<span class="sourceLineNo">320</span> * @param <T> The class type to convert the header value to.<a name="line.320"></a>
-<span class="sourceLineNo">321</span> * @return The parameter value converted to the specified class type.<a name="line.321"></a>
-<span class="sourceLineNo">322</span> * @throws ParseException If the header could not be converted to the specified type.<a name="line.322"></a>
-<span class="sourceLineNo">323</span> */<a name="line.323"></a>
-<span class="sourceLineNo">324</span> public <T> T getHeader(String name, Type type, Type...args) throws ParseException {<a name="line.324"></a>
-<span class="sourceLineNo">325</span> String h = getHeader(name);<a name="line.325"></a>
-<span class="sourceLineNo">326</span> return urlEncodingParser.parsePart(h, type, args);<a name="line.326"></a>
+<span class="sourceLineNo">069</span> private final String method;<a name="line.69"></a>
+<span class="sourceLineNo">070</span> private String pathRemainder;<a name="line.70"></a>
+<span class="sourceLineNo">071</span> private RequestBody body;<a name="line.71"></a>
+<span class="sourceLineNo">072</span> private Method javaMethod;<a name="line.72"></a>
+<span class="sourceLineNo">073</span> private ObjectMap properties;<a name="line.73"></a>
+<span class="sourceLineNo">074</span> private SerializerGroup serializerGroup;<a name="line.74"></a>
+<span class="sourceLineNo">075</span> private ParserGroup parserGroup;<a name="line.75"></a>
+<span class="sourceLineNo">076</span> private final boolean debug;<a name="line.76"></a>
+<span class="sourceLineNo">077</span> private UrlEncodingParser urlEncodingParser; // The parser used to parse URL attributes and parameters (beanContext also used to parse headers)<a name="line.77"></a>
+<span class="sourceLineNo">078</span> private BeanSession beanSession;<a name="line.78"></a>
+<span class="sourceLineNo">079</span> private VarResolverSession varSession;<a name="line.79"></a>
+<span class="sourceLineNo">080</span> private final RequestQuery queryParams;<a name="line.80"></a>
+<span class="sourceLineNo">081</span> private RequestFormData formData;<a name="line.81"></a>
+<span class="sourceLineNo">082</span> private RequestPathParams pathParams;<a name="line.82"></a>
+<span class="sourceLineNo">083</span> private boolean isPost;<a name="line.83"></a>
+<span class="sourceLineNo">084</span> private String servletURI, relativeServletURI;<a name="line.84"></a>
+<span class="sourceLineNo">085</span> private String charset, defaultCharset;<a name="line.85"></a>
+<span class="sourceLineNo">086</span> private RequestHeaders headers;<a name="line.86"></a>
+<span class="sourceLineNo">087</span> private ConfigFile cf;<a name="line.87"></a>
+<span class="sourceLineNo">088</span> private Swagger swagger, fileSwagger;<a name="line.88"></a>
+<span class="sourceLineNo">089</span> private String pageTitle, pageText, pageLinks;<a name="line.89"></a>
+<span class="sourceLineNo">090</span><a name="line.90"></a>
+<span class="sourceLineNo">091</span> /**<a name="line.91"></a>
+<span class="sourceLineNo">092</span> * Constructor.<a name="line.92"></a>
+<span class="sourceLineNo">093</span> */<a name="line.93"></a>
+<span class="sourceLineNo">094</span> RestRequest(RestContext context, HttpServletRequest req) throws ServletException {<a name="line.94"></a>
+<span class="sourceLineNo">095</span> super(req);<a name="line.95"></a>
+<span class="sourceLineNo">096</span> this.context = context;<a name="line.96"></a>
+<span class="sourceLineNo">097</span><a name="line.97"></a>
+<span class="sourceLineNo">098</span> try {<a name="line.98"></a>
+<span class="sourceLineNo">099</span> isPost = req.getMethod().equalsIgnoreCase("POST");<a name="line.99"></a>
+<span class="sourceLineNo">100</span><a name="line.100"></a>
+<span class="sourceLineNo">101</span> // If this is a POST, we want to parse the query parameters ourselves to prevent<a name="line.101"></a>
+<span class="sourceLineNo">102</span> // the servlet code from processing the HTTP body as URL-Encoded parameters.<a name="line.102"></a>
+<span class="sourceLineNo">103</span> queryParams = new RequestQuery();<a name="line.103"></a>
+<span class="sourceLineNo">104</span> if (isPost)<a name="line.104"></a>
+<span class="sourceLineNo">105</span> context.getUrlEncodingParser().parseIntoSimpleMap(getQueryString(), queryParams);<a name="line.105"></a>
+<span class="sourceLineNo">106</span> else<a name="line.106"></a>
+<span class="sourceLineNo">107</span> queryParams.putAll(req.getParameterMap());<a name="line.107"></a>
+<span class="sourceLineNo">108</span><a name="line.108"></a>
+<span class="sourceLineNo">109</span><a name="line.109"></a>
+<span class="sourceLineNo">110</span> // Get the HTTP method.<a name="line.110"></a>
+<span class="sourceLineNo">111</span> // Can be overridden through a "method" GET attribute.<a name="line.111"></a>
+<span class="sourceLineNo">112</span> String _method = super.getMethod();<a name="line.112"></a>
+<span class="sourceLineNo">113</span><a name="line.113"></a>
+<span class="sourceLineNo">114</span> String m = getQuery("method");<a name="line.114"></a>
+<span class="sourceLineNo">115</span> if (context.allowMethodParam(m))<a name="line.115"></a>
+<span class="sourceLineNo">116</span> _method = m;<a name="line.116"></a>
+<span class="sourceLineNo">117</span><a name="line.117"></a>
+<span class="sourceLineNo">118</span> method = _method;<a name="line.118"></a>
+<span class="sourceLineNo">119</span><a name="line.119"></a>
+<span class="sourceLineNo">120</span> headers = new RequestHeaders();<a name="line.120"></a>
+<span class="sourceLineNo">121</span> for (Enumeration<String> e = getHeaderNames(); e.hasMoreElements();) {<a name="line.121"></a>
+<span class="sourceLineNo">122</span> String name = e.nextElement();<a name="line.122"></a>
+<span class="sourceLineNo">123</span> headers.put(name, super.getHeaders(name));<a name="line.123"></a>
+<span class="sourceLineNo">124</span> }<a name="line.124"></a>
+<span class="sourceLineNo">125</span><a name="line.125"></a>
+<span class="sourceLineNo">126</span> body = new RequestBody(this);<a name="line.126"></a>
+<span class="sourceLineNo">127</span><a name="line.127"></a>
+<span class="sourceLineNo">128</span> if (context.isAllowBodyParam()) {<a name="line.128"></a>
+<span class="sourceLineNo">129</span> String b = getQuery("body");<a name="line.129"></a>
+<span class="sourceLineNo">130</span> if (b != null) {<a name="line.130"></a>
+<span class="sourceLineNo">131</span> headers.put("Content-Type", UonSerializer.DEFAULT.getResponseContentType());<a name="line.131"></a>
+<span class="sourceLineNo">132</span> body.load(b.getBytes(IOUtils.UTF8));<a name="line.132"></a>
+<span class="sourceLineNo">133</span> }<a name="line.133"></a>
+<span class="sourceLineNo">134</span> }<a name="line.134"></a>
+<span class="sourceLineNo">135</span><a name="line.135"></a>
+<span class="sourceLineNo">136</span> if (context.isAllowHeaderParams())<a name="line.136"></a>
+<span class="sourceLineNo">137</span> headers.setQueryParams(queryParams);<a name="line.137"></a>
+<span class="sourceLineNo">138</span><a name="line.138"></a>
+<span class="sourceLineNo">139</span> debug = "true".equals(getQuery("debug", "false")) || "true".equals(getHeader("Debug", "false"));<a name="line.139"></a>
+<span class="sourceLineNo">140</span><a name="line.140"></a>
+<span class="sourceLineNo">141</span> this.pathParams = new RequestPathParams();<a name="line.141"></a>
+<span class="sourceLineNo">142</span><a name="line.142"></a>
+<span class="sourceLineNo">143</span> } catch (RestException e) {<a name="line.143"></a>
+<span class="sourceLineNo">144</span> throw e;<a name="line.144"></a>
+<span class="sourceLineNo">145</span> } catch (Exception e) {<a name="line.145"></a>
+<span class="sourceLineNo">146</span> throw new ServletException(e);<a name="line.146"></a>
+<span class="sourceLineNo">147</span> }<a name="line.147"></a>
+<span class="sourceLineNo">148</span> }<a name="line.148"></a>
+<span class="sourceLineNo">149</span><a name="line.149"></a>
+<span class="sourceLineNo">150</span> /*<a name="line.150"></a>
+<span class="sourceLineNo">151</span> * Called from RestServlet after a match has been made but before the guard or method invocation.<a name="line.151"></a>
+<span class="sourceLineNo">152</span> */<a name="line.152"></a>
+<span class="sourceLineNo">153</span> @SuppressWarnings("hiding")<a name="line.153"></a>
+<span class="sourceLineNo">154</span> final void init(Method javaMethod, String pathRemainder, ObjectMap properties, Map<String,String> mDefaultRequestHeaders, String defaultCharset, SerializerGroup mSerializers, ParserGroup mParsers, UrlEncodingParser mUrlEncodingParser, EncoderGroup encoders, String pageTitle, String pageText, String pageLinks) {<a name="line.154"></a>
+<span class="sourceLineNo">155</span> this.javaMethod = javaMethod;<a name="line.155"></a>
+<span class="sourceLineNo">156</span> this.pathRemainder = pathRemainder;<a name="line.156"></a>
+<span class="sourceLineNo">157</span> this.properties = properties;<a name="line.157"></a>
+<span class="sourceLineNo">158</span> this.urlEncodingParser = mUrlEncodingParser;<a name="line.158"></a>
+<span class="sourceLineNo">159</span> this.beanSession = urlEncodingParser.getBeanContext().createSession();<a name="line.159"></a>
+<span class="sourceLineNo">160</span> this.pathParams<a name="line.160"></a>
+<span class="sourceLineNo">161</span> .setParser(urlEncodingParser)<a name="line.161"></a>
+<span class="sourceLineNo">162</span> .setBeanSession(beanSession);<a name="line.162"></a>
+<span class="sourceLineNo">163</span> this.queryParams<a name="line.163"></a>
+<span class="sourceLineNo">164</span> .setParser(urlEncodingParser)<a name="line.164"></a>
+<span class="sourceLineNo">165</span> .setBeanSession(beanSession);<a name="line.165"></a>
+<span class="sourceLineNo">166</span> this.headers<a name="line.166"></a>
+<span class="sourceLineNo">167</span> .addDefault(mDefaultRequestHeaders)<a name="line.167"></a>
+<span class="sourceLineNo">168</span> .addDefault(context.getDefaultRequestHeaders())<a name="line.168"></a>
+<span class="sourceLineNo">169</span> .setParser(urlEncodingParser)<a name="line.169"></a>
+<span class="sourceLineNo">170</span> .setBeanSession(beanSession);<a name="line.170"></a>
+<span class="sourceLineNo">171</span> this.body<a name="line.171"></a>
+<span class="sourceLineNo">172</span> .setEncoders(encoders)<a name="line.172"></a>
+<span class="sourceLineNo">173</span> .setParsers(mParsers)<a name="line.173"></a>
+<span class="sourceLineNo">174</span> .setHeaders(headers)<a name="line.174"></a>
+<span class="sourceLineNo">175</span> .setBeanSession(beanSession)<a name="line.175"></a>
+<span class="sourceLineNo">176</span> .setUrlEncodingParser(mUrlEncodingParser);<a name="line.176"></a>
+<span class="sourceLineNo">177</span> this.serializerGroup = mSerializers;<a name="line.177"></a>
+<span class="sourceLineNo">178</span> this.parserGroup = mParsers;<a name="line.178"></a>
+<span class="sourceLineNo">179</span> this.defaultCharset = defaultCharset;<a name="line.179"></a>
+<span class="sourceLineNo">180</span> this.pageTitle = pageTitle;<a name="line.180"></a>
+<span class="sourceLineNo">181</span> this.pageText = pageText;<a name="line.181"></a>
+<span class="sourceLineNo">182</span> this.pageLinks = pageLinks;<a name="line.182"></a>
+<span class="sourceLineNo">183</span><a name="line.183"></a>
+<span class="sourceLineNo">184</span> if (debug) {<a name="line.184"></a>
+<span class="sourceLineNo">185</span> String msg = ""<a name="line.185"></a>
+<span class="sourceLineNo">186</span> + "\n=== HTTP Request (incoming) ===================================================="<a name="line.186"></a>
+<span class="sourceLineNo">187</span> + toString()<a name="line.187"></a>
+<span class="sourceLineNo">188</span> + "\n=== END ========================================================================";<a name="line.188"></a>
+<span class="sourceLineNo">189</span> context.getLogger().log(Level.WARNING, msg);<a name="line.189"></a>
+<span class="sourceLineNo">190</span> }<a name="line.190"></a>
+<span class="sourceLineNo">191</span> }<a name="line.191"></a>
+<span class="sourceLineNo">192</span><a name="line.192"></a>
+<span class="sourceLineNo">193</span> /**<a name="line.193"></a>
+<span class="sourceLineNo">194</span> * Returns a string of the form <js>"HTTP method-name full-url"</js><a name="line.194"></a>
+<span class="sourceLineNo">195</span> *<a name="line.195"></a>
+<span class="sourceLineNo">196</span> * @return A description of the request.<a name="line.196"></a>
+<span class="sourceLineNo">197</span> */<a name="line.197"></a>
+<span class="sourceLineNo">198</span> public String getDescription() {<a name="line.198"></a>
+<span class="sourceLineNo">199</span> String qs = getQueryString();<a name="line.199"></a>
+<span class="sourceLineNo">200</span> return "HTTP " + getMethod() + " " + getRequestURI() + (qs == null ? "" : "?" + qs);<a name="line.200"></a>
+<span class="sourceLineNo">201</span> }<a name="line.201"></a>
+<span class="sourceLineNo">202</span><a name="line.202"></a>
+<span class="sourceLineNo">203</span><a name="line.203"></a>
+<span class="sourceLineNo">204</span> //--------------------------------------------------------------------------------<a name="line.204"></a>
+<span class="sourceLineNo">205</span> // Properties<a name="line.205"></a>
+<span class="sourceLineNo">206</span> //--------------------------------------------------------------------------------<a name="line.206"></a>
+<span class="sourceLineNo">207</span><a name="line.207"></a>
+<span class="sourceLineNo">208</span> /**<a name="line.208"></a>
+<span class="sourceLineNo">209</span> * Servlet calls this method to initialize the properties.<a name="line.209"></a>
+<span class="sourceLineNo">210</span> */<a name="line.210"></a>
+<span class="sourceLineNo">211</span> RestRequest setProperties(ObjectMap properties) {<a name="line.211"></a>
+<span class="sourceLineNo">212</span> this.properties = properties;<a name="line.212"></a>
+<span class="sourceLineNo">213</span> return this;<a name="line.213"></a>
+<span class="sourceLineNo">214</span> }<a name="line.214"></a>
+<span class="sourceLineNo">215</span><a name="line.215"></a>
+<span class="sourceLineNo">216</span> /**<a name="line.216"></a>
+<span class="sourceLineNo">217</span> * Retrieve the properties active for this request.<a name="line.217"></a>
+<span class="sourceLineNo">218</span> * <p><a name="line.218"></a>
+<span class="sourceLineNo">219</span> * These properties can be modified by the request.<a name="line.219"></a>
+<span class="sourceLineNo">220</span> *<a name="line.220"></a>
+<span class="sourceLineNo">221</span> * @return The properties active for this request.<a name="line.221"></a>
+<span class="sourceLineNo">222</span> */<a name="line.222"></a>
+<span class="sourceLineNo">223</span> public ObjectMap getProperties() {<a name="line.223"></a>
+<span class="sourceLineNo">224</span> return this.properties;<a name="line.224"></a>
+<span class="sourceLineNo">225</span> }<a name="line.225"></a>
+<span class="sourceLineNo">226</span><a name="line.226"></a>
+<span class="sourceLineNo">227</span><a name="line.227"></a>
+<span class="sourceLineNo">228</span> //--------------------------------------------------------------------------------<a name="line.228"></a>
+<span class="sourceLineNo">229</span> // Headers<a name="line.229"></a>
+<span class="sourceLineNo">230</span> //--------------------------------------------------------------------------------<a name="line.230"></a>
+<span class="sourceLineNo">231</span><a name="line.231"></a>
+<span class="sourceLineNo">232</span> /**<a name="line.232"></a>
+<span class="sourceLineNo">233</span> * Returns the headers on this request.<a name="line.233"></a>
+<span class="sourceLineNo">234</span> *<a name="line.234"></a>
+<span class="sourceLineNo">235</span> * @return The headers on this request. Never <jk>null</jk>.<a name="line.235"></a>
+<span class="sourceLineNo">236</span> */<a name="line.236"></a>
+<span class="sourceLineNo">237</span> public RequestHeaders getHeaders() {<a name="line.237"></a>
+<span class="sourceLineNo">238</span> return headers;<a name="line.238"></a>
+<span class="sourceLineNo">239</span> }<a name="line.239"></a>
+<span class="sourceLineNo">240</span><a name="line.240"></a>
+<span class="sourceLineNo">241</span> /**<a name="line.241"></a>
+<span class="sourceLineNo">242</span> * Convenience method for calling <code>getHeaders().put(name, value);</code><a name="line.242"></a>
+<span class="sourceLineNo">243</span> *<a name="line.243"></a>
+<span class="sourceLineNo">244</span> * @param name The header name.<a name="line.244"></a>
+<span class="sourceLineNo">245</span> * @param value The header value.<a name="line.245"></a>
+<span class="sourceLineNo">246</span> */<a name="line.246"></a>
+<span class="sourceLineNo">247</span> public void setHeader(String name, Object value) {<a name="line.247"></a>
+<span class="sourceLineNo">248</span> getHeaders().put(name, value);<a name="line.248"></a>
+<span class="sourceLineNo">249</span> }<a name="line.249"></a>
+<span class="sourceLineNo">250</span><a name="line.250"></a>
+<span class="sourceLineNo">251</span> /**<a name="line.251"></a>
+<span class="sourceLineNo">252</span> * Convenience method for calling <code>getHeaders().getFirst(name);</code><a name="line.252"></a>
+<span class="sourceLineNo">253</span> */<a name="line.253"></a>
+<span class="sourceLineNo">254</span> @Override /* ServletRequest */<a name="line.254"></a>
+<span class="sourceLineNo">255</span> public String getHeader(String name) {<a name="line.255"></a>
+<span class="sourceLineNo">256</span> return getHeaders().getFirst(name);<a name="line.256"></a>
+<span class="sourceLineNo">257</span> }<a name="line.257"></a>
+<span class="sourceLineNo">258</span><a name="line.258"></a>
+<span class="sourceLineNo">259</span> /**<a name="line.259"></a>
+<span class="sourceLineNo">260</span> * Convenience method for calling <code>getHeaders().getFirst(name, def);</code><a name="line.260"></a>
+<span class="sourceLineNo">261</span> *<a name="line.261"></a>
+<span class="sourceLineNo">262</span> * @param name The HTTP header name.<a name="line.262"></a>
+<span class="sourceLineNo">263</span> * @param def The default value to return if the header value isn't found.<a name="line.263"></a>
+<span class="sourceLineNo">264</span> * @return The header value, or the default value if the header isn't present.<a name="line.264"></a>
+<span class="sourceLineNo">265</span> */<a name="line.265"></a>
+<span class="sourceLineNo">266</span> public String getHeader(String name, String def) {<a name="line.266"></a>
+<span class="sourceLineNo">267</span> return getHeaders().getFirst(name, def);<a name="line.267"></a>
+<span class="sourceLineNo">268</span> }<a name="line.268"></a>
+<span class="sourceLineNo">269</span><a name="line.269"></a>
+<span class="sourceLineNo">270</span> @Override /* ServletRequest */<a name="line.270"></a>
+<span class="sourceLineNo">271</span> public Enumeration<String> getHeaders(String name) {<a name="line.271"></a>
+<span class="sourceLineNo">272</span> String[] v = headers.get(name);<a name="line.272"></a>
+<span class="sourceLineNo">273</span> if (v == null || v.length == 0)<a name="line.273"></a>
+<span class="sourceLineNo">274</span> return Collections.enumeration(Collections.EMPTY_LIST);<a name="line.274"></a>
+<span class="sourceLineNo">275</span> return Collections.enumeration(Arrays.asList(v));<a name="line.275"></a>
+<span class="sourceLineNo">276</span> }<a name="line.276"></a>
+<span class="sourceLineNo">277</span><a name="line.277"></a>
+<span class="sourceLineNo">278</span> /**<a name="line.278"></a>
+<span class="sourceLineNo">279</span> * Returns the media types that are valid for <code>Content-Type</code> headers on the request.<a name="line.279"></a>
+<span class="sourceLineNo">280</span> *<a name="line.280"></a>
+<span class="sourceLineNo">281</span> * @return The set of media types registered in the parser group of this request.<a name="line.281"></a>
+<span class="sourceLineNo">282</span> */<a name="line.282"></a>
+<span class="sourceLineNo">283</span> public List<MediaType> getSupportedMediaTypes() {<a name="line.283"></a>
+<span class="sourceLineNo">284</span> return parserGroup.getSupportedMediaTypes();<a name="line.284"></a>
+<span class="sourceLineNo">285</span> }<a name="line.285"></a>
+<span class="sourceLineNo">286</span><a name="line.286"></a>
+<span class="sourceLineNo">287</span> /**<a name="line.287"></a>
+<span class="sourceLineNo">288</span> * Sets the charset to expect on the request body.<a name="line.288"></a>
+<span class="sourceLineNo">289</span> */<a name="line.289"></a>
+<span class="sourceLineNo">290</span> @Override /* ServletRequest */<a name="line.290"></a>
+<span class="sourceLineNo">291</span> public void setCharacterEncoding(String charset) {<a name="line.291"></a>
+<span class="sourceLineNo">292</span> this.charset = charset;<a name="line.292"></a>
+<span class="sourceLineNo">293</span> }<a name="line.293"></a>
+<span class="sourceLineNo">294</span><a name="line.294"></a>
+<span class="sourceLineNo">295</span> /**<a name="line.295"></a>
+<span class="sourceLineNo">296</span> * Returns the charset specified on the <code>Content-Type</code> header, or <js>"UTF-8"</js> if not specified.<a name="line.296"></a>
+<span class="sourceLineNo">297</span> */<a name="line.297"></a>
+<span class="sourceLineNo">298</span> @Override /* ServletRequest */<a name="line.298"></a>
+<span class="sourceLineNo">299</span> public String getCharacterEncoding() {<a name="line.299"></a>
+<span class="sourceLineNo">300</span> if (charset == null) {<a name="line.300"></a>
+<span class="sourceLineNo">301</span> // Determine charset<a name="line.301"></a>
+<span class="sourceLineNo">302</span> // NOTE: Don't use super.getCharacterEncoding() because the spec is implemented inconsistently.<a name="line.302"></a>
+<span class="sourceLineNo">303</span> // Jetty returns the default charset instead of null if the character is not specified on the request.<a name="line.303"></a>
+<span class="sourceLineNo">304</span> String h = getHeader("Content-Type");<a name="line.304"></a>
+<span class="sourceLineNo">305</span> if (h != null) {<a name="line.305"></a>
+<span class="sourceLineNo">306</span> int i = h.indexOf(";charset=");<a name="line.306"></a>
+<span class="sourceLineNo">307</span> if (i > 0)<a name="line.307"></a>
+<span class="sourceLineNo">308</span> charset = h.substring(i+9).trim();<a name="line.308"></a>
+<span class="sourceLineNo">309</span> }<a name="line.309"></a>
+<span class="sourceLineNo">310</span> if (charset == null)<a name="line.310"></a>
+<span class="sourceLineNo">311</span> charset = defaultCharset;<a name="line.311"></a>
+<span class="sourceLineNo">312</span> if (! Charset.isSupported(charset))<a name="line.312"></a>
+<span class="sourceLineNo">313</span> throw new RestException(SC_UNSUPPORTED_MEDIA_TYPE, "Unsupported charset in header ''Content-Type'': ''{0}''", h);<a name="line.313"></a>
+<span class="sourceLineNo">314</span> }<a name="line.314"></a>
+<span class="sourceLineNo">315</span> return charset;<a name="line.315"></a>
+<span class="sourceLineNo">316</span> }<a name="line.316"></a>
+<span class="sourceLineNo">317</span><a name="line.317"></a>
+<span class="sourceLineNo">318</span> @Override /* ServletRequest */<a name="line.318"></a>
+<span class="sourceLineNo">319</span> public Locale getLocale() {<a name="line.319"></a>
+<span class="sourceLineNo">320</span> String h = headers.getFirst("Accept-Language");<a name="line.320"></a>
+<span class="sourceLineNo">321</span> if (h != null) {<a name="line.321"></a>
+<span class="sourceLineNo">322</span> MediaTypeRange[] mr = MediaTypeRange.parse(h);<a name="line.322"></a>
+<span class="sourceLineNo">323</span> if (mr.length > 0)<a name="line.323"></a>
+<span class="sourceLineNo">324</span> return toLocale(mr[0].getMediaType().getType());<a name="line.324"></a>
+<span class="sourceLineNo">325</span> }<a name="line.325"></a>
+<span class="sourceLineNo">326</span> return super.getLocale();<a name="line.326"></a>
<span class="sourceLineNo">327</span> }<a name="line.327"></a>
<span class="sourceLineNo">328</span><a name="line.328"></a>
-<span class="sourceLineNo">329</span> /**<a name="line.329"></a>
-<span class="sourceLineNo">330</span> * Returns all the request headers as an {@link ObjectMap}.<a name="line.330"></a>
-<span class="sourceLineNo">331</span> * <p><a name="line.331"></a>
-<span class="sourceLineNo">332</span> * Altering entries in this map does not alter headers in the underlying request.<a name="line.332"></a>
-<span class="sourceLineNo">333</span> *<a name="line.333"></a>
-<span class="sourceLineNo">334</span> * @return The request headers. Never <jk>null</jk>.<a name="line.334"></a>
-<span class="sourceLineNo">335</span> */<a name="line.335"></a>
-<span class="sourceLineNo">336</span> public ObjectMap getHeaders() {<a name="line.336"></a>
-<span class="sourceLineNo">337</span> if (headers == null) {<a name="line.337"></a>
-<span class="sourceLineNo">338</span> headers = new ObjectMap();<a name="line.338"></a>
-<span class="sourceLineNo">339</span> for (Enumeration<String> e = getHeaderNames(); e.hasMoreElements();) {<a name="line.339"></a>
-<span class="sourceLineNo">340</span> String key = e.nextElement();<a name="line.340"></a>
-<span class="sourceLineNo">341</span> headers.put(key, getHeader(key));<a name="line.341"></a>
-<span class="sourceLineNo">342</span> }<a name="line.342"></a>
-<span class="sourceLineNo">343</span> }<a name="line.343"></a>
-<span class="sourceLineNo">344</span> return headers;<a name="line.344"></a>
-<span class="sourceLineNo">345</span> }<a name="line.345"></a>
-<span class="sourceLineNo">346</span><a name="line.346"></a>
-<span class="sourceLineNo">347</span> @Override /* ServletRequest */<a name="line.347"></a>
-<span class="sourceLineNo">348</span> public Enumeration<String> getHeaders(String name) {<a name="line.348"></a>
-<span class="sourceLineNo">349</span> String h = getOverriddenHeader(name);<a name="line.349"></a>
-<span class="sourceLineNo">350</span> if (h != null)<a name="line.350"></a>
-<span class="sourceLineNo">351</span> return enumeration(singleton(h));<a name="line.351"></a>
-<span class="sourceLineNo">352</span> return super.getHeaders(name);<a name="line.352"></a>
-<span class="sourceLineNo">353</span> }<a name="line.353"></a>
-<span class="sourceLineNo">354</span><a name="line.354"></a>
-<span class="sourceLineNo">355</span> /**<a name="line.355"></a>
-<span class="sourceLineNo">356</span> * Returns the <code>Accept</code> header on the request.<a name="line.356"></a>
-<span class="sourceLineNo">357</span> *<a name="line.357"></a>
-<span class="sourceLineNo">358</span> * @return The parsed <code>Accept</code> header on the request, or <jk>null</jk> if not found.<a name="line.358"></a>
-<span class="sourceLineNo">359</span> */<a name="line.359"></a>
-<span class="sourceLineNo">360</span> public Accept getAcceptHeader() {<a name="line.360"></a>
-<span class="sourceLineNo">361</span> return getHeader("Accept", Accept.class);<a name="line.361"></a>
-<span class="sourceLineNo">362</span> }<a name="line.362"></a>
-<span class="sourceLineNo">363</span><a name="line.363"></a>
-<span class="sourceLineNo">364</span> /**<a name="line.364"></a>
-<span class="sourceLineNo">365</span> * Returns the <code>Content-Type</code> header on the request.<a name="line.365"></a>
-<span class="sourceLineNo">366</span> *<a name="line.366"></a>
-<span class="sourceLineNo">367</span> * @return The parsed <code>Content-Type</code> header on the request, or <jk>null</jk> if not found.<a name="line.367"></a>
-<span class="sourceLineNo">368</span> */<a name="line.368"></a>
-<span class="sourceLineNo">369</span> public ContentType getContentTypeHeader() {<a name="line.369"></a>
-<span class="sourceLineNo">370</span> return getHeader("Content-Type", ContentType.class);<a name="line.370"></a>
-<span class="sourceLineNo">371</span> }<a name="line.371"></a>
-<span class="sourceLineNo">372</span><a name="line.372"></a>
-<span class="sourceLineNo">373</span> /**<a name="line.373"></a>
-<span class="sourceLineNo">374</span> * Returns the <code>Accept-Encoding</code> header on the request.<a name="line.374"></a>
-<span class="sourceLineNo">375</span> *<a name="line.375"></a>
-<span class="sourceLineNo">376</span> * @return The parsed <code>Accept-Encoding</code> header on the request, or <jk>null</jk> if not found.<a name="line.376"></a>
+<span class="sourceLineNo">329</span> @Override /* ServletRequest */<a name="line.329"></a>
+<span class="sourceLineNo">330</span> public Enumeration<Locale> getLocales() {<a name="line.330"></a>
+<span class="sourceLineNo">331</span> String h = headers.getFirst("Accept-Language");<a name="line.331"></a>
+<span class="sourceLineNo">332</span> if (h != null) {<a name="line.332"></a>
+<span class="sourceLineNo">333</span> MediaTypeRange[] mr = MediaTypeRange.parse(h);<a name="line.333"></a>
+<span class="sourceLineNo">334</span> if (mr.length > 0) {<a name="line.334"></a>
+<span class="sourceLineNo">335</span> List<Locale> l = new ArrayList<Locale>(mr.length);<a name="line.335"></a>
+<span class="sourceLineNo">336</span> for (MediaTypeRange r : mr)<a name="line.336"></a>
+<span class="sourceLineNo">337</span> l.add(toLocale(r.getMediaType().getType()));<a name="line.337"></a>
+<span class="sourceLineNo">338</span> return enumeration(l);<a name="line.338"></a>
+<span class="sourceLineNo">339</span> }<a name="line.339"></a>
+<span class="sourceLineNo">340</span> }<a name="line.340"></a>
+<span class="sourceLineNo">341</span> return super.getLocales();<a name="line.341"></a>
+<span class="sourceLineNo">342</span> }<a name="line.342"></a>
+<span class="sourceLineNo">343</span><a name="line.343"></a>
+<span class="sourceLineNo">344</span><a name="line.344"></a>
+<span class="sourceLineNo">345</span> //--------------------------------------------------------------------------------<a name="line.345"></a>
+<span class="sourceLineNo">346</span> // Query parameters<a name="line.346"></a>
+<span class="sourceLineNo">347</span> //--------------------------------------------------------------------------------<a name="line.347"></a>
+<span class="sourceLineNo">348</span><a name="line.348"></a>
+<span class="sourceLineNo">349</span> /**<a name="line.349"></a>
+<span class="sourceLineNo">350</span> * Equivalent to {@link #getParameterMap()}, but only looks for query parameters in the URL, not form posts.<a name="line.350"></a>
+<span class="sourceLineNo">351</span> * <p><a name="line.351"></a>
+<span class="sourceLineNo">352</span> * This method can be used to retrieve query parameters without triggering the underlying servlet API to load and parse the request body.<a name="line.352"></a>
+<span class="sourceLineNo">353</span> * <p><a name="line.353"></a>
+<span class="sourceLineNo">354</span> * This object is modifiable.<a name="line.354"></a>
+<span class="sourceLineNo">355</span> *<a name="line.355"></a>
+<span class="sourceLineNo">356</span> * @return The query parameters as a modifiable map.<a name="line.356"></a>
+<span class="sourceLineNo">357</span> */<a name="line.357"></a>
+<span class="sourceLineNo">358</span> public RequestQuery getQuery() {<a name="line.358"></a>
+<span class="sourceLineNo">359</span> return queryParams;<a name="line.359"></a>
+<span class="sourceLineNo">360</span> }<a name="line.360"></a>
+<span class="sourceLineNo">361</span><a name="line.361"></a>
+<span class="sourceLineNo">362</span> /**<a name="line.362"></a>
+<span class="sourceLineNo">363</span> * Convenience method for calling <code>getQueryParams().put(name, value);</code>.<a name="line.363"></a>
+<span class="sourceLineNo">364</span> *<a name="line.364"></a>
+<span class="sourceLineNo">365</span> * @param name The parameter name.<a name="line.365"></a>
+<span class="sourceLineNo">366</span> * @param value The parameter value.<a name="line.366"></a>
+<span class="sourceLineNo">367</span> */<a name="line.367"></a>
+<span class="sourceLineNo">368</span> public void setQuery(String name, Object value) {<a name="line.368"></a>
+<span class="sourceLineNo">369</span> queryParams.put(name, value);<a name="line.369"></a>
+<span class="sourceLineNo">370</span> }<a name="line.370"></a>
+<span class="sourceLineNo">371</span><a name="line.371"></a>
+<span class="sourceLineNo">372</span> /**<a name="line.372"></a>
+<span class="sourceLineNo">373</span> * Convenience method for calling <code>getQueryParams().getFirst(name);</code><a name="line.373"></a>
+<span class="sourceLineNo">374</span> *<a name="line.374"></a>
+<span class="sourceLineNo">375</span> * @param name The URL parameter name.<a name="line.375"></a>
+<span class="sourceLineNo">376</span> * @return The parameter value, or <jk>null</jk> if parameter not specified or has no value (e.g. <js>"&amp;foo"</js>.<a name="line.376"></a>
<span class="sourceLineNo">377</span> */<a name="line.377"></a>
-<span class="sourceLineNo">378</span> public AcceptEncoding getAcceptEncodingHeader() {<a name="line.378"></a>
-<span class="sourceLineNo">379</span> return getHeader("Accept-Encoding", AcceptEncoding.class);<a name="line.379"></a>
+<span class="sourceLineNo">378</span> public String getQuery(String name) {<a name="line.378"></a>
+<span class="sourceLineNo">379</span> return getQuery().getFirst(name);<a name="line.379"></a>
<span class="sourceLineNo">380</span> }<a name="line.380"></a>
<span class="sourceLineNo">381</span><a name="line.381"></a>
<span class="sourceLineNo">382</span> /**<a name="line.382"></a>
-<span class="sourceLineNo">383</span> * Returns the <code>Time-Zone</code> header value on the request if there is one.<a name="line.383"></a>
-<span class="sourceLineNo">384</span> * <p><a name="line.384"></a>
-<span class="sourceLineNo">385</span> * Example: <js>"GMT"</js>.<a name="line.385"></a>
-<span class="sourceLineNo">386</span> *<a name="line.386"></a>
-<span class="sourceLineNo">387</span> * @return The <code>Time-Zone</code> header value on the request, or <jk>null</jk> if not present.<a name="line.387"></a>
+<span class="sourceLineNo">383</span> * Convenience method for calling <code>getQueryParams().getFirst(name, def);</code><a name="line.383"></a>
+<span class="sourceLineNo">384</span> *<a name="line.384"></a>
+<span class="sourceLineNo">385</span> * @param name The URL parameter name.<a name="line.385"></a>
+<span class="sourceLineNo">386</span> * @param def The default value.<a name="line.386"></a>
+<span class="sourceLineNo">387</span> * @return The parameter value, or the default value if parameter not specified or has no value (e.g. <js>"&amp;foo"</js>.<a name="line.387"></a>
<span class="sourceLineNo">388</span> */<a name="line.388"></a>
-<span class="sourceLineNo">389</span> public TimeZone getTimeZone() {<a name="line.389"></a>
-<span class="sourceLineNo">390</span> String tz = getHeader("Time-Zone");<a name="line.390"></a>
-<span class="sourceLineNo">391</span> if (tz != null)<a name="line.391"></a>
-<span class="sourceLineNo">392</span> return TimeZone.getTimeZone(tz);<a name="line.392"></a>
-<span class="sourceLineNo">393</span> return null;<a name="line.393"></a>
-<span class="sourceLineNo">394</span> }<a name="line.394"></a>
-<span class="sourceLineNo">395</span><a name="line.395"></a>
-<span class="sourceLineNo">396</span> /**<a name="line.396"></a>
-<span class="sourceLineNo">397</span> * Returns the media types that are valid for <code>Content-Type</code> headers on the request.<a name="line.397"></a>
-<span class="sourceLineNo">398</span> *<a name="line.398"></a>
-<span class="sourceLineNo">399</span> * @return The set of media types registered in the parser group of this request.<a name="line.399"></a>
-<span class="sourceLineNo">400</span> */<a name="line.400"></a>
-<span class="sourceLineNo">401</span> public List<MediaType> getSupportedMediaTypes() {<a name="line.401"></a>
-<span class="sourceLineNo">402</span> return parserGroup.getSupportedMediaTypes();<a name="line.402"></a>
-<span class="sourceLineNo">403</span> }<a name="line.403"></a>
-<span class="sourceLineNo">404</span><a name="line.404"></a>
-<span class="sourceLineNo">405</span> /**<a name="line.405"></a>
-<span class="sourceLineNo">406</span> * Sets the charset to expect on the request body.<a name="line.406"></a>
-<span class="sourceLineNo">407</span> */<a name="line.407"></a>
-<span class="sourceLineNo">408</span> @Override /* ServletRequest */<a name="line.408"></a>
-<span class="sourceLineNo">409</span> public void setCharacterEncoding(String charset) {<a name="line.409"></a>
-<span class="sourceLineNo">410</span> this.charset = charset;<a name="line.410"></a>
-<span class="sourceLineNo">411</span> }<a name="line.411"></a>
-<span class="sourceLineNo">412</span><a name="line.412"></a>
-<span class="sourceLineNo">413</span> /**<a name="line.413"></a>
-<span class="sourceLineNo">414</span> * Returns the charset specified on the <code>Content-Type</code> header, or <js>"UTF-8"</js> if not specified.<a name="line.414"></a>
-<span class="sourceLineNo">415</span> */<a name="line.415"></a>
-<span class="sourceLineNo">416</span> @Override /* ServletRequest */<a name="line.416"></a>
-<span class="sourceLineNo">417</span> public String getCharacterEncoding() {<a name="line.417"></a>
-<span class="sourceLineNo">418</span> if (charset == null) {<a name="line.418"></a>
-<span class="sourceLineNo">419</span> // Determine charset<a name="line.419"></a>
-<span class="sourceLineNo">420</span> // NOTE: Don't use super.getCharacterEncoding() because the spec is implemented inconsistently.<a name="line.420"></a>
-<span class="sourceLineNo">421</span> // Jetty returns the default charset instead of null if the character is not specified on the request.<a name="line.421"></a>
-<span class="sourceLineNo">422</span> String h = getHeader("Content-Type");<a name="line.422"></a>
-<span class="sourceLineNo">423</span> if (h != null) {<a name="line.423"></a>
-<span class="sourceLineNo">424</span> int i = h.indexOf(";charset=");<a name="line.424"></a>
-<span class="sourceLineNo">425</span> if (i > 0)<a name="line.425"></a>
-<span class="sourceLineNo">426</span> charset = h.substring(i+9).trim();<a name="line.426"></a>
-<span class="sourceLineNo">427</span> }<a name="line.427"></a>
-<span class="sourceLineNo">428</span> if (charset == null)<a name="line.428"></a>
-<span class="sourceLineNo">429</span> charset = defaultCharset;<a name="line.429"></a>
-<span class="sourceLineNo">430</span> if (! Charset.isSupported(charset))<a name="line.430"></a>
-<span class="sourceLineNo">431</span> throw new RestException(SC_UNSUPPORTED_MEDIA_TYPE, "Unsupported charset in header ''Content-Type'': ''{0}''", h);<a name="line.431"></a>
-<span class="sourceLineNo">432</span> }<a name="line.432"></a>
-<span class="sourceLineNo">433</span> return charset;<a name="line.433"></a>
-<span class="sourceLineNo">434</span> }<a name="line.434"></a>
-<span class="sourceLineNo">435</span><a name="line.435"></a>
-<span class="sourceLineNo">436</span> @Override /* ServletRequest */<a name="line.436"></a>
-<span class="sourceLineNo">437</span> public Locale getLocale() {<a name="line.437"></a>
-<span class="sourceLineNo">438</span> String h = getOverriddenHeader("Accept-Language");<a name="line.438"></a>
-<span class="sourceLineNo">439</span> if (h != null) {<a name="line.439"></a>
-<span class="sourceLineNo">440</span> MediaTypeRange[] mr = MediaTypeRange.parse(h);<a name="line.440"></a>
-<span class="sourceLineNo">441</span> if (mr.length > 0)<a name="line.441"></a>
-<span class="sourceLineNo">442</span> return toLocale(mr[0].getMediaType().getType());<a name="line.442"></a>
-<span class="sourceLineNo">443</span> }<a name="line.443"></a>
-<span class="sourceLineNo">444</span> return super.getLocale();<a name="line.444"></a>
-<span class="sourceLineNo">445</span> }<a name="line.445"></a>
-<span class="sourceLineNo">446</span><a name="line.446"></a>
-<span class="sourceLineNo">447</span> @Override /* ServletRequest */<a name="line.447"></a>
-<span class="sourceLineNo">448</span> public Enumeration<Locale> getLocales() {<a name="line.448"></a>
-<span class="sourceLineNo">449</span> String h = getOverriddenHeader("Accept-Language");<a name="line.449"></a>
-<span class="sourceLineNo">450</span> if (h != null) {<a name="line.450"></a>
-<span class="sourceLineNo">451</span> MediaTypeRange[] mr = MediaTypeRange.parse(h);<a name="line.451"></a>
-<span class="sourceLineNo">452</span> if (mr.length > 0) {<a name="line.452"></a>
-<span class="sourceLineNo">453</span> List<Locale> l = new ArrayList<Locale>(mr.length);<a name="line.453"></a>
-<span class="sourceLineNo">454</span> for (MediaTypeRange r : mr)<a name="line.454"></a>
-<span class="sourceLineNo">455</span> l.add(toLocale(r.getMediaType().getType()));<a name="line.455"></a>
-<span class="sourceLineNo">456</span> return enumeration(l);<a name="line.456"></a>
-<span class="sourceLineNo">457</span> }<a name="line.457"></a>
-<span class="sourceLineNo">458</span> }<a name="line.458"></a>
-<span class="sourceLineNo">459</span> return super.getLocales();<a name="line.459"></a>
-<span class="sourceLineNo">460</span> }<a name="line.460"></a>
-<span class="sourceLineNo">461</span><a name="line.461"></a>
-<span class="sourceLineNo">462</span><a name="line.462"></a>
-<span class="sourceLineNo">463</span> //--------------------------------------------------------------------------------<a name="line.463"></a>
-<span class="sourceLineNo">464</span> // Query parameters<a name="line.464"></a>
-<span class="sourceLineNo">465</span> //--------------------------------------------------------------------------------<a name="line.465"></a>
-<span class="sourceLineNo">466</span><a name="line.466"></a>
-<span class="sourceLineNo">467</span> /**<a name="line.467"></a>
-<span class="sourceLineNo">468</span> * Sets a request query parameter value.<a name="line.468"></a>
-<span class="sourceLineNo">469</span> *<a name="line.469"></a>
-<span class="sourceLineNo">470</span> * @param name The parameter name.<a name="line.470"></a>
-<span class="sourceLineNo">471</span> * @param value The parameter value.<a name="line.471"></a>
-<span class="sourceLineNo">472</span> */<a name="line.472"></a>
-<span class="sourceLineNo">473</span> public void setQueryParameter(String name, Object value) {<a name="line.473"></a>
-<span class="sourceLineNo">474</span> if (overriddenQueryParams == null)<a name="line.474"></a>
-<span class="sourceLineNo">475</span> overriddenQueryParams = new TreeMap<String,String>(String.CASE_INSENSITIVE_ORDER);<a name="line.475"></a>
-<span class="sourceLineNo">476</span> overriddenQueryParams.put(name, value == null ? null : value.toString());<a name="line.476"></a>
-<span class="sourceLineNo">477</span> }<a name="line.477"></a>
-<span class="sourceLineNo">478</span><a name="line.478"></a>
-<span class="sourceLineNo">479</span> /**<a name="line.479"></a>
-<span class="sourceLineNo">480</span> * Returns a query parameter value.<a name="line.480"></a>
-<span class="sourceLineNo">481</span> * <p><a name="line.481"></a>
-<span class="sourceLineNo">482</span> * Same as {@link #getParameter(String)} except only looks in the URL string, not parameters from URL-Encoded FORM posts.<a name="line.482"></a>
-<span class="sourceLineNo">483</span> * <p><a name="line.483"></a>
-<span class="sourceLineNo">484</span> * This method can be used to retrieve a parameter without triggering the underlying servlet API to load and parse the request body.<a name="line.484"></a>
-<span class="sourceLineNo">485</span> *<a name="line.485"></a>
-<span class="sourceLineNo">486</span> * @param name The URL parameter name.<a name="line.486"></a>
-<span class="sourceLineNo">487</span> * @return The parameter value, or <jk>null</jk> if parameter not specified or has no value (e.g. <js>"&amp;foo"</js>.<a name="line.487"></a>
-<span class="sourceLineNo">488</span> */<a name="line.488"></a>
-<span class="sourceLineNo">489</span> public String getQueryParameter(String name) {<a name="line.489"></a>
-<span class="sourceLineNo">490</span> String s = null;<a name="line.490"></a>
-<span class="sourceLineNo">491</span> if (overriddenQueryParams != null)<a name="line.491"></a>
-<span class="sourceLineNo">492</span> s = overriddenQueryParams.get(name);<a name="line.492"></a>
-<span class="sourceLineNo">493</span> if (s != null)<a name="line.493"></a>
-<span class="sourceLineNo">494</span> return s;<a name="line.494"></a>
-<span class="sourceLineNo">495</span> String[] v = queryParams.get(name);<a name="line.495"></a>
-<span class="sourceLineNo">496</span> if (v == null || v.length == 0)<a name="line.496"></a>
-<span class="sourceLineNo">497</span> return null;<a name="line.497"></a>
-<span class="sourceLineNo">498</span> if (v.length == 1 && v[0] != null && v[0].isEmpty()) {<a name="line.498"></a>
-<span class="sourceLineNo">499</span> // Fix for behavior difference between Tomcat and WAS.<a name="line.499"></a>
-<span class="sourceLineNo">500</span> // getParameter("foo") on "&foo" in Tomcat returns "".<a name="line.500"></a>
-<span class="sourceLineNo">501</span> // getParameter("foo") on "&foo" in WAS returns null.<a name="line.501"></a>
-<span class="sourceLineNo">502</span> if (queryParams.containsKey(name))<a name="line.502"></a>
-<span class="sourceLineNo">503</span> return null;<a name="line.503"></a>
-<span class="sourceLineNo">504</span> }<a name="line.504"></a>
-<span class="sourceLineNo">505</span> return v[0];<a name="line.505"></a>
-<span class="sourceLineNo">506</span> }<a name="line.506"></a>
-<span class="sourceLineNo">507</span><a name="line.507"></a>
-<span class="sourceLineNo">508</span> /**<a name="line.508"></a>
-<span class="sourceLineNo">509</span> * Same as {@link #getQueryParameter(String)} but returns the specified default value if the query parameter was not specified.<a name="line.509"></a>
-<span class="sourceLineNo">510</span> *<a name="line.510"></a>
-<span class="sourceLineNo">511</span> * @param name The URL parameter name.<a name="line.511"></a>
-<span class="sourceLineNo">512</span> * @param def The default value.<a name="line.512"></a>
-<span class="sourceLineNo">513</span> * @return The parameter value, or the default value if parameter not specified or has no value (e.g. <js>"&amp;foo"</js>.<a name="line.513"></a>
-<span class="sourceLineNo">514</span> */<a name="line.514"></a>
-<span class="sourceLineNo">515</span> public String getQueryParameter(String name, String def) {<a name="line.515"></a>
-<span class="sourceLineNo">516</span> String s = getQueryParameter(name);<a name="line.516"></a>
-<span class="sourceLineNo">517</span> return s == null ? def : s;<a name="line.517"></a>
-<span class="sourceLineNo">518</span> }<a name="line.518"></a>
-<span class="sourceLineNo">519</span><a name="line.519"></a>
-<span class="sourceLineNo">520</span> /**<a name="line.520"></a>
-<span class="sourceLineNo">521</span> * Returns the specified query parameter value converted to a POJO.<a name="line.521"></a>
-<span class="sourceLineNo">522</span> * <p><a name="line.522"></a>
-<span class="sourceLineNo">523</span> * This method can be used to retrieve a parameter without triggering the underlying servlet API to load and parse the request body.<a name="line.523"></a>
-<span class="sourceLineNo">524</span> * <p><a name="line.524"></a>
-<span class="sourceLineNo">525</span> * <h5 class='section'>Examples:</h5><a name="line.525"></a>
-<span class="sourceLineNo">526</span> * <p class='bcode'><a name="line.526"></a>
-<span class="sourceLineNo">527</span> * <jc>// Parse into an integer.</jc><a name="line.527"></a>
-<span class="sourceLineNo">528</span> * <jk>int</jk> myparam = req.getQueryParameter(<js>"myparam"</js>, <jk>int</jk>.<jk>class</jk>);<a name="line.528"></a>
-<span class="sourceLineNo">529</span> *<a name="line.529"></a>
-<span class="sourceLineNo">530</span> * <jc>// Parse into an int array.</jc><a name="line.530"></a>
-<span class="sourceLineNo">531</span> * <jk>int</jk>[] myparam = req.getQueryParameter(<js>"myparam"</js>, <jk>int</jk>[].<jk>class</jk>);<a name="line.531"></a>
+<span class="sourceLineNo">389</span> public String getQuery(String name, String def) {<a name="line.389"></a>
+<span class="sourceLineNo">390</span> return getQuery().getFirst(name, def);<a name="line.390"></a>
+<span class="sourceLineNo">391</span> }<a name="line.391"></a>
+<span class="sourceLineNo">392</span><a name="line.392"></a>
+<span class="sourceLineNo">393</span><a name="line.393"></a>
+<span class="sourceLineNo">394</span> //--------------------------------------------------------------------------------<a name="line.394"></a>
+<span class="sourceLineNo">395</span> // Form data parameters<a name="line.395"></a>
+<span class="sourceLineNo">396</span> //--------------------------------------------------------------------------------<a name="line.396"></a>
+<span class="sourceLineNo">397</span><a name="line.397"></a>
+<span class="sourceLineNo">398</span> /**<a name="line.398"></a>
+<span class="sourceLineNo">399</span> * Retrieves the URL-encoded form data from the request if the body has already been cached locally.<a name="line.399"></a>
+<span class="sourceLineNo">400</span> *<a name="line.400"></a>
+<span class="sourceLineNo">401</span> * @return The URL-encoded form data from the request.<a name="line.401"></a>
+<span class="sourceLineNo">402</span> */<a name="line.402"></a>
+<span class="sourceLineNo">403</span> public RequestFormData getFormData() {<a name="line.403"></a>
+<span class="sourceLineNo">404</span> try {<a name="line.404"></a>
+<span class="sourceLineNo">405</span> if (formData == null) {<a name="line.405"></a>
+<span class="sourceLineNo">406</span> formData = new RequestFormData();<a name="line.406"></a>
+<span class="sourceLineNo">407</span> formData.setParser(urlEncodingParser).setBeanSession(beanSession);<a name="line.407"></a>
+<span class="sourceLineNo">408</span> if (! body.isLoaded()) {<a name="line.408"></a>
+<span class="sourceLineNo">409</span> formData.putAll(getParameterMap());<a name="line.409"></a>
+<span class="sourceLineNo">410</span> } else {<a name="line.410"></a>
+<span class="sourceLineNo">411</span> Map<String,String> m = urlEncodingParser.parse(body.getReader(), Map.class, String.class, String.class);<a name="line.411"></a>
+<span class="sourceLineNo">412</span> for (Map.Entry<String,String> e : m.entrySet()) {<a name="line.412"></a>
+<span class="sourceLineNo">413</span> formData.put(e.getKey(), e.getValue());<a name="line.413"></a>
+<span class="sourceLineNo">414</span> }<a name="line.414"></a>
+<span class="sourceLineNo">415</span> }<a name="line.415"></a>
+<span class="sourceLineNo">416</span> }<a name="line.416"></a>
+<span class="sourceLineNo">417</span> return formData;<a name="line.417"></a>
+<span class="sourceLineNo">418</span> } catch (Exception e) {<a name="line.418"></a>
+<span class="sourceLineNo">419</span> throw new RestException(SC_INTERNAL_SERVER_ERROR, e);<a name="line.419"></a>
+<span class="sourceLineNo">420</span> }<a name="line.420"></a>
+<span class="sourceLineNo">421</span> }<a name="line.421"></a>
+<span class="sourceLineNo">422</span><a name="line.422"></a>
+<span class="sourceLineNo">423</span> /**<a name="line.423"></a>
+<span class="sourceLineNo">424</span> * Convenience method for calling <code>getFormData().put(name, value);</code>.<a name="line.424"></a>
+<span class="sourceLineNo">425</span> *<a name="line.425"></a>
+<span class="sourceLineNo">426</span> * @param name The parameter name.<a name="line.426"></a>
+<span class="sourceLineNo">427</span> * @param value The parameter value.<a name="line.427"></a>
+<span class="sourceLineNo">428</span
<TRUNCATED>
[17/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/LastModified.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/LastModified.html b/content/site/apidocs/src-html/org/apache/juneau/http/LastModified.html
new file mode 100644
index 0000000..50bf2e9
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/LastModified.html
@@ -0,0 +1,146 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Represents a parsed <l>Last-Modified</l> HTTP response header.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * <p><a name="line.17"></a>
+<span class="sourceLineNo">018</span> * The last modified date for the requested object (in "HTTP-date" format as defined by RFC 7231).<a name="line.18"></a>
+<span class="sourceLineNo">019</span> *<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * <h6 class='figure'>Example</h6><a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p class='bcode'><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * Last-Modified: Tue, 15 Nov 1994 12:45:26 GMT<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * </p><a name="line.23"></a>
+<span class="sourceLineNo">024</span> *<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * <h6 class='topic'>RFC2616 Specification</h6><a name="line.25"></a>
+<span class="sourceLineNo">026</span> *<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * The Last-Modified entity-header field indicates the date and time at which the origin server believes the variant was<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * last modified.<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * <p class='bcode'><a name="line.29"></a>
+<span class="sourceLineNo">030</span> * Last-Modified = "Last-Modified" ":" HTTP-date<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * </p><a name="line.31"></a>
+<span class="sourceLineNo">032</span> * <p><a name="line.32"></a>
+<span class="sourceLineNo">033</span> * An example of its use is...<a name="line.33"></a>
+<span class="sourceLineNo">034</span> * <p class='bcode'><a name="line.34"></a>
+<span class="sourceLineNo">035</span> * Last-Modified: Tue, 15 Nov 1994 12:45:26 GMT<a name="line.35"></a>
+<span class="sourceLineNo">036</span> * </p><a name="line.36"></a>
+<span class="sourceLineNo">037</span> * <p><a name="line.37"></a>
+<span class="sourceLineNo">038</span> * The exact meaning of this header field depends on the implementation of the origin server and the nature of the<a name="line.38"></a>
+<span class="sourceLineNo">039</span> * original resource.<a name="line.39"></a>
+<span class="sourceLineNo">040</span> * For files, it may be just the file system last-modified time.<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * For entities with dynamically included parts, it may be the most recent of the set of last-modify times for its<a name="line.41"></a>
+<span class="sourceLineNo">042</span> * component parts.<a name="line.42"></a>
+<span class="sourceLineNo">043</span> * For database gateways, it may be the last-update time stamp of the record.<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * For virtual objects, it may be the last time the internal state changed.<a name="line.44"></a>
+<span class="sourceLineNo">045</span> * <p><a name="line.45"></a>
+<span class="sourceLineNo">046</span> * An origin server MUST NOT send a Last-Modified date which is later than the server's time of message origination.<a name="line.46"></a>
+<span class="sourceLineNo">047</span> * In such cases, where the resource's last modification would indicate some time in the future, the server MUST replace<a name="line.47"></a>
+<span class="sourceLineNo">048</span> * that date with the message origination date.<a name="line.48"></a>
+<span class="sourceLineNo">049</span> * <p><a name="line.49"></a>
+<span class="sourceLineNo">050</span> * An origin server SHOULD obtain the Last-Modified value of the entity as close as possible to the time that it<a name="line.50"></a>
+<span class="sourceLineNo">051</span> * generates the Date value of its response.<a name="line.51"></a>
+<span class="sourceLineNo">052</span> * This allows a recipient to make an accurate assessment of the entity's modification time, especially if the entity<a name="line.52"></a>
+<span class="sourceLineNo">053</span> * changes near the time that the response is generated.<a name="line.53"></a>
+<span class="sourceLineNo">054</span> * <p><a name="line.54"></a>
+<span class="sourceLineNo">055</span> * HTTP/1.1 servers SHOULD send Last-Modified whenever feasible.<a name="line.55"></a>
+<span class="sourceLineNo">056</span> */<a name="line.56"></a>
+<span class="sourceLineNo">057</span>public final class LastModified extends HeaderDate {<a name="line.57"></a>
+<span class="sourceLineNo">058</span><a name="line.58"></a>
+<span class="sourceLineNo">059</span> /**<a name="line.59"></a>
+<span class="sourceLineNo">060</span> * Returns a parsed <code>Last-Modified</code> header.<a name="line.60"></a>
+<span class="sourceLineNo">061</span> *<a name="line.61"></a>
+<span class="sourceLineNo">062</span> * @param value The <code>Last-Modified</code> header string.<a name="line.62"></a>
+<span class="sourceLineNo">063</span> * @return The parsed <code>Last-Modified</code> header, or <jk>null</jk> if the string was null.<a name="line.63"></a>
+<span class="sourceLineNo">064</span> */<a name="line.64"></a>
+<span class="sourceLineNo">065</span> public static LastModified forString(String value) {<a name="line.65"></a>
+<span class="sourceLineNo">066</span> if (value == null)<a name="line.66"></a>
+<span class="sourceLineNo">067</span> return null;<a name="line.67"></a>
+<span class="sourceLineNo">068</span> return new LastModified(value);<a name="line.68"></a>
+<span class="sourceLineNo">069</span> }<a name="line.69"></a>
+<span class="sourceLineNo">070</span><a name="line.70"></a>
+<span class="sourceLineNo">071</span> private LastModified(String value) {<a name="line.71"></a>
+<span class="sourceLineNo">072</span> super(value);<a name="line.72"></a>
+<span class="sourceLineNo">073</span> }<a name="line.73"></a>
+<span class="sourceLineNo">074</span>}<a name="line.74"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/Location.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/Location.html b/content/site/apidocs/src-html/org/apache/juneau/http/Location.html
new file mode 100644
index 0000000..cc167fa
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/Location.html
@@ -0,0 +1,135 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Represents a parsed <l>Location</l> HTTP response header.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * <p><a name="line.17"></a>
+<span class="sourceLineNo">018</span> * Used in redirection, or when a new resource has been created.<a name="line.18"></a>
+<span class="sourceLineNo">019</span> *<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * <h6 class='figure'>Example</h6><a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p class='bcode'><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * Location: http://www.w3.org/pub/WWW/People.html<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * </p><a name="line.23"></a>
+<span class="sourceLineNo">024</span> *<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * <h6 class='topic'>RFC2616 Specification</h6><a name="line.25"></a>
+<span class="sourceLineNo">026</span> *<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * The Location response-header field is used to redirect the recipient to a location other than the Request-URI for<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * completion of the request or identification of a new resource.<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * For 201 (Created) responses, the Location is that of the new resource which was created by the request.<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * For 3xx responses, the location SHOULD indicate the server's preferred URI for automatic redirection to the resource.<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * The field value consists of a single absolute URI.<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * <p class='bcode'><a name="line.32"></a>
+<span class="sourceLineNo">033</span> * Location = "Location" ":" absoluteURI<a name="line.33"></a>
+<span class="sourceLineNo">034</span> * </p><a name="line.34"></a>
+<span class="sourceLineNo">035</span> * <p><a name="line.35"></a>
+<span class="sourceLineNo">036</span> * An example is:<a name="line.36"></a>
+<span class="sourceLineNo">037</span> * <p class='bcode'><a name="line.37"></a>
+<span class="sourceLineNo">038</span> * Location: http://www.w3.org/pub/WWW/People.html<a name="line.38"></a>
+<span class="sourceLineNo">039</span> * </p><a name="line.39"></a>
+<span class="sourceLineNo">040</span> * <p><a name="line.40"></a>
+<span class="sourceLineNo">041</span> * Note: The Content-Location header field (section 14.14) differs from Location in that the Content-Location identifies<a name="line.41"></a>
+<span class="sourceLineNo">042</span> * the original location of the entity enclosed in the request.<a name="line.42"></a>
+<span class="sourceLineNo">043</span> * It is therefore possible for a response to contain header fields for both Location and Content-Location.<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * Also see section 13.10 for cache requirements of some methods.<a name="line.44"></a>
+<span class="sourceLineNo">045</span> */<a name="line.45"></a>
+<span class="sourceLineNo">046</span>public final class Location extends HeaderUri {<a name="line.46"></a>
+<span class="sourceLineNo">047</span><a name="line.47"></a>
+<span class="sourceLineNo">048</span> /**<a name="line.48"></a>
+<span class="sourceLineNo">049</span> * Returns a parsed <code>Location</code> header.<a name="line.49"></a>
+<span class="sourceLineNo">050</span> *<a name="line.50"></a>
+<span class="sourceLineNo">051</span> * @param value The <code>Location</code> header string.<a name="line.51"></a>
+<span class="sourceLineNo">052</span> * @return The parsed <code>Location</code> header, or <jk>null</jk> if the string was null.<a name="line.52"></a>
+<span class="sourceLineNo">053</span> */<a name="line.53"></a>
+<span class="sourceLineNo">054</span> public static Location forString(String value) {<a name="line.54"></a>
+<span class="sourceLineNo">055</span> if (value == null)<a name="line.55"></a>
+<span class="sourceLineNo">056</span> return null;<a name="line.56"></a>
+<span class="sourceLineNo">057</span> return new Location(value);<a name="line.57"></a>
+<span class="sourceLineNo">058</span> }<a name="line.58"></a>
+<span class="sourceLineNo">059</span><a name="line.59"></a>
+<span class="sourceLineNo">060</span> private Location(String value) {<a name="line.60"></a>
+<span class="sourceLineNo">061</span> super(value);<a name="line.61"></a>
+<span class="sourceLineNo">062</span> }<a name="line.62"></a>
+<span class="sourceLineNo">063</span>}<a name="line.63"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/MaxForwards.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/MaxForwards.html b/content/site/apidocs/src-html/org/apache/juneau/http/MaxForwards.html
new file mode 100644
index 0000000..5789fa1
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/MaxForwards.html
@@ -0,0 +1,137 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Represents a parsed <l>Max-Forwards</l> HTTP request header.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * <p><a name="line.17"></a>
+<span class="sourceLineNo">018</span> * Limit the number of times the message can be forwarded through proxies or gateways.<a name="line.18"></a>
+<span class="sourceLineNo">019</span> *<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * <h6 class='figure'>Example</h6><a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p class='bcode'><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * Max-Forwards: 10<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * </p><a name="line.23"></a>
+<span class="sourceLineNo">024</span> *<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * <h6 class='topic'>RFC2616 Specification</h6><a name="line.25"></a>
+<span class="sourceLineNo">026</span> *<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * The Max-Forwards request-header field provides a mechanism with the TRACE (section 9.8) and OPTIONS (section 9.2)<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * methods to limit the number of proxies or gateways that can forward the request to the next inbound server.<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * This can be useful when the client is attempting to trace a request chain which appears to be failing or looping in<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * mid-chain.<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * <p class='bcode'><a name="line.31"></a>
+<span class="sourceLineNo">032</span> * Max-Forwards = "Max-Forwards" ":" 1*DIGIT<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * </p><a name="line.33"></a>
+<span class="sourceLineNo">034</span> * <p><a name="line.34"></a>
+<span class="sourceLineNo">035</span> * The Max-Forwards value is a decimal integer indicating the remaining number of times this request message may be<a name="line.35"></a>
+<span class="sourceLineNo">036</span> * forwarded.<a name="line.36"></a>
+<span class="sourceLineNo">037</span> * <p><a name="line.37"></a>
+<span class="sourceLineNo">038</span> * Each proxy or gateway recipient of a TRACE or OPTIONS request containing a Max-Forwards header field MUST check and<a name="line.38"></a>
+<span class="sourceLineNo">039</span> * update its value prior to forwarding the request.<a name="line.39"></a>
+<span class="sourceLineNo">040</span> * If the received value is zero (0), the recipient MUST NOT forward the request; instead, it MUST respond as the final<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * recipient.<a name="line.41"></a>
+<span class="sourceLineNo">042</span> * If the received Max-Forwards value is greater than zero, then the forwarded message MUST contain an updated<a name="line.42"></a>
+<span class="sourceLineNo">043</span> * Max-Forwards field with a value decremented by one (1).<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * <p><a name="line.44"></a>
+<span class="sourceLineNo">045</span> * The Max-Forwards header field MAY be ignored for all other methods defined by this specification and for any<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * extension methods for which it is not explicitly referred to as part of that method definition.<a name="line.46"></a>
+<span class="sourceLineNo">047</span> */<a name="line.47"></a>
+<span class="sourceLineNo">048</span>public final class MaxForwards extends HeaderInteger {<a name="line.48"></a>
+<span class="sourceLineNo">049</span><a name="line.49"></a>
+<span class="sourceLineNo">050</span> /**<a name="line.50"></a>
+<span class="sourceLineNo">051</span> * Returns a parsed <code>Max-Forwards</code> header.<a name="line.51"></a>
+<span class="sourceLineNo">052</span> *<a name="line.52"></a>
+<span class="sourceLineNo">053</span> * @param value The <code>Max-Forwards</code> header string.<a name="line.53"></a>
+<span class="sourceLineNo">054</span> * @return The parsed <code>Max-Forwards</code> header, or <jk>null</jk> if the string was null.<a name="line.54"></a>
+<span class="sourceLineNo">055</span> */<a name="line.55"></a>
+<span class="sourceLineNo">056</span> public static MaxForwards forString(String value) {<a name="line.56"></a>
+<span class="sourceLineNo">057</span> if (value == null)<a name="line.57"></a>
+<span class="sourceLineNo">058</span> return null;<a name="line.58"></a>
+<span class="sourceLineNo">059</span> return new MaxForwards(value);<a name="line.59"></a>
+<span class="sourceLineNo">060</span> }<a name="line.60"></a>
+<span class="sourceLineNo">061</span><a name="line.61"></a>
+<span class="sourceLineNo">062</span> private MaxForwards(String value) {<a name="line.62"></a>
+<span class="sourceLineNo">063</span> super(value);<a name="line.63"></a>
+<span class="sourceLineNo">064</span> }<a name="line.64"></a>
+<span class="sourceLineNo">065</span>}<a name="line.65"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/Pragma.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/Pragma.html b/content/site/apidocs/src-html/org/apache/juneau/http/Pragma.html
new file mode 100644
index 0000000..e29a400
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/Pragma.html
@@ -0,0 +1,143 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Represents a parsed <l>Pragma</l> HTTP request/response header.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * <p><a name="line.17"></a>
+<span class="sourceLineNo">018</span> * Implementation-specific fields that may have various effects anywhere along the request-response chain.<a name="line.18"></a>
+<span class="sourceLineNo">019</span> *<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * <h6 class='figure'>Example</h6><a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p class='bcode'><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * Pragma: no-cache<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * </p><a name="line.23"></a>
+<span class="sourceLineNo">024</span> *<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * <h6 class='topic'>RFC2616 Specification</h6><a name="line.25"></a>
+<span class="sourceLineNo">026</span> * The Pragma general-header field is used to include implementation- specific directives that might apply to any<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * recipient along the request/response chain.<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * All pragma directives specify optional behavior from the viewpoint of the protocol; however, some systems MAY<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * require that behavior be consistent with the directives.<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * <p class='bcode'><a name="line.30"></a>
+<span class="sourceLineNo">031</span> * Pragma = "Pragma" ":" 1#pragma-directive<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * pragma-directive = "no-cache" | extension-pragma<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * extension-pragma = token [ "=" ( token | quoted-string ) ]<a name="line.33"></a>
+<span class="sourceLineNo">034</span> * </p><a name="line.34"></a>
+<span class="sourceLineNo">035</span> * <p><a name="line.35"></a>
+<span class="sourceLineNo">036</span> * When the no-cache directive is present in a request message, an application SHOULD forward the request toward the<a name="line.36"></a>
+<span class="sourceLineNo">037</span> * origin server even if it has a cached copy of what is being requested.<a name="line.37"></a>
+<span class="sourceLineNo">038</span> * This pragma directive has the same semantics as the no-cache cache-directive (see section 14.9) and is defined here<a name="line.38"></a>
+<span class="sourceLineNo">039</span> * for backward compatibility with HTTP/1.0.<a name="line.39"></a>
+<span class="sourceLineNo">040</span> * Clients SHOULD include both header fields when a no-cache request is sent to a server not known to be HTTP/1.1<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * compliant.<a name="line.41"></a>
+<span class="sourceLineNo">042</span> * <p><a name="line.42"></a>
+<span class="sourceLineNo">043</span> * Pragma directives MUST be passed through by a proxy or gateway application, regardless of their significance to that<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * application, since the directives might be applicable to all recipients along the request/response chain.<a name="line.44"></a>
+<span class="sourceLineNo">045</span> * It is not possible to specify a pragma for a specific recipient; however, any pragma directive not relevant to a<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * recipient SHOULD be ignored by that recipient.<a name="line.46"></a>
+<span class="sourceLineNo">047</span> * <p><a name="line.47"></a>
+<span class="sourceLineNo">048</span> * HTTP/1.1 caches SHOULD treat "Pragma: no-cache" as if the client had sent "Cache-Control: no-cache".<a name="line.48"></a>
+<span class="sourceLineNo">049</span> * No new Pragma directives will be defined in HTTP.<a name="line.49"></a>
+<span class="sourceLineNo">050</span> * <p><a name="line.50"></a>
+<span class="sourceLineNo">051</span> * Note: because the meaning of "Pragma: no-cache as a response header field is not actually specified, it does not<a name="line.51"></a>
+<span class="sourceLineNo">052</span> * provide a reliable replacement for "Cache-Control: no-cache" in a response.<a name="line.52"></a>
+<span class="sourceLineNo">053</span> */<a name="line.53"></a>
+<span class="sourceLineNo">054</span>public final class Pragma extends HeaderString {<a name="line.54"></a>
+<span class="sourceLineNo">055</span><a name="line.55"></a>
+<span class="sourceLineNo">056</span> /**<a name="line.56"></a>
+<span class="sourceLineNo">057</span> * Returns a parsed <code>Pragma</code> header.<a name="line.57"></a>
+<span class="sourceLineNo">058</span> *<a name="line.58"></a>
+<span class="sourceLineNo">059</span> * @param value The <code>Pragma</code> header string.<a name="line.59"></a>
+<span class="sourceLineNo">060</span> * @return The parsed <code>Pragma</code> header, or <jk>null</jk> if the string was null.<a name="line.60"></a>
+<span class="sourceLineNo">061</span> */<a name="line.61"></a>
+<span class="sourceLineNo">062</span> public static Pragma forString(String value) {<a name="line.62"></a>
+<span class="sourceLineNo">063</span> if (value == null)<a name="line.63"></a>
+<span class="sourceLineNo">064</span> return null;<a name="line.64"></a>
+<span class="sourceLineNo">065</span> return new Pragma(value);<a name="line.65"></a>
+<span class="sourceLineNo">066</span> }<a name="line.66"></a>
+<span class="sourceLineNo">067</span><a name="line.67"></a>
+<span class="sourceLineNo">068</span> private Pragma(String value) {<a name="line.68"></a>
+<span class="sourceLineNo">069</span> super(value);<a name="line.69"></a>
+<span class="sourceLineNo">070</span> }<a name="line.70"></a>
+<span class="sourceLineNo">071</span>}<a name="line.71"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/ProxyAuthenticate.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/ProxyAuthenticate.html b/content/site/apidocs/src-html/org/apache/juneau/http/ProxyAuthenticate.html
new file mode 100644
index 0000000..56d45b3
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/ProxyAuthenticate.html
@@ -0,0 +1,130 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Represents a parsed <l> Proxy-Authenticate</l> HTTP response header.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * <p><a name="line.17"></a>
+<span class="sourceLineNo">018</span> * Request authentication to access the proxy.<a name="line.18"></a>
+<span class="sourceLineNo">019</span> *<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * <h6 class='figure'>Example</h6><a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p class='bcode'><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * Proxy-Authenticate: Basic<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * </p><a name="line.23"></a>
+<span class="sourceLineNo">024</span> *<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * <h6 class='topic'>RFC2616 Specification</h6><a name="line.25"></a>
+<span class="sourceLineNo">026</span> *<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * The Proxy-Authenticate response-header field MUST be included as part of a 407 (Proxy Authentication Required)<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * response.<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * The field value consists of a challenge that indicates the authentication scheme and parameters applicable to the<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * proxy for this Request-URI.<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * <p class='bcode'><a name="line.31"></a>
+<span class="sourceLineNo">032</span> * Proxy-Authenticate = "Proxy-Authenticate" ":" 1#challenge<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * </p><a name="line.33"></a>
+<span class="sourceLineNo">034</span> * <p><a name="line.34"></a>
+<span class="sourceLineNo">035</span> * The HTTP access authentication process is described in "HTTP Authentication: Basic and Digest Access Authentication".<a name="line.35"></a>
+<span class="sourceLineNo">036</span> * Unlike WWW-Authenticate, the Proxy-Authenticate header field applies only to the current connection and SHOULD NOT<a name="line.36"></a>
+<span class="sourceLineNo">037</span> * be passed on to downstream clients.<a name="line.37"></a>
+<span class="sourceLineNo">038</span> * However, an intermediate proxy might need to obtain its own credentials by requesting them from the downstream<a name="line.38"></a>
+<span class="sourceLineNo">039</span> * client, which in some circumstances will appear as if the proxy is forwarding the Proxy-Authenticate header field.<a name="line.39"></a>
+<span class="sourceLineNo">040</span> */<a name="line.40"></a>
+<span class="sourceLineNo">041</span>public final class ProxyAuthenticate extends HeaderString {<a name="line.41"></a>
+<span class="sourceLineNo">042</span><a name="line.42"></a>
+<span class="sourceLineNo">043</span> /**<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * Returns a parsed <code>Proxy-Authenticate</code> header.<a name="line.44"></a>
+<span class="sourceLineNo">045</span> *<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * @param value The <code>Proxy-Authenticate</code> header string.<a name="line.46"></a>
+<span class="sourceLineNo">047</span> * @return The parsed <code>Proxy-Authenticate</code> header, or <jk>null</jk> if the string was null.<a name="line.47"></a>
+<span class="sourceLineNo">048</span> */<a name="line.48"></a>
+<span class="sourceLineNo">049</span> public static ProxyAuthenticate forString(String value) {<a name="line.49"></a>
+<span class="sourceLineNo">050</span> if (value == null)<a name="line.50"></a>
+<span class="sourceLineNo">051</span> return null;<a name="line.51"></a>
+<span class="sourceLineNo">052</span> return new ProxyAuthenticate(value);<a name="line.52"></a>
+<span class="sourceLineNo">053</span> }<a name="line.53"></a>
+<span class="sourceLineNo">054</span><a name="line.54"></a>
+<span class="sourceLineNo">055</span> private ProxyAuthenticate(String value) {<a name="line.55"></a>
+<span class="sourceLineNo">056</span> super(value);<a name="line.56"></a>
+<span class="sourceLineNo">057</span> }<a name="line.57"></a>
+<span class="sourceLineNo">058</span>}<a name="line.58"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/ProxyAuthorization.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/ProxyAuthorization.html b/content/site/apidocs/src-html/org/apache/juneau/http/ProxyAuthorization.html
new file mode 100644
index 0000000..f78e850
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/ProxyAuthorization.html
@@ -0,0 +1,132 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Represents a parsed <l>Proxy-Authorization</l> HTTP request header.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * <p><a name="line.17"></a>
+<span class="sourceLineNo">018</span> * Authorization credentials for connecting to a proxy.<a name="line.18"></a>
+<span class="sourceLineNo">019</span> *<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * <h6 class='figure'>Example</h6><a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p class='bcode'><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * Proxy-Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * </p><a name="line.23"></a>
+<span class="sourceLineNo">024</span> *<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * <h6 class='topic'>RFC2616 Specification</h6><a name="line.25"></a>
+<span class="sourceLineNo">026</span> *<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * The Proxy-Authorization request-header field allows the client to identify itself (or its user) to a proxy which<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * requires authentication.<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * The Proxy-Authorization field value consists of credentials containing the authentication information of the user<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * agent for the proxy and/or realm of the resource being requested.<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * <p class='bcode'><a name="line.31"></a>
+<span class="sourceLineNo">032</span> * Proxy-Authorization = "Proxy-Authorization" ":" credentials<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * </p><a name="line.33"></a>
+<span class="sourceLineNo">034</span> * <p><a name="line.34"></a>
+<span class="sourceLineNo">035</span> * The HTTP access authentication process is described in "HTTP Authentication: Basic and Digest Access Authentication".<a name="line.35"></a>
+<span class="sourceLineNo">036</span> * Unlike Authorization, the Proxy-Authorization header field applies only to the next outbound proxy that demanded<a name="line.36"></a>
+<span class="sourceLineNo">037</span> * authentication using the Proxy-Authenticate field.<a name="line.37"></a>
+<span class="sourceLineNo">038</span> * When multiple proxies are used in a chain, the Proxy-Authorization header field is consumed by the first outbound<a name="line.38"></a>
+<span class="sourceLineNo">039</span> * proxy that was expecting to receive credentials.<a name="line.39"></a>
+<span class="sourceLineNo">040</span> * A proxy MAY relay the credentials from the client request to the next proxy if that is the mechanism by which the<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * proxies cooperatively authenticate a given request.<a name="line.41"></a>
+<span class="sourceLineNo">042</span> */<a name="line.42"></a>
+<span class="sourceLineNo">043</span>public final class ProxyAuthorization extends HeaderString {<a name="line.43"></a>
+<span class="sourceLineNo">044</span><a name="line.44"></a>
+<span class="sourceLineNo">045</span> /**<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * Returns a parsed <code>Proxy-Authorization</code> header.<a name="line.46"></a>
+<span class="sourceLineNo">047</span> *<a name="line.47"></a>
+<span class="sourceLineNo">048</span> * @param value The <code>Proxy-Authorization</code> header string.<a name="line.48"></a>
+<span class="sourceLineNo">049</span> * @return The parsed <code>Proxy-Authorization</code> header, or <jk>null</jk> if the string was null.<a name="line.49"></a>
+<span class="sourceLineNo">050</span> */<a name="line.50"></a>
+<span class="sourceLineNo">051</span> public static ProxyAuthorization forString(String value) {<a name="line.51"></a>
+<span class="sourceLineNo">052</span> if (value == null)<a name="line.52"></a>
+<span class="sourceLineNo">053</span> return null;<a name="line.53"></a>
+<span class="sourceLineNo">054</span> return new ProxyAuthorization(value);<a name="line.54"></a>
+<span class="sourceLineNo">055</span> }<a name="line.55"></a>
+<span class="sourceLineNo">056</span><a name="line.56"></a>
+<span class="sourceLineNo">057</span> private ProxyAuthorization(String value) {<a name="line.57"></a>
+<span class="sourceLineNo">058</span> super(value);<a name="line.58"></a>
+<span class="sourceLineNo">059</span> }<a name="line.59"></a>
+<span class="sourceLineNo">060</span>}<a name="line.60"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/Range.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/Range.html b/content/site/apidocs/src-html/org/apache/juneau/http/Range.html
new file mode 100644
index 0000000..0511540
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/Range.html
@@ -0,0 +1,208 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Represents a parsed <l>Range</l> HTTP request header.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * <p><a name="line.17"></a>
+<span class="sourceLineNo">018</span> * Request only part of an entity. Bytes are numbered from 0.<a name="line.18"></a>
+<span class="sourceLineNo">019</span> *<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * <h6 class='figure'>Example</h6><a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p class='bcode'><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * Range: bytes=500-999<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * </p><a name="line.23"></a>
+<span class="sourceLineNo">024</span> *<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * <h6 class='topic'>RFC2616 Specification</h6><a name="line.25"></a>
+<span class="sourceLineNo">026</span> *<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * Since all HTTP entities are represented in HTTP messages as sequences of bytes, the concept of a byte range is<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * meaningful for any HTTP entity.<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * (However, not all clients and servers need to support byte- range operations.)<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * <p><a name="line.30"></a>
+<span class="sourceLineNo">031</span> * Byte range specifications in HTTP apply to the sequence of bytes in the entity-body (not necessarily the same as the<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * message-body).<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * <p><a name="line.33"></a>
+<span class="sourceLineNo">034</span> * A byte range operation MAY specify a single range of bytes, or a set of ranges within a single entity.<a name="line.34"></a>
+<span class="sourceLineNo">035</span> * <p class='bcode'><a name="line.35"></a>
+<span class="sourceLineNo">036</span> * ranges-specifier = byte-ranges-specifier<a name="line.36"></a>
+<span class="sourceLineNo">037</span> * byte-ranges-specifier = bytes-unit "=" byte-range-set<a name="line.37"></a>
+<span class="sourceLineNo">038</span> * byte-range-set = 1#( byte-range-spec | suffix-byte-range-spec )<a name="line.38"></a>
+<span class="sourceLineNo">039</span> * byte-range-spec = first-byte-pos "-" [last-byte-pos]<a name="line.39"></a>
+<span class="sourceLineNo">040</span> * first-byte-pos = 1*DIGIT<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * last-byte-pos = 1*DIGIT<a name="line.41"></a>
+<span class="sourceLineNo">042</span> * </p><a name="line.42"></a>
+<span class="sourceLineNo">043</span> * <p><a name="line.43"></a>
+<span class="sourceLineNo">044</span> * The first-byte-pos value in a byte-range-spec gives the byte-offset of the first byte in a range.<a name="line.44"></a>
+<span class="sourceLineNo">045</span> * The last-byte-pos value gives the byte-offset of the last byte in the range; that is, the byte positions specified<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * are inclusive.<a name="line.46"></a>
+<span class="sourceLineNo">047</span> * Byte offsets start at zero.<a name="line.47"></a>
+<span class="sourceLineNo">048</span> * <p><a name="line.48"></a>
+<span class="sourceLineNo">049</span> * If the last-byte-pos value is present, it MUST be greater than or equal to the first-byte-pos in that<a name="line.49"></a>
+<span class="sourceLineNo">050</span> * byte-range-spec, or the byte- range-spec is syntactically invalid.<a name="line.50"></a>
+<span class="sourceLineNo">051</span> * The recipient of a byte-range- set that includes one or more syntactically invalid byte-range-spec values MUST<a name="line.51"></a>
+<span class="sourceLineNo">052</span> * ignore the header field that includes that byte-range-set.<a name="line.52"></a>
+<span class="sourceLineNo">053</span> * <p><a name="line.53"></a>
+<span class="sourceLineNo">054</span> * If the last-byte-pos value is absent, or if the value is greater than or equal to the current length of the<a name="line.54"></a>
+<span class="sourceLineNo">055</span> * entity-body, last-byte-pos is taken to be equal to one less than the current length of the entity-body in bytes.<a name="line.55"></a>
+<span class="sourceLineNo">056</span> * <p><a name="line.56"></a>
+<span class="sourceLineNo">057</span> * By its choice of last-byte-pos, a client can limit the number of bytes retrieved without knowing the size of the<a name="line.57"></a>
+<span class="sourceLineNo">058</span> * entity.<a name="line.58"></a>
+<span class="sourceLineNo">059</span> * <p class='bcode'><a name="line.59"></a>
+<span class="sourceLineNo">060</span> * suffix-byte-range-spec = "-" suffix-length<a name="line.60"></a>
+<span class="sourceLineNo">061</span> * suffix-length = 1*DIGIT<a name="line.61"></a>
+<span class="sourceLineNo">062</span> * </p><a name="line.62"></a>
+<span class="sourceLineNo">063</span> * <p><a name="line.63"></a>
+<span class="sourceLineNo">064</span> * A suffix-byte-range-spec is used to specify the suffix of the entity-body, of a length given by the suffix-length<a name="line.64"></a>
+<span class="sourceLineNo">065</span> * value.<a name="line.65"></a>
+<span class="sourceLineNo">066</span> * (That is, this form specifies the last N bytes of an entity-body.)<a name="line.66"></a>
+<span class="sourceLineNo">067</span> * If the entity is shorter than the specified suffix-length, the entire entity-body is used.<a name="line.67"></a>
+<span class="sourceLineNo">068</span> * <p><a name="line.68"></a>
+<span class="sourceLineNo">069</span> * If a syntactically valid byte-range-set includes at least one byte- range-spec whose first-byte-pos is less than the<a name="line.69"></a>
+<span class="sourceLineNo">070</span> * current length of the entity-body, or at least one suffix-byte-range-spec with a non-zero suffix-length, then the<a name="line.70"></a>
+<span class="sourceLineNo">071</span> * byte-range-set is satisfiable.<a name="line.71"></a>
+<span class="sourceLineNo">072</span> * Otherwise, the byte-range-set is unsatisfiable.<a name="line.72"></a>
+<span class="sourceLineNo">073</span> * If the byte-range-set is unsatisfiable, the server SHOULD return a response with a status of 416 (Requested range<a name="line.73"></a>
+<span class="sourceLineNo">074</span> * not satisfiable).<a name="line.74"></a>
+<span class="sourceLineNo">075</span> * Otherwise, the server SHOULD return a response with a status of 206 (Partial Content) containing the satisfiable<a name="line.75"></a>
+<span class="sourceLineNo">076</span> * ranges of the entity-body.<a name="line.76"></a>
+<span class="sourceLineNo">077</span> * <p><a name="line.77"></a>
+<span class="sourceLineNo">078</span> * Examples of byte-ranges-specifier values (assuming an entity-body of length 10000):<a name="line.78"></a>
+<span class="sourceLineNo">079</span> * <p class='bcode'><a name="line.79"></a>
+<span class="sourceLineNo">080</span> * - The first 500 bytes (byte offsets 0-499, inclusive): bytes=0-499<a name="line.80"></a>
+<span class="sourceLineNo">081</span> * - The second 500 bytes (byte offsets 500-999, inclusive): bytes=500-999<a name="line.81"></a>
+<span class="sourceLineNo">082</span> * - The final 500 bytes (byte offsets 9500-9999, inclusive): bytes=-500<a name="line.82"></a>
+<span class="sourceLineNo">083</span> * - Or bytes=9500-<a name="line.83"></a>
+<span class="sourceLineNo">084</span> * - The first and last bytes only (bytes 0 and 9999): bytes=0-0,-1<a name="line.84"></a>
+<span class="sourceLineNo">085</span> * - Several legal but not canonical specifications of the second 500 bytes (byte offsets 500-999, inclusive):<a name="line.85"></a>
+<span class="sourceLineNo">086</span> * bytes=500-600,601-999<a name="line.86"></a>
+<span class="sourceLineNo">087</span> * bytes=500-700,601-999<a name="line.87"></a>
+<span class="sourceLineNo">088</span> * </p><a name="line.88"></a>
+<span class="sourceLineNo">089</span> * <p><a name="line.89"></a>
+<span class="sourceLineNo">090</span> * HTTP retrieval requests using conditional or unconditional GET methods MAY request one or more sub-ranges of the<a name="line.90"></a>
+<span class="sourceLineNo">091</span> * entity, instead of the entire entity, using the Range request header, which applies to the entity returned as the r<a name="line.91"></a>
+<span class="sourceLineNo">092</span> * esult of the request:<a name="line.92"></a>
+<span class="sourceLineNo">093</span> * <p class='bcode'><a name="line.93"></a>
+<span class="sourceLineNo">094</span> * Range = "Range" ":" ranges-specifier<a name="line.94"></a>
+<span class="sourceLineNo">095</span> * </p><a name="line.95"></a>
+<span class="sourceLineNo">096</span> * <p><a name="line.96"></a>
+<span class="sourceLineNo">097</span> * A server MAY ignore the Range header.<a name="line.97"></a>
+<span class="sourceLineNo">098</span> * However, HTTP/1.1 origin servers and intermediate caches ought to support byte ranges when possible, since Range<a name="line.98"></a>
+<span class="sourceLineNo">099</span> * supports efficient recovery from partially failed transfers, and supports efficient partial retrieval of large<a name="line.99"></a>
+<span class="sourceLineNo">100</span> * entities.<a name="line.100"></a>
+<span class="sourceLineNo">101</span> * <p><a name="line.101"></a>
+<span class="sourceLineNo">102</span> * If the server supports the Range header and the specified range or ranges are appropriate for the entity:<a name="line.102"></a>
+<span class="sourceLineNo">103</span> * <ul><a name="line.103"></a>
+<span class="sourceLineNo">104</span> * <li>The presence of a Range header in an unconditional GET modifies what is returned if the GET is otherwise<a name="line.104"></a>
+<span class="sourceLineNo">105</span> * successful.<a name="line.105"></a>
+<span class="sourceLineNo">106</span> * In other words, the response carries a status code of 206 (Partial Content) instead of 200 (OK).<a name="line.106"></a>
+<span class="sourceLineNo">107</span> * <li>The presence of a Range header in a conditional GET (a request using one or both of If-Modified-Since and<a name="line.107"></a>
+<span class="sourceLineNo">108</span> * If-None-Match, or one or both of If-Unmodified-Since and If-Match) modifies what is returned if the GET is<a name="line.108"></a>
+<span class="sourceLineNo">109</span> * otherwise successful and the condition is true. It does not affect the 304 (Not Modified) response returned if<a name="line.109"></a>
+<span class="sourceLineNo">110</span> * the conditional is false.<a name="line.110"></a>
+<span class="sourceLineNo">111</span> * </ul><a name="line.111"></a>
+<span class="sourceLineNo">112</span> * In some cases, it might be more appropriate to use the If-Range header (see section 14.27) in addition to the Range<a name="line.112"></a>
+<span class="sourceLineNo">113</span> * header.<a name="line.113"></a>
+<span class="sourceLineNo">114</span> * <p><a name="line.114"></a>
+<span class="sourceLineNo">115</span> * If a proxy that supports ranges receives a Range request, forwards the request to an inbound server, and receives an<a name="line.115"></a>
+<span class="sourceLineNo">116</span> * entire entity in reply, it SHOULD only return the requested range to its client.<a name="line.116"></a>
+<span class="sourceLineNo">117</span> * It SHOULD store the entire received response in its cache if that is consistent with its cache allocation policies.<a name="line.117"></a>
+<span class="sourceLineNo">118</span> */<a name="line.118"></a>
+<span class="sourceLineNo">119</span>public final class Range extends HeaderString {<a name="line.119"></a>
+<span class="sourceLineNo">120</span><a name="line.120"></a>
+<span class="sourceLineNo">121</span> /**<a name="line.121"></a>
+<span class="sourceLineNo">122</span> * Returns a parsed <code>Range</code> header.<a name="line.122"></a>
+<span class="sourceLineNo">123</span> *<a name="line.123"></a>
+<span class="sourceLineNo">124</span> * @param value The <code>Range</code> header string.<a name="line.124"></a>
+<span class="sourceLineNo">125</span> * @return The parsed <code>Range</code> header, or <jk>null</jk> if the string was null.<a name="line.125"></a>
+<span class="sourceLineNo">126</span> */<a name="line.126"></a>
+<span class="sourceLineNo">127</span> public static Range forString(String value) {<a name="line.127"></a>
+<span class="sourceLineNo">128</span> if (value == null)<a name="line.128"></a>
+<span class="sourceLineNo">129</span> return null;<a name="line.129"></a>
+<span class="sourceLineNo">130</span> return new Range(value);<a name="line.130"></a>
+<span class="sourceLineNo">131</span> }<a name="line.131"></a>
+<span class="sourceLineNo">132</span><a name="line.132"></a>
+<span class="sourceLineNo">133</span> private Range(String value) {<a name="line.133"></a>
+<span class="sourceLineNo">134</span> super(value);<a name="line.134"></a>
+<span class="sourceLineNo">135</span> }<a name="line.135"></a>
+<span class="sourceLineNo">136</span>}<a name="line.136"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/Referer.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/Referer.html b/content/site/apidocs/src-html/org/apache/juneau/http/Referer.html
new file mode 100644
index 0000000..74c64b6
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/Referer.html
@@ -0,0 +1,137 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Represents a parsed <l>Referer</l> HTTP request header.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * <p><a name="line.17"></a>
+<span class="sourceLineNo">018</span> * This is the address of the previous web page from which a link to the currently requested page was followed.<a name="line.18"></a>
+<span class="sourceLineNo">019</span> * (The word “referrer” has been misspelled in the RFC as well as in most implementations to the point that it has<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * become standard usage and is considered correct terminology)<a name="line.20"></a>
+<span class="sourceLineNo">021</span> *<a name="line.21"></a>
+<span class="sourceLineNo">022</span> * <h6 class='figure'>Example</h6><a name="line.22"></a>
+<span class="sourceLineNo">023</span> * <p class='bcode'><a name="line.23"></a>
+<span class="sourceLineNo">024</span> * Referer: http://en.wikipedia.org/wiki/Main_Page<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * </p><a name="line.25"></a>
+<span class="sourceLineNo">026</span> *<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * <h6 class='topic'>RFC2616 Specification</h6><a name="line.27"></a>
+<span class="sourceLineNo">028</span> *<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * The Referer[sic] request-header field allows the client to specify, for the server's benefit, the address (URI) of<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * the resource from which the Request-URI was obtained (the "referrer", although the header field is misspelled.)<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * The Referer request-header allows a server to generate lists of back-links to resources for interest, logging,<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * optimized caching, etc.<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * It also allows obsolete or mistyped links to be traced for maintenance.<a name="line.33"></a>
+<span class="sourceLineNo">034</span> * The Referer field MUST NOT be sent if the Request-URI was obtained from a source that does not have its own URI,<a name="line.34"></a>
+<span class="sourceLineNo">035</span> * such as input from the user keyboard.<a name="line.35"></a>
+<span class="sourceLineNo">036</span> * <p class='bcode'><a name="line.36"></a>
+<span class="sourceLineNo">037</span> * Referer = "Referer" ":" ( absoluteURI | relativeURI )<a name="line.37"></a>
+<span class="sourceLineNo">038</span> * </p><a name="line.38"></a>
+<span class="sourceLineNo">039</span> * <p><a name="line.39"></a>
+<span class="sourceLineNo">040</span> * Example:<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * <p class='bcode'><a name="line.41"></a>
+<span class="sourceLineNo">042</span> * Referer: http://www.w3.org/hypertext/DataSources/Overview.html<a name="line.42"></a>
+<span class="sourceLineNo">043</span> * </p><a name="line.43"></a>
+<span class="sourceLineNo">044</span> * <p><a name="line.44"></a>
+<span class="sourceLineNo">045</span> * If the field value is a relative URI, it SHOULD be interpreted relative to the Request-URI.<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * The URI MUST NOT include a fragment. See section 15.1.3 for security considerations.<a name="line.46"></a>
+<span class="sourceLineNo">047</span> */<a name="line.47"></a>
+<span class="sourceLineNo">048</span>public final class Referer extends HeaderUri {<a name="line.48"></a>
+<span class="sourceLineNo">049</span><a name="line.49"></a>
+<span class="sourceLineNo">050</span> /**<a name="line.50"></a>
+<span class="sourceLineNo">051</span> * Returns a parsed <code>Referer</code> header.<a name="line.51"></a>
+<span class="sourceLineNo">052</span> *<a name="line.52"></a>
+<span class="sourceLineNo">053</span> * @param value The <code>Referer</code> header string.<a name="line.53"></a>
+<span class="sourceLineNo">054</span> * @return The parsed <code>Referer</code> header, or <jk>null</jk> if the string was null.<a name="line.54"></a>
+<span class="sourceLineNo">055</span> */<a name="line.55"></a>
+<span class="sourceLineNo">056</span> public static Referer forString(String value) {<a name="line.56"></a>
+<span class="sourceLineNo">057</span> if (value == null)<a name="line.57"></a>
+<span class="sourceLineNo">058</span> return null;<a name="line.58"></a>
+<span class="sourceLineNo">059</span> return new Referer(value);<a name="line.59"></a>
+<span class="sourceLineNo">060</span> }<a name="line.60"></a>
+<span class="sourceLineNo">061</span><a name="line.61"></a>
+<span class="sourceLineNo">062</span> private Referer(String value) {<a name="line.62"></a>
+<span class="sourceLineNo">063</span> super(value);<a name="line.63"></a>
+<span class="sourceLineNo">064</span> }<a name="line.64"></a>
+<span class="sourceLineNo">065</span>}<a name="line.65"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/RetryAfter.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/RetryAfter.html b/content/site/apidocs/src-html/org/apache/juneau/http/RetryAfter.html
new file mode 100644
index 0000000..f8853de
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/RetryAfter.html
@@ -0,0 +1,166 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>import static org.apache.juneau.internal.StringUtils.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span><a name="line.16"></a>
+<span class="sourceLineNo">017</span>import org.apache.juneau.internal.*;<a name="line.17"></a>
+<span class="sourceLineNo">018</span><a name="line.18"></a>
+<span class="sourceLineNo">019</span>/**<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * Represents a parsed <l>Retry-After</l> HTTP response header.<a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * If an entity is temporarily unavailable, this instructs the client to try again later.<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * Value could be a specified period of time (in seconds) or a HTTP-date.<a name="line.23"></a>
+<span class="sourceLineNo">024</span> *<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * <h6 class='figure'>Example</h6><a name="line.25"></a>
+<span class="sourceLineNo">026</span> * <p class='bcode'><a name="line.26"></a>
+<span class="sourceLineNo">027</span> * Retry-After: 120<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * Retry-After: Fri, 07 Nov 2014 23:59:59 GMT<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * </p><a name="line.29"></a>
+<span class="sourceLineNo">030</span> *<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * <h6 class='topic'>RFC2616 Specification</h6><a name="line.31"></a>
+<span class="sourceLineNo">032</span> * The Retry-After response-header field can be used with a 503 (Service Unavailable) response to indicate how long the<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * service is expected to be unavailable to the requesting client.<a name="line.33"></a>
+<span class="sourceLineNo">034</span> * This field MAY also be used with any 3xx (Redirection) response to indicate the minimum time the user-agent is asked<a name="line.34"></a>
+<span class="sourceLineNo">035</span> * wait before issuing the redirected request.<a name="line.35"></a>
+<span class="sourceLineNo">036</span> * The value of this field can be either an HTTP-date or an integer number of seconds (in decimal) after the time of the<a name="line.36"></a>
+<span class="sourceLineNo">037</span> * response.<a name="line.37"></a>
+<span class="sourceLineNo">038</span> * <p class='bcode'><a name="line.38"></a>
+<span class="sourceLineNo">039</span> * Retry-After = "Retry-After" ":" ( HTTP-date | delta-seconds )<a name="line.39"></a>
+<span class="sourceLineNo">040</span> * </p><a name="line.40"></a>
+<span class="sourceLineNo">041</span> * <p><a name="line.41"></a>
+<span class="sourceLineNo">042</span> * Two examples of its use are<a name="line.42"></a>
+<span class="sourceLineNo">043</span> * <p class='bcode'><a name="line.43"></a>
+<span class="sourceLineNo">044</span> * Retry-After: Fri, 31 Dec 1999 23:59:59 GMT<a name="line.44"></a>
+<span class="sourceLineNo">045</span> * Retry-After: 120<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * </p><a name="line.46"></a>
+<span class="sourceLineNo">047</span> * <p><a name="line.47"></a>
+<span class="sourceLineNo">048</span> * In the latter example, the delay is 2 minutes.<a name="line.48"></a>
+<span class="sourceLineNo">049</span> */<a name="line.49"></a>
+<span class="sourceLineNo">050</span>public final class RetryAfter extends HeaderString {<a name="line.50"></a>
+<span class="sourceLineNo">051</span><a name="line.51"></a>
+<span class="sourceLineNo">052</span> /**<a name="line.52"></a>
+<span class="sourceLineNo">053</span> * Returns a parsed <code>Retry-After</code> header.<a name="line.53"></a>
+<span class="sourceLineNo">054</span> *<a name="line.54"></a>
+<span class="sourceLineNo">055</span> * @param value The <code>Retry-After</code> header string.<a name="line.55"></a>
+<span class="sourceLineNo">056</span> * @return The parsed <code>Retry-After</code> header, or <jk>null</jk> if the string was null.<a name="line.56"></a>
+<span class="sourceLineNo">057</span> */<a name="line.57"></a>
+<span class="sourceLineNo">058</span> public static RetryAfter forString(String value) {<a name="line.58"></a>
+<span class="sourceLineNo">059</span> if (value == null)<a name="line.59"></a>
+<span class="sourceLineNo">060</span> return null;<a name="line.60"></a>
+<span class="sourceLineNo">061</span> return new RetryAfter(value);<a name="line.61"></a>
+<span class="sourceLineNo">062</span> }<a name="line.62"></a>
+<span class="sourceLineNo">063</span><a name="line.63"></a>
+<span class="sourceLineNo">064</span> private RetryAfter(String value) {<a name="line.64"></a>
+<span class="sourceLineNo">065</span> super(value);<a name="line.65"></a>
+<span class="sourceLineNo">066</span> }<a name="line.66"></a>
+<span class="sourceLineNo">067</span><a name="line.67"></a>
+<span class="sourceLineNo">068</span> /**<a name="line.68"></a>
+<span class="sourceLineNo">069</span> * Returns this header value as a {@link java.util.Date} object.<a name="line.69"></a>
+<span class="sourceLineNo">070</span> * @return This header value as a {@link java.util.Date} object, or <jk>null</jk> if the value is not a date.<a name="line.70"></a>
+<span class="sourceLineNo">071</span> */<a name="line.71"></a>
+<span class="sourceLineNo">072</span> public java.util.Date asDate() {<a name="line.72"></a>
+<span class="sourceLineNo">073</span> char c0 = charAt(value, 0);<a name="line.73"></a>
+<span class="sourceLineNo">074</span> if (c0 >= '0' && c0 <= '9')<a name="line.74"></a>
+<span class="sourceLineNo">075</span> return null;<a name="line.75"></a>
+<span class="sourceLineNo">076</span> return DateUtils.parseDate(toString());<a name="line.76"></a>
+<span class="sourceLineNo">077</span> }<a name="line.77"></a>
+<span class="sourceLineNo">078</span><a name="line.78"></a>
+<span class="sourceLineNo">079</span> /**<a name="line.79"></a>
+<span class="sourceLineNo">080</span> * Returns this header value as an integer.<a name="line.80"></a>
+<span class="sourceLineNo">081</span> * @return This header value as a integer, or <code>-1</code> if the value is not an integer.<a name="line.81"></a>
+<span class="sourceLineNo">082</span> */<a name="line.82"></a>
+<span class="sourceLineNo">083</span> public int asInt() {<a name="line.83"></a>
+<span class="sourceLineNo">084</span> char c0 = charAt(value, 0);<a name="line.84"></a>
+<span class="sourceLineNo">085</span> if (c0 >= '0' && c0 <= '9') {<a name="line.85"></a>
+<span class="sourceLineNo">086</span> try {<a name="line.86"></a>
+<span class="sourceLineNo">087</span> return Integer.parseInt(value);<a name="line.87"></a>
+<span class="sourceLineNo">088</span> } catch (NumberFormatException e) {<a name="line.88"></a>
+<span class="sourceLineNo">089</span> return -1;<a name="line.89"></a>
+<span class="sourceLineNo">090</span> }<a name="line.90"></a>
+<span class="sourceLineNo">091</span> }<a name="line.91"></a>
+<span class="sourceLineNo">092</span> return -1;<a name="line.92"></a>
+<span class="sourceLineNo">093</span> }<a name="line.93"></a>
+<span class="sourceLineNo">094</span>}<a name="line.94"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
[51/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
Support for passing in more class types to REST methods.
Project: http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/commit/f1f17bc3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/tree/f1f17bc3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/diff/f1f17bc3
Branch: refs/heads/asf-site
Commit: f1f17bc333dce2f52ca608e9e0dd0144f15d0797
Parents: b1c5083
Author: JamesBognar <ja...@apache.org>
Authored: Mon May 8 11:32:09 2017 -0400
Committer: JamesBognar <ja...@apache.org>
Committed: Mon May 8 11:32:09 2017 -0400
----------------------------------------------------------------------
content/site/apidocs/allclasses-frame.html | 68 +-
content/site/apidocs/allclasses-noframe.html | 68 +-
content/site/apidocs/constant-values.html | 35 +
content/site/apidocs/index-all.html | 1240 ++++++-
.../apidocs/org/apache/juneau/http/Accept.html | 219 +-
.../org/apache/juneau/http/AcceptCharset.html | 296 ++
.../org/apache/juneau/http/AcceptEncoding.html | 208 +-
.../org/apache/juneau/http/AcceptLanguage.html | 324 ++
.../org/apache/juneau/http/AcceptRanges.html | 292 ++
.../apidocs/org/apache/juneau/http/Age.html | 287 ++
.../apidocs/org/apache/juneau/http/Allow.html | 295 ++
.../org/apache/juneau/http/Authorization.html | 301 ++
.../org/apache/juneau/http/CacheControl.html | 325 ++
.../org/apache/juneau/http/Connection.html | 364 ++
.../org/apache/juneau/http/Constants.html | 237 ++
.../org/apache/juneau/http/ContentEncoding.html | 297 ++
.../apache/juneau/http/ContentEncodingEnum.html | 392 +++
.../org/apache/juneau/http/ContentLanguage.html | 301 ++
.../org/apache/juneau/http/ContentLength.html | 290 ++
.../org/apache/juneau/http/ContentLocation.html | 295 ++
.../org/apache/juneau/http/ContentMD5.html | 294 ++
.../org/apache/juneau/http/ContentRange.html | 349 ++
.../org/apache/juneau/http/ContentType.html | 44 +-
.../apidocs/org/apache/juneau/http/Date.html | 306 ++
.../apidocs/org/apache/juneau/http/ETag.html | 281 ++
.../org/apache/juneau/http/EntityValidator.html | 350 ++
.../apidocs/org/apache/juneau/http/Expect.html | 296 ++
.../apidocs/org/apache/juneau/http/Expires.html | 303 ++
.../apidocs/org/apache/juneau/http/From.html | 295 ++
.../org/apache/juneau/http/HeaderDate.html | 313 ++
.../juneau/http/HeaderEntityValidator.html | 309 ++
.../juneau/http/HeaderEntityValidatorArray.html | 315 ++
.../org/apache/juneau/http/HeaderEnum.html | 347 ++
.../org/apache/juneau/http/HeaderInteger.html | 315 ++
.../apache/juneau/http/HeaderRangeArray.html | 337 ++
.../org/apache/juneau/http/HeaderString.html | 359 ++
.../apache/juneau/http/HeaderStringArray.html | 359 ++
.../org/apache/juneau/http/HeaderTimestamp.html | 313 ++
.../org/apache/juneau/http/HeaderUri.html | 335 ++
.../org/apache/juneau/http/HeaderUrl.html | 335 ++
.../org/apache/juneau/http/HeaderValidator.html | 309 ++
.../juneau/http/HeaderValidatorArray.html | 315 ++
.../apidocs/org/apache/juneau/http/Host.html | 298 ++
.../org/apache/juneau/http/HttpMethod.html | 476 +++
.../apidocs/org/apache/juneau/http/IfMatch.html | 313 ++
.../org/apache/juneau/http/IfModifiedSince.html | 315 ++
.../org/apache/juneau/http/IfNoneMatch.html | 318 ++
.../apidocs/org/apache/juneau/http/IfRange.html | 332 ++
.../apache/juneau/http/IfUnmodifiedSince.html | 289 ++
.../org/apache/juneau/http/LastModified.html | 297 ++
.../org/apache/juneau/http/Location.html | 286 ++
.../org/apache/juneau/http/MaxForwards.html | 288 ++
.../org/apache/juneau/http/MediaType.html | 4 +-
.../org/apache/juneau/http/MediaTypeRange.html | 4 +-
.../apidocs/org/apache/juneau/http/Pragma.html | 294 ++
.../apache/juneau/http/ProxyAuthenticate.html | 281 ++
.../apache/juneau/http/ProxyAuthorization.html | 283 ++
.../apidocs/org/apache/juneau/http/Range.html | 359 ++
.../apidocs/org/apache/juneau/http/Referer.html | 288 ++
.../org/apache/juneau/http/RetryAfter.html | 326 ++
.../apidocs/org/apache/juneau/http/Server.html | 288 ++
.../org/apache/juneau/http/SimpleRange.html | 468 +++
.../org/apache/juneau/http/StringRange.html | 468 +++
.../site/apidocs/org/apache/juneau/http/TE.html | 311 ++
.../apidocs/org/apache/juneau/http/Trailer.html | 288 ++
.../apache/juneau/http/TransferEncoding.html | 287 ++
.../org/apache/juneau/http/TypeRange.html | 8 +-
.../apidocs/org/apache/juneau/http/Upgrade.html | 307 ++
.../org/apache/juneau/http/UserAgent.html | 283 ++
.../apidocs/org/apache/juneau/http/Vary.html | 301 ++
.../apidocs/org/apache/juneau/http/Via.html | 338 ++
.../apidocs/org/apache/juneau/http/Warning.html | 346 ++
.../org/apache/juneau/http/WwwAuthenticate.html | 279 ++
.../org/apache/juneau/http/package-frame.html | 61 +-
.../org/apache/juneau/http/package-summary.html | 355 +-
.../org/apache/juneau/http/package-tree.html | 93 +-
.../juneau/internal/ByteArrayInOutStream.html | 4 +-
.../org/apache/juneau/internal/Cache.html | 327 ++
.../juneau/internal/CharSequenceReader.html | 4 +-
.../internal/ClassUtils.ClassComparator.html | 6 +-
.../juneau/internal/ClassUtils.MethodInfo.html | 8 +-
.../org/apache/juneau/internal/ClassUtils.html | 77 +-
.../apache/juneau/internal/CollectionUtils.html | 4 +-
.../org/apache/juneau/internal/DateUtils.html | 458 +++
.../apache/juneau/internal/DelegateBeanMap.html | 4 +-
.../org/apache/juneau/internal/StringUtils.html | 132 +-
.../apache/juneau/internal/VersionRange.html | 4 +-
.../org/apache/juneau/internal/WrappedMap.html | 507 +++
.../apache/juneau/internal/package-frame.html | 3 +
.../apache/juneau/internal/package-summary.html | 27 +-
.../apache/juneau/internal/package-tree.html | 3 +
.../juneau/microservice/package-summary.html | 4 +-
.../org/apache/juneau/rest/Redirect.html | 4 +-
.../org/apache/juneau/rest/RequestBody.html | 577 ++++
.../org/apache/juneau/rest/RequestFormData.html | 626 ++++
.../org/apache/juneau/rest/RequestHeaders.html | 1304 ++++++++
.../apache/juneau/rest/RequestPathParams.html | 407 +++
.../org/apache/juneau/rest/RequestQuery.html | 673 ++++
.../org/apache/juneau/rest/ResponseHandler.html | 4 +-
.../org/apache/juneau/rest/RestConfig.html | 230 +-
.../org/apache/juneau/rest/RestContext.html | 275 +-
.../juneau/rest/RestMatcherReflecting.html | 4 +-
.../org/apache/juneau/rest/RestParam.html | 387 +++
.../org/apache/juneau/rest/RestParamType.html | 424 +++
.../org/apache/juneau/rest/RestRequest.html | 1720 ++--------
.../apache/juneau/rest/annotation/FormData.html | 2 +-
.../juneau/rest/annotation/HasFormData.html | 2 +-
.../apache/juneau/rest/annotation/HasQuery.html | 2 +-
.../apache/juneau/rest/annotation/Query.html | 2 +-
.../juneau/rest/annotation/RestResource.html | 132 +-
.../org/apache/juneau/rest/package-frame.html | 10 +
.../org/apache/juneau/rest/package-summary.html | 177 +-
.../org/apache/juneau/rest/package-tree.html | 34 +
.../juneau/urlencoding/UrlEncodingParser.html | 21 +-
.../org/apache/juneau/xml/XmlParser.html | 18 +-
content/site/apidocs/overview-summary.html | 248 +-
content/site/apidocs/overview-tree.html | 98 +-
content/site/apidocs/serialized-form.html | 100 +
.../src-html/org/apache/juneau/BeanContext.html | 2 +-
.../src-html/org/apache/juneau/http/Accept.html | 422 ++-
.../org/apache/juneau/http/AcceptCharset.html | 154 +
.../org/apache/juneau/http/AcceptEncoding.html | 225 +-
.../org/apache/juneau/http/AcceptLanguage.html | 182 +
.../org/apache/juneau/http/AcceptRanges.html | 141 +
.../src-html/org/apache/juneau/http/Age.html | 136 +
.../src-html/org/apache/juneau/http/Allow.html | 144 +
.../org/apache/juneau/http/Authorization.html | 150 +
.../org/apache/juneau/http/CacheControl.html | 174 +
.../org/apache/juneau/http/Connection.html | 178 +
.../org/apache/juneau/http/Constants.html | 93 +
.../org/apache/juneau/http/ContentEncoding.html | 146 +
.../apache/juneau/http/ContentEncodingEnum.html | 106 +
.../org/apache/juneau/http/ContentLanguage.html | 150 +
.../org/apache/juneau/http/ContentLength.html | 139 +
.../org/apache/juneau/http/ContentLocation.html | 144 +
.../org/apache/juneau/http/ContentMD5.html | 160 +
.../org/apache/juneau/http/ContentRange.html | 198 ++
.../org/apache/juneau/http/ContentType.html | 158 +-
.../src-html/org/apache/juneau/http/Date.html | 155 +
.../src-html/org/apache/juneau/http/ETag.html | 130 +
.../org/apache/juneau/http/EntityValidator.html | 144 +
.../src-html/org/apache/juneau/http/Expect.html | 145 +
.../org/apache/juneau/http/Expires.html | 152 +
.../src-html/org/apache/juneau/http/From.html | 144 +
.../org/apache/juneau/http/HeaderDate.html | 123 +
.../juneau/http/HeaderEntityValidator.html | 119 +
.../juneau/http/HeaderEntityValidatorArray.html | 127 +
.../org/apache/juneau/http/HeaderEnum.html | 142 +
.../org/apache/juneau/http/HeaderInteger.html | 131 +
.../apache/juneau/http/HeaderRangeArray.html | 146 +
.../org/apache/juneau/http/HeaderString.html | 144 +
.../apache/juneau/http/HeaderStringArray.html | 152 +
.../org/apache/juneau/http/HeaderTimestamp.html | 123 +
.../org/apache/juneau/http/HeaderUri.html | 134 +
.../org/apache/juneau/http/HeaderUrl.html | 134 +
.../org/apache/juneau/http/HeaderValidator.html | 119 +
.../juneau/http/HeaderValidatorArray.html | 127 +
.../src-html/org/apache/juneau/http/Host.html | 147 +
.../org/apache/juneau/http/HttpMethod.html | 145 +
.../org/apache/juneau/http/IfMatch.html | 162 +
.../org/apache/juneau/http/IfModifiedSince.html | 164 +
.../org/apache/juneau/http/IfNoneMatch.html | 167 +
.../org/apache/juneau/http/IfRange.html | 167 +
.../apache/juneau/http/IfUnmodifiedSince.html | 138 +
.../org/apache/juneau/http/LastModified.html | 146 +
.../org/apache/juneau/http/Location.html | 135 +
.../org/apache/juneau/http/MaxForwards.html | 137 +
.../src-html/org/apache/juneau/http/Pragma.html | 143 +
.../apache/juneau/http/ProxyAuthenticate.html | 130 +
.../apache/juneau/http/ProxyAuthorization.html | 132 +
.../src-html/org/apache/juneau/http/Range.html | 208 ++
.../org/apache/juneau/http/Referer.html | 137 +
.../org/apache/juneau/http/RetryAfter.html | 166 +
.../src-html/org/apache/juneau/http/Server.html | 137 +
.../org/apache/juneau/http/SimpleRange.html | 348 ++
.../org/apache/juneau/http/StringRange.html | 348 ++
.../src-html/org/apache/juneau/http/TE.html | 169 +
.../org/apache/juneau/http/Trailer.html | 137 +
.../apache/juneau/http/TransferEncoding.html | 136 +
.../org/apache/juneau/http/Upgrade.html | 156 +
.../org/apache/juneau/http/UserAgent.html | 132 +
.../src-html/org/apache/juneau/http/Vary.html | 150 +
.../src-html/org/apache/juneau/http/Via.html | 187 ++
.../org/apache/juneau/http/Warning.html | 195 ++
.../org/apache/juneau/http/WwwAuthenticate.html | 128 +
.../org/apache/juneau/internal/Cache.html | 153 +
.../internal/ClassUtils.ClassComparator.html | 1029 +++---
.../juneau/internal/ClassUtils.MethodInfo.html | 1029 +++---
.../org/apache/juneau/internal/ClassUtils.html | 1029 +++---
.../org/apache/juneau/internal/DateUtils.html | 258 ++
.../org/apache/juneau/internal/StringUtils.html | 18 +-
.../org/apache/juneau/internal/WrappedMap.html | 166 +
.../org/apache/juneau/rest/RequestBody.html | 503 +++
.../org/apache/juneau/rest/RequestFormData.html | 343 ++
.../org/apache/juneau/rest/RequestHeaders.html | 747 +++++
.../apache/juneau/rest/RequestPathParams.html | 209 ++
.../org/apache/juneau/rest/RequestQuery.html | 359 ++
.../org/apache/juneau/rest/RestConfig.html | 2081 ++++++------
.../org/apache/juneau/rest/RestContext.html | 3010 +++++++++--------
.../org/apache/juneau/rest/RestParam.html | 162 +
.../org/apache/juneau/rest/RestParamType.html | 120 +
.../org/apache/juneau/rest/RestRequest.html | 3149 ++++++------------
.../apache/juneau/rest/annotation/FormData.html | 2 +-
.../juneau/rest/annotation/HasFormData.html | 2 +-
.../apache/juneau/rest/annotation/HasQuery.html | 2 +-
.../apache/juneau/rest/annotation/Query.html | 2 +-
.../juneau/rest/annotation/RestResource.html | 1304 ++++----
.../juneau/rest/converters/Introspectable.html | 4 +-
.../juneau/rest/converters/Queryable.html | 67 +-
.../juneau/rest/converters/Traversable.html | 2 +-
.../rest/remoteable/RemoteableServlet.html | 4 +-
.../juneau/rest/response/DefaultHandler.html | 4 +-
.../org/apache/juneau/rest/vars/RequestVar.html | 4 +-
.../juneau/urlencoding/UrlEncodingParser.html | 353 +-
.../org/apache/juneau/xml/XmlParser.html | 997 +++---
215 files changed, 48855 insertions(+), 10195 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/allclasses-frame.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/allclasses-frame.html b/content/site/apidocs/allclasses-frame.html
index e20a731..feed9ef 100644
--- a/content/site/apidocs/allclasses-frame.html
+++ b/content/site/apidocs/allclasses-frame.html
@@ -15,9 +15,14 @@
<li><a href="org/apache/juneau/dto/html5/A.html" title="class in org.apache.juneau.dto.html5" target="classFrame">A</a></li>
<li><a href="org/apache/juneau/dto/html5/Abbr.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Abbr</a></li>
<li><a href="org/apache/juneau/http/Accept.html" title="class in org.apache.juneau.http" target="classFrame">Accept</a></li>
+<li><a href="org/apache/juneau/http/AcceptCharset.html" title="class in org.apache.juneau.http" target="classFrame">AcceptCharset</a></li>
<li><a href="org/apache/juneau/http/AcceptEncoding.html" title="class in org.apache.juneau.http" target="classFrame">AcceptEncoding</a></li>
+<li><a href="org/apache/juneau/http/AcceptLanguage.html" title="class in org.apache.juneau.http" target="classFrame">AcceptLanguage</a></li>
+<li><a href="org/apache/juneau/http/AcceptRanges.html" title="class in org.apache.juneau.http" target="classFrame">AcceptRanges</a></li>
<li><a href="org/apache/juneau/dto/html5/Address.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Address</a></li>
+<li><a href="org/apache/juneau/http/Age.html" title="class in org.apache.juneau.http" target="classFrame">Age</a></li>
<li><a href="org/apache/juneau/utils/AList.html" title="class in org.apache.juneau.utils" target="classFrame">AList</a></li>
+<li><a href="org/apache/juneau/http/Allow.html" title="class in org.apache.juneau.http" target="classFrame">Allow</a></li>
<li><a href="org/apache/juneau/rest/client/AllowAllRedirects.html" title="class in org.apache.juneau.rest.client" target="classFrame">AllowAllRedirects</a></li>
<li><a href="org/apache/juneau/utils/AMap.html" title="class in org.apache.juneau.utils" target="classFrame">AMap</a></li>
<li><a href="org/apache/juneau/transform/AnnotationBeanFilterBuilder.html" title="class in org.apache.juneau.transform" target="classFrame">AnnotationBeanFilterBuilder</a></li>
@@ -31,6 +36,7 @@
<li><a href="org/apache/juneau/dto/html5/Aside.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Aside</a></li>
<li><a href="org/apache/juneau/dto/atom/AtomBuilder.html" title="class in org.apache.juneau.dto.atom" target="classFrame">AtomBuilder</a></li>
<li><a href="org/apache/juneau/dto/html5/Audio.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Audio</a></li>
+<li><a href="org/apache/juneau/http/Authorization.html" title="class in org.apache.juneau.http" target="classFrame">Authorization</a></li>
<li><a href="org/apache/juneau/dto/html5/B.html" title="class in org.apache.juneau.dto.html5" target="classFrame">B</a></li>
<li><a href="org/apache/juneau/dto/html5/Base.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Base</a></li>
<li><a href="org/apache/juneau/rest/jaxrs/BaseProvider.html" title="class in org.apache.juneau.rest.jaxrs" target="classFrame">BaseProvider</a></li>
@@ -71,6 +77,8 @@
<li><a href="org/apache/juneau/transforms/ByteArrayBase64Swap.html" title="class in org.apache.juneau.transforms" target="classFrame">ByteArrayBase64Swap</a></li>
<li><a href="org/apache/juneau/internal/ByteArrayCache.html" title="class in org.apache.juneau.internal" target="classFrame">ByteArrayCache</a></li>
<li><a href="org/apache/juneau/internal/ByteArrayInOutStream.html" title="class in org.apache.juneau.internal" target="classFrame">ByteArrayInOutStream</a></li>
+<li><a href="org/apache/juneau/internal/Cache.html" title="class in org.apache.juneau.internal" target="classFrame">Cache</a></li>
+<li><a href="org/apache/juneau/http/CacheControl.html" title="class in org.apache.juneau.http" target="classFrame">CacheControl</a></li>
<li><a href="org/apache/juneau/transforms/CalendarLongSwap.html" title="class in org.apache.juneau.transforms" target="classFrame">CalendarLongSwap</a></li>
<li><a href="org/apache/juneau/transforms/CalendarMapSwap.html" title="class in org.apache.juneau.transforms" target="classFrame">CalendarMapSwap</a></li>
<li><a href="org/apache/juneau/transforms/CalendarSwap.html" title="class in org.apache.juneau.transforms" target="classFrame">CalendarSwap</a></li>
@@ -126,10 +134,18 @@
<li><a href="org/apache/juneau/ini/ConfigFileWrapped.html" title="class in org.apache.juneau.ini" target="classFrame">ConfigFileWrapped</a></li>
<li><a href="org/apache/juneau/microservice/resources/ConfigResource.html" title="class in org.apache.juneau.microservice.resources" target="classFrame">ConfigResource</a></li>
<li><a href="org/apache/juneau/ini/ConfigUtils.html" title="class in org.apache.juneau.ini" target="classFrame">ConfigUtils</a></li>
+<li><a href="org/apache/juneau/http/Connection.html" title="class in org.apache.juneau.http" target="classFrame">Connection</a></li>
+<li><a href="org/apache/juneau/http/Constants.html" title="class in org.apache.juneau.http" target="classFrame">Constants</a></li>
<li><a href="org/apache/juneau/jena/Constants.html" title="class in org.apache.juneau.jena" target="classFrame">Constants</a></li>
<li><a href="org/apache/juneau/annotation/Consumes.html" title="annotation in org.apache.juneau.annotation" target="classFrame">Consumes</a></li>
<li><a href="org/apache/juneau/dto/swagger/Contact.html" title="class in org.apache.juneau.dto.swagger" target="classFrame">Contact</a></li>
<li><a href="org/apache/juneau/dto/atom/Content.html" title="class in org.apache.juneau.dto.atom" target="classFrame">Content</a></li>
+<li><a href="org/apache/juneau/http/ContentEncoding.html" title="class in org.apache.juneau.http" target="classFrame">ContentEncoding</a></li>
+<li><a href="org/apache/juneau/http/ContentEncodingEnum.html" title="enum in org.apache.juneau.http" target="classFrame">ContentEncodingEnum</a></li>
+<li><a href="org/apache/juneau/http/ContentLanguage.html" title="class in org.apache.juneau.http" target="classFrame">ContentLanguage</a></li>
+<li><a href="org/apache/juneau/http/ContentLength.html" title="class in org.apache.juneau.http" target="classFrame">ContentLength</a></li>
+<li><a href="org/apache/juneau/http/ContentLocation.html" title="class in org.apache.juneau.http" target="classFrame">ContentLocation</a></li>
+<li><a href="org/apache/juneau/http/ContentRange.html" title="class in org.apache.juneau.http" target="classFrame">ContentRange</a></li>
<li><a href="org/apache/juneau/http/ContentType.html" title="class in org.apache.juneau.http" target="classFrame">ContentType</a></li>
<li><a href="org/apache/juneau/Context.html" title="class in org.apache.juneau" target="classFrame">Context</a></li>
<li><a href="org/apache/juneau/CoreObject.html" title="class in org.apache.juneau" target="classFrame">CoreObject</a></li>
@@ -146,6 +162,7 @@
<li><a href="org/apache/juneau/dto/html5/Datalist.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Datalist</a></li>
<li><a href="org/apache/juneau/dto/cognos/DataSet.html" title="class in org.apache.juneau.dto.cognos" target="classFrame">DataSet</a></li>
<li><a href="org/apache/juneau/dto/cognos/DataSet.Row.html" title="class in org.apache.juneau.dto.cognos" target="classFrame">DataSet.Row</a></li>
+<li><a href="org/apache/juneau/http/Date.html" title="class in org.apache.juneau.http" target="classFrame">Date</a></li>
<li><a href="org/apache/juneau/rest/client/DateHeader.html" title="class in org.apache.juneau.rest.client" target="classFrame">DateHeader</a></li>
<li><a href="org/apache/juneau/transforms/DateLongSwap.html" title="class in org.apache.juneau.transforms" target="classFrame">DateLongSwap</a></li>
<li><a href="org/apache/juneau/transforms/DateMapSwap.html" title="class in org.apache.juneau.transforms" target="classFrame">DateMapSwap</a></li>
@@ -173,6 +190,7 @@
<li><a href="org/apache/juneau/transforms/DateSwap.TimeShort.html" title="class in org.apache.juneau.transforms" target="classFrame">DateSwap.TimeShort</a></li>
<li><a href="org/apache/juneau/transforms/DateSwap.TimeSimple.html" title="class in org.apache.juneau.transforms" target="classFrame">DateSwap.TimeSimple</a></li>
<li><a href="org/apache/juneau/transforms/DateSwap.ToString.html" title="class in org.apache.juneau.transforms" target="classFrame">DateSwap.ToString</a></li>
+<li><a href="org/apache/juneau/internal/DateUtils.html" title="class in org.apache.juneau.internal" target="classFrame">DateUtils</a></li>
<li><a href="org/apache/juneau/dto/html5/Dd.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Dd</a></li>
<li><a href="org/apache/juneau/rest/response/DefaultHandler.html" title="class in org.apache.juneau.rest.response" target="classFrame">DefaultHandler</a></li>
<li><a href="org/apache/juneau/svl/DefaultingVar.html" title="class in org.apache.juneau.svl" target="classFrame">DefaultingVar</a></li>
@@ -195,10 +213,14 @@
<li><a href="org/apache/juneau/encoders/EncoderGroup.html" title="class in org.apache.juneau.encoders" target="classFrame">EncoderGroup</a></li>
<li><a href="org/apache/juneau/encoders/EncoderGroupBuilder.html" title="class in org.apache.juneau.encoders" target="classFrame">EncoderGroupBuilder</a></li>
<li><a href="org/apache/juneau/encoders/EncoderMatch.html" title="class in org.apache.juneau.encoders" target="classFrame">EncoderMatch</a></li>
+<li><a href="org/apache/juneau/http/EntityValidator.html" title="class in org.apache.juneau.http" target="classFrame">EntityValidator</a></li>
<li><a href="org/apache/juneau/dto/atom/Entry.html" title="class in org.apache.juneau.dto.atom" target="classFrame">Entry</a></li>
<li><a href="org/apache/juneau/ini/EntryListener.html" title="class in org.apache.juneau.ini" target="classFrame">EntryListener</a></li>
<li><a href="org/apache/juneau/transforms/EnumerationSwap.html" title="class in org.apache.juneau.transforms" target="classFrame">EnumerationSwap</a></li>
<li><a href="org/apache/juneau/svl/vars/EnvVariablesVar.html" title="class in org.apache.juneau.svl.vars" target="classFrame">EnvVariablesVar</a></li>
+<li><a href="org/apache/juneau/http/ETag.html" title="class in org.apache.juneau.http" target="classFrame">ETag</a></li>
+<li><a href="org/apache/juneau/http/Expect.html" title="class in org.apache.juneau.http" target="classFrame">Expect</a></li>
+<li><a href="org/apache/juneau/http/Expires.html" title="class in org.apache.juneau.http" target="classFrame">Expires</a></li>
<li><a href="org/apache/juneau/dto/swagger/ExternalDocumentation.html" title="class in org.apache.juneau.dto.swagger" target="classFrame">ExternalDocumentation</a></li>
<li><a href="org/apache/juneau/dto/atom/Feed.html" title="class in org.apache.juneau.dto.atom" target="classFrame">Feed</a></li>
<li><a href="org/apache/juneau/dto/html5/Fieldset.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Fieldset</a></li>
@@ -213,6 +235,7 @@
<li><a href="org/apache/juneau/remoteable/FormData.html" title="annotation in org.apache.juneau.remoteable" target="classFrame">FormData</a></li>
<li><a href="org/apache/juneau/rest/annotation/FormData.html" title="annotation in org.apache.juneau.rest.annotation" target="classFrame">FormData</a></li>
<li><a href="org/apache/juneau/remoteable/FormDataIfNE.html" title="annotation in org.apache.juneau.remoteable" target="classFrame">FormDataIfNE</a></li>
+<li><a href="org/apache/juneau/http/From.html" title="class in org.apache.juneau.http" target="classFrame">From</a></li>
<li><a href="org/apache/juneau/dto/atom/Generator.html" title="class in org.apache.juneau.dto.atom" target="classFrame">Generator</a></li>
<li><a href="org/apache/juneau/encoders/GzipEncoder.html" title="class in org.apache.juneau.encoders" target="classFrame">GzipEncoder</a></li>
<li><a href="org/apache/juneau/dto/html5/H1.html" title="class in org.apache.juneau.dto.html5" target="classFrame">H1</a></li>
@@ -228,8 +251,18 @@
<li><a href="org/apache/juneau/dto/html5/Header.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Header</a></li>
<li><a href="org/apache/juneau/remoteable/Header.html" title="annotation in org.apache.juneau.remoteable" target="classFrame">Header</a></li>
<li><a href="org/apache/juneau/rest/annotation/Header.html" title="annotation in org.apache.juneau.rest.annotation" target="classFrame">Header</a></li>
+<li><a href="org/apache/juneau/http/HeaderDate.html" title="class in org.apache.juneau.http" target="classFrame">HeaderDate</a></li>
+<li><a href="org/apache/juneau/http/HeaderEntityValidator.html" title="class in org.apache.juneau.http" target="classFrame">HeaderEntityValidator</a></li>
+<li><a href="org/apache/juneau/http/HeaderEntityValidatorArray.html" title="class in org.apache.juneau.http" target="classFrame">HeaderEntityValidatorArray</a></li>
+<li><a href="org/apache/juneau/http/HeaderEnum.html" title="class in org.apache.juneau.http" target="classFrame">HeaderEnum</a></li>
<li><a href="org/apache/juneau/remoteable/HeaderIfNE.html" title="annotation in org.apache.juneau.remoteable" target="classFrame">HeaderIfNE</a></li>
<li><a href="org/apache/juneau/dto/swagger/HeaderInfo.html" title="class in org.apache.juneau.dto.swagger" target="classFrame">HeaderInfo</a></li>
+<li><a href="org/apache/juneau/http/HeaderInteger.html" title="class in org.apache.juneau.http" target="classFrame">HeaderInteger</a></li>
+<li><a href="org/apache/juneau/http/HeaderRangeArray.html" title="class in org.apache.juneau.http" target="classFrame">HeaderRangeArray</a></li>
+<li><a href="org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http" target="classFrame">HeaderString</a></li>
+<li><a href="org/apache/juneau/http/HeaderStringArray.html" title="class in org.apache.juneau.http" target="classFrame">HeaderStringArray</a></li>
+<li><a href="org/apache/juneau/http/HeaderUri.html" title="class in org.apache.juneau.http" target="classFrame">HeaderUri</a></li>
+<li><a href="org/apache/juneau/http/Host.html" title="class in org.apache.juneau.http" target="classFrame">Host</a></li>
<li><a href="org/apache/juneau/dto/html5/Hr.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Hr</a></li>
<li><a href="org/apache/juneau/dto/html5/Html.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Html</a></li>
<li><a href="org/apache/juneau/html/annotation/Html.html" title="annotation in org.apache.juneau.html.annotation" target="classFrame">Html</a></li>
@@ -260,13 +293,19 @@
<li><a href="org/apache/juneau/html/HtmlSerializerSession.html" title="class in org.apache.juneau.html" target="classFrame">HtmlSerializerSession</a></li>
<li><a href="org/apache/juneau/html/HtmlStrippedDocSerializer.html" title="class in org.apache.juneau.html" target="classFrame">HtmlStrippedDocSerializer</a></li>
<li><a href="org/apache/juneau/html/HtmlWriter.html" title="class in org.apache.juneau.html" target="classFrame">HtmlWriter</a></li>
+<li><a href="org/apache/juneau/http/HttpMethod.html" title="enum in org.apache.juneau.http" target="classFrame">HttpMethod</a></li>
<li><a href="org/apache/juneau/rest/client/HttpMethod.html" title="enum in org.apache.juneau.rest.client" target="classFrame">HttpMethod</a></li>
<li><a href="org/apache/juneau/dto/html5/I.html" title="class in org.apache.juneau.dto.html5" target="classFrame">I</a></li>
<li><a href="org/apache/juneau/dto/atom/Icon.html" title="class in org.apache.juneau.dto.atom" target="classFrame">Icon</a></li>
<li><a href="org/apache/juneau/dto/atom/Id.html" title="class in org.apache.juneau.dto.atom" target="classFrame">Id</a></li>
<li><a href="org/apache/juneau/encoders/IdentityEncoder.html" title="class in org.apache.juneau.encoders" target="classFrame">IdentityEncoder</a></li>
<li><a href="org/apache/juneau/internal/IdentityList.html" title="class in org.apache.juneau.internal" target="classFrame">IdentityList</a></li>
+<li><a href="org/apache/juneau/http/IfMatch.html" title="class in org.apache.juneau.http" target="classFrame">IfMatch</a></li>
+<li><a href="org/apache/juneau/http/IfModifiedSince.html" title="class in org.apache.juneau.http" target="classFrame">IfModifiedSince</a></li>
+<li><a href="org/apache/juneau/http/IfNoneMatch.html" title="class in org.apache.juneau.http" target="classFrame">IfNoneMatch</a></li>
<li><a href="org/apache/juneau/dto/html5/Iframe.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Iframe</a></li>
+<li><a href="org/apache/juneau/http/IfRange.html" title="class in org.apache.juneau.http" target="classFrame">IfRange</a></li>
+<li><a href="org/apache/juneau/http/IfUnmodifiedSince.html" title="class in org.apache.juneau.http" target="classFrame">IfUnmodifiedSince</a></li>
<li><a href="org/apache/juneau/svl/vars/IfVar.html" title="class in org.apache.juneau.svl.vars" target="classFrame">IfVar</a></li>
<li><a href="org/apache/juneau/dto/html5/Img.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Img</a></li>
<li><a href="org/apache/juneau/dto/swagger/Info.html" title="class in org.apache.juneau.dto.swagger" target="classFrame">Info</a></li>
@@ -313,6 +352,7 @@
<li><a href="org/apache/juneau/dto/html5/Keygen.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Keygen</a></li>
<li><a href="org/apache/juneau/internal/KeywordSet.html" title="class in org.apache.juneau.internal" target="classFrame">KeywordSet</a></li>
<li><a href="org/apache/juneau/dto/html5/Label.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Label</a></li>
+<li><a href="org/apache/juneau/http/LastModified.html" title="class in org.apache.juneau.http" target="classFrame">LastModified</a></li>
<li><a href="org/apache/juneau/dto/html5/Legend.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Legend</a></li>
<li><a href="org/apache/juneau/dto/html5/Li.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Li</a></li>
<li><a href="org/apache/juneau/dto/swagger/License.html" title="class in org.apache.juneau.dto.swagger" target="classFrame">License</a></li>
@@ -320,6 +360,7 @@
<li><a href="org/apache/juneau/dto/html5/Link.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Link</a></li>
<li><a href="org/apache/juneau/dto/Link.html" title="class in org.apache.juneau.dto" target="classFrame">Link</a></li>
<li><a href="org/apache/juneau/rest/vars/LocalizationVar.html" title="class in org.apache.juneau.rest.vars" target="classFrame">LocalizationVar</a></li>
+<li><a href="org/apache/juneau/http/Location.html" title="class in org.apache.juneau.http" target="classFrame">Location</a></li>
<li><a href="org/apache/juneau/microservice/resources/LogEntryFormatter.html" title="class in org.apache.juneau.microservice.resources" target="classFrame">LogEntryFormatter</a></li>
<li><a href="org/apache/juneau/dto/atom/Logo.html" title="class in org.apache.juneau.dto.atom" target="classFrame">Logo</a></li>
<li><a href="org/apache/juneau/microservice/resources/LogParser.html" title="class in org.apache.juneau.microservice.resources" target="classFrame">LogParser</a></li>
@@ -332,6 +373,7 @@
<li><a href="org/apache/juneau/transform/MapSwap.html" title="class in org.apache.juneau.transform" target="classFrame">MapSwap</a></li>
<li><a href="org/apache/juneau/svl/MapVar.html" title="class in org.apache.juneau.svl" target="classFrame">MapVar</a></li>
<li><a href="org/apache/juneau/dto/html5/Mark.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Mark</a></li>
+<li><a href="org/apache/juneau/http/MaxForwards.html" title="class in org.apache.juneau.http" target="classFrame">MaxForwards</a></li>
<li><a href="org/apache/juneau/http/MediaType.html" title="class in org.apache.juneau.http" target="classFrame">MediaType</a></li>
<li><a href="org/apache/juneau/http/MediaTypeRange.html" title="class in org.apache.juneau.http" target="classFrame">MediaTypeRange</a></li>
<li><a href="org/apache/juneau/utils/MessageBundle.html" title="class in org.apache.juneau.utils" target="classFrame">MessageBundle</a></li>
@@ -404,6 +446,7 @@
<li><a href="org/apache/juneau/utils/PojoRest.html" title="class in org.apache.juneau.utils" target="classFrame">PojoRest</a></li>
<li><a href="org/apache/juneau/utils/PojoRestException.html" title="class in org.apache.juneau.utils" target="classFrame">PojoRestException</a></li>
<li><a href="org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform" target="classFrame">PojoSwap</a></li>
+<li><a href="org/apache/juneau/http/Pragma.html" title="class in org.apache.juneau.http" target="classFrame">Pragma</a></li>
<li><a href="org/apache/juneau/dto/html5/Pre.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Pre</a></li>
<li><a href="org/apache/juneau/utils/ProcBuilder.html" title="class in org.apache.juneau.utils" target="classFrame">ProcBuilder</a></li>
<li><a href="org/apache/juneau/utils/ProcBuilder.Matcher.html" title="class in org.apache.juneau.utils" target="classFrame">ProcBuilder.Matcher</a></li>
@@ -415,11 +458,14 @@
<li><a href="org/apache/juneau/PropertyNamerDashedLC.html" title="class in org.apache.juneau" target="classFrame">PropertyNamerDashedLC</a></li>
<li><a href="org/apache/juneau/PropertyNamerDefault.html" title="class in org.apache.juneau" target="classFrame">PropertyNamerDefault</a></li>
<li><a href="org/apache/juneau/PropertyStore.html" title="class in org.apache.juneau" target="classFrame">PropertyStore</a></li>
+<li><a href="org/apache/juneau/http/ProxyAuthenticate.html" title="class in org.apache.juneau.http" target="classFrame">ProxyAuthenticate</a></li>
+<li><a href="org/apache/juneau/http/ProxyAuthorization.html" title="class in org.apache.juneau.http" target="classFrame">ProxyAuthorization</a></li>
<li><a href="org/apache/juneau/dto/html5/Q.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Q</a></li>
<li><a href="org/apache/juneau/remoteable/Query.html" title="annotation in org.apache.juneau.remoteable" target="classFrame">Query</a></li>
<li><a href="org/apache/juneau/rest/annotation/Query.html" title="annotation in org.apache.juneau.rest.annotation" target="classFrame">Query</a></li>
<li><a href="org/apache/juneau/rest/converters/Queryable.html" title="class in org.apache.juneau.rest.converters" target="classFrame">Queryable</a></li>
<li><a href="org/apache/juneau/remoteable/QueryIfNE.html" title="annotation in org.apache.juneau.remoteable" target="classFrame">QueryIfNE</a></li>
+<li><a href="org/apache/juneau/http/Range.html" title="class in org.apache.juneau.http" target="classFrame">Range</a></li>
<li><a href="org/apache/juneau/dto/html5/Rb.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Rb</a></li>
<li><a href="org/apache/juneau/jena/annotation/Rdf.html" title="annotation in org.apache.juneau.jena.annotation" target="classFrame">Rdf</a></li>
<li><a href="org/apache/juneau/jena/RdfBeanMeta.html" title="class in org.apache.juneau.jena" target="classFrame">RdfBeanMeta</a></li>
@@ -458,6 +504,7 @@
<li><a href="org/apache/juneau/transforms/ReaderSwap.Xml.html" title="class in org.apache.juneau.transforms" target="classFrame">ReaderSwap.Xml</a></li>
<li><a href="org/apache/juneau/rest/Redirect.html" title="class in org.apache.juneau.rest" target="classFrame">Redirect</a></li>
<li><a href="org/apache/juneau/rest/response/RedirectHandler.html" title="class in org.apache.juneau.rest.response" target="classFrame">RedirectHandler</a></li>
+<li><a href="org/apache/juneau/http/Referer.html" title="class in org.apache.juneau.http" target="classFrame">Referer</a></li>
<li><a href="org/apache/juneau/internal/ReflectionUtils.html" title="class in org.apache.juneau.internal" target="classFrame">ReflectionUtils</a></li>
<li><a href="org/apache/juneau/remoteable/Remoteable.html" title="annotation in org.apache.juneau.remoteable" target="classFrame">Remoteable</a></li>
<li><a href="org/apache/juneau/remoteable/RemoteableMeta.html" title="class in org.apache.juneau.remoteable" target="classFrame">RemoteableMeta</a></li>
@@ -467,6 +514,11 @@
<li><a href="org/apache/juneau/rest/remoteable/RemoteableServlet.html" title="class in org.apache.juneau.rest.remoteable" target="classFrame">RemoteableServlet</a></li>
<li><a href="org/apache/juneau/remoteable/RemoteMethod.html" title="annotation in org.apache.juneau.remoteable" target="classFrame">RemoteMethod</a></li>
<li><a href="org/apache/juneau/remoteable/RemoteMethodArg.html" title="class in org.apache.juneau.remoteable" target="classFrame">RemoteMethodArg</a></li>
+<li><a href="org/apache/juneau/rest/RequestBody.html" title="class in org.apache.juneau.rest" target="classFrame">RequestBody</a></li>
+<li><a href="org/apache/juneau/rest/RequestFormData.html" title="class in org.apache.juneau.rest" target="classFrame">RequestFormData</a></li>
+<li><a href="org/apache/juneau/rest/RequestHeaders.html" title="class in org.apache.juneau.rest" target="classFrame">RequestHeaders</a></li>
+<li><a href="org/apache/juneau/rest/RequestPathParams.html" title="class in org.apache.juneau.rest" target="classFrame">RequestPathParams</a></li>
+<li><a href="org/apache/juneau/rest/RequestQuery.html" title="class in org.apache.juneau.rest" target="classFrame">RequestQuery</a></li>
<li><a href="org/apache/juneau/rest/vars/RequestVar.html" title="class in org.apache.juneau.rest.vars" target="classFrame">RequestVar</a></li>
<li><a href="org/apache/juneau/microservice/Resource.html" title="class in org.apache.juneau.microservice" target="classFrame">Resource</a></li>
<li><a href="org/apache/juneau/rest/labels/ResourceDescription.html" title="class in org.apache.juneau.rest.labels" target="classFrame">ResourceDescription</a></li>
@@ -497,6 +549,8 @@
<li><a href="org/apache/juneau/rest/RestMatcherReflecting.html" title="class in org.apache.juneau.rest" target="classFrame">RestMatcherReflecting</a></li>
<li><a href="org/apache/juneau/rest/annotation/RestMethod.html" title="annotation in org.apache.juneau.rest.annotation" target="classFrame">RestMethod</a></li>
<li><a href="org/apache/juneau/microservice/RestMicroservice.html" title="class in org.apache.juneau.microservice" target="classFrame">RestMicroservice</a></li>
+<li><a href="org/apache/juneau/rest/RestParam.html" title="class in org.apache.juneau.rest" target="classFrame">RestParam</a></li>
+<li><a href="org/apache/juneau/rest/RestParamType.html" title="enum in org.apache.juneau.rest" target="classFrame">RestParamType</a></li>
<li><a href="org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest" target="classFrame">RestRequest</a></li>
<li><a href="org/apache/juneau/rest/client/RestRequestEntity.html" title="class in org.apache.juneau.rest.client" target="classFrame">RestRequestEntity</a></li>
<li><a href="org/apache/juneau/rest/annotation/RestResource.html" title="annotation in org.apache.juneau.rest.annotation" target="classFrame">RestResource</a></li>
@@ -511,6 +565,7 @@
<li><a href="org/apache/juneau/rest/jena/RestServletJenaGroupDefault.html" title="class in org.apache.juneau.rest.jena" target="classFrame">RestServletJenaGroupDefault</a></li>
<li><a href="org/apache/juneau/rest/RestUtils.html" title="class in org.apache.juneau.rest" target="classFrame">RestUtils</a></li>
<li><a href="org/apache/juneau/dto/ResultSetList.html" title="class in org.apache.juneau.dto" target="classFrame">ResultSetList</a></li>
+<li><a href="org/apache/juneau/http/RetryAfter.html" title="class in org.apache.juneau.http" target="classFrame">RetryAfter</a></li>
<li><a href="org/apache/juneau/rest/client/RetryOn.html" title="class in org.apache.juneau.rest.client" target="classFrame">RetryOn</a></li>
<li><a href="org/apache/juneau/dto/html5/Rp.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Rp</a></li>
<li><a href="org/apache/juneau/dto/html5/Rt.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Rt</a></li>
@@ -547,6 +602,7 @@
<li><a href="org/apache/juneau/serializer/SerializerMatch.html" title="class in org.apache.juneau.serializer" target="classFrame">SerializerMatch</a></li>
<li><a href="org/apache/juneau/serializer/SerializerSession.html" title="class in org.apache.juneau.serializer" target="classFrame">SerializerSession</a></li>
<li><a href="org/apache/juneau/serializer/SerializerWriter.html" title="class in org.apache.juneau.serializer" target="classFrame">SerializerWriter</a></li>
+<li><a href="org/apache/juneau/http/Server.html" title="class in org.apache.juneau.http" target="classFrame">Server</a></li>
<li><a href="org/apache/juneau/rest/vars/ServletInitParamVar.html" title="class in org.apache.juneau.rest.vars" target="classFrame">ServletInitParamVar</a></li>
<li><a href="org/apache/juneau/Session.html" title="class in org.apache.juneau" target="classFrame">Session</a></li>
<li><a href="org/apache/juneau/microservice/resources/ShutdownResource.html" title="class in org.apache.juneau.microservice.resources" target="classFrame">ShutdownResource</a></li>
@@ -572,6 +628,7 @@
<li><a href="org/apache/juneau/internal/StringBuilderWriter.html" title="class in org.apache.juneau.internal" target="classFrame">StringBuilderWriter</a></li>
<li><a href="org/apache/juneau/utils/StringMessage.html" title="class in org.apache.juneau.utils" target="classFrame">StringMessage</a></li>
<li><a href="org/apache/juneau/utils/StringObject.html" title="class in org.apache.juneau.utils" target="classFrame">StringObject</a></li>
+<li><a href="org/apache/juneau/http/StringRange.html" title="class in org.apache.juneau.http" target="classFrame">StringRange</a></li>
<li><a href="org/apache/juneau/transform/StringSwap.html" title="class in org.apache.juneau.transform" target="classFrame">StringSwap</a></li>
<li><a href="org/apache/juneau/internal/StringUtils.html" title="class in org.apache.juneau.internal" target="classFrame">StringUtils</a></li>
<li><a href="org/apache/juneau/dto/html5/Strong.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Strong</a></li>
@@ -588,6 +645,7 @@
<li><a href="org/apache/juneau/dto/swagger/Tag.html" title="class in org.apache.juneau.dto.swagger" target="classFrame">Tag</a></li>
<li><a href="org/apache/juneau/dto/html5/Tbody.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Tbody</a></li>
<li><a href="org/apache/juneau/dto/html5/Td.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Td</a></li>
+<li><a href="org/apache/juneau/http/TE.html" title="class in org.apache.juneau.http" target="classFrame">TE</a></li>
<li><a href="org/apache/juneau/internal/TeeOutputStream.html" title="class in org.apache.juneau.internal" target="classFrame">TeeOutputStream</a></li>
<li><a href="org/apache/juneau/internal/TeeWriter.html" title="class in org.apache.juneau.internal" target="classFrame">TeeWriter</a></li>
<li><a href="org/apache/juneau/dto/html5/Template.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Template</a></li>
@@ -602,8 +660,9 @@
<li><a href="org/apache/juneau/dto/html5/Title.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Title</a></li>
<li><a href="org/apache/juneau/dto/html5/Tr.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Tr</a></li>
<li><a href="org/apache/juneau/dto/html5/Track.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Track</a></li>
+<li><a href="org/apache/juneau/http/Trailer.html" title="class in org.apache.juneau.http" target="classFrame">Trailer</a></li>
+<li><a href="org/apache/juneau/http/TransferEncoding.html" title="class in org.apache.juneau.http" target="classFrame">TransferEncoding</a></li>
<li><a href="org/apache/juneau/rest/converters/Traversable.html" title="class in org.apache.juneau.rest.converters" target="classFrame">Traversable</a></li>
-<li><a href="org/apache/juneau/http/TypeRange.html" title="class in org.apache.juneau.http" target="classFrame">TypeRange</a></li>
<li><a href="org/apache/juneau/dto/html5/U.html" title="class in org.apache.juneau.dto.html5" target="classFrame">U</a></li>
<li><a href="org/apache/juneau/dto/html5/Ul.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Ul</a></li>
<li><a href="org/apache/juneau/uon/UonParser.html" title="class in org.apache.juneau.uon" target="classFrame">UonParser</a></li>
@@ -620,6 +679,7 @@
<li><a href="org/apache/juneau/uon/UonSerializerSession.html" title="class in org.apache.juneau.uon" target="classFrame">UonSerializerSession</a></li>
<li><a href="org/apache/juneau/uon/UonUtils.html" title="class in org.apache.juneau.uon" target="classFrame">UonUtils</a></li>
<li><a href="org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon" target="classFrame">UonWriter</a></li>
+<li><a href="org/apache/juneau/http/Upgrade.html" title="class in org.apache.juneau.http" target="classFrame">Upgrade</a></li>
<li><a href="org/apache/juneau/annotation/URI.html" title="annotation in org.apache.juneau.annotation" target="classFrame">URI</a></li>
<li><a href="org/apache/juneau/rest/matchers/UrlEncodedFormMatcher.html" title="class in org.apache.juneau.rest.matchers" target="classFrame">UrlEncodedFormMatcher</a></li>
<li><a href="org/apache/juneau/rest/vars/UrlEncodeVar.html" title="class in org.apache.juneau.rest.vars" target="classFrame">UrlEncodeVar</a></li>
@@ -637,6 +697,7 @@
<li><a href="org/apache/juneau/urlencoding/UrlEncodingSerializerContext.html" title="class in org.apache.juneau.urlencoding" target="classFrame">UrlEncodingSerializerContext</a></li>
<li><a href="org/apache/juneau/urlencoding/UrlEncodingSerializerSession.html" title="class in org.apache.juneau.urlencoding" target="classFrame">UrlEncodingSerializerSession</a></li>
<li><a href="org/apache/juneau/rest/UrlPathPattern.html" title="class in org.apache.juneau.rest" target="classFrame">UrlPathPattern</a></li>
+<li><a href="org/apache/juneau/http/UserAgent.html" title="class in org.apache.juneau.http" target="classFrame">UserAgent</a></li>
<li><a href="org/apache/juneau/internal/Utils.html" title="class in org.apache.juneau.internal" target="classFrame">Utils</a></li>
<li><a href="org/apache/juneau/dto/html5/Var.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Var</a></li>
<li><a href="org/apache/juneau/svl/Var.html" title="class in org.apache.juneau.svl" target="classFrame">Var</a></li>
@@ -644,14 +705,19 @@
<li><a href="org/apache/juneau/svl/VarResolverBuilder.html" title="class in org.apache.juneau.svl" target="classFrame">VarResolverBuilder</a></li>
<li><a href="org/apache/juneau/svl/VarResolverContext.html" title="class in org.apache.juneau.svl" target="classFrame">VarResolverContext</a></li>
<li><a href="org/apache/juneau/svl/VarResolverSession.html" title="class in org.apache.juneau.svl" target="classFrame">VarResolverSession</a></li>
+<li><a href="org/apache/juneau/http/Vary.html" title="class in org.apache.juneau.http" target="classFrame">Vary</a></li>
<li><a href="org/apache/juneau/internal/Version.html" title="class in org.apache.juneau.internal" target="classFrame">Version</a></li>
<li><a href="org/apache/juneau/internal/VersionRange.html" title="class in org.apache.juneau.internal" target="classFrame">VersionRange</a></li>
+<li><a href="org/apache/juneau/http/Via.html" title="class in org.apache.juneau.http" target="classFrame">Via</a></li>
<li><a href="org/apache/juneau/dto/html5/Video.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Video</a></li>
<li><a href="org/apache/juneau/Visibility.html" title="enum in org.apache.juneau" target="classFrame">Visibility</a></li>
+<li><a href="org/apache/juneau/http/Warning.html" title="class in org.apache.juneau.http" target="classFrame">Warning</a></li>
<li><a href="org/apache/juneau/dto/html5/Wbr.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Wbr</a></li>
+<li><a href="org/apache/juneau/internal/WrappedMap.html" title="class in org.apache.juneau.internal" target="classFrame">WrappedMap</a></li>
<li><a href="org/apache/juneau/Writable.html" title="interface in org.apache.juneau" target="classFrame"><span class="interfaceName">Writable</span></a></li>
<li><a href="org/apache/juneau/rest/response/WritableHandler.html" title="class in org.apache.juneau.rest.response" target="classFrame">WritableHandler</a></li>
<li><a href="org/apache/juneau/serializer/WriterSerializer.html" title="class in org.apache.juneau.serializer" target="classFrame">WriterSerializer</a></li>
+<li><a href="org/apache/juneau/http/WwwAuthenticate.html" title="class in org.apache.juneau.http" target="classFrame">WwwAuthenticate</a></li>
<li><a href="org/apache/juneau/dto/swagger/Xml.html" title="class in org.apache.juneau.dto.swagger" target="classFrame">Xml</a></li>
<li><a href="org/apache/juneau/xml/annotation/Xml.html" title="annotation in org.apache.juneau.xml.annotation" target="classFrame">Xml</a></li>
<li><a href="org/apache/juneau/xml/XmlBeanMeta.html" title="class in org.apache.juneau.xml" target="classFrame">XmlBeanMeta</a></li>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/allclasses-noframe.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/allclasses-noframe.html b/content/site/apidocs/allclasses-noframe.html
index d9d6d56..51b5c48 100644
--- a/content/site/apidocs/allclasses-noframe.html
+++ b/content/site/apidocs/allclasses-noframe.html
@@ -15,9 +15,14 @@
<li><a href="org/apache/juneau/dto/html5/A.html" title="class in org.apache.juneau.dto.html5">A</a></li>
<li><a href="org/apache/juneau/dto/html5/Abbr.html" title="class in org.apache.juneau.dto.html5">Abbr</a></li>
<li><a href="org/apache/juneau/http/Accept.html" title="class in org.apache.juneau.http">Accept</a></li>
+<li><a href="org/apache/juneau/http/AcceptCharset.html" title="class in org.apache.juneau.http">AcceptCharset</a></li>
<li><a href="org/apache/juneau/http/AcceptEncoding.html" title="class in org.apache.juneau.http">AcceptEncoding</a></li>
+<li><a href="org/apache/juneau/http/AcceptLanguage.html" title="class in org.apache.juneau.http">AcceptLanguage</a></li>
+<li><a href="org/apache/juneau/http/AcceptRanges.html" title="class in org.apache.juneau.http">AcceptRanges</a></li>
<li><a href="org/apache/juneau/dto/html5/Address.html" title="class in org.apache.juneau.dto.html5">Address</a></li>
+<li><a href="org/apache/juneau/http/Age.html" title="class in org.apache.juneau.http">Age</a></li>
<li><a href="org/apache/juneau/utils/AList.html" title="class in org.apache.juneau.utils">AList</a></li>
+<li><a href="org/apache/juneau/http/Allow.html" title="class in org.apache.juneau.http">Allow</a></li>
<li><a href="org/apache/juneau/rest/client/AllowAllRedirects.html" title="class in org.apache.juneau.rest.client">AllowAllRedirects</a></li>
<li><a href="org/apache/juneau/utils/AMap.html" title="class in org.apache.juneau.utils">AMap</a></li>
<li><a href="org/apache/juneau/transform/AnnotationBeanFilterBuilder.html" title="class in org.apache.juneau.transform">AnnotationBeanFilterBuilder</a></li>
@@ -31,6 +36,7 @@
<li><a href="org/apache/juneau/dto/html5/Aside.html" title="class in org.apache.juneau.dto.html5">Aside</a></li>
<li><a href="org/apache/juneau/dto/atom/AtomBuilder.html" title="class in org.apache.juneau.dto.atom">AtomBuilder</a></li>
<li><a href="org/apache/juneau/dto/html5/Audio.html" title="class in org.apache.juneau.dto.html5">Audio</a></li>
+<li><a href="org/apache/juneau/http/Authorization.html" title="class in org.apache.juneau.http">Authorization</a></li>
<li><a href="org/apache/juneau/dto/html5/B.html" title="class in org.apache.juneau.dto.html5">B</a></li>
<li><a href="org/apache/juneau/dto/html5/Base.html" title="class in org.apache.juneau.dto.html5">Base</a></li>
<li><a href="org/apache/juneau/rest/jaxrs/BaseProvider.html" title="class in org.apache.juneau.rest.jaxrs">BaseProvider</a></li>
@@ -71,6 +77,8 @@
<li><a href="org/apache/juneau/transforms/ByteArrayBase64Swap.html" title="class in org.apache.juneau.transforms">ByteArrayBase64Swap</a></li>
<li><a href="org/apache/juneau/internal/ByteArrayCache.html" title="class in org.apache.juneau.internal">ByteArrayCache</a></li>
<li><a href="org/apache/juneau/internal/ByteArrayInOutStream.html" title="class in org.apache.juneau.internal">ByteArrayInOutStream</a></li>
+<li><a href="org/apache/juneau/internal/Cache.html" title="class in org.apache.juneau.internal">Cache</a></li>
+<li><a href="org/apache/juneau/http/CacheControl.html" title="class in org.apache.juneau.http">CacheControl</a></li>
<li><a href="org/apache/juneau/transforms/CalendarLongSwap.html" title="class in org.apache.juneau.transforms">CalendarLongSwap</a></li>
<li><a href="org/apache/juneau/transforms/CalendarMapSwap.html" title="class in org.apache.juneau.transforms">CalendarMapSwap</a></li>
<li><a href="org/apache/juneau/transforms/CalendarSwap.html" title="class in org.apache.juneau.transforms">CalendarSwap</a></li>
@@ -126,10 +134,18 @@
<li><a href="org/apache/juneau/ini/ConfigFileWrapped.html" title="class in org.apache.juneau.ini">ConfigFileWrapped</a></li>
<li><a href="org/apache/juneau/microservice/resources/ConfigResource.html" title="class in org.apache.juneau.microservice.resources">ConfigResource</a></li>
<li><a href="org/apache/juneau/ini/ConfigUtils.html" title="class in org.apache.juneau.ini">ConfigUtils</a></li>
+<li><a href="org/apache/juneau/http/Connection.html" title="class in org.apache.juneau.http">Connection</a></li>
+<li><a href="org/apache/juneau/http/Constants.html" title="class in org.apache.juneau.http">Constants</a></li>
<li><a href="org/apache/juneau/jena/Constants.html" title="class in org.apache.juneau.jena">Constants</a></li>
<li><a href="org/apache/juneau/annotation/Consumes.html" title="annotation in org.apache.juneau.annotation">Consumes</a></li>
<li><a href="org/apache/juneau/dto/swagger/Contact.html" title="class in org.apache.juneau.dto.swagger">Contact</a></li>
<li><a href="org/apache/juneau/dto/atom/Content.html" title="class in org.apache.juneau.dto.atom">Content</a></li>
+<li><a href="org/apache/juneau/http/ContentEncoding.html" title="class in org.apache.juneau.http">ContentEncoding</a></li>
+<li><a href="org/apache/juneau/http/ContentEncodingEnum.html" title="enum in org.apache.juneau.http">ContentEncodingEnum</a></li>
+<li><a href="org/apache/juneau/http/ContentLanguage.html" title="class in org.apache.juneau.http">ContentLanguage</a></li>
+<li><a href="org/apache/juneau/http/ContentLength.html" title="class in org.apache.juneau.http">ContentLength</a></li>
+<li><a href="org/apache/juneau/http/ContentLocation.html" title="class in org.apache.juneau.http">ContentLocation</a></li>
+<li><a href="org/apache/juneau/http/ContentRange.html" title="class in org.apache.juneau.http">ContentRange</a></li>
<li><a href="org/apache/juneau/http/ContentType.html" title="class in org.apache.juneau.http">ContentType</a></li>
<li><a href="org/apache/juneau/Context.html" title="class in org.apache.juneau">Context</a></li>
<li><a href="org/apache/juneau/CoreObject.html" title="class in org.apache.juneau">CoreObject</a></li>
@@ -146,6 +162,7 @@
<li><a href="org/apache/juneau/dto/html5/Datalist.html" title="class in org.apache.juneau.dto.html5">Datalist</a></li>
<li><a href="org/apache/juneau/dto/cognos/DataSet.html" title="class in org.apache.juneau.dto.cognos">DataSet</a></li>
<li><a href="org/apache/juneau/dto/cognos/DataSet.Row.html" title="class in org.apache.juneau.dto.cognos">DataSet.Row</a></li>
+<li><a href="org/apache/juneau/http/Date.html" title="class in org.apache.juneau.http">Date</a></li>
<li><a href="org/apache/juneau/rest/client/DateHeader.html" title="class in org.apache.juneau.rest.client">DateHeader</a></li>
<li><a href="org/apache/juneau/transforms/DateLongSwap.html" title="class in org.apache.juneau.transforms">DateLongSwap</a></li>
<li><a href="org/apache/juneau/transforms/DateMapSwap.html" title="class in org.apache.juneau.transforms">DateMapSwap</a></li>
@@ -173,6 +190,7 @@
<li><a href="org/apache/juneau/transforms/DateSwap.TimeShort.html" title="class in org.apache.juneau.transforms">DateSwap.TimeShort</a></li>
<li><a href="org/apache/juneau/transforms/DateSwap.TimeSimple.html" title="class in org.apache.juneau.transforms">DateSwap.TimeSimple</a></li>
<li><a href="org/apache/juneau/transforms/DateSwap.ToString.html" title="class in org.apache.juneau.transforms">DateSwap.ToString</a></li>
+<li><a href="org/apache/juneau/internal/DateUtils.html" title="class in org.apache.juneau.internal">DateUtils</a></li>
<li><a href="org/apache/juneau/dto/html5/Dd.html" title="class in org.apache.juneau.dto.html5">Dd</a></li>
<li><a href="org/apache/juneau/rest/response/DefaultHandler.html" title="class in org.apache.juneau.rest.response">DefaultHandler</a></li>
<li><a href="org/apache/juneau/svl/DefaultingVar.html" title="class in org.apache.juneau.svl">DefaultingVar</a></li>
@@ -195,10 +213,14 @@
<li><a href="org/apache/juneau/encoders/EncoderGroup.html" title="class in org.apache.juneau.encoders">EncoderGroup</a></li>
<li><a href="org/apache/juneau/encoders/EncoderGroupBuilder.html" title="class in org.apache.juneau.encoders">EncoderGroupBuilder</a></li>
<li><a href="org/apache/juneau/encoders/EncoderMatch.html" title="class in org.apache.juneau.encoders">EncoderMatch</a></li>
+<li><a href="org/apache/juneau/http/EntityValidator.html" title="class in org.apache.juneau.http">EntityValidator</a></li>
<li><a href="org/apache/juneau/dto/atom/Entry.html" title="class in org.apache.juneau.dto.atom">Entry</a></li>
<li><a href="org/apache/juneau/ini/EntryListener.html" title="class in org.apache.juneau.ini">EntryListener</a></li>
<li><a href="org/apache/juneau/transforms/EnumerationSwap.html" title="class in org.apache.juneau.transforms">EnumerationSwap</a></li>
<li><a href="org/apache/juneau/svl/vars/EnvVariablesVar.html" title="class in org.apache.juneau.svl.vars">EnvVariablesVar</a></li>
+<li><a href="org/apache/juneau/http/ETag.html" title="class in org.apache.juneau.http">ETag</a></li>
+<li><a href="org/apache/juneau/http/Expect.html" title="class in org.apache.juneau.http">Expect</a></li>
+<li><a href="org/apache/juneau/http/Expires.html" title="class in org.apache.juneau.http">Expires</a></li>
<li><a href="org/apache/juneau/dto/swagger/ExternalDocumentation.html" title="class in org.apache.juneau.dto.swagger">ExternalDocumentation</a></li>
<li><a href="org/apache/juneau/dto/atom/Feed.html" title="class in org.apache.juneau.dto.atom">Feed</a></li>
<li><a href="org/apache/juneau/dto/html5/Fieldset.html" title="class in org.apache.juneau.dto.html5">Fieldset</a></li>
@@ -213,6 +235,7 @@
<li><a href="org/apache/juneau/remoteable/FormData.html" title="annotation in org.apache.juneau.remoteable">FormData</a></li>
<li><a href="org/apache/juneau/rest/annotation/FormData.html" title="annotation in org.apache.juneau.rest.annotation">FormData</a></li>
<li><a href="org/apache/juneau/remoteable/FormDataIfNE.html" title="annotation in org.apache.juneau.remoteable">FormDataIfNE</a></li>
+<li><a href="org/apache/juneau/http/From.html" title="class in org.apache.juneau.http">From</a></li>
<li><a href="org/apache/juneau/dto/atom/Generator.html" title="class in org.apache.juneau.dto.atom">Generator</a></li>
<li><a href="org/apache/juneau/encoders/GzipEncoder.html" title="class in org.apache.juneau.encoders">GzipEncoder</a></li>
<li><a href="org/apache/juneau/dto/html5/H1.html" title="class in org.apache.juneau.dto.html5">H1</a></li>
@@ -228,8 +251,18 @@
<li><a href="org/apache/juneau/dto/html5/Header.html" title="class in org.apache.juneau.dto.html5">Header</a></li>
<li><a href="org/apache/juneau/remoteable/Header.html" title="annotation in org.apache.juneau.remoteable">Header</a></li>
<li><a href="org/apache/juneau/rest/annotation/Header.html" title="annotation in org.apache.juneau.rest.annotation">Header</a></li>
+<li><a href="org/apache/juneau/http/HeaderDate.html" title="class in org.apache.juneau.http">HeaderDate</a></li>
+<li><a href="org/apache/juneau/http/HeaderEntityValidator.html" title="class in org.apache.juneau.http">HeaderEntityValidator</a></li>
+<li><a href="org/apache/juneau/http/HeaderEntityValidatorArray.html" title="class in org.apache.juneau.http">HeaderEntityValidatorArray</a></li>
+<li><a href="org/apache/juneau/http/HeaderEnum.html" title="class in org.apache.juneau.http">HeaderEnum</a></li>
<li><a href="org/apache/juneau/remoteable/HeaderIfNE.html" title="annotation in org.apache.juneau.remoteable">HeaderIfNE</a></li>
<li><a href="org/apache/juneau/dto/swagger/HeaderInfo.html" title="class in org.apache.juneau.dto.swagger">HeaderInfo</a></li>
+<li><a href="org/apache/juneau/http/HeaderInteger.html" title="class in org.apache.juneau.http">HeaderInteger</a></li>
+<li><a href="org/apache/juneau/http/HeaderRangeArray.html" title="class in org.apache.juneau.http">HeaderRangeArray</a></li>
+<li><a href="org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></li>
+<li><a href="org/apache/juneau/http/HeaderStringArray.html" title="class in org.apache.juneau.http">HeaderStringArray</a></li>
+<li><a href="org/apache/juneau/http/HeaderUri.html" title="class in org.apache.juneau.http">HeaderUri</a></li>
+<li><a href="org/apache/juneau/http/Host.html" title="class in org.apache.juneau.http">Host</a></li>
<li><a href="org/apache/juneau/dto/html5/Hr.html" title="class in org.apache.juneau.dto.html5">Hr</a></li>
<li><a href="org/apache/juneau/dto/html5/Html.html" title="class in org.apache.juneau.dto.html5">Html</a></li>
<li><a href="org/apache/juneau/html/annotation/Html.html" title="annotation in org.apache.juneau.html.annotation">Html</a></li>
@@ -260,13 +293,19 @@
<li><a href="org/apache/juneau/html/HtmlSerializerSession.html" title="class in org.apache.juneau.html">HtmlSerializerSession</a></li>
<li><a href="org/apache/juneau/html/HtmlStrippedDocSerializer.html" title="class in org.apache.juneau.html">HtmlStrippedDocSerializer</a></li>
<li><a href="org/apache/juneau/html/HtmlWriter.html" title="class in org.apache.juneau.html">HtmlWriter</a></li>
+<li><a href="org/apache/juneau/http/HttpMethod.html" title="enum in org.apache.juneau.http">HttpMethod</a></li>
<li><a href="org/apache/juneau/rest/client/HttpMethod.html" title="enum in org.apache.juneau.rest.client">HttpMethod</a></li>
<li><a href="org/apache/juneau/dto/html5/I.html" title="class in org.apache.juneau.dto.html5">I</a></li>
<li><a href="org/apache/juneau/dto/atom/Icon.html" title="class in org.apache.juneau.dto.atom">Icon</a></li>
<li><a href="org/apache/juneau/dto/atom/Id.html" title="class in org.apache.juneau.dto.atom">Id</a></li>
<li><a href="org/apache/juneau/encoders/IdentityEncoder.html" title="class in org.apache.juneau.encoders">IdentityEncoder</a></li>
<li><a href="org/apache/juneau/internal/IdentityList.html" title="class in org.apache.juneau.internal">IdentityList</a></li>
+<li><a href="org/apache/juneau/http/IfMatch.html" title="class in org.apache.juneau.http">IfMatch</a></li>
+<li><a href="org/apache/juneau/http/IfModifiedSince.html" title="class in org.apache.juneau.http">IfModifiedSince</a></li>
+<li><a href="org/apache/juneau/http/IfNoneMatch.html" title="class in org.apache.juneau.http">IfNoneMatch</a></li>
<li><a href="org/apache/juneau/dto/html5/Iframe.html" title="class in org.apache.juneau.dto.html5">Iframe</a></li>
+<li><a href="org/apache/juneau/http/IfRange.html" title="class in org.apache.juneau.http">IfRange</a></li>
+<li><a href="org/apache/juneau/http/IfUnmodifiedSince.html" title="class in org.apache.juneau.http">IfUnmodifiedSince</a></li>
<li><a href="org/apache/juneau/svl/vars/IfVar.html" title="class in org.apache.juneau.svl.vars">IfVar</a></li>
<li><a href="org/apache/juneau/dto/html5/Img.html" title="class in org.apache.juneau.dto.html5">Img</a></li>
<li><a href="org/apache/juneau/dto/swagger/Info.html" title="class in org.apache.juneau.dto.swagger">Info</a></li>
@@ -313,6 +352,7 @@
<li><a href="org/apache/juneau/dto/html5/Keygen.html" title="class in org.apache.juneau.dto.html5">Keygen</a></li>
<li><a href="org/apache/juneau/internal/KeywordSet.html" title="class in org.apache.juneau.internal">KeywordSet</a></li>
<li><a href="org/apache/juneau/dto/html5/Label.html" title="class in org.apache.juneau.dto.html5">Label</a></li>
+<li><a href="org/apache/juneau/http/LastModified.html" title="class in org.apache.juneau.http">LastModified</a></li>
<li><a href="org/apache/juneau/dto/html5/Legend.html" title="class in org.apache.juneau.dto.html5">Legend</a></li>
<li><a href="org/apache/juneau/dto/html5/Li.html" title="class in org.apache.juneau.dto.html5">Li</a></li>
<li><a href="org/apache/juneau/dto/swagger/License.html" title="class in org.apache.juneau.dto.swagger">License</a></li>
@@ -320,6 +360,7 @@
<li><a href="org/apache/juneau/dto/html5/Link.html" title="class in org.apache.juneau.dto.html5">Link</a></li>
<li><a href="org/apache/juneau/dto/Link.html" title="class in org.apache.juneau.dto">Link</a></li>
<li><a href="org/apache/juneau/rest/vars/LocalizationVar.html" title="class in org.apache.juneau.rest.vars">LocalizationVar</a></li>
+<li><a href="org/apache/juneau/http/Location.html" title="class in org.apache.juneau.http">Location</a></li>
<li><a href="org/apache/juneau/microservice/resources/LogEntryFormatter.html" title="class in org.apache.juneau.microservice.resources">LogEntryFormatter</a></li>
<li><a href="org/apache/juneau/dto/atom/Logo.html" title="class in org.apache.juneau.dto.atom">Logo</a></li>
<li><a href="org/apache/juneau/microservice/resources/LogParser.html" title="class in org.apache.juneau.microservice.resources">LogParser</a></li>
@@ -332,6 +373,7 @@
<li><a href="org/apache/juneau/transform/MapSwap.html" title="class in org.apache.juneau.transform">MapSwap</a></li>
<li><a href="org/apache/juneau/svl/MapVar.html" title="class in org.apache.juneau.svl">MapVar</a></li>
<li><a href="org/apache/juneau/dto/html5/Mark.html" title="class in org.apache.juneau.dto.html5">Mark</a></li>
+<li><a href="org/apache/juneau/http/MaxForwards.html" title="class in org.apache.juneau.http">MaxForwards</a></li>
<li><a href="org/apache/juneau/http/MediaType.html" title="class in org.apache.juneau.http">MediaType</a></li>
<li><a href="org/apache/juneau/http/MediaTypeRange.html" title="class in org.apache.juneau.http">MediaTypeRange</a></li>
<li><a href="org/apache/juneau/utils/MessageBundle.html" title="class in org.apache.juneau.utils">MessageBundle</a></li>
@@ -404,6 +446,7 @@
<li><a href="org/apache/juneau/utils/PojoRest.html" title="class in org.apache.juneau.utils">PojoRest</a></li>
<li><a href="org/apache/juneau/utils/PojoRestException.html" title="class in org.apache.juneau.utils">PojoRestException</a></li>
<li><a href="org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform">PojoSwap</a></li>
+<li><a href="org/apache/juneau/http/Pragma.html" title="class in org.apache.juneau.http">Pragma</a></li>
<li><a href="org/apache/juneau/dto/html5/Pre.html" title="class in org.apache.juneau.dto.html5">Pre</a></li>
<li><a href="org/apache/juneau/utils/ProcBuilder.html" title="class in org.apache.juneau.utils">ProcBuilder</a></li>
<li><a href="org/apache/juneau/utils/ProcBuilder.Matcher.html" title="class in org.apache.juneau.utils">ProcBuilder.Matcher</a></li>
@@ -415,11 +458,14 @@
<li><a href="org/apache/juneau/PropertyNamerDashedLC.html" title="class in org.apache.juneau">PropertyNamerDashedLC</a></li>
<li><a href="org/apache/juneau/PropertyNamerDefault.html" title="class in org.apache.juneau">PropertyNamerDefault</a></li>
<li><a href="org/apache/juneau/PropertyStore.html" title="class in org.apache.juneau">PropertyStore</a></li>
+<li><a href="org/apache/juneau/http/ProxyAuthenticate.html" title="class in org.apache.juneau.http">ProxyAuthenticate</a></li>
+<li><a href="org/apache/juneau/http/ProxyAuthorization.html" title="class in org.apache.juneau.http">ProxyAuthorization</a></li>
<li><a href="org/apache/juneau/dto/html5/Q.html" title="class in org.apache.juneau.dto.html5">Q</a></li>
<li><a href="org/apache/juneau/remoteable/Query.html" title="annotation in org.apache.juneau.remoteable">Query</a></li>
<li><a href="org/apache/juneau/rest/annotation/Query.html" title="annotation in org.apache.juneau.rest.annotation">Query</a></li>
<li><a href="org/apache/juneau/rest/converters/Queryable.html" title="class in org.apache.juneau.rest.converters">Queryable</a></li>
<li><a href="org/apache/juneau/remoteable/QueryIfNE.html" title="annotation in org.apache.juneau.remoteable">QueryIfNE</a></li>
+<li><a href="org/apache/juneau/http/Range.html" title="class in org.apache.juneau.http">Range</a></li>
<li><a href="org/apache/juneau/dto/html5/Rb.html" title="class in org.apache.juneau.dto.html5">Rb</a></li>
<li><a href="org/apache/juneau/jena/annotation/Rdf.html" title="annotation in org.apache.juneau.jena.annotation">Rdf</a></li>
<li><a href="org/apache/juneau/jena/RdfBeanMeta.html" title="class in org.apache.juneau.jena">RdfBeanMeta</a></li>
@@ -458,6 +504,7 @@
<li><a href="org/apache/juneau/transforms/ReaderSwap.Xml.html" title="class in org.apache.juneau.transforms">ReaderSwap.Xml</a></li>
<li><a href="org/apache/juneau/rest/Redirect.html" title="class in org.apache.juneau.rest">Redirect</a></li>
<li><a href="org/apache/juneau/rest/response/RedirectHandler.html" title="class in org.apache.juneau.rest.response">RedirectHandler</a></li>
+<li><a href="org/apache/juneau/http/Referer.html" title="class in org.apache.juneau.http">Referer</a></li>
<li><a href="org/apache/juneau/internal/ReflectionUtils.html" title="class in org.apache.juneau.internal">ReflectionUtils</a></li>
<li><a href="org/apache/juneau/remoteable/Remoteable.html" title="annotation in org.apache.juneau.remoteable">Remoteable</a></li>
<li><a href="org/apache/juneau/remoteable/RemoteableMeta.html" title="class in org.apache.juneau.remoteable">RemoteableMeta</a></li>
@@ -467,6 +514,11 @@
<li><a href="org/apache/juneau/rest/remoteable/RemoteableServlet.html" title="class in org.apache.juneau.rest.remoteable">RemoteableServlet</a></li>
<li><a href="org/apache/juneau/remoteable/RemoteMethod.html" title="annotation in org.apache.juneau.remoteable">RemoteMethod</a></li>
<li><a href="org/apache/juneau/remoteable/RemoteMethodArg.html" title="class in org.apache.juneau.remoteable">RemoteMethodArg</a></li>
+<li><a href="org/apache/juneau/rest/RequestBody.html" title="class in org.apache.juneau.rest">RequestBody</a></li>
+<li><a href="org/apache/juneau/rest/RequestFormData.html" title="class in org.apache.juneau.rest">RequestFormData</a></li>
+<li><a href="org/apache/juneau/rest/RequestHeaders.html" title="class in org.apache.juneau.rest">RequestHeaders</a></li>
+<li><a href="org/apache/juneau/rest/RequestPathParams.html" title="class in org.apache.juneau.rest">RequestPathParams</a></li>
+<li><a href="org/apache/juneau/rest/RequestQuery.html" title="class in org.apache.juneau.rest">RequestQuery</a></li>
<li><a href="org/apache/juneau/rest/vars/RequestVar.html" title="class in org.apache.juneau.rest.vars">RequestVar</a></li>
<li><a href="org/apache/juneau/microservice/Resource.html" title="class in org.apache.juneau.microservice">Resource</a></li>
<li><a href="org/apache/juneau/rest/labels/ResourceDescription.html" title="class in org.apache.juneau.rest.labels">ResourceDescription</a></li>
@@ -497,6 +549,8 @@
<li><a href="org/apache/juneau/rest/RestMatcherReflecting.html" title="class in org.apache.juneau.rest">RestMatcherReflecting</a></li>
<li><a href="org/apache/juneau/rest/annotation/RestMethod.html" title="annotation in org.apache.juneau.rest.annotation">RestMethod</a></li>
<li><a href="org/apache/juneau/microservice/RestMicroservice.html" title="class in org.apache.juneau.microservice">RestMicroservice</a></li>
+<li><a href="org/apache/juneau/rest/RestParam.html" title="class in org.apache.juneau.rest">RestParam</a></li>
+<li><a href="org/apache/juneau/rest/RestParamType.html" title="enum in org.apache.juneau.rest">RestParamType</a></li>
<li><a href="org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest">RestRequest</a></li>
<li><a href="org/apache/juneau/rest/client/RestRequestEntity.html" title="class in org.apache.juneau.rest.client">RestRequestEntity</a></li>
<li><a href="org/apache/juneau/rest/annotation/RestResource.html" title="annotation in org.apache.juneau.rest.annotation">RestResource</a></li>
@@ -511,6 +565,7 @@
<li><a href="org/apache/juneau/rest/jena/RestServletJenaGroupDefault.html" title="class in org.apache.juneau.rest.jena">RestServletJenaGroupDefault</a></li>
<li><a href="org/apache/juneau/rest/RestUtils.html" title="class in org.apache.juneau.rest">RestUtils</a></li>
<li><a href="org/apache/juneau/dto/ResultSetList.html" title="class in org.apache.juneau.dto">ResultSetList</a></li>
+<li><a href="org/apache/juneau/http/RetryAfter.html" title="class in org.apache.juneau.http">RetryAfter</a></li>
<li><a href="org/apache/juneau/rest/client/RetryOn.html" title="class in org.apache.juneau.rest.client">RetryOn</a></li>
<li><a href="org/apache/juneau/dto/html5/Rp.html" title="class in org.apache.juneau.dto.html5">Rp</a></li>
<li><a href="org/apache/juneau/dto/html5/Rt.html" title="class in org.apache.juneau.dto.html5">Rt</a></li>
@@ -547,6 +602,7 @@
<li><a href="org/apache/juneau/serializer/SerializerMatch.html" title="class in org.apache.juneau.serializer">SerializerMatch</a></li>
<li><a href="org/apache/juneau/serializer/SerializerSession.html" title="class in org.apache.juneau.serializer">SerializerSession</a></li>
<li><a href="org/apache/juneau/serializer/SerializerWriter.html" title="class in org.apache.juneau.serializer">SerializerWriter</a></li>
+<li><a href="org/apache/juneau/http/Server.html" title="class in org.apache.juneau.http">Server</a></li>
<li><a href="org/apache/juneau/rest/vars/ServletInitParamVar.html" title="class in org.apache.juneau.rest.vars">ServletInitParamVar</a></li>
<li><a href="org/apache/juneau/Session.html" title="class in org.apache.juneau">Session</a></li>
<li><a href="org/apache/juneau/microservice/resources/ShutdownResource.html" title="class in org.apache.juneau.microservice.resources">ShutdownResource</a></li>
@@ -572,6 +628,7 @@
<li><a href="org/apache/juneau/internal/StringBuilderWriter.html" title="class in org.apache.juneau.internal">StringBuilderWriter</a></li>
<li><a href="org/apache/juneau/utils/StringMessage.html" title="class in org.apache.juneau.utils">StringMessage</a></li>
<li><a href="org/apache/juneau/utils/StringObject.html" title="class in org.apache.juneau.utils">StringObject</a></li>
+<li><a href="org/apache/juneau/http/StringRange.html" title="class in org.apache.juneau.http">StringRange</a></li>
<li><a href="org/apache/juneau/transform/StringSwap.html" title="class in org.apache.juneau.transform">StringSwap</a></li>
<li><a href="org/apache/juneau/internal/StringUtils.html" title="class in org.apache.juneau.internal">StringUtils</a></li>
<li><a href="org/apache/juneau/dto/html5/Strong.html" title="class in org.apache.juneau.dto.html5">Strong</a></li>
@@ -588,6 +645,7 @@
<li><a href="org/apache/juneau/dto/swagger/Tag.html" title="class in org.apache.juneau.dto.swagger">Tag</a></li>
<li><a href="org/apache/juneau/dto/html5/Tbody.html" title="class in org.apache.juneau.dto.html5">Tbody</a></li>
<li><a href="org/apache/juneau/dto/html5/Td.html" title="class in org.apache.juneau.dto.html5">Td</a></li>
+<li><a href="org/apache/juneau/http/TE.html" title="class in org.apache.juneau.http">TE</a></li>
<li><a href="org/apache/juneau/internal/TeeOutputStream.html" title="class in org.apache.juneau.internal">TeeOutputStream</a></li>
<li><a href="org/apache/juneau/internal/TeeWriter.html" title="class in org.apache.juneau.internal">TeeWriter</a></li>
<li><a href="org/apache/juneau/dto/html5/Template.html" title="class in org.apache.juneau.dto.html5">Template</a></li>
@@ -602,8 +660,9 @@
<li><a href="org/apache/juneau/dto/html5/Title.html" title="class in org.apache.juneau.dto.html5">Title</a></li>
<li><a href="org/apache/juneau/dto/html5/Tr.html" title="class in org.apache.juneau.dto.html5">Tr</a></li>
<li><a href="org/apache/juneau/dto/html5/Track.html" title="class in org.apache.juneau.dto.html5">Track</a></li>
+<li><a href="org/apache/juneau/http/Trailer.html" title="class in org.apache.juneau.http">Trailer</a></li>
+<li><a href="org/apache/juneau/http/TransferEncoding.html" title="class in org.apache.juneau.http">TransferEncoding</a></li>
<li><a href="org/apache/juneau/rest/converters/Traversable.html" title="class in org.apache.juneau.rest.converters">Traversable</a></li>
-<li><a href="org/apache/juneau/http/TypeRange.html" title="class in org.apache.juneau.http">TypeRange</a></li>
<li><a href="org/apache/juneau/dto/html5/U.html" title="class in org.apache.juneau.dto.html5">U</a></li>
<li><a href="org/apache/juneau/dto/html5/Ul.html" title="class in org.apache.juneau.dto.html5">Ul</a></li>
<li><a href="org/apache/juneau/uon/UonParser.html" title="class in org.apache.juneau.uon">UonParser</a></li>
@@ -620,6 +679,7 @@
<li><a href="org/apache/juneau/uon/UonSerializerSession.html" title="class in org.apache.juneau.uon">UonSerializerSession</a></li>
<li><a href="org/apache/juneau/uon/UonUtils.html" title="class in org.apache.juneau.uon">UonUtils</a></li>
<li><a href="org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon">UonWriter</a></li>
+<li><a href="org/apache/juneau/http/Upgrade.html" title="class in org.apache.juneau.http">Upgrade</a></li>
<li><a href="org/apache/juneau/annotation/URI.html" title="annotation in org.apache.juneau.annotation">URI</a></li>
<li><a href="org/apache/juneau/rest/matchers/UrlEncodedFormMatcher.html" title="class in org.apache.juneau.rest.matchers">UrlEncodedFormMatcher</a></li>
<li><a href="org/apache/juneau/rest/vars/UrlEncodeVar.html" title="class in org.apache.juneau.rest.vars">UrlEncodeVar</a></li>
@@ -637,6 +697,7 @@
<li><a href="org/apache/juneau/urlencoding/UrlEncodingSerializerContext.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerContext</a></li>
<li><a href="org/apache/juneau/urlencoding/UrlEncodingSerializerSession.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerSession</a></li>
<li><a href="org/apache/juneau/rest/UrlPathPattern.html" title="class in org.apache.juneau.rest">UrlPathPattern</a></li>
+<li><a href="org/apache/juneau/http/UserAgent.html" title="class in org.apache.juneau.http">UserAgent</a></li>
<li><a href="org/apache/juneau/internal/Utils.html" title="class in org.apache.juneau.internal">Utils</a></li>
<li><a href="org/apache/juneau/dto/html5/Var.html" title="class in org.apache.juneau.dto.html5">Var</a></li>
<li><a href="org/apache/juneau/svl/Var.html" title="class in org.apache.juneau.svl">Var</a></li>
@@ -644,14 +705,19 @@
<li><a href="org/apache/juneau/svl/VarResolverBuilder.html" title="class in org.apache.juneau.svl">VarResolverBuilder</a></li>
<li><a href="org/apache/juneau/svl/VarResolverContext.html" title="class in org.apache.juneau.svl">VarResolverContext</a></li>
<li><a href="org/apache/juneau/svl/VarResolverSession.html" title="class in org.apache.juneau.svl">VarResolverSession</a></li>
+<li><a href="org/apache/juneau/http/Vary.html" title="class in org.apache.juneau.http">Vary</a></li>
<li><a href="org/apache/juneau/internal/Version.html" title="class in org.apache.juneau.internal">Version</a></li>
<li><a href="org/apache/juneau/internal/VersionRange.html" title="class in org.apache.juneau.internal">VersionRange</a></li>
+<li><a href="org/apache/juneau/http/Via.html" title="class in org.apache.juneau.http">Via</a></li>
<li><a href="org/apache/juneau/dto/html5/Video.html" title="class in org.apache.juneau.dto.html5">Video</a></li>
<li><a href="org/apache/juneau/Visibility.html" title="enum in org.apache.juneau">Visibility</a></li>
+<li><a href="org/apache/juneau/http/Warning.html" title="class in org.apache.juneau.http">Warning</a></li>
<li><a href="org/apache/juneau/dto/html5/Wbr.html" title="class in org.apache.juneau.dto.html5">Wbr</a></li>
+<li><a href="org/apache/juneau/internal/WrappedMap.html" title="class in org.apache.juneau.internal">WrappedMap</a></li>
<li><a href="org/apache/juneau/Writable.html" title="interface in org.apache.juneau"><span class="interfaceName">Writable</span></a></li>
<li><a href="org/apache/juneau/rest/response/WritableHandler.html" title="class in org.apache.juneau.rest.response">WritableHandler</a></li>
<li><a href="org/apache/juneau/serializer/WriterSerializer.html" title="class in org.apache.juneau.serializer">WriterSerializer</a></li>
+<li><a href="org/apache/juneau/http/WwwAuthenticate.html" title="class in org.apache.juneau.http">WwwAuthenticate</a></li>
<li><a href="org/apache/juneau/dto/swagger/Xml.html" title="class in org.apache.juneau.dto.swagger">Xml</a></li>
<li><a href="org/apache/juneau/xml/annotation/Xml.html" title="annotation in org.apache.juneau.xml.annotation">Xml</a></li>
<li><a href="org/apache/juneau/xml/XmlBeanMeta.html" title="class in org.apache.juneau.xml">XmlBeanMeta</a></li>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/constant-values.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/constant-values.html b/content/site/apidocs/constant-values.html
index 33c417a..6ad7715 100644
--- a/content/site/apidocs/constant-values.html
+++ b/content/site/apidocs/constant-values.html
@@ -535,6 +535,41 @@
<ul class="blockList">
<li class="blockList">
<table class="constantsSummary" border="0" cellpadding="3" cellspacing="0" summary="Constant Field Values table, listing constant fields, and values">
+<caption><span>org.apache.juneau.internal.<a href="org/apache/juneau/internal/DateUtils.html" title="class in org.apache.juneau.internal">DateUtils</a></span><span class="tabEnd"> </span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th scope="col">Constant Field</th>
+<th class="colLast" scope="col">Value</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><a name="org.apache.juneau.internal.DateUtils.PATTERN_ASCTIME">
+<!-- -->
+</a><code>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></code></td>
+<td><code><a href="org/apache/juneau/internal/DateUtils.html#PATTERN_ASCTIME">PATTERN_ASCTIME</a></code></td>
+<td class="colLast"><code>"EEE MMM d HH:mm:ss yyyy"</code></td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><a name="org.apache.juneau.internal.DateUtils.PATTERN_RFC1036">
+<!-- -->
+</a><code>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></code></td>
+<td><code><a href="org/apache/juneau/internal/DateUtils.html#PATTERN_RFC1036">PATTERN_RFC1036</a></code></td>
+<td class="colLast"><code>"EEE, dd-MMM-yy HH:mm:ss zzz"</code></td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><a name="org.apache.juneau.internal.DateUtils.PATTERN_RFC1123">
+<!-- -->
+</a><code>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></code></td>
+<td><code><a href="org/apache/juneau/internal/DateUtils.html#PATTERN_RFC1123">PATTERN_RFC1123</a></code></td>
+<td class="colLast"><code>"EEE, dd MMM yyyy HH:mm:ss zzz"</code></td>
+</tr>
+</tbody>
+</table>
+</li>
+</ul>
+<ul class="blockList">
+<li class="blockList">
+<table class="constantsSummary" border="0" cellpadding="3" cellspacing="0" summary="Constant Field Values table, listing constant fields, and values">
<caption><span>org.apache.juneau.jena.<a href="org/apache/juneau/jena/Constants.html" title="class in org.apache.juneau.jena">Constants</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
[28/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/rest/RestContext.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/RestContext.html b/content/site/apidocs/org/apache/juneau/rest/RestContext.html
index 9e9ac88..e88ebad 100644
--- a/content/site/apidocs/org/apache/juneau/rest/RestContext.html
+++ b/content/site/apidocs/org/apache/juneau/rest/RestContext.html
@@ -18,7 +18,7 @@
catch(err) {
}
//-->
-var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10};
+var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -113,7 +113,7 @@ var activeTableTab = "activeTableTab";
<li class="blockList">
<hr>
<br>
-<pre>public final class <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.47">RestContext</a>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.49">RestContext</a>
extends <a href="../../../../org/apache/juneau/Context.html" title="class in org.apache.juneau">Context</a></pre>
<div class="block">Contains all the configuration on a REST resource and the entry points for handling REST calls.
<p>
@@ -293,187 +293,195 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
</td>
</tr>
<tr id="i3" class="rowColor">
+<td class="colFirst"><code>protected <a href="../../../../org/apache/juneau/rest/RestParam.html" title="class in org.apache.juneau.rest">RestParam</a>[]</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestContext.html#findParams-java.lang.reflect.Method-boolean-org.apache.juneau.rest.UrlPathPattern-">findParams</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> method,
+ boolean methodPlainParams,
+ <a href="../../../../org/apache/juneau/rest/UrlPathPattern.html" title="class in org.apache.juneau.rest">UrlPathPattern</a> pathPattern)</code>
+<div class="block">Finds the <a href="../../../../org/apache/juneau/rest/RestParam.html" title="class in org.apache.juneau.rest"><code>RestParam</code></a> instances to handle resolving objects on the calls to the specified Java method.</div>
+</td>
+</tr>
+<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/BeanContext.html" title="class in org.apache.juneau">BeanContext</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestContext.html#getBeanContext--">getBeanContext</a></span>()</code>
<div class="block">Returns the <a href="../../../../org/apache/juneau/BeanContext.html" title="class in org.apache.juneau"><code>BeanContext</code></a> object used for parsing path variables and header values.</div>
</td>
</tr>
-<tr id="i4" class="altColor">
+<tr id="i5" class="rowColor">
<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestContext.html#getBeanFilters--">getBeanFilters</a></span>()</code>
<div class="block">Returns the bean filters associated with this resource.</div>
</td>
</tr>
-<tr id="i5" class="rowColor">
+<tr id="i6" class="altColor">
<td class="colFirst"><code>protected <a href="../../../../org/apache/juneau/rest/RestCallHandler.html" title="class in org.apache.juneau.rest">RestCallHandler</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestContext.html#getCallHandler--">getCallHandler</a></span>()</code>
<div class="block">Returns the REST call handler used by this resource.</div>
</td>
</tr>
-<tr id="i6" class="altColor">
+<tr id="i7" class="rowColor">
<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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>,org.apache.juneau.rest.CallMethod></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestContext.html#getCallMethods--">getCallMethods</a></span>()</code>
<div class="block">Returns the REST Java methods defined in this resource.</div>
</td>
</tr>
-<tr id="i7" class="rowColor">
+<tr id="i8" class="altColor">
<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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>,org.apache.juneau.rest.CallRouter></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestContext.html#getCallRouters--">getCallRouters</a></span>()</code>
<div class="block">Returns a map of HTTP method names to call routers.</div>
</td>
</tr>
-<tr id="i8" class="altColor">
+<tr id="i9" class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../org/apache/juneau/rest/RestContext.html" title="class in org.apache.juneau.rest">RestContext</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestContext.html#getChildResource-java.lang.String-">getChildResource</a></span>(<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> path)</code>
<div class="block">Returns the context of the child resource associated with the specified path.</div>
</td>
</tr>
-<tr id="i9" class="rowColor">
+<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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="../../../../org/apache/juneau/rest/RestContext.html" title="class in org.apache.juneau.rest">RestContext</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestContext.html#getChildResources--">getChildResources</a></span>()</code>
<div class="block">Returns the child resources associated with this servlet.</div>
</td>
</tr>
-<tr id="i10" class="altColor">
+<tr id="i11" class="rowColor">
<td class="colFirst"><code>protected <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/rest/RestContext.html#getClientVersionHeader--">getClientVersionHeader</a></span>()</code>
<div class="block">Returns the name of the client version header name used by this resource.</div>
</td>
</tr>
-<tr id="i11" class="rowColor">
+<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestContext.html#getConfigFile--">getConfigFile</a></span>()</code>
<div class="block">Returns the config file associated with this servlet.</div>
</td>
</tr>
-<tr id="i12" class="altColor">
+<tr id="i13" class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../org/apache/juneau/rest/RestConverter.html" title="interface in org.apache.juneau.rest">RestConverter</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestContext.html#getConverters--">getConverters</a></span>()</code>
<div class="block">Returns the converters associated with this resource at the class level.</div>
</td>
</tr>
-<tr id="i13" class="rowColor">
+<tr id="i14" class="altColor">
<td class="colFirst"><code>protected <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/rest/RestContext.html#getDefaultCharset--">getDefaultCharset</a></span>()</code>
<div class="block">Returns the value of the <a href="../../../../org/apache/juneau/rest/RestContext.html#REST_defaultCharset"><code>REST_defaultCharset</code></a> setting.</div>
</td>
</tr>
-<tr id="i14" class="altColor">
+<tr id="i15" class="rowColor">
<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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="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/rest/RestContext.html#getDefaultRequestHeaders--">getDefaultRequestHeaders</a></span>()</code>
<div class="block">Returns the default request headers for this resource.</div>
</td>
</tr>
-<tr id="i15" class="rowColor">
+<tr id="i16" class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestContext.html#getDefaultResponseHeaders--">getDefaultResponseHeaders</a></span>()</code>
<div class="block">Returns the default response headers for this resource.</div>
</td>
</tr>
-<tr id="i16" class="altColor">
+<tr id="i17" class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../org/apache/juneau/encoders/EncoderGroup.html" title="class in org.apache.juneau.encoders">EncoderGroup</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestContext.html#getEncoders--">getEncoders</a></span>()</code>
<div class="block">Returns the encoders associated with this resource.</div>
</td>
</tr>
-<tr id="i17" class="rowColor">
+<tr id="i18" class="altColor">
<td class="colFirst"><code>protected <a href="../../../../org/apache/juneau/rest/StreamResource.html" title="class in org.apache.juneau.rest">StreamResource</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestContext.html#getFavIcon--">getFavIcon</a></span>()</code>
<div class="block">Returns the favicon of the resource.</div>
</td>
</tr>
-<tr id="i18" class="altColor">
+<tr id="i19" class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../org/apache/juneau/rest/RestGuard.html" title="class in org.apache.juneau.rest">RestGuard</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestContext.html#getGuards--">getGuards</a></span>()</code>
<div class="block">Returns the guards associated with this resource at the class level.</div>
</td>
</tr>
-<tr id="i19" class="rowColor">
+<tr id="i20" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RestInfoProvider.html" title="class in org.apache.juneau.rest">RestInfoProvider</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestContext.html#getInfoProvider--">getInfoProvider</a></span>()</code>
<div class="block">Returns the REST information provider used by this resource.</div>
</td>
</tr>
-<tr id="i20" class="altColor">
+<tr id="i21" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RestLogger.html" title="class in org.apache.juneau.rest">RestLogger</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestContext.html#getLogger--">getLogger</a></span>()</code>
<div class="block">Returns the logger to use for this resource.</div>
</td>
</tr>
-<tr id="i21" class="rowColor">
+<tr id="i22" class="altColor">
<td class="colFirst"><code>protected <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/rest/RestContext.html#getMediaTypeForName-java.lang.String-">getMediaTypeForName</a></span>(<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> name)</code>
<div class="block">Returns the media type for the specified file name.</div>
</td>
</tr>
-<tr id="i22" class="altColor">
+<tr id="i23" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/utils/MessageBundle.html" title="class in org.apache.juneau.utils">MessageBundle</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestContext.html#getMessages--">getMessages</a></span>()</code>
<div class="block">Returns the resource bundle used by this resource.</div>
</td>
</tr>
-<tr id="i23" class="rowColor">
+<tr id="i24" class="altColor">
<td class="colFirst"><code><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/rest/RestContext.html#getPageLinks--">getPageLinks</a></span>()</code>
<div class="block">Returns the page links as defined by the <a href="../../../../org/apache/juneau/rest/annotation/RestResource.html#pageLinks--"><code>RestResource.pageLinks()</code></a> annotation or <a href="../../../../org/apache/juneau/rest/RestConfig.html#setPageLinks-java.lang.String-"><code>RestConfig.setPageLinks(String)</code></a> method.</div>
</td>
</tr>
-<tr id="i24" class="altColor">
+<tr id="i25" class="rowColor">
<td class="colFirst"><code><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/rest/RestContext.html#getPageText--">getPageText</a></span>()</code>
<div class="block">Returns the page text as defined by the <a href="../../../../org/apache/juneau/rest/annotation/RestResource.html#pageText--"><code>RestResource.pageText()</code></a> annotation or <a href="../../../../org/apache/juneau/rest/RestConfig.html#setPageText-java.lang.String-"><code>RestConfig.setPageText(String)</code></a> method.</div>
</td>
</tr>
-<tr id="i25" class="rowColor">
+<tr id="i26" class="altColor">
<td class="colFirst"><code><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/rest/RestContext.html#getPageTitle--">getPageTitle</a></span>()</code>
<div class="block">Returns the page title as defined by the <a href="../../../../org/apache/juneau/rest/annotation/RestResource.html#pageTitle--"><code>RestResource.pageTitle()</code></a> annotation or <a href="../../../../org/apache/juneau/rest/RestConfig.html#setPageTitle-java.lang.String-"><code>RestConfig.setPageTitle(String)</code></a> method.</div>
</td>
</tr>
-<tr id="i26" class="altColor">
+<tr id="i27" class="rowColor">
<td class="colFirst"><code>protected <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/rest/RestContext.html#getParamFormat--">getParamFormat</a></span>()</code>
<div class="block">Returns the value of the <a href="../../../../org/apache/juneau/rest/RestContext.html#REST_paramFormat"><code>REST_paramFormat</code></a> setting.</div>
</td>
</tr>
-<tr id="i27" class="rowColor">
+<tr id="i28" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RestContext.html" title="class in org.apache.juneau.rest">RestContext</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestContext.html#getParentContext--">getParentContext</a></span>()</code>
<div class="block">Returns the parent resource context (if this resource was initialized from a parent).</div>
</td>
</tr>
-<tr id="i28" class="altColor">
+<tr id="i29" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/parser/ParserGroup.html" title="class in org.apache.juneau.parser">ParserGroup</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestContext.html#getParsers--">getParsers</a></span>()</code>
<div class="block">Returns the parsers registered with this resource.</div>
</td>
</tr>
-<tr id="i29" class="rowColor">
+<tr id="i30" class="altColor">
<td class="colFirst"><code><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/rest/RestContext.html#getPath--">getPath</a></span>()</code>
<div class="block">Returns the path for this resource as defined by the <a href="../../../../org/apache/juneau/rest/annotation/RestResource.html#path--"><code>RestResource.path()</code></a> annotation or <a href="../../../../org/apache/juneau/rest/RestConfig.html#setPath-java.lang.String-"><code>RestConfig.setPath(String)</code></a> method
concatenated with those on all parent classes.</div>
</td>
</tr>
-<tr id="i30" class="altColor">
+<tr id="i31" class="rowColor">
<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestContext.html#getPojoSwaps--">getPojoSwaps</a></span>()</code>
<div class="block">Returns the POJO swaps associated with this resource.</div>
</td>
</tr>
-<tr id="i31" class="rowColor">
+<tr id="i32" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestContext.html#getProperties--">getProperties</a></span>()</code>
<div class="block">Returns the class-level properties associated with this servlet.</div>
</td>
</tr>
-<tr id="i32" class="altColor">
+<tr id="i33" class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestContext.html#getResource--">getResource</a></span>()</code>
<div class="block">Returns the resource object.</div>
</td>
</tr>
-<tr id="i33" class="rowColor">
+<tr id="i34" class="altColor">
<td class="colFirst"><code><T> T</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestContext.html#getResource-java.lang.Class-org.apache.juneau.http.MediaType-java.lang.String-java.util.Locale-">getResource</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c,
<a href="../../../../org/apache/juneau/http/MediaType.html" title="class in org.apache.juneau.http">MediaType</a> mediaType,
@@ -483,7 +491,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
using the parser matched by the specified media type.</div>
</td>
</tr>
-<tr id="i34" class="altColor">
+<tr id="i35" class="rowColor">
<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestContext.html#getResource-java.lang.String-java.util.Locale-">getResource</a></span>(<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> name,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a> locale)</code>
@@ -491,110 +499,110 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
on this class, searches up the parent hierarchy chain.</div>
</td>
</tr>
-<tr id="i35" class="rowColor">
+<tr id="i36" class="altColor">
<td class="colFirst"><code><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/rest/RestContext.html#getResourceAsString-java.lang.String-java.util.Locale-">getResourceAsString</a></span>(<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> name,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a> locale)</code>
<div class="block">Reads the input stream from <a href="../../../../org/apache/juneau/rest/RestContext.html#getResource-java.lang.String-java.util.Locale-"><code>getResource(String, Locale)</code></a> into a String.</div>
</td>
</tr>
-<tr id="i36" class="altColor">
+<tr id="i37" class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../org/apache/juneau/rest/ResponseHandler.html" title="interface in org.apache.juneau.rest">ResponseHandler</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestContext.html#getResponseHandlers--">getResponseHandlers</a></span>()</code>
<div class="block">Returns the response handlers associated with this resource.</div>
</td>
</tr>
-<tr id="i37" class="rowColor">
+<tr id="i38" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RestServlet.html" title="class in org.apache.juneau.rest">RestServlet</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestContext.html#getRestServlet--">getRestServlet</a></span>()</code>
<div class="block">Returns the resource object as a <a href="../../../../org/apache/juneau/rest/RestServlet.html" title="class in org.apache.juneau.rest"><code>RestServlet</code></a>.</div>
</td>
</tr>
-<tr id="i38" class="altColor">
+<tr id="i39" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/serializer/SerializerGroup.html" title="class in org.apache.juneau.serializer">SerializerGroup</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestContext.html#getSerializers--">getSerializers</a></span>()</code>
<div class="block">Returns the serializers registered with this resource.</div>
</td>
</tr>
-<tr id="i39" class="rowColor">
+<tr id="i40" class="altColor">
<td class="colFirst"><code><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/rest/RestContext.html#getServletInitParameter-java.lang.String-">getServletInitParameter</a></span>(<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> name)</code>
<div class="block">Returns the servlet init parameter returned by <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletConfig.html?is-external=true#getInitParameter-java.lang.String-" title="class or interface in javax.servlet"><code>ServletConfig.getInitParameter(String)</code></a>.</div>
</td>
</tr>
-<tr id="i40" class="altColor">
+<tr id="i41" class="rowColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestContext.html#getStackTraceOccurrence-java.lang.Throwable-">getStackTraceOccurrence</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> e)</code>
<div class="block">Returns the number of times this exception was thrown based on a hash of its stacktrace.</div>
</td>
</tr>
-<tr id="i41" class="rowColor">
+<tr id="i42" class="altColor">
<td class="colFirst"><code>protected <a href="../../../../org/apache/juneau/rest/StreamResource.html" title="class in org.apache.juneau.rest">StreamResource</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestContext.html#getStyleSheet--">getStyleSheet</a></span>()</code>
<div class="block">Returns the stylesheet for use in the HTML views of the resource.</div>
</td>
</tr>
-<tr id="i42" class="altColor">
+<tr id="i43" class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../org/apache/juneau/http/MediaType.html" title="class in org.apache.juneau.http">MediaType</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestContext.html#getSupportedAcceptTypes--">getSupportedAcceptTypes</a></span>()</code>
<div class="block">Returns the explicit list of supported accept types for this resource.</div>
</td>
</tr>
-<tr id="i43" class="rowColor">
+<tr id="i44" class="altColor">
<td class="colFirst"><code>protected <a href="../../../../org/apache/juneau/http/MediaType.html" title="class in org.apache.juneau.http">MediaType</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestContext.html#getSupportedContentTypes--">getSupportedContentTypes</a></span>()</code>
<div class="block">Returns the explicit list of supported content types for this resource.</div>
</td>
</tr>
-<tr id="i44" class="altColor">
+<tr id="i45" class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingParser.html" title="class in org.apache.juneau.urlencoding">UrlEncodingParser</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestContext.html#getUrlEncodingParser--">getUrlEncodingParser</a></span>()</code>
<div class="block">Returns the URL-encoding parser associated with this resource.</div>
</td>
</tr>
-<tr id="i45" class="rowColor">
+<tr id="i46" class="altColor">
<td class="colFirst"><code>protected <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestContext.html#getUrlEncodingSerializer--">getUrlEncodingSerializer</a></span>()</code>
<div class="block">Returns the URL-encoding serializer associated with this resource.</div>
</td>
</tr>
-<tr id="i46" class="altColor">
+<tr id="i47" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/svl/VarResolver.html" title="class in org.apache.juneau.svl">VarResolver</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestContext.html#getVarResolver--">getVarResolver</a></span>()</code>
<div class="block">Returns the variable resolver for this servlet.</div>
</td>
</tr>
-<tr id="i47" class="rowColor">
+<tr id="i48" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestContext.html#hasChildResources--">hasChildResources</a></span>()</code>
<div class="block">Returns <jk>true</jk> if this resource has any child resources associated with it.</div>
</td>
</tr>
-<tr id="i48" class="altColor">
+<tr id="i49" class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestContext.html#isAllowBodyParam--">isAllowBodyParam</a></span>()</code>
<div class="block">Returns the value of the <a href="../../../../org/apache/juneau/rest/RestContext.html#REST_allowBodyParam"><code>REST_allowBodyParam</code></a> setting.</div>
</td>
</tr>
-<tr id="i49" class="rowColor">
+<tr id="i50" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestContext.html#isAllowHeaderParams--">isAllowHeaderParams</a></span>()</code>
<div class="block">Returns the value of the <a href="../../../../org/apache/juneau/rest/RestContext.html#REST_allowHeaderParams"><code>REST_allowHeaderParams</code></a> setting.</div>
</td>
</tr>
-<tr id="i50" class="altColor">
+<tr id="i51" class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestContext.html#isRenderResponseStackTraces--">isRenderResponseStackTraces</a></span>()</code>
<div class="block">Returns the value of the <a href="../../../../org/apache/juneau/rest/RestContext.html#REST_renderResponseStackTraces"><code>REST_renderResponseStackTraces</code></a> setting.</div>
</td>
</tr>
-<tr id="i51" class="rowColor">
+<tr id="i52" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestContext.html#isStaticFile-java.lang.String-">isStaticFile</a></span>(<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> p)</code>
<div class="block">Returns <jk>true</jk> if the specified path refers to a static file.</div>
</td>
</tr>
-<tr id="i52" class="altColor">
+<tr id="i53" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/StreamResource.html" title="class in org.apache.juneau.rest">StreamResource</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestContext.html#resolveStaticFile-java.lang.String-">resolveStaticFile</a></span>(<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> pathInfo)</code>
<div class="block">Resolve a static resource file.</div>
@@ -635,7 +643,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>REST_allowHeaderParams</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/rest/RestContext.html#line.67">REST_allowHeaderParams</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/rest/RestContext.html#line.69">REST_allowHeaderParams</a></pre>
<div class="block"><b>Configuration property:</b> Enable header URL parameters.
<p>
<ul>
@@ -664,7 +672,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>REST_allowMethodParam</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/rest/RestContext.html#line.93">REST_allowMethodParam</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/rest/RestContext.html#line.95">REST_allowMethodParam</a></pre>
<div class="block"><b>Configuration property:</b> Enable <js>"method"</js> URL parameter for specific HTTP methods.
<p>
<ul>
@@ -699,7 +707,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>REST_allowBodyParam</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/rest/RestContext.html#line.113">REST_allowBodyParam</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/rest/RestContext.html#line.115">REST_allowBodyParam</a></pre>
<div class="block"><b>Configuration property:</b> Enable <js>"body"</js> URL parameter.
<p>
<ul>
@@ -728,7 +736,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>REST_renderResponseStackTraces</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/rest/RestContext.html#line.131">REST_renderResponseStackTraces</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/rest/RestContext.html#line.133">REST_renderResponseStackTraces</a></pre>
<div class="block"><b>Configuration property:</b> Render stack traces.
<p>
<ul>
@@ -755,7 +763,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>REST_useStackTraceHashes</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/rest/RestContext.html#line.147">REST_useStackTraceHashes</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/rest/RestContext.html#line.149">REST_useStackTraceHashes</a></pre>
<div class="block"><b>Configuration property:</b> Use stack trace hashes.
<p>
<ul>
@@ -780,7 +788,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>REST_defaultCharset</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/rest/RestContext.html#line.162">REST_defaultCharset</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/rest/RestContext.html#line.164">REST_defaultCharset</a></pre>
<div class="block"><b>Configuration property:</b> Default character encoding.
<p>
<ul>
@@ -804,7 +812,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>REST_paramFormat</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/rest/RestContext.html#line.190">REST_paramFormat</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/rest/RestContext.html#line.192">REST_paramFormat</a></pre>
<div class="block"><b>Configuration property:</b> Expected format of request parameters.
<p>
<ul>
@@ -841,7 +849,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>REST_servletPath</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/rest/RestContext.html#line.204">REST_servletPath</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/rest/RestContext.html#line.206">REST_servletPath</a></pre>
<div class="block">The request servlet path.
<p>
Automatically added to properties returned by <a href="../../../../org/apache/juneau/Session.html#getProperties--"><code>Session.getProperties()</code></a> and <a href="../../../../org/apache/juneau/Session.html#getProperties--"><code>Session.getProperties()</code></a>.
@@ -859,7 +867,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>REST_servletURI</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/rest/RestContext.html#line.211">REST_servletURI</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/rest/RestContext.html#line.213">REST_servletURI</a></pre>
<div class="block">The request servlet URI.
<p>
Equivalent to the value returned by <a href="../../../../org/apache/juneau/rest/RestRequest.html#getServletURI--"><code>RestRequest.getServletURI()</code></a></div>
@@ -875,7 +883,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>REST_relativeServletURI</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/rest/RestContext.html#line.218">REST_relativeServletURI</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/rest/RestContext.html#line.220">REST_relativeServletURI</a></pre>
<div class="block">The request servlet URI.
<p>
Equivalent to the value returned by <a href="../../../../org/apache/juneau/rest/RestRequest.html#getRelativeServletURI--"><code>RestRequest.getRelativeServletURI()</code></a></div>
@@ -891,7 +899,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>REST_pathInfo</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/rest/RestContext.html#line.227">REST_pathInfo</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/rest/RestContext.html#line.229">REST_pathInfo</a></pre>
<div class="block">The request URI path info.
<p>
Automatically added to properties returned by <a href="../../../../org/apache/juneau/Session.html#getProperties--"><code>Session.getProperties()</code></a> and <a href="../../../../org/apache/juneau/Session.html#getProperties--"><code>Session.getProperties()</code></a>.
@@ -909,7 +917,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>REST_requestURI</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/rest/RestContext.html#line.236">REST_requestURI</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/rest/RestContext.html#line.238">REST_requestURI</a></pre>
<div class="block">The request URI.
<p>
Automatically added to properties returned by <a href="../../../../org/apache/juneau/Session.html#getProperties--"><code>Session.getProperties()</code></a> and <a href="../../../../org/apache/juneau/Session.html#getProperties--"><code>Session.getProperties()</code></a>.
@@ -927,7 +935,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>REST_method</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/rest/RestContext.html#line.245">REST_method</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/rest/RestContext.html#line.247">REST_method</a></pre>
<div class="block">The request method.
<p>
Automatically added to properties returned by <a href="../../../../org/apache/juneau/Session.html#getProperties--"><code>Session.getProperties()</code></a> and <a href="../../../../org/apache/juneau/Session.html#getProperties--"><code>Session.getProperties()</code></a>.
@@ -945,7 +953,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>REST_servletTitle</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/rest/RestContext.html#line.254">REST_servletTitle</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/rest/RestContext.html#line.256">REST_servletTitle</a></pre>
<div class="block">The localized servlet title.
<p>
Automatically added to properties returned by <a href="../../../../org/apache/juneau/Session.html#getProperties--"><code>Session.getProperties()</code></a> and <a href="../../../../org/apache/juneau/Session.html#getProperties--"><code>Session.getProperties()</code></a>.
@@ -963,7 +971,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>REST_servletDescription</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/rest/RestContext.html#line.263">REST_servletDescription</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/rest/RestContext.html#line.265">REST_servletDescription</a></pre>
<div class="block">The localized servlet description.
<p>
Automatically added to properties returned by <a href="../../../../org/apache/juneau/Session.html#getProperties--"><code>Session.getProperties()</code></a> and <a href="../../../../org/apache/juneau/Session.html#getProperties--"><code>Session.getProperties()</code></a>.
@@ -981,7 +989,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>REST_methodSummary</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/rest/RestContext.html#line.272">REST_methodSummary</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/rest/RestContext.html#line.274">REST_methodSummary</a></pre>
<div class="block">The localized method summary.
<p>
Automatically added to properties returned by <a href="../../../../org/apache/juneau/Session.html#getProperties--"><code>Session.getProperties()</code></a> and <a href="../../../../org/apache/juneau/Session.html#getProperties--"><code>Session.getProperties()</code></a>.
@@ -999,7 +1007,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockListLast">
<li class="blockList">
<h4>REST_methodDescription</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/rest/RestContext.html#line.281">REST_methodDescription</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/rest/RestContext.html#line.283">REST_methodDescription</a></pre>
<div class="block">The localized method description.
<p>
Automatically added to properties returned by <a href="../../../../org/apache/juneau/Session.html#getProperties--"><code>Session.getProperties()</code></a> and <a href="../../../../org/apache/juneau/Session.html#getProperties--"><code>Session.getProperties()</code></a>.
@@ -1025,7 +1033,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockListLast">
<li class="blockList">
<h4>RestContext</h4>
-<pre>public <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.348">RestContext</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> resource,
+<pre>public <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.351">RestContext</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> resource,
<a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> config)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
<div class="block">Constructor.</div>
@@ -1052,7 +1060,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>getVarResolver</h4>
-<pre>public <a href="../../../../org/apache/juneau/svl/VarResolver.html" title="class in org.apache.juneau.svl">VarResolver</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.749">getVarResolver</a>()</pre>
+<pre>public <a href="../../../../org/apache/juneau/svl/VarResolver.html" title="class in org.apache.juneau.svl">VarResolver</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.760">getVarResolver</a>()</pre>
<div class="block">Returns the variable resolver for this servlet.
<p>
Variable resolvers are used to replace variables in property values.
@@ -1101,7 +1109,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>getConfigFile</h4>
-<pre>public <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.764">getConfigFile</a>()</pre>
+<pre>public <a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.775">getConfigFile</a>()</pre>
<div class="block">Returns the config file associated with this servlet.
<p>
The config file is identified via one of the following:
@@ -1121,7 +1129,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>resolveStaticFile</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/StreamResource.html" title="class in org.apache.juneau.rest">StreamResource</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.781">resolveStaticFile</a>(<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> pathInfo)
+<pre>public <a href="../../../../org/apache/juneau/rest/StreamResource.html" title="class in org.apache.juneau.rest">StreamResource</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.792">resolveStaticFile</a>(<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> pathInfo)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Resolve a static resource file.
<p>
@@ -1146,7 +1154,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>getResource</h4>
-<pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.833">getResource</a>(<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> name,
+<pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.844">getResource</a>(<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> name,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a> locale)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Same as <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true#getResourceAsStream-java.lang.String-" title="class or interface in java.lang"><code>Class.getResourceAsStream(String)</code></a> except if it doesn't find the resource
@@ -1180,7 +1188,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>getResourceAsString</h4>
-<pre>public <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/rest/RestContext.html#line.866">getResourceAsString</a>(<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> name,
+<pre>public <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/rest/RestContext.html#line.877">getResourceAsString</a>(<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> name,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a> locale)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Reads the input stream from <a href="../../../../org/apache/juneau/rest/RestContext.html#getResource-java.lang.String-java.util.Locale-"><code>getResource(String, Locale)</code></a> into a String.</div>
@@ -1201,7 +1209,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>getResource</h4>
-<pre>public <T> T <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.891">getResource</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c,
+<pre>public <T> T <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.902">getResource</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c,
<a href="../../../../org/apache/juneau/http/MediaType.html" title="class in org.apache.juneau.http">MediaType</a> mediaType,
<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> name,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a> locale)
@@ -1231,7 +1239,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>getPath</h4>
-<pre>public <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/rest/RestContext.html#line.922">getPath</a>()</pre>
+<pre>public <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/rest/RestContext.html#line.933">getPath</a>()</pre>
<div class="block">Returns the path for this resource as defined by the <a href="../../../../org/apache/juneau/rest/annotation/RestResource.html#path--"><code>RestResource.path()</code></a> annotation or <a href="../../../../org/apache/juneau/rest/RestConfig.html#setPath-java.lang.String-"><code>RestConfig.setPath(String)</code></a> method
concatenated with those on all parent classes.
<p>
@@ -1250,7 +1258,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>getPageTitle</h4>
-<pre>public <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/rest/RestContext.html#line.931">getPageTitle</a>()</pre>
+<pre>public <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/rest/RestContext.html#line.942">getPageTitle</a>()</pre>
<div class="block">Returns the page title as defined by the <a href="../../../../org/apache/juneau/rest/annotation/RestResource.html#pageTitle--"><code>RestResource.pageTitle()</code></a> annotation or <a href="../../../../org/apache/juneau/rest/RestConfig.html#setPageTitle-java.lang.String-"><code>RestConfig.setPageTitle(String)</code></a> method.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
@@ -1264,7 +1272,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>getPageText</h4>
-<pre>public <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/rest/RestContext.html#line.940">getPageText</a>()</pre>
+<pre>public <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/rest/RestContext.html#line.951">getPageText</a>()</pre>
<div class="block">Returns the page text as defined by the <a href="../../../../org/apache/juneau/rest/annotation/RestResource.html#pageText--"><code>RestResource.pageText()</code></a> annotation or <a href="../../../../org/apache/juneau/rest/RestConfig.html#setPageText-java.lang.String-"><code>RestConfig.setPageText(String)</code></a> method.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
@@ -1278,7 +1286,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>getPageLinks</h4>
-<pre>public <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/rest/RestContext.html#line.949">getPageLinks</a>()</pre>
+<pre>public <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/rest/RestContext.html#line.960">getPageLinks</a>()</pre>
<div class="block">Returns the page links as defined by the <a href="../../../../org/apache/juneau/rest/annotation/RestResource.html#pageLinks--"><code>RestResource.pageLinks()</code></a> annotation or <a href="../../../../org/apache/juneau/rest/RestConfig.html#setPageLinks-java.lang.String-"><code>RestConfig.setPageLinks(String)</code></a> method.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
@@ -1292,7 +1300,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>getLogger</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestLogger.html" title="class in org.apache.juneau.rest">RestLogger</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.964">getLogger</a>()</pre>
+<pre>public <a href="../../../../org/apache/juneau/rest/RestLogger.html" title="class in org.apache.juneau.rest">RestLogger</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.975">getLogger</a>()</pre>
<div class="block">Returns the logger to use for this resource.
<p>
The logger for a resource is defined via one of the following:
@@ -1312,7 +1320,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>getMessages</h4>
-<pre>public <a href="../../../../org/apache/juneau/utils/MessageBundle.html" title="class in org.apache.juneau.utils">MessageBundle</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.978">getMessages</a>()</pre>
+<pre>public <a href="../../../../org/apache/juneau/utils/MessageBundle.html" title="class in org.apache.juneau.utils">MessageBundle</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.989">getMessages</a>()</pre>
<div class="block">Returns the resource bundle used by this resource.
<p>
The resource bundle is defined via one of the following:
@@ -1331,7 +1339,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>getInfoProvider</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestInfoProvider.html" title="class in org.apache.juneau.rest">RestInfoProvider</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.993">getInfoProvider</a>()</pre>
+<pre>public <a href="../../../../org/apache/juneau/rest/RestInfoProvider.html" title="class in org.apache.juneau.rest">RestInfoProvider</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1004">getInfoProvider</a>()</pre>
<div class="block">Returns the REST information provider used by this resource.
<p>
The information provider is defined via one of the following:
@@ -1351,7 +1359,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>getCallHandler</h4>
-<pre>protected <a href="../../../../org/apache/juneau/rest/RestCallHandler.html" title="class in org.apache.juneau.rest">RestCallHandler</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1008">getCallHandler</a>()</pre>
+<pre>protected <a href="../../../../org/apache/juneau/rest/RestCallHandler.html" title="class in org.apache.juneau.rest">RestCallHandler</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1019">getCallHandler</a>()</pre>
<div class="block">Returns the REST call handler used by this resource.
<p>
The call handler is defined via one of the following:
@@ -1371,7 +1379,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>getCallRouters</h4>
-<pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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>,org.apache.juneau.rest.CallRouter> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1017">getCallRouters</a>()</pre>
+<pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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>,org.apache.juneau.rest.CallRouter> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1028">getCallRouters</a>()</pre>
<div class="block">Returns a map of HTTP method names to call routers.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
@@ -1385,7 +1393,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>getResource</h4>
-<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1029">getResource</a>()</pre>
+<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1040">getResource</a>()</pre>
<div class="block">Returns the resource object.
<p>
This is the instance of the class annotated with the <a href="../../../../org/apache/juneau/rest/annotation/RestResource.html" title="annotation in org.apache.juneau.rest.annotation"><code>@RestResource</code></a> annotation, usually
@@ -1402,7 +1410,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>getRestServlet</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestServlet.html" title="class in org.apache.juneau.rest">RestServlet</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1039">getRestServlet</a>()</pre>
+<pre>public <a href="../../../../org/apache/juneau/rest/RestServlet.html" title="class in org.apache.juneau.rest">RestServlet</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1050">getRestServlet</a>()</pre>
<div class="block">Returns the resource object as a <a href="../../../../org/apache/juneau/rest/RestServlet.html" title="class in org.apache.juneau.rest"><code>RestServlet</code></a>.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
@@ -1417,7 +1425,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>checkForInitException</h4>
-<pre>protected void <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1048">checkForInitException</a>()
+<pre>protected void <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1059">checkForInitException</a>()
throws <a href="../../../../org/apache/juneau/rest/RestException.html" title="class in org.apache.juneau.rest">RestException</a></pre>
<div class="block">Throws a <a href="../../../../org/apache/juneau/rest/RestException.html" title="class in org.apache.juneau.rest"><code>RestException</code></a> if an exception occurred in the constructor of this object.</div>
<dl>
@@ -1432,7 +1440,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>getParentContext</h4>
-<pre>public <a href="../../../../org/apache/juneau/rest/RestContext.html" title="class in org.apache.juneau.rest">RestContext</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1060">getParentContext</a>()</pre>
+<pre>public <a href="../../../../org/apache/juneau/rest/RestContext.html" title="class in org.apache.juneau.rest">RestContext</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1071">getParentContext</a>()</pre>
<div class="block">Returns the parent resource context (if this resource was initialized from a parent).
<p>
From this object, you can get access to the parent resource class itself using <a href="../../../../org/apache/juneau/rest/RestContext.html#getResource--"><code>getResource()</code></a> or <a href="../../../../org/apache/juneau/rest/RestContext.html#getRestServlet--"><code>getRestServlet()</code></a></div>
@@ -1448,7 +1456,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>getBeanContext</h4>
-<pre>public <a href="../../../../org/apache/juneau/BeanContext.html" title="class in org.apache.juneau">BeanContext</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1069">getBeanContext</a>()</pre>
+<pre>public <a href="../../../../org/apache/juneau/BeanContext.html" title="class in org.apache.juneau">BeanContext</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1080">getBeanContext</a>()</pre>
<div class="block">Returns the <a href="../../../../org/apache/juneau/BeanContext.html" title="class in org.apache.juneau"><code>BeanContext</code></a> object used for parsing path variables and header values.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
@@ -1462,7 +1470,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>getProperties</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/rest/RestContext.html#line.1090">getProperties</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/rest/RestContext.html#line.1101">getProperties</a>()</pre>
<div class="block">Returns the class-level properties associated with this servlet.
<p>
Properties at the class level are defined via one of the following:
@@ -1488,7 +1496,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>getSerializers</h4>
-<pre>public <a href="../../../../org/apache/juneau/serializer/SerializerGroup.html" title="class in org.apache.juneau.serializer">SerializerGroup</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1105">getSerializers</a>()</pre>
+<pre>public <a href="../../../../org/apache/juneau/serializer/SerializerGroup.html" title="class in org.apache.juneau.serializer">SerializerGroup</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1116">getSerializers</a>()</pre>
<div class="block">Returns the serializers registered with this resource.
<p>
Serializers at the class level are defined via one of the following:
@@ -1508,7 +1516,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>getParsers</h4>
-<pre>public <a href="../../../../org/apache/juneau/parser/ParserGroup.html" title="class in org.apache.juneau.parser">ParserGroup</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1120">getParsers</a>()</pre>
+<pre>public <a href="../../../../org/apache/juneau/parser/ParserGroup.html" title="class in org.apache.juneau.parser">ParserGroup</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1131">getParsers</a>()</pre>
<div class="block">Returns the parsers registered with this resource.
<p>
Parsers at the class level are defined via one of the following:
@@ -1528,7 +1536,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>getServletInitParameter</h4>
-<pre>public <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/rest/RestContext.html#line.1130">getServletInitParameter</a>(<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> name)</pre>
+<pre>public <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/rest/RestContext.html#line.1141">getServletInitParameter</a>(<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> name)</pre>
<div class="block">Returns the servlet init parameter returned by <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletConfig.html?is-external=true#getInitParameter-java.lang.String-" title="class or interface in javax.servlet"><code>ServletConfig.getInitParameter(String)</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -1544,7 +1552,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>getChildResources</h4>
-<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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="../../../../org/apache/juneau/rest/RestContext.html" title="class in org.apache.juneau.rest">RestContext</a>> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1140">getChildResources</a>()</pre>
+<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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="../../../../org/apache/juneau/rest/RestContext.html" title="class in org.apache.juneau.rest">RestContext</a>> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1151">getChildResources</a>()</pre>
<div class="block">Returns the child resources associated with this servlet.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
@@ -1559,7 +1567,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>getStackTraceOccurrence</h4>
-<pre>protected int <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1151">getStackTraceOccurrence</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> e)</pre>
+<pre>protected int <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1162">getStackTraceOccurrence</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> e)</pre>
<div class="block">Returns the number of times this exception was thrown based on a hash of its stacktrace.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -1576,7 +1584,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>isRenderResponseStackTraces</h4>
-<pre>protected boolean <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1163">isRenderResponseStackTraces</a>()</pre>
+<pre>protected boolean <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1174">isRenderResponseStackTraces</a>()</pre>
<div class="block">Returns the value of the <a href="../../../../org/apache/juneau/rest/RestContext.html#REST_renderResponseStackTraces"><code>REST_renderResponseStackTraces</code></a> setting.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
@@ -1590,7 +1598,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>isAllowHeaderParams</h4>
-<pre>protected boolean <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1171">isAllowHeaderParams</a>()</pre>
+<pre>protected boolean <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1182">isAllowHeaderParams</a>()</pre>
<div class="block">Returns the value of the <a href="../../../../org/apache/juneau/rest/RestContext.html#REST_allowHeaderParams"><code>REST_allowHeaderParams</code></a> setting.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
@@ -1604,7 +1612,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>isAllowBodyParam</h4>
-<pre>protected boolean <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1179">isAllowBodyParam</a>()</pre>
+<pre>protected boolean <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1190">isAllowBodyParam</a>()</pre>
<div class="block">Returns the value of the <a href="../../../../org/apache/juneau/rest/RestContext.html#REST_allowBodyParam"><code>REST_allowBodyParam</code></a> setting.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
@@ -1618,7 +1626,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>getDefaultCharset</h4>
-<pre>protected <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/rest/RestContext.html#line.1187">getDefaultCharset</a>()</pre>
+<pre>protected <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/rest/RestContext.html#line.1198">getDefaultCharset</a>()</pre>
<div class="block">Returns the value of the <a href="../../../../org/apache/juneau/rest/RestContext.html#REST_defaultCharset"><code>REST_defaultCharset</code></a> setting.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
@@ -1632,7 +1640,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>getParamFormat</h4>
-<pre>protected <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/rest/RestContext.html#line.1195">getParamFormat</a>()</pre>
+<pre>protected <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/rest/RestContext.html#line.1206">getParamFormat</a>()</pre>
<div class="block">Returns the value of the <a href="../../../../org/apache/juneau/rest/RestContext.html#REST_paramFormat"><code>REST_paramFormat</code></a> setting.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
@@ -1646,7 +1654,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>getClientVersionHeader</h4>
-<pre>protected <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/rest/RestContext.html#line.1211">getClientVersionHeader</a>()</pre>
+<pre>protected <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/rest/RestContext.html#line.1222">getClientVersionHeader</a>()</pre>
<div class="block">Returns the name of the client version header name used by this resource.
<p>
The client version header is the name of the HTTP header on requests that identify a client version.
@@ -1667,7 +1675,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>allowMethodParam</h4>
-<pre>protected boolean <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1222">allowMethodParam</a>(<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> m)</pre>
+<pre>protected boolean <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1233">allowMethodParam</a>(<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> m)</pre>
<div class="block">Returns <jk>true</jk> if the specified <code>Method</code> GET parameter value can be used to override
the method name in the HTTP header.</div>
<dl>
@@ -1684,7 +1692,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>getBeanFilters</h4>
-<pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>[] <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1237">getBeanFilters</a>()</pre>
+<pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>[] <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1248">getBeanFilters</a>()</pre>
<div class="block">Returns the bean filters associated with this resource.
<p>
Bean filters at the class level are defined via one of the following:
@@ -1704,7 +1712,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
<ul class="blockList">
<li class="blockList">
<h4>getPojoSwaps</h4>
-<pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>[] <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1252">getPojoSwaps</a>()</pre>
+<pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>[] <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1263">getPojoSwaps</a>()</pre>
<div class="block">Returns the POJO swaps associated with this resource.
<p>
POJO swaps at the class level are defined via one of the following:
@@ -1718,13 +1726,36 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
</dl>
</li>
</ul>
+<a name="findParams-java.lang.reflect.Method-boolean-org.apache.juneau.rest.UrlPathPattern-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>findParams</h4>
+<pre>protected <a href="../../../../org/apache/juneau/rest/RestParam.html" title="class in org.apache.juneau.rest">RestParam</a>[] <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1276">findParams</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> method,
+ boolean methodPlainParams,
+ <a href="../../../../org/apache/juneau/rest/UrlPathPattern.html" title="class in org.apache.juneau.rest">UrlPathPattern</a> pathPattern)
+ throws <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletException.html?is-external=true" title="class or interface in javax.servlet">ServletException</a></pre>
+<div class="block">Finds the <a href="../../../../org/apache/juneau/rest/RestParam.html" title="class in org.apache.juneau.rest"><code>RestParam</code></a> instances to handle resolving objects on the calls to the specified Java method.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>method</code> - The Java method being called.</dd>
+<dd><code>methodPlainParams</code> - Whether plain-params setting is specified.</dd>
+<dd><code>pathPattern</code> - The parsed URL path pattern.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The array of resolvers.</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletException.html?is-external=true" title="class or interface in javax.servlet">ServletException</a></code> - If an annotation usage error was detected.</dd>
+</dl>
+</li>
+</ul>
<a name="getUrlEncodingParser--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUrlEncodingParser</h4>
-<pre>protected <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingParser.html" title="class in org.apache.juneau.urlencoding">UrlEncodingParser</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1260">getUrlEncodingParser</a>()</pre>
+<pre>protected <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingParser.html" title="class in org.apache.juneau.urlencoding">UrlEncodingParser</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1352">getUrlEncodingParser</a>()</pre>
<div class="block">Returns the URL-encoding parser associated with this resource.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
@@ -1738,7 +
<TRUNCATED>
[02/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/rest/annotation/RestResource.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/rest/annotation/RestResource.html b/content/site/apidocs/src-html/org/apache/juneau/rest/annotation/RestResource.html
index 8804856..d651b88 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/rest/annotation/RestResource.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/rest/annotation/RestResource.html
@@ -136,674 +136,706 @@
<span class="sourceLineNo">128</span> Class<?>[] pojoSwaps() default {};<a name="line.128"></a>
<span class="sourceLineNo">129</span><a name="line.129"></a>
<span class="sourceLineNo">130</span> /**<a name="line.130"></a>
-<span class="sourceLineNo">131</span> * Class-level properties.<a name="line.131"></a>
+<span class="sourceLineNo">131</span> * Class-level Java method parameter resolvers.<a name="line.131"></a>
<span class="sourceLineNo">132</span> * <p><a name="line.132"></a>
-<span class="sourceLineNo">133</span> * Shortcut for specifying class-level properties on this servlet to the objects returned by the following methods:<a name="line.133"></a>
-<span class="sourceLineNo">134</span> * <ul><a name="line.134"></a>
-<span class="sourceLineNo">135</span> * <li>{@link RestContext#getBeanContext()}<a name="line.135"></a>
-<span class="sourceLineNo">136</span> * <li>{@link RestContext#getSerializers()}<a name="line.136"></a>
-<span class="sourceLineNo">137</span> * <li>{@link RestContext#getParsers()}<a name="line.137"></a>
-<span class="sourceLineNo">138</span> * </ul><a name="line.138"></a>
-<span class="sourceLineNo">139</span> * <p><a name="line.139"></a>
-<span class="sourceLineNo">140</span> * Any of the following property names can be specified:<a name="line.140"></a>
-<span class="sourceLineNo">141</span> * <ul><a name="line.141"></a>
-<span class="sourceLineNo">142</span> * <li>{@link RestContext}<a name="line.142"></a>
-<span class="sourceLineNo">143</span> * <li>{@link BeanContext}<a name="line.143"></a>
-<span class="sourceLineNo">144</span> * <li>{@link SerializerContext}<a name="line.144"></a>
-<span class="sourceLineNo">145</span> * <li>{@link ParserContext}<a name="line.145"></a>
-<span class="sourceLineNo">146</span> * <li>{@link JsonSerializerContext}<a name="line.146"></a>
-<span class="sourceLineNo">147</span> * <li>{@link RdfSerializerContext}<a name="line.147"></a>
-<span class="sourceLineNo">148</span> * <li>{@link RdfParserContext}<a name="line.148"></a>
-<span class="sourceLineNo">149</span> * <li>{@link RdfCommonContext}<a name="line.149"></a>
-<span class="sourceLineNo">150</span> * <li>{@link XmlSerializerContext}<a name="line.150"></a>
-<span class="sourceLineNo">151</span> * <li>{@link XmlParserContext}<a name="line.151"></a>
-<span class="sourceLineNo">152</span> * </ul><a name="line.152"></a>
-<span class="sourceLineNo">153</span> * <p><a name="line.153"></a>
-<span class="sourceLineNo">154</span> * Property values will be converted to the appropriate type.<a name="line.154"></a>
+<span class="sourceLineNo">133</span> * By default, the Juneau framework will automatically Java method parameters of various types (e.g.<a name="line.133"></a>
+<span class="sourceLineNo">134</span> * <code>RestRequest</code>, <code>Accept</code>, <code>Reader</code>).<a name="line.134"></a>
+<span class="sourceLineNo">135</span> * This annotation allows you to provide your own resolvers for your own class types that you want resolved.<a name="line.135"></a>
+<span class="sourceLineNo">136</span> * <p><a name="line.136"></a>
+<span class="sourceLineNo">137</span> * For example, if you want to pass in instances of <code>MySpecialObject</code> to your Java method, define<a name="line.137"></a>
+<span class="sourceLineNo">138</span> * the following resolver:<a name="line.138"></a>
+<span class="sourceLineNo">139</span> * <p class='bcode'><a name="line.139"></a>
+<span class="sourceLineNo">140</span> * <jk>public class</jk> MyRestParam <jk>extends</jk> RestParam {<a name="line.140"></a>
+<span class="sourceLineNo">141</span> *<a name="line.141"></a>
+<span class="sourceLineNo">142</span> * <jc>// Must have no-arg constructor!</jc><a name="line.142"></a>
+<span class="sourceLineNo">143</span> * <jk>public</jk> MyRestParam() {<a name="line.143"></a>
+<span class="sourceLineNo">144</span> * <jc>// First two parameters help with Swagger doc generation.</jc><a name="line.144"></a>
+<span class="sourceLineNo">145</span> * <jk>super</jk>(<jsf>QUERY</jsf>, <js>"myparam"</js>, MySpecialObject.<jk>class</jk>);<a name="line.145"></a>
+<span class="sourceLineNo">146</span> * }<a name="line.146"></a>
+<span class="sourceLineNo">147</span> *<a name="line.147"></a>
+<span class="sourceLineNo">148</span> * <jc>// The method that creates our object.<a name="line.148"></a>
+<span class="sourceLineNo">149</span> * // In this case, we're taking in a query parameter and converting it to our object.</jc><a name="line.149"></a>
+<span class="sourceLineNo">150</span> * <jk>public</jk> Object resolve(RestRequest req, RestResponse res) <jk>throws</jk> Exception {<a name="line.150"></a>
+<span class="sourceLineNo">151</span> * <jk>return new</jk> MySpecialObject(req.getQuery().get(<js>"myparam"</js>));<a name="line.151"></a>
+<span class="sourceLineNo">152</span> * }<a name="line.152"></a>
+<span class="sourceLineNo">153</span> * }<a name="line.153"></a>
+<span class="sourceLineNo">154</span> * </p><a name="line.154"></a>
<span class="sourceLineNo">155</span> * <p><a name="line.155"></a>
-<span class="sourceLineNo">156</span> * In some cases, properties can be overridden at runtime through the {@link RestResponse#setProperty(String, Object)} method<a name="line.156"></a>
-<span class="sourceLineNo">157</span> * or through a {@link Properties @Properties} annotated method parameter.<a name="line.157"></a>
-<span class="sourceLineNo">158</span> * <p><a name="line.158"></a>
-<span class="sourceLineNo">159</span> * The programmatic equivalent to this annotation are the {@link RestConfig#setProperty(String, Object)}/{@link RestConfig#setProperties(java.util.Map)} methods.<a name="line.159"></a>
-<span class="sourceLineNo">160</span> */<a name="line.160"></a>
-<span class="sourceLineNo">161</span> Property[] properties() default {};<a name="line.161"></a>
-<span class="sourceLineNo">162</span><a name="line.162"></a>
-<span class="sourceLineNo">163</span> /**<a name="line.163"></a>
-<span class="sourceLineNo">164</span> * Specifies a list of {@link Serializer} classes to add to the list of serializers available for this servlet.<a name="line.164"></a>
-<span class="sourceLineNo">165</span> * <p><a name="line.165"></a>
-<span class="sourceLineNo">166</span> * This annotation can only be used on {@link Serializer} classes that have no-arg constructors.<a name="line.166"></a>
-<span class="sourceLineNo">167</span> * <p><a name="line.167"></a>
-<span class="sourceLineNo">168</span> * The programmatic equivalent to this annotation are the {@link RestConfig#addSerializers(Class...)}/{@link RestConfig#addSerializers(Serializer...)} methods.<a name="line.168"></a>
-<span class="sourceLineNo">169</span> */<a name="line.169"></a>
-<span class="sourceLineNo">170</span> Class<? extends Serializer>[] serializers() default {};<a name="line.170"></a>
-<span class="sourceLineNo">171</span><a name="line.171"></a>
-<span class="sourceLineNo">172</span> /**<a name="line.172"></a>
-<span class="sourceLineNo">173</span> * Specifies a list of {@link Parser} classes to add to the list of parsers available for this servlet.<a name="line.173"></a>
-<span class="sourceLineNo">174</span> * <p><a name="line.174"></a>
-<span class="sourceLineNo">175</span> * This annotation can only be used on {@link Parser} classes that have no-arg constructors.<a name="line.175"></a>
-<span class="sourceLineNo">176</span> * <p><a name="line.176"></a>
-<span class="sourceLineNo">177</span> * The programmatic equivalent to this annotation are the {@link RestConfig#addParsers(Class...)}/{@link RestConfig#addParsers(Parser...)} methods.<a name="line.177"></a>
-<span class="sourceLineNo">178</span> */<a name="line.178"></a>
-<span class="sourceLineNo">179</span> Class<? extends Parser>[] parsers() default {};<a name="line.179"></a>
-<span class="sourceLineNo">180</span><a name="line.180"></a>
-<span class="sourceLineNo">181</span> /**<a name="line.181"></a>
-<span class="sourceLineNo">182</span> * Specifies a list of {@link ResponseHandler} classes that know how to convert POJOs returned<a name="line.182"></a>
-<span class="sourceLineNo">183</span> * by REST methods or set via {@link RestResponse#setOutput(Object)} into appropriate<a name="line.183"></a>
-<span class="sourceLineNo">184</span> * HTTP responses.<a name="line.184"></a>
+<span class="sourceLineNo">156</span> * <b>Note:</b>{@link RestParam} classes must have no-arg constructors.<a name="line.156"></a>
+<span class="sourceLineNo">157</span> * <p><a name="line.157"></a>
+<span class="sourceLineNo">158</span> * The programmatic equivalent to this annotation is the {@link RestConfig#addParamResolvers(Class...)} method.<a name="line.158"></a>
+<span class="sourceLineNo">159</span> */<a name="line.159"></a>
+<span class="sourceLineNo">160</span> Class<? extends RestParam>[] paramResolvers() default {};<a name="line.160"></a>
+<span class="sourceLineNo">161</span><a name="line.161"></a>
+<span class="sourceLineNo">162</span> /**<a name="line.162"></a>
+<span class="sourceLineNo">163</span> * Class-level properties.<a name="line.163"></a>
+<span class="sourceLineNo">164</span> * <p><a name="line.164"></a>
+<span class="sourceLineNo">165</span> * Shortcut for specifying class-level properties on this servlet to the objects returned by the following methods:<a name="line.165"></a>
+<span class="sourceLineNo">166</span> * <ul><a name="line.166"></a>
+<span class="sourceLineNo">167</span> * <li>{@link RestContext#getBeanContext()}<a name="line.167"></a>
+<span class="sourceLineNo">168</span> * <li>{@link RestContext#getSerializers()}<a name="line.168"></a>
+<span class="sourceLineNo">169</span> * <li>{@link RestContext#getParsers()}<a name="line.169"></a>
+<span class="sourceLineNo">170</span> * </ul><a name="line.170"></a>
+<span class="sourceLineNo">171</span> * <p><a name="line.171"></a>
+<span class="sourceLineNo">172</span> * Any of the following property names can be specified:<a name="line.172"></a>
+<span class="sourceLineNo">173</span> * <ul><a name="line.173"></a>
+<span class="sourceLineNo">174</span> * <li>{@link RestContext}<a name="line.174"></a>
+<span class="sourceLineNo">175</span> * <li>{@link BeanContext}<a name="line.175"></a>
+<span class="sourceLineNo">176</span> * <li>{@link SerializerContext}<a name="line.176"></a>
+<span class="sourceLineNo">177</span> * <li>{@link ParserContext}<a name="line.177"></a>
+<span class="sourceLineNo">178</span> * <li>{@link JsonSerializerContext}<a name="line.178"></a>
+<span class="sourceLineNo">179</span> * <li>{@link RdfSerializerContext}<a name="line.179"></a>
+<span class="sourceLineNo">180</span> * <li>{@link RdfParserContext}<a name="line.180"></a>
+<span class="sourceLineNo">181</span> * <li>{@link RdfCommonContext}<a name="line.181"></a>
+<span class="sourceLineNo">182</span> * <li>{@link XmlSerializerContext}<a name="line.182"></a>
+<span class="sourceLineNo">183</span> * <li>{@link XmlParserContext}<a name="line.183"></a>
+<span class="sourceLineNo">184</span> * </ul><a name="line.184"></a>
<span class="sourceLineNo">185</span> * <p><a name="line.185"></a>
-<span class="sourceLineNo">186</span> * See {@link ResponseHandler} for details.<a name="line.186"></a>
+<span class="sourceLineNo">186</span> * Property values will be converted to the appropriate type.<a name="line.186"></a>
<span class="sourceLineNo">187</span> * <p><a name="line.187"></a>
-<span class="sourceLineNo">188</span> * The programmatic equivalent to this annotation are the {@link RestConfig#addResponseHandlers(Class...)}/{@link RestConfig#addResponseHandlers(ResponseHandler...)} methods.<a name="line.188"></a>
-<span class="sourceLineNo">189</span> */<a name="line.189"></a>
-<span class="sourceLineNo">190</span> Class<? extends ResponseHandler>[] responseHandlers() default {};<a name="line.190"></a>
-<span class="sourceLineNo">191</span><a name="line.191"></a>
-<span class="sourceLineNo">192</span> /**<a name="line.192"></a>
-<span class="sourceLineNo">193</span> * Specifies a list of {@link Encoder} to associate with this servlet.<a name="line.193"></a>
-<span class="sourceLineNo">194</span> * <p><a name="line.194"></a>
-<span class="sourceLineNo">195</span> * These can be used to enable various kinds of compression (e.g. <js>"gzip"</js>) on requests and responses.<a name="line.195"></a>
-<span class="sourceLineNo">196</span> * <p><a name="line.196"></a>
-<span class="sourceLineNo">197</span> * This annotation can only be used on {@link Encoder} classes that have no-arg constructors.<a name="line.197"></a>
-<span class="sourceLineNo">198</span> *<a name="line.198"></a>
-<span class="sourceLineNo">199</span> * <h5 class='section'>Example:</h5><a name="line.199"></a>
-<span class="sourceLineNo">200</span> * <p class='bcode'><a name="line.200"></a>
-<span class="sourceLineNo">201</span> * <jc>// Servlet with automated support for GZIP compression</jc><a name="line.201"></a>
-<span class="sourceLineNo">202</span> * <ja>@RestResource</ja>(encoders={GzipEncoder.<jk>class</jk>})<a name="line.202"></a>
-<span class="sourceLineNo">203</span> * <jk>public</jk> MyRestServlet <jk>extends</jk> RestServlet {<a name="line.203"></a>
-<span class="sourceLineNo">204</span> * ...<a name="line.204"></a>
-<span class="sourceLineNo">205</span> * }<a name="line.205"></a>
-<span class="sourceLineNo">206</span> * </p><a name="line.206"></a>
-<span class="sourceLineNo">207</span> * <p><a name="line.207"></a>
-<span class="sourceLineNo">208</span> * The programmatic equivalent to this annotation are the {@link RestConfig#addEncoders(Class...)}/{@link RestConfig#addEncoders(Encoder...)} methods.<a name="line.208"></a>
-<span class="sourceLineNo">209</span> */<a name="line.209"></a>
-<span class="sourceLineNo">210</span> Class<? extends Encoder>[] encoders() default {};<a name="line.210"></a>
-<span class="sourceLineNo">211</span><a name="line.211"></a>
-<span class="sourceLineNo">212</span> /**<a name="line.212"></a>
-<span class="sourceLineNo">213</span> * Specifies default values for request headers.<a name="line.213"></a>
-<span class="sourceLineNo">214</span> * <p><a name="line.214"></a>
-<span class="sourceLineNo">215</span> * Strings are of the format <js>"Header-Name: header-value"</js>.<a name="line.215"></a>
-<span class="sourceLineNo">216</span> * <p><a name="line.216"></a>
-<span class="sourceLineNo">217</span> * Affects values returned by {@link RestRequest#getHeader(String)} when the header is not present on the request.<a name="line.217"></a>
-<span class="sourceLineNo">218</span> * <p><a name="line.218"></a>
-<span class="sourceLineNo">219</span> * The most useful reason for this annotation is to provide a default <code>Accept</code> header when one is not specified<a name="line.219"></a>
-<span class="sourceLineNo">220</span> * so that a particular default {@link Serializer} is picked.<a name="line.220"></a>
-<span class="sourceLineNo">221</span> * <p><a name="line.221"></a>
-<span class="sourceLineNo">222</span> * Only one header value can be specified per entry (i.e. it's not a delimited list of header entries).<a name="line.222"></a>
-<span class="sourceLineNo">223</span> *<a name="line.223"></a>
-<span class="sourceLineNo">224</span> * <h5 class='section'>Example:</h5><a name="line.224"></a>
-<span class="sourceLineNo">225</span> * <p class='bcode'><a name="line.225"></a>
-<span class="sourceLineNo">226</span> * <jc>// Assume "text/json" Accept value when Accept not specified</jc><a name="line.226"></a>
-<span class="sourceLineNo">227</span> * <ja>@RestResource</ja>(defaultRequestHeaders={<js>"Accept: text/json"</js>})<a name="line.227"></a>
-<span class="sourceLineNo">228</span> * <jk>public</jk> MyRestServlet <jk>extends</jk> RestServlet {<a name="line.228"></a>
-<span class="sourceLineNo">229</span> * ...<a name="line.229"></a>
-<span class="sourceLineNo">230</span> * }<a name="line.230"></a>
-<span class="sourceLineNo">231</span> * </p><a name="line.231"></a>
-<span class="sourceLineNo">232</span> * <p><a name="line.232"></a>
-<span class="sourceLineNo">233</span> * The programmatic equivalent to this annotation are the {@link RestConfig#addDefaultRequestHeader(String, Object)}/{@link RestConfig#addDefaultRequestHeaders(String...)} methods.<a name="line.233"></a>
-<span class="sourceLineNo">234</span> */<a name="line.234"></a>
-<span class="sourceLineNo">235</span> String[] defaultRequestHeaders() default {};<a name="line.235"></a>
-<span class="sourceLineNo">236</span><a name="line.236"></a>
-<span class="sourceLineNo">237</span> /**<a name="line.237"></a>
-<span class="sourceLineNo">238</span> * Specifies default values for response headers.<a name="line.238"></a>
+<span class="sourceLineNo">188</span> * In some cases, properties can be overridden at runtime through the {@link RestResponse#setProperty(String, Object)} method<a name="line.188"></a>
+<span class="sourceLineNo">189</span> * or through a {@link Properties @Properties} annotated method parameter.<a name="line.189"></a>
+<span class="sourceLineNo">190</span> * <p><a name="line.190"></a>
+<span class="sourceLineNo">191</span> * The programmatic equivalent to this annotation are the {@link RestConfig#setProperty(String, Object)}/{@link RestConfig#setProperties(java.util.Map)} methods.<a name="line.191"></a>
+<span class="sourceLineNo">192</span> */<a name="line.192"></a>
+<span class="sourceLineNo">193</span> Property[] properties() default {};<a name="line.193"></a>
+<span class="sourceLineNo">194</span><a name="line.194"></a>
+<span class="sourceLineNo">195</span> /**<a name="line.195"></a>
+<span class="sourceLineNo">196</span> * Specifies a list of {@link Serializer} classes to add to the list of serializers available for this servlet.<a name="line.196"></a>
+<span class="sourceLineNo">197</span> * <p><a name="line.197"></a>
+<span class="sourceLineNo">198</span> * This annotation can only be used on {@link Serializer} classes that have no-arg constructors.<a name="line.198"></a>
+<span class="sourceLineNo">199</span> * <p><a name="line.199"></a>
+<span class="sourceLineNo">200</span> * The programmatic equivalent to this annotation are the {@link RestConfig#addSerializers(Class...)}/{@link RestConfig#addSerializers(Serializer...)} methods.<a name="line.200"></a>
+<span class="sourceLineNo">201</span> */<a name="line.201"></a>
+<span class="sourceLineNo">202</span> Class<? extends Serializer>[] serializers() default {};<a name="line.202"></a>
+<span class="sourceLineNo">203</span><a name="line.203"></a>
+<span class="sourceLineNo">204</span> /**<a name="line.204"></a>
+<span class="sourceLineNo">205</span> * Specifies a list of {@link Parser} classes to add to the list of parsers available for this servlet.<a name="line.205"></a>
+<span class="sourceLineNo">206</span> * <p><a name="line.206"></a>
+<span class="sourceLineNo">207</span> * This annotation can only be used on {@link Parser} classes that have no-arg constructors.<a name="line.207"></a>
+<span class="sourceLineNo">208</span> * <p><a name="line.208"></a>
+<span class="sourceLineNo">209</span> * The programmatic equivalent to this annotation are the {@link RestConfig#addParsers(Class...)}/{@link RestConfig#addParsers(Parser...)} methods.<a name="line.209"></a>
+<span class="sourceLineNo">210</span> */<a name="line.210"></a>
+<span class="sourceLineNo">211</span> Class<? extends Parser>[] parsers() default {};<a name="line.211"></a>
+<span class="sourceLineNo">212</span><a name="line.212"></a>
+<span class="sourceLineNo">213</span> /**<a name="line.213"></a>
+<span class="sourceLineNo">214</span> * Specifies a list of {@link ResponseHandler} classes that know how to convert POJOs returned<a name="line.214"></a>
+<span class="sourceLineNo">215</span> * by REST methods or set via {@link RestResponse#setOutput(Object)} into appropriate<a name="line.215"></a>
+<span class="sourceLineNo">216</span> * HTTP responses.<a name="line.216"></a>
+<span class="sourceLineNo">217</span> * <p><a name="line.217"></a>
+<span class="sourceLineNo">218</span> * See {@link ResponseHandler} for details.<a name="line.218"></a>
+<span class="sourceLineNo">219</span> * <p><a name="line.219"></a>
+<span class="sourceLineNo">220</span> * The programmatic equivalent to this annotation are the {@link RestConfig#addResponseHandlers(Class...)}/{@link RestConfig#addResponseHandlers(ResponseHandler...)} methods.<a name="line.220"></a>
+<span class="sourceLineNo">221</span> */<a name="line.221"></a>
+<span class="sourceLineNo">222</span> Class<? extends ResponseHandler>[] responseHandlers() default {};<a name="line.222"></a>
+<span class="sourceLineNo">223</span><a name="line.223"></a>
+<span class="sourceLineNo">224</span> /**<a name="line.224"></a>
+<span class="sourceLineNo">225</span> * Specifies a list of {@link Encoder} to associate with this servlet.<a name="line.225"></a>
+<span class="sourceLineNo">226</span> * <p><a name="line.226"></a>
+<span class="sourceLineNo">227</span> * These can be used to enable various kinds of compression (e.g. <js>"gzip"</js>) on requests and responses.<a name="line.227"></a>
+<span class="sourceLineNo">228</span> * <p><a name="line.228"></a>
+<span class="sourceLineNo">229</span> * This annotation can only be used on {@link Encoder} classes that have no-arg constructors.<a name="line.229"></a>
+<span class="sourceLineNo">230</span> *<a name="line.230"></a>
+<span class="sourceLineNo">231</span> * <h5 class='section'>Example:</h5><a name="line.231"></a>
+<span class="sourceLineNo">232</span> * <p class='bcode'><a name="line.232"></a>
+<span class="sourceLineNo">233</span> * <jc>// Servlet with automated support for GZIP compression</jc><a name="line.233"></a>
+<span class="sourceLineNo">234</span> * <ja>@RestResource</ja>(encoders={GzipEncoder.<jk>class</jk>})<a name="line.234"></a>
+<span class="sourceLineNo">235</span> * <jk>public</jk> MyRestServlet <jk>extends</jk> RestServlet {<a name="line.235"></a>
+<span class="sourceLineNo">236</span> * ...<a name="line.236"></a>
+<span class="sourceLineNo">237</span> * }<a name="line.237"></a>
+<span class="sourceLineNo">238</span> * </p><a name="line.238"></a>
<span class="sourceLineNo">239</span> * <p><a name="line.239"></a>
-<span class="sourceLineNo">240</span> * Strings are of the format <js>"Header-Name: header-value"</js>.<a name="line.240"></a>
-<span class="sourceLineNo">241</span> * <p><a name="line.241"></a>
-<span class="sourceLineNo">242</span> * This is equivalent to calling {@link RestResponse#setHeader(String, String)} programmatically in each of the Java methods.<a name="line.242"></a>
-<span class="sourceLineNo">243</span> * <p><a name="line.243"></a>
-<span class="sourceLineNo">244</span> * The header value will not be set if the header value has already been specified (hence the 'default' in the name).<a name="line.244"></a>
-<span class="sourceLineNo">245</span> * <p><a name="line.245"></a>
-<span class="sourceLineNo">246</span> * Only one header value can be specified per entry (i.e. it's not a delimited list of header entries).<a name="line.246"></a>
-<span class="sourceLineNo">247</span> *<a name="line.247"></a>
-<span class="sourceLineNo">248</span> * <h5 class='section'>Example:</h5><a name="line.248"></a>
-<span class="sourceLineNo">249</span> * <p class='bcode'><a name="line.249"></a>
-<span class="sourceLineNo">250</span> * <jc>// Add a version header attribute to all responses</jc><a name="line.250"></a>
-<span class="sourceLineNo">251</span> * <ja>@RestResource</ja>(defaultResponseHeaders={<js>"X-Version: 1.0"</js>})<a name="line.251"></a>
-<span class="sourceLineNo">252</span> * <jk>public</jk> MyRestServlet <jk>extends</jk> RestServlet {<a name="line.252"></a>
-<span class="sourceLineNo">253</span> * ...<a name="line.253"></a>
-<span class="sourceLineNo">254</span> * }<a name="line.254"></a>
-<span class="sourceLineNo">255</span> * </p><a name="line.255"></a>
-<span class="sourceLineNo">256</span> * <p><a name="line.256"></a>
-<span class="sourceLineNo">257</span> * The programmatic equivalent to this annotation are the {@link RestConfig#addDefaultResponseHeader(String, Object)}/{@link RestConfig#addDefaultResponseHeaders(String...)} methods.<a name="line.257"></a>
-<span class="sourceLineNo">258</span> */<a name="line.258"></a>
-<span class="sourceLineNo">259</span> String[] defaultResponseHeaders() default {};<a name="line.259"></a>
-<span class="sourceLineNo">260</span><a name="line.260"></a>
-<span class="sourceLineNo">261</span> /**<a name="line.261"></a>
-<span class="sourceLineNo">262</span> * Defines children of this resource.<a name="line.262"></a>
-<span class="sourceLineNo">263</span> * <p><a name="line.263"></a>
-<span class="sourceLineNo">264</span> * A REST child resource is simply another servlet that is initialized as part of the parent<a name="line.264"></a>
-<span class="sourceLineNo">265</span> * resource and has a servlet path directly under the parent servlet path.<a name="line.265"></a>
-<span class="sourceLineNo">266</span> * The main advantage to defining servlets as REST children is that you do not need<a name="line.266"></a>
-<span class="sourceLineNo">267</span> * to define them in the <code>web.xml</code> file of the web application.<a name="line.267"></a>
-<span class="sourceLineNo">268</span> * This can cut down on the number of entries that show up in the <code>web.xml</code> file<a name="line.268"></a>
-<span class="sourceLineNo">269</span> * if you are defining large numbers of servlets.<a name="line.269"></a>
-<span class="sourceLineNo">270</span> * <p><a name="line.270"></a>
-<span class="sourceLineNo">271</span> * Child resources must specify a value for {@link #path()} that identifies the subpath of the<a name="line.271"></a>
-<span class="sourceLineNo">272</span> * child resource relative to the parent path.<a name="line.272"></a>
+<span class="sourceLineNo">240</span> * The programmatic equivalent to this annotation are the {@link RestConfig#addEncoders(Class...)}/{@link RestConfig#addEncoders(Encoder...)} methods.<a name="line.240"></a>
+<span class="sourceLineNo">241</span> */<a name="line.241"></a>
+<span class="sourceLineNo">242</span> Class<? extends Encoder>[] encoders() default {};<a name="line.242"></a>
+<span class="sourceLineNo">243</span><a name="line.243"></a>
+<span class="sourceLineNo">244</span> /**<a name="line.244"></a>
+<span class="sourceLineNo">245</span> * Specifies default values for request headers.<a name="line.245"></a>
+<span class="sourceLineNo">246</span> * <p><a name="line.246"></a>
+<span class="sourceLineNo">247</span> * Strings are of the format <js>"Header-Name: header-value"</js>.<a name="line.247"></a>
+<span class="sourceLineNo">248</span> * <p><a name="line.248"></a>
+<span class="sourceLineNo">249</span> * Affects values returned by {@link RestRequest#getHeader(String)} when the header is not present on the request.<a name="line.249"></a>
+<span class="sourceLineNo">250</span> * <p><a name="line.250"></a>
+<span class="sourceLineNo">251</span> * The most useful reason for this annotation is to provide a default <code>Accept</code> header when one is not specified<a name="line.251"></a>
+<span class="sourceLineNo">252</span> * so that a particular default {@link Serializer} is picked.<a name="line.252"></a>
+<span class="sourceLineNo">253</span> * <p><a name="line.253"></a>
+<span class="sourceLineNo">254</span> * Only one header value can be specified per entry (i.e. it's not a delimited list of header entries).<a name="line.254"></a>
+<span class="sourceLineNo">255</span> *<a name="line.255"></a>
+<span class="sourceLineNo">256</span> * <h5 class='section'>Example:</h5><a name="line.256"></a>
+<span class="sourceLineNo">257</span> * <p class='bcode'><a name="line.257"></a>
+<span class="sourceLineNo">258</span> * <jc>// Assume "text/json" Accept value when Accept not specified</jc><a name="line.258"></a>
+<span class="sourceLineNo">259</span> * <ja>@RestResource</ja>(defaultRequestHeaders={<js>"Accept: text/json"</js>})<a name="line.259"></a>
+<span class="sourceLineNo">260</span> * <jk>public</jk> MyRestServlet <jk>extends</jk> RestServlet {<a name="line.260"></a>
+<span class="sourceLineNo">261</span> * ...<a name="line.261"></a>
+<span class="sourceLineNo">262</span> * }<a name="line.262"></a>
+<span class="sourceLineNo">263</span> * </p><a name="line.263"></a>
+<span class="sourceLineNo">264</span> * <p><a name="line.264"></a>
+<span class="sourceLineNo">265</span> * The programmatic equivalent to this annotation are the {@link RestConfig#addDefaultRequestHeader(String, Object)}/{@link RestConfig#addDefaultRequestHeaders(String...)} methods.<a name="line.265"></a>
+<span class="sourceLineNo">266</span> */<a name="line.266"></a>
+<span class="sourceLineNo">267</span> String[] defaultRequestHeaders() default {};<a name="line.267"></a>
+<span class="sourceLineNo">268</span><a name="line.268"></a>
+<span class="sourceLineNo">269</span> /**<a name="line.269"></a>
+<span class="sourceLineNo">270</span> * Specifies default values for response headers.<a name="line.270"></a>
+<span class="sourceLineNo">271</span> * <p><a name="line.271"></a>
+<span class="sourceLineNo">272</span> * Strings are of the format <js>"Header-Name: header-value"</js>.<a name="line.272"></a>
<span class="sourceLineNo">273</span> * <p><a name="line.273"></a>
-<span class="sourceLineNo">274</span> * It should be noted that servlets can be nested arbitrarily deep using this technique (i.e. children can also have children).<a name="line.274"></a>
-<span class="sourceLineNo">275</span> *<a name="line.275"></a>
-<span class="sourceLineNo">276</span> * <dl><a name="line.276"></a>
-<span class="sourceLineNo">277</span> * <dt>Servlet initialization:</dt><a name="line.277"></a>
-<span class="sourceLineNo">278</span> * <dd><a name="line.278"></a>
-<span class="sourceLineNo">279</span> * <p><a name="line.279"></a>
-<span class="sourceLineNo">280</span> * A child resource will be initialized immediately after the parent servlet is initialized. The child resource<a name="line.280"></a>
-<span class="sourceLineNo">281</span> * receives the same servlet config as the parent resource. This allows configuration information such as<a name="line.281"></a>
-<span class="sourceLineNo">282</span> * servlet initialization parameters to filter to child resources.<a name="line.282"></a>
-<span class="sourceLineNo">283</span> * </p><a name="line.283"></a>
-<span class="sourceLineNo">284</span> * </dd><a name="line.284"></a>
-<span class="sourceLineNo">285</span> * <dt>Runtime behavior:</dt><a name="line.285"></a>
-<span class="sourceLineNo">286</span> * <dd><a name="line.286"></a>
-<span class="sourceLineNo">287</span> * <p><a name="line.287"></a>
-<span class="sourceLineNo">288</span> * As a rule, methods defined on the <code>HttpServletRequest</code> object will behave as if<a name="line.288"></a>
-<span class="sourceLineNo">289</span> * the child servlet were deployed as a top-level resource under the child's servlet path.<a name="line.289"></a>
-<span class="sourceLineNo">290</span> * For example, the <code>getServletPath()</code> and <code>getPathInfo()</code> methods on the<a name="line.290"></a>
-<span class="sourceLineNo">291</span> * <code>HttpServletRequest</code> object will behave as if the child resource were deployed<a name="line.291"></a>
-<span class="sourceLineNo">292</span> * using the child's servlet path.<a name="line.292"></a>
-<span class="sourceLineNo">293</span> * Therefore, the runtime behavior should be equivalent to deploying the child servlet in<a name="line.293"></a>
-<span class="sourceLineNo">294</span> * the <code>web.xml</code> file of the web application.<a name="line.294"></a>
-<span class="sourceLineNo">295</span> * </p><a name="line.295"></a>
-<span class="sourceLineNo">296</span> * </dd><a name="line.296"></a>
-<span class="sourceLineNo">297</span> * </dl><a name="line.297"></a>
-<span class="sourceLineNo">298</span> * <p><a name="line.298"></a>
-<span class="sourceLineNo">299</span> * The programmatic equivalent to this annotation are the {@link RestConfig#addChildResource(String, Object)}/{@link RestConfig#addChildResources(Class...)}/{@link RestConfig#addChildResources(Object...)} methods.<a name="line.299"></a>
-<span class="sourceLineNo">300</span> */<a name="line.300"></a>
-<span class="sourceLineNo">301</span> Class<?>[] children() default {};<a name="line.301"></a>
-<span class="sourceLineNo">302</span><a name="line.302"></a>
-<span class="sourceLineNo">303</span> /**<a name="line.303"></a>
-<span class="sourceLineNo">304</span> * Identifies the URL subpath relative to the parent resource.<a name="line.304"></a>
+<span class="sourceLineNo">274</span> * This is equivalent to calling {@link RestResponse#setHeader(String, String)} programmatically in each of the Java methods.<a name="line.274"></a>
+<span class="sourceLineNo">275</span> * <p><a name="line.275"></a>
+<span class="sourceLineNo">276</span> * The header value will not be set if the header value has already been specified (hence the 'default' in the name).<a name="line.276"></a>
+<span class="sourceLineNo">277</span> * <p><a name="line.277"></a>
+<span class="sourceLineNo">278</span> * Only one header value can be specified per entry (i.e. it's not a delimited list of header entries).<a name="line.278"></a>
+<span class="sourceLineNo">279</span> *<a name="line.279"></a>
+<span class="sourceLineNo">280</span> * <h5 class='section'>Example:</h5><a name="line.280"></a>
+<span class="sourceLineNo">281</span> * <p class='bcode'><a name="line.281"></a>
+<span class="sourceLineNo">282</span> * <jc>// Add a version header attribute to all responses</jc><a name="line.282"></a>
+<span class="sourceLineNo">283</span> * <ja>@RestResource</ja>(defaultResponseHeaders={<js>"X-Version: 1.0"</js>})<a name="line.283"></a>
+<span class="sourceLineNo">284</span> * <jk>public</jk> MyRestServlet <jk>extends</jk> RestServlet {<a name="line.284"></a>
+<span class="sourceLineNo">285</span> * ...<a name="line.285"></a>
+<span class="sourceLineNo">286</span> * }<a name="line.286"></a>
+<span class="sourceLineNo">287</span> * </p><a name="line.287"></a>
+<span class="sourceLineNo">288</span> * <p><a name="line.288"></a>
+<span class="sourceLineNo">289</span> * The programmatic equivalent to this annotation are the {@link RestConfig#addDefaultResponseHeader(String, Object)}/{@link RestConfig#addDefaultResponseHeaders(String...)} methods.<a name="line.289"></a>
+<span class="sourceLineNo">290</span> */<a name="line.290"></a>
+<span class="sourceLineNo">291</span> String[] defaultResponseHeaders() default {};<a name="line.291"></a>
+<span class="sourceLineNo">292</span><a name="line.292"></a>
+<span class="sourceLineNo">293</span> /**<a name="line.293"></a>
+<span class="sourceLineNo">294</span> * Defines children of this resource.<a name="line.294"></a>
+<span class="sourceLineNo">295</span> * <p><a name="line.295"></a>
+<span class="sourceLineNo">296</span> * A REST child resource is simply another servlet that is initialized as part of the parent<a name="line.296"></a>
+<span class="sourceLineNo">297</span> * resource and has a servlet path directly under the parent servlet path.<a name="line.297"></a>
+<span class="sourceLineNo">298</span> * The main advantage to defining servlets as REST children is that you do not need<a name="line.298"></a>
+<span class="sourceLineNo">299</span> * to define them in the <code>web.xml</code> file of the web application.<a name="line.299"></a>
+<span class="sourceLineNo">300</span> * This can cut down on the number of entries that show up in the <code>web.xml</code> file<a name="line.300"></a>
+<span class="sourceLineNo">301</span> * if you are defining large numbers of servlets.<a name="line.301"></a>
+<span class="sourceLineNo">302</span> * <p><a name="line.302"></a>
+<span class="sourceLineNo">303</span> * Child resources must specify a value for {@link #path()} that identifies the subpath of the<a name="line.303"></a>
+<span class="sourceLineNo">304</span> * child resource relative to the parent path.<a name="line.304"></a>
<span class="sourceLineNo">305</span> * <p><a name="line.305"></a>
-<span class="sourceLineNo">306</span> * Typically, this annotation is only applicable to resources defined as children through the {@link #children()}<a name="line.306"></a>
-<span class="sourceLineNo">307</span> * annotation. However, it may be used in other ways (e.g. defining paths for top-level resources in microservices).<a name="line.307"></a>
-<span class="sourceLineNo">308</span> * <p><a name="line.308"></a>
-<span class="sourceLineNo">309</span> * This annotation is ignored on top-level servlets (i.e. servlets defined in <code>web.xml</code> files).<a name="line.309"></a>
-<span class="sourceLineNo">310</span> * Therefore, implementers can optionally specify a path value for documentation purposes.<a name="line.310"></a>
-<span class="sourceLineNo">311</span> * <p><a name="line.311"></a>
-<span class="sourceLineNo">312</span> * The programmatic equivalent to this annotation is the {@link RestConfig#setPath(String)} method.<a name="line.312"></a>
-<span class="sourceLineNo">313</span> */<a name="line.313"></a>
-<span class="sourceLineNo">314</span> String path() default "";<a name="line.314"></a>
-<span class="sourceLineNo">315</span><a name="line.315"></a>
-<span class="sourceLineNo">316</span> /**<a name="line.316"></a>
-<span class="sourceLineNo">317</span> * Optional servlet title.<a name="line.317"></a>
-<span class="sourceLineNo">318</span> * <p><a name="line.318"></a>
-<span class="sourceLineNo">319</span> * It is used to populate the Swagger title field and as a default value for the {@link #pageTitle()} value.<a name="line.319"></a>
-<span class="sourceLineNo">320</span> * This value can be retrieved programmatically through the {@link RestRequest#getServletTitle()} method.<a name="line.320"></a>
-<span class="sourceLineNo">321</span> * <p><a name="line.321"></a>
-<span class="sourceLineNo">322</span> * The default value pulls the label from the <code>label</code> entry in the servlet resource bundle.<a name="line.322"></a>
-<span class="sourceLineNo">323</span> * (e.g. <js>"title = foo"</js> or <js>"MyServlet.title = foo"</js>).<a name="line.323"></a>
-<span class="sourceLineNo">324</span> * <p><a name="line.324"></a>
-<span class="sourceLineNo">325</span> * This field can contain variables (e.g. "$L{my.localized.variable}").<a name="line.325"></a>
-<span class="sourceLineNo">326</span> * <p><a name="line.326"></a>
-<span class="sourceLineNo">327</span> * Corresponds to the swagger field <code>/info/title</code>.<a name="line.327"></a>
-<span class="sourceLineNo">328</span> * <p><a name="line.328"></a>
-<span class="sourceLineNo">329</span> * The programmatic equivalent to this annotation is the {@link RestInfoProvider#getTitle(RestRequest)} method.<a name="line.329"></a>
-<span class="sourceLineNo">330</span> */<a name="line.330"></a>
-<span class="sourceLineNo">331</span> String title() default "";<a name="line.331"></a>
-<span class="sourceLineNo">332</span><a name="line.332"></a>
-<span class="sourceLineNo">333</span> /**<a name="line.333"></a>
-<span class="sourceLineNo">334</span> * Optional servlet description.<a name="line.334"></a>
-<span class="sourceLineNo">335</span> * <p><a name="line.335"></a>
-<span class="sourceLineNo">336</span> * It is used to populate the Swagger description field and as a default value for the {@link #pageText()} value.<a name="line.336"></a>
-<span class="sourceLineNo">337</span> * This value can be retrieved programmatically through the {@link RestRequest#getServletDescription()} method.<a name="line.337"></a>
-<span class="sourceLineNo">338</span> * <p><a name="line.338"></a>
-<span class="sourceLineNo">339</span> * The default value pulls the description from the <code>description</code> entry in the servlet resource bundle.<a name="line.339"></a>
-<span class="sourceLineNo">340</span> * (e.g. <js>"description = foo"</js> or <js>"MyServlet.description = foo"</js>).<a name="line.340"></a>
-<span class="sourceLineNo">341</span> * <p><a name="line.341"></a>
-<span class="sourceLineNo">342</span> * This field can contain variables (e.g. "$L{my.localized.variable}").<a name="line.342"></a>
+<span class="sourceLineNo">306</span> * It should be noted that servlets can be nested arbitrarily deep using this technique (i.e. children can also have children).<a name="line.306"></a>
+<span class="sourceLineNo">307</span> *<a name="line.307"></a>
+<span class="sourceLineNo">308</span> * <dl><a name="line.308"></a>
+<span class="sourceLineNo">309</span> * <dt>Servlet initialization:</dt><a name="line.309"></a>
+<span class="sourceLineNo">310</span> * <dd><a name="line.310"></a>
+<span class="sourceLineNo">311</span> * <p><a name="line.311"></a>
+<span class="sourceLineNo">312</span> * A child resource will be initialized immediately after the parent servlet is initialized. The child resource<a name="line.312"></a>
+<span class="sourceLineNo">313</span> * receives the same servlet config as the parent resource. This allows configuration information such as<a name="line.313"></a>
+<span class="sourceLineNo">314</span> * servlet initialization parameters to filter to child resources.<a name="line.314"></a>
+<span class="sourceLineNo">315</span> * </p><a name="line.315"></a>
+<span class="sourceLineNo">316</span> * </dd><a name="line.316"></a>
+<span class="sourceLineNo">317</span> * <dt>Runtime behavior:</dt><a name="line.317"></a>
+<span class="sourceLineNo">318</span> * <dd><a name="line.318"></a>
+<span class="sourceLineNo">319</span> * <p><a name="line.319"></a>
+<span class="sourceLineNo">320</span> * As a rule, methods defined on the <code>HttpServletRequest</code> object will behave as if<a name="line.320"></a>
+<span class="sourceLineNo">321</span> * the child servlet were deployed as a top-level resource under the child's servlet path.<a name="line.321"></a>
+<span class="sourceLineNo">322</span> * For example, the <code>getServletPath()</code> and <code>getPathInfo()</code> methods on the<a name="line.322"></a>
+<span class="sourceLineNo">323</span> * <code>HttpServletRequest</code> object will behave as if the child resource were deployed<a name="line.323"></a>
+<span class="sourceLineNo">324</span> * using the child's servlet path.<a name="line.324"></a>
+<span class="sourceLineNo">325</span> * Therefore, the runtime behavior should be equivalent to deploying the child servlet in<a name="line.325"></a>
+<span class="sourceLineNo">326</span> * the <code>web.xml</code> file of the web application.<a name="line.326"></a>
+<span class="sourceLineNo">327</span> * </p><a name="line.327"></a>
+<span class="sourceLineNo">328</span> * </dd><a name="line.328"></a>
+<span class="sourceLineNo">329</span> * </dl><a name="line.329"></a>
+<span class="sourceLineNo">330</span> * <p><a name="line.330"></a>
+<span class="sourceLineNo">331</span> * The programmatic equivalent to this annotation are the {@link RestConfig#addChildResource(String, Object)}/{@link RestConfig#addChildResources(Class...)}/{@link RestConfig#addChildResources(Object...)} methods.<a name="line.331"></a>
+<span class="sourceLineNo">332</span> */<a name="line.332"></a>
+<span class="sourceLineNo">333</span> Class<?>[] children() default {};<a name="line.333"></a>
+<span class="sourceLineNo">334</span><a name="line.334"></a>
+<span class="sourceLineNo">335</span> /**<a name="line.335"></a>
+<span class="sourceLineNo">336</span> * Identifies the URL subpath relative to the parent resource.<a name="line.336"></a>
+<span class="sourceLineNo">337</span> * <p><a name="line.337"></a>
+<span class="sourceLineNo">338</span> * Typically, this annotation is only applicable to resources defined as children through the {@link #children()}<a name="line.338"></a>
+<span class="sourceLineNo">339</span> * annotation. However, it may be used in other ways (e.g. defining paths for top-level resources in microservices).<a name="line.339"></a>
+<span class="sourceLineNo">340</span> * <p><a name="line.340"></a>
+<span class="sourceLineNo">341</span> * This annotation is ignored on top-level servlets (i.e. servlets defined in <code>web.xml</code> files).<a name="line.341"></a>
+<span class="sourceLineNo">342</span> * Therefore, implementers can optionally specify a path value for documentation purposes.<a name="line.342"></a>
<span class="sourceLineNo">343</span> * <p><a name="line.343"></a>
-<span class="sourceLineNo">344</span> * Corresponds to the swagger field <code>/info/description</code>.<a name="line.344"></a>
-<span class="sourceLineNo">345</span> * <p><a name="line.345"></a>
-<span class="sourceLineNo">346</span> * The programmatic equivalent to this annotation is the {@link RestInfoProvider#getDescription(RestRequest)} method.<a name="line.346"></a>
-<span class="sourceLineNo">347</span> */<a name="line.347"></a>
-<span class="sourceLineNo">348</span> String description() default "";<a name="line.348"></a>
-<span class="sourceLineNo">349</span><a name="line.349"></a>
-<span class="sourceLineNo">350</span> /**<a name="line.350"></a>
-<span class="sourceLineNo">351</span> * Optional servlet terms-of-service for this API.<a name="line.351"></a>
-<span class="sourceLineNo">352</span> * <p><a name="line.352"></a>
-<span class="sourceLineNo">353</span> * It is used to populate the Swagger terms-of-service field.<a name="line.353"></a>
-<span class="sourceLineNo">354</span> * <p><a name="line.354"></a>
-<span class="sourceLineNo">355</span> * The default value pulls the description from the <code>termsOfService</code> entry in the servlet resource bundle.<a name="line.355"></a>
-<span class="sourceLineNo">356</span> * (e.g. <js>"termsOfService = foo"</js> or <js>"MyServlet.termsOfService = foo"</js>).<a name="line.356"></a>
-<span class="sourceLineNo">357</span> * <p><a name="line.357"></a>
-<span class="sourceLineNo">358</span> * This field can contain variables (e.g. "$L{my.localized.variable}").<a name="line.358"></a>
-<span class="sourceLineNo">359</span> * <p><a name="line.359"></a>
-<span class="sourceLineNo">360</span> * Corresponds to the swagger field <code>/info/termsOfService</code>.<a name="line.360"></a>
-<span class="sourceLineNo">361</span> * <p><a name="line.361"></a>
-<span class="sourceLineNo">362</span> * The programmatic equivalent to this annotation is the {@link RestInfoProvider#getTermsOfService(RestRequest)} method.<a name="line.362"></a>
-<span class="sourceLineNo">363</span> */<a name="line.363"></a>
-<span class="sourceLineNo">364</span> String termsOfService() default "";<a name="line.364"></a>
-<span class="sourceLineNo">365</span><a name="line.365"></a>
-<span class="sourceLineNo">366</span> /**<a name="line.366"></a>
-<span class="sourceLineNo">367</span> * Optional contact information for the exposed API.<a name="line.367"></a>
-<span class="sourceLineNo">368</span> * <p><a name="line.368"></a>
-<span class="sourceLineNo">369</span> * It is used to populate the Swagger contact field and to display on HTML pages.<a name="line.369"></a>
+<span class="sourceLineNo">344</span> * The programmatic equivalent to this annotation is the {@link RestConfig#setPath(String)} method.<a name="line.344"></a>
+<span class="sourceLineNo">345</span> */<a name="line.345"></a>
+<span class="sourceLineNo">346</span> String path() default "";<a name="line.346"></a>
+<span class="sourceLineNo">347</span><a name="line.347"></a>
+<span class="sourceLineNo">348</span> /**<a name="line.348"></a>
+<span class="sourceLineNo">349</span> * Optional servlet title.<a name="line.349"></a>
+<span class="sourceLineNo">350</span> * <p><a name="line.350"></a>
+<span class="sourceLineNo">351</span> * It is used to populate the Swagger title field and as a default value for the {@link #pageTitle()} value.<a name="line.351"></a>
+<span class="sourceLineNo">352</span> * This value can be retrieved programmatically through the {@link RestRequest#getServletTitle()} method.<a name="line.352"></a>
+<span class="sourceLineNo">353</span> * <p><a name="line.353"></a>
+<span class="sourceLineNo">354</span> * The default value pulls the label from the <code>label</code> entry in the servlet resource bundle.<a name="line.354"></a>
+<span class="sourceLineNo">355</span> * (e.g. <js>"title = foo"</js> or <js>"MyServlet.title = foo"</js>).<a name="line.355"></a>
+<span class="sourceLineNo">356</span> * <p><a name="line.356"></a>
+<span class="sourceLineNo">357</span> * This field can contain variables (e.g. "$L{my.localized.variable}").<a name="line.357"></a>
+<span class="sourceLineNo">358</span> * <p><a name="line.358"></a>
+<span class="sourceLineNo">359</span> * Corresponds to the swagger field <code>/info/title</code>.<a name="line.359"></a>
+<span class="sourceLineNo">360</span> * <p><a name="line.360"></a>
+<span class="sourceLineNo">361</span> * The programmatic equivalent to this annotation is the {@link RestInfoProvider#getTitle(RestRequest)} method.<a name="line.361"></a>
+<span class="sourceLineNo">362</span> */<a name="line.362"></a>
+<span class="sourceLineNo">363</span> String title() default "";<a name="line.363"></a>
+<span class="sourceLineNo">364</span><a name="line.364"></a>
+<span class="sourceLineNo">365</span> /**<a name="line.365"></a>
+<span class="sourceLineNo">366</span> * Optional servlet description.<a name="line.366"></a>
+<span class="sourceLineNo">367</span> * <p><a name="line.367"></a>
+<span class="sourceLineNo">368</span> * It is used to populate the Swagger description field and as a default value for the {@link #pageText()} value.<a name="line.368"></a>
+<span class="sourceLineNo">369</span> * This value can be retrieved programmatically through the {@link RestRequest#getServletDescription()} method.<a name="line.369"></a>
<span class="sourceLineNo">370</span> * <p><a name="line.370"></a>
-<span class="sourceLineNo">371</span> * A simplified JSON string with the following fields:<a name="line.371"></a>
-<span class="sourceLineNo">372</span> * <p class='bcode'><a name="line.372"></a>
-<span class="sourceLineNo">373</span> * {<a name="line.373"></a>
-<span class="sourceLineNo">374</span> * name: string,<a name="line.374"></a>
-<span class="sourceLineNo">375</span> * url: string,<a name="line.375"></a>
-<span class="sourceLineNo">376</span> * email: string<a name="line.376"></a>
-<span class="sourceLineNo">377</span> * }<a name="line.377"></a>
-<span class="sourceLineNo">378</span> * </p><a name="line.378"></a>
-<span class="sourceLineNo">379</span> * <p><a name="line.379"></a>
-<span class="sourceLineNo">380</span> * The default value pulls the description from the <code>contact</code> entry in the servlet resource bundle.<a name="line.380"></a>
-<span class="sourceLineNo">381</span> * (e.g. <js>"contact = {name:'John Smith',email:'john.smith@foo.bar'}"</js> or <js>"MyServlet.contact = {name:'John Smith',email:'john.smith@foo.bar'}"</js>).<a name="line.381"></a>
-<span class="sourceLineNo">382</span> *<a name="line.382"></a>
-<span class="sourceLineNo">383</span> * <h5 class='section'>Example:</h5><a name="line.383"></a>
-<span class="sourceLineNo">384</span> * <p class='bcode'><a name="line.384"></a>
-<span class="sourceLineNo">385</span> * <ja>@RestResource</ja>(contact=<js>"{name:'John Smith',email:'john.smith@foo.bar'}"</js>)<a name="line.385"></a>
-<span class="sourceLineNo">386</span> * </p><a name="line.386"></a>
-<span class="sourceLineNo">387</span> * <p><a name="line.387"></a>
-<span class="sourceLineNo">388</span> * This field can contain variables (e.g. "$L{my.localized.variable}").<a name="line.388"></a>
+<span class="sourceLineNo">371</span> * The default value pulls the description from the <code>description</code> entry in the servlet resource bundle.<a name="line.371"></a>
+<span class="sourceLineNo">372</span> * (e.g. <js>"description = foo"</js> or <js>"MyServlet.description = foo"</js>).<a name="line.372"></a>
+<span class="sourceLineNo">373</span> * <p><a name="line.373"></a>
+<span class="sourceLineNo">374</span> * This field can contain variables (e.g. "$L{my.localized.variable}").<a name="line.374"></a>
+<span class="sourceLineNo">375</span> * <p><a name="line.375"></a>
+<span class="sourceLineNo">376</span> * Corresponds to the swagger field <code>/info/description</code>.<a name="line.376"></a>
+<span class="sourceLineNo">377</span> * <p><a name="line.377"></a>
+<span class="sourceLineNo">378</span> * The programmatic equivalent to this annotation is the {@link RestInfoProvider#getDescription(RestRequest)} method.<a name="line.378"></a>
+<span class="sourceLineNo">379</span> */<a name="line.379"></a>
+<span class="sourceLineNo">380</span> String description() default "";<a name="line.380"></a>
+<span class="sourceLineNo">381</span><a name="line.381"></a>
+<span class="sourceLineNo">382</span> /**<a name="line.382"></a>
+<span class="sourceLineNo">383</span> * Optional servlet terms-of-service for this API.<a name="line.383"></a>
+<span class="sourceLineNo">384</span> * <p><a name="line.384"></a>
+<span class="sourceLineNo">385</span> * It is used to populate the Swagger terms-of-service field.<a name="line.385"></a>
+<span class="sourceLineNo">386</span> * <p><a name="line.386"></a>
+<span class="sourceLineNo">387</span> * The default value pulls the description from the <code>termsOfService</code> entry in the servlet resource bundle.<a name="line.387"></a>
+<span class="sourceLineNo">388</span> * (e.g. <js>"termsOfService = foo"</js> or <js>"MyServlet.termsOfService = foo"</js>).<a name="line.388"></a>
<span class="sourceLineNo">389</span> * <p><a name="line.389"></a>
-<span class="sourceLineNo">390</span> * Corresponds to the swagger field <code>/info/contact</code>.<a name="line.390"></a>
+<span class="sourceLineNo">390</span> * This field can contain variables (e.g. "$L{my.localized.variable}").<a name="line.390"></a>
<span class="sourceLineNo">391</span> * <p><a name="line.391"></a>
-<span class="sourceLineNo">392</span> * The programmatic equivalent to this annotation is the {@link RestInfoProvider#getContact(RestRequest)} method.<a name="line.392"></a>
-<span class="sourceLineNo">393</span> */<a name="line.393"></a>
-<span class="sourceLineNo">394</span> String contact() default "";<a name="line.394"></a>
-<span class="sourceLineNo">395</span><a name="line.395"></a>
-<span class="sourceLineNo">396</span> /**<a name="line.396"></a>
-<span class="sourceLineNo">397</span> * Optional license information for the exposed API.<a name="line.397"></a>
-<span class="sourceLineNo">398</span> * <p><a name="line.398"></a>
-<span class="sourceLineNo">399</span> * It is used to populate the Swagger license field and to display on HTML pages.<a name="line.399"></a>
+<span class="sourceLineNo">392</span> * Corresponds to the swagger field <code>/info/termsOfService</code>.<a name="line.392"></a>
+<span class="sourceLineNo">393</span> * <p><a name="line.393"></a>
+<span class="sourceLineNo">394</span> * The programmatic equivalent to this annotation is the {@link RestInfoProvider#getTermsOfService(RestRequest)} method.<a name="line.394"></a>
+<span class="sourceLineNo">395</span> */<a name="line.395"></a>
+<span class="sourceLineNo">396</span> String termsOfService() default "";<a name="line.396"></a>
+<span class="sourceLineNo">397</span><a name="line.397"></a>
+<span class="sourceLineNo">398</span> /**<a name="line.398"></a>
+<span class="sourceLineNo">399</span> * Optional contact information for the exposed API.<a name="line.399"></a>
<span class="sourceLineNo">400</span> * <p><a name="line.400"></a>
-<span class="sourceLineNo">401</span> * A simplified JSON string with the following fields:<a name="line.401"></a>
-<span class="sourceLineNo">402</span> * <p class='bcode'><a name="line.402"></a>
-<span class="sourceLineNo">403</span> * {<a name="line.403"></a>
-<span class="sourceLineNo">404</span> * name: string,<a name="line.404"></a>
-<span class="sourceLineNo">405</span> * url: string<a name="line.405"></a>
-<span class="sourceLineNo">406</span> * }<a name="line.406"></a>
-<span class="sourceLineNo">407</span> * </p><a name="line.407"></a>
-<span class="sourceLineNo">408</span> * <p><a name="line.408"></a>
-<span class="sourceLineNo">409</span> * The default value pulls the description from the <code>license</code> entry in the servlet resource bundle.<a name="line.409"></a>
-<span class="sourceLineNo">410</span> * (e.g. <js>"license = {name:'Apache 2.0',url:'http://www.apache.org/licenses/LICENSE-2.0.html'}"</js> or <js>"MyServlet.license = {name:'Apache 2.0',url:'http://www.apache.org/licenses/LICENSE-2.0.html'}"</js>).<a name="line.410"></a>
-<span class="sourceLineNo">411</span> *<a name="line.411"></a>
-<span class="sourceLineNo">412</span> * <h5 class='section'>Example:</h5><a name="line.412"></a>
-<span class="sourceLineNo">413</span> * <p class='bcode'><a name="line.413"></a>
-<span class="sourceLineNo">414</span> * <ja>@RestResource</ja>(license=<js>"{name:'Apache 2.0',url:'http://www.apache.org/licenses/LICENSE-2.0.html'}"</js>)<a name="line.414"></a>
-<span class="sourceLineNo">415</span> * </p><a name="line.415"></a>
-<span class="sourceLineNo">416</span> * <p><a name="line.416"></a>
-<span class="sourceLineNo">417</span> * This field can contain variables (e.g. "$L{my.localized.variable}").<a name="line.417"></a>
-<span class="sourceLineNo">418</span> * <p><a name="line.418"></a>
-<span class="sourceLineNo">419</span> * Corresponds to the swagger field <code>/info/license</code>.<a name="line.419"></a>
-<span class="sourceLineNo">420</span> * <p><a name="line.420"></a>
-<span class="sourceLineNo">421</span> * The programmatic equivalent to this annotation is the {@link RestInfoProvider#getLicense(RestRequest)} method.<a name="line.421"></a>
-<span class="sourceLineNo">422</span> */<a name="line.422"></a>
-<span class="sourceLineNo">423</span> String license() default "";<a name="line.423"></a>
-<span class="sourceLineNo">424</span><a name="line.424"></a>
-<span class="sourceLineNo">425</span> /**<a name="line.425"></a>
-<span class="sourceLineNo">426</span> * Provides the version of the application API (not to be confused with the specification version).<a name="line.426"></a>
-<span class="sourceLineNo">427</span> * <p><a name="line.427"></a>
-<span class="sourceLineNo">428</span> * It is used to populate the Swagger version field and to display on HTML pages.<a name="line.428"></a>
-<span class="sourceLineNo">429</span> * <p><a name="line.429"></a>
-<span class="sourceLineNo">430</span> * The default value pulls the description from the <code>version</code> entry in the servlet resource bundle.<a name="line.430"></a>
-<span class="sourceLineNo">431</span> * (e.g. <js>"version = 2.0"</js> or <js>"MyServlet.version = 2.0"</js>).<a name="line.431"></a>
+<span class="sourceLineNo">401</span> * It is used to populate the Swagger contact field and to display on HTML pages.<a name="line.401"></a>
+<span class="sourceLineNo">402</span> * <p><a name="line.402"></a>
+<span class="sourceLineNo">403</span> * A simplified JSON string with the following fields:<a name="line.403"></a>
+<span class="sourceLineNo">404</span> * <p class='bcode'><a name="line.404"></a>
+<span class="sourceLineNo">405</span> * {<a name="line.405"></a>
+<span class="sourceLineNo">406</span> * name: string,<a name="line.406"></a>
+<span class="sourceLineNo">407</span> * url: string,<a name="line.407"></a>
+<span class="sourceLineNo">408</span> * email: string<a name="line.408"></a>
+<span class="sourceLineNo">409</span> * }<a name="line.409"></a>
+<span class="sourceLineNo">410</span> * </p><a name="line.410"></a>
+<span class="sourceLineNo">411</span> * <p><a name="line.411"></a>
+<span class="sourceLineNo">412</span> * The default value pulls the description from the <code>contact</code> entry in the servlet resource bundle.<a name="line.412"></a>
+<span class="sourceLineNo">413</span> * (e.g. <js>"contact = {name:'John Smith',email:'john.smith@foo.bar'}"</js> or <js>"MyServlet.contact = {name:'John Smith',email:'john.smith@foo.bar'}"</js>).<a name="line.413"></a>
+<span class="sourceLineNo">414</span> *<a name="line.414"></a>
+<span class="sourceLineNo">415</span> * <h5 class='section'>Example:</h5><a name="line.415"></a>
+<span class="sourceLineNo">416</span> * <p class='bcode'><a name="line.416"></a>
+<span class="sourceLineNo">417</span> * <ja>@RestResource</ja>(contact=<js>"{name:'John Smith',email:'john.smith@foo.bar'}"</js>)<a name="line.417"></a>
+<span class="sourceLineNo">418</span> * </p><a name="line.418"></a>
+<span class="sourceLineNo">419</span> * <p><a name="line.419"></a>
+<span class="sourceLineNo">420</span> * This field can contain variables (e.g. "$L{my.localized.variable}").<a name="line.420"></a>
+<span class="sourceLineNo">421</span> * <p><a name="line.421"></a>
+<span class="sourceLineNo">422</span> * Corresponds to the swagger field <code>/info/contact</code>.<a name="line.422"></a>
+<span class="sourceLineNo">423</span> * <p><a name="line.423"></a>
+<span class="sourceLineNo">424</span> * The programmatic equivalent to this annotation is the {@link RestInfoProvider#getContact(RestRequest)} method.<a name="line.424"></a>
+<span class="sourceLineNo">425</span> */<a name="line.425"></a>
+<span class="sourceLineNo">426</span> String contact() default "";<a name="line.426"></a>
+<span class="sourceLineNo">427</span><a name="line.427"></a>
+<span class="sourceLineNo">428</span> /**<a name="line.428"></a>
+<span class="sourceLineNo">429</span> * Optional license information for the exposed API.<a name="line.429"></a>
+<span class="sourceLineNo">430</span> * <p><a name="line.430"></a>
+<span class="sourceLineNo">431</span> * It is used to populate the Swagger license field and to display on HTML pages.<a name="line.431"></a>
<span class="sourceLineNo">432</span> * <p><a name="line.432"></a>
-<span class="sourceLineNo">433</span> * This field can contain variables (e.g. "$L{my.localized.variable}").<a name="line.433"></a>
-<span class="sourceLineNo">434</span> * <p><a name="line.434"></a>
-<span class="sourceLineNo">435</span> * Corresponds to the swagger field <code>/info/version</code>.<a name="line.435"></a>
-<span class="sourceLineNo">436</span> * <p><a name="line.436"></a>
-<span class="sourceLineNo">437</span> * The programmatic equivalent to this annotation is the {@link RestInfoProvider#getVersion(RestRequest)} method.<a name="line.437"></a>
-<span class="sourceLineNo">438</span> */<a name="line.438"></a>
-<span class="sourceLineNo">439</span> String version() default "";<a name="line.439"></a>
-<span class="sourceLineNo">440</span><a name="line.440"></a>
-<span class="sourceLineNo">441</span> /**<a name="line.441"></a>
-<span class="sourceLineNo">442</span> * Optional tagging information for the exposed API.<a name="line.442"></a>
-<span class="sourceLineNo">443</span> * <p><a name="line.443"></a>
-<span class="sourceLineNo">444</span> * It is used to populate the Swagger tags field and to display on HTML pages.<a name="line.444"></a>
-<span class="sourceLineNo">445</span> * <p><a name="line.445"></a>
-<span class="sourceLineNo">446</span> * A simplified JSON string with the following fields:<a name="line.446"></a>
-<span class="sourceLineNo">447</span> * <p class='bcode'><a name="line.447"></a>
-<span class="sourceLineNo">448</span> * [<a name="line.448"></a>
-<span class="sourceLineNo">449</span> * {<a name="line.449"></a>
-<span class="sourceLineNo">450</span> * name: string,<a name="line.450"></a>
-<span class="sourceLineNo">451</span> * description: string,<a name="line.451"></a>
-<span class="sourceLineNo">452</span> * externalDocs: {<a name="line.452"></a>
-<span class="sourceLineNo">453</span> * description: string,<a name="line.453"></a>
-<span class="sourceLineNo">454</span> * url: string<a name="line.454"></a>
-<span class="sourceLineNo">455</span> * }<a name="line.455"></a>
-<span class="sourceLineNo">456</span> * }<a name="line.456"></a>
-<span class="sourceLineNo">457</span> * ]<a name="line.457"></a>
-<span class="sourceLineNo">458</span> * </p><a name="line.458"></a>
+<span class="sourceLineNo">433</span> * A simplified JSON string with the following fields:<a name="line.433"></a>
+<span class="sourceLineNo">434</span> * <p class='bcode'><a name="line.434"></a>
+<span class="sourceLineNo">435</span> * {<a name="line.435"></a>
+<span class="sourceLineNo">436</span> * name: string,<a name="line.436"></a>
+<span class="sourceLineNo">437</span> * url: string<a name="line.437"></a>
+<span class="sourceLineNo">438</span> * }<a name="line.438"></a>
+<span class="sourceLineNo">439</span> * </p><a name="line.439"></a>
+<span class="sourceLineNo">440</span> * <p><a name="line.440"></a>
+<span class="sourceLineNo">441</span> * The default value pulls the description from the <code>license</code> entry in the servlet resource bundle.<a name="line.441"></a>
+<span class="sourceLineNo">442</span> * (e.g. <js>"license = {name:'Apache 2.0',url:'http://www.apache.org/licenses/LICENSE-2.0.html'}"</js> or <js>"MyServlet.license = {name:'Apache 2.0',url:'http://www.apache.org/licenses/LICENSE-2.0.html'}"</js>).<a name="line.442"></a>
+<span class="sourceLineNo">443</span> *<a name="line.443"></a>
+<span class="sourceLineNo">444</span> * <h5 class='section'>Example:</h5><a name="line.444"></a>
+<span class="sourceLineNo">445</span> * <p class='bcode'><a name="line.445"></a>
+<span class="sourceLineNo">446</span> * <ja>@RestResource</ja>(license=<js>"{name:'Apache 2.0',url:'http://www.apache.org/licenses/LICENSE-2.0.html'}"</js>)<a name="line.446"></a>
+<span class="sourceLineNo">447</span> * </p><a name="line.447"></a>
+<span class="sourceLineNo">448</span> * <p><a name="line.448"></a>
+<span class="sourceLineNo">449</span> * This field can contain variables (e.g. "$L{my.localized.variable}").<a name="line.449"></a>
+<span class="sourceLineNo">450</span> * <p><a name="line.450"></a>
+<span class="sourceLineNo">451</span> * Corresponds to the swagger field <code>/info/license</code>.<a name="line.451"></a>
+<span class="sourceLineNo">452</span> * <p><a name="line.452"></a>
+<span class="sourceLineNo">453</span> * The programmatic equivalent to this annotation is the {@link RestInfoProvider#getLicense(RestRequest)} method.<a name="line.453"></a>
+<span class="sourceLineNo">454</span> */<a name="line.454"></a>
+<span class="sourceLineNo">455</span> String license() default "";<a name="line.455"></a>
+<span class="sourceLineNo">456</span><a name="line.456"></a>
+<span class="sourceLineNo">457</span> /**<a name="line.457"></a>
+<span class="sourceLineNo">458</span> * Provides the version of the application API (not to be confused with the specification version).<a name="line.458"></a>
<span class="sourceLineNo">459</span> * <p><a name="line.459"></a>
-<span class="sourceLineNo">460</span> * The default value pulls the description from the <code>tags</code> entry in the servlet resource bundle.<a name="line.460"></a>
-<span class="sourceLineNo">461</span> * (e.g. <js>"tags = [{name:'Foo',description:'Foobar'}]"</js> or <js>"MyServlet.tags = [{name:'Foo',description:'Foobar'}]"</js>).<a name="line.461"></a>
-<span class="sourceLineNo">462</span> *<a name="line.462"></a>
-<span class="sourceLineNo">463</span> * <h5 class='section'>Example:</h5><a name="line.463"></a>
-<span class="sourceLineNo">464</span> * <p class='bcode'><a name="line.464"></a>
-<span class="sourceLineNo">465</span> * <ja>@RestResource</ja>(tags=<js>"[{name:'Foo',description:'Foobar'}]"</js>)<a name="line.465"></a>
-<span class="sourceLineNo">466</span> * </p><a name="line.466"></a>
-<span class="sourceLineNo">467</span> * <p><a name="line.467"></a>
-<span class="sourceLineNo">468</span> * This field can contain variables (e.g. "$L{my.localized.variable}").<a name="line.468"></a>
-<span class="sourceLineNo">469</span> * <p><a name="line.469"></a>
-<span class="sourceLineNo">470</span> * Corresponds to the swagger field <code>/tags</code>.<a name="line.470"></a>
-<span class="sourceLineNo">471</span> * <p><a name="line.471"></a>
-<span class="sourceLineNo">472</span> * The programmatic equivalent to this annotation is the {@link RestInfoProvider#getTags(RestRequest)} method.<a name="line.472"></a>
-<span class="sourceLineNo">473</span> */<a name="line.473"></a>
-<span class="sourceLineNo">474</span> String tags() default "";<a name="line.474"></a>
-<span class="sourceLineNo">475</span><a name="line.475"></a>
-<span class="sourceLineNo">476</span> /**<a name="line.476"></a>
-<span class="sourceLineNo">477</span> * Optional external documentation information for the exposed API.<a name="line.477"></a>
-<span class="sourceLineNo">478</span> * <p><a name="line.478"></a>
-<span class="sourceLineNo">479</span> * It is used to populate the Swagger external documentation field and to display on HTML pages.<a name="line.479"></a>
-<span class="sourceLineNo">480</span> * <p><a name="line.480"></a>
-<span class="sourceLineNo">481</span> * A simplified JSON string with the following fields:<a name="line.481"></a>
-<span class="sourceLineNo">482</span> * <p class='bcode'><a name="line.482"></a>
-<span class="sourceLineNo">483</span> * {<a name="line.483"></a>
-<span class="sourceLineNo">484</span> * description: string,<a name="line.484"></a>
-<span class="sourceLineNo">485</span> * url: string<a name="line.485"></a>
-<span class="sourceLineNo">486</span> * }<a name="line.486"></a>
-<span class="sourceLineNo">487</span> * </p><a name="line.487"></a>
-<span class="sourceLineNo">488</span> * <p><a name="line.488"></a>
-<span class="sourceLineNo">489</span> * The default value pulls the description from the <code>externalDocs</code> entry in the servlet resource bundle.<a name="line.489"></a>
-<span class="sourceLineNo">490</span> * (e.g. <js>"externalDocs = {url:'http://juneau.apache.org'}"</js> or <js>"MyServlet.externalDocs = {url:'http://juneau.apache.org'}"</js>).<a name="line.490"></a>
-<span class="sourceLineNo">491</span> *<a name="line.491"></a>
-<span class="sourceLineNo">492</span> * <h5 class='section'>Example:</h5><a name="line.492"></a>
-<span class="sourceLineNo">493</span> * <p class='bcode'><a name="line.493"></a>
-<span class="sourceLineNo">494</span> * <ja>@RestResource</ja>(externalDocs=<js>"{url:'http://juneau.apache.org'}"</js>)<a name="line.494"></a>
-<span class="sourceLineNo">495</span> * </p><a name="line.495"></a>
-<span class="sourceLineNo">496</span> * <p><a name="line.496"></a>
-<span class="sourceLineNo">497</span> * This field can contain variables (e.g. "$L{my.localized.variable}").<a name="line.497"></a>
-<span class="sourceLineNo">498</span> * <p><a name="line.498"></a>
-<span class="sourceLineNo">499</span> * Corresponds to the swagger field <code>/tags</code>.<a name="line.499"></a>
-<span class="sourceLineNo">500</span> * <p><a name="line.500"></a>
-<span class="sourceLineNo">501</span> * The programmatic equivalent to this annotation is the {@link RestInfoProvider#getExternalDocs(RestRequest)} method.<a name="line.501"></a>
-<span class="sourceLineNo">502</span> */<a name="line.502"></a>
-<span class="sourceLineNo">503</span> String externalDocs() default "";<a name="line.503"></a>
-<span class="sourceLineNo">504</span><a name="line.504"></a>
-<span class="sourceLineNo">505</span> /**<a name="line.505"></a>
-<span class="sourceLineNo">506</span> * Optional location of configuration file for this servlet.<a name="line.506"></a>
-<span class="sourceLineNo">507</span> * <p><a name="line.507"></a>
-<span class="sourceLineNo">508</span> * The configuration file .<a name="line.508"></a>
-<span class="sourceLineNo">509</span> * <p><a name="line.509"></a>
-<span class="sourceLineNo">510</span> * This field can contain variables (e.g. "$L{my.localized.variable}").<a name="line.510"></a>
-<span class="sourceLineNo">511</span> * <p><a name="line.511"></a>
-<span class="sourceLineNo">512</span> * The programmatic equivalent to this annotation is the {@link RestConfig#setConfigFile(ConfigFile)} method.<a name="line.512"></a>
-<span class="sourceLineNo">513</span> */<a name="line.513"></a>
-<span class="sourceLineNo">514</span> String config() default "";<a name="line.514"></a>
-<span class="sourceLineNo">515</span><a name="line.515"></a>
-<span class="sourceLineNo">516</span> /**<a name="line.516"></a>
-<span class="sourceLineNo">517</span> * The stylesheet to use for HTML views.<a name="line.517"></a>
-<span class="sourceLineNo">518</span> * <p><a name="line.518"></a>
-<span class="sourceLineNo">519</span> * The name is a path to a stylesheet located in either the classpath or working directory.<a name="line.519"></a>
-<span class="sourceLineNo">520</span> * The resulting stylesheet becomes available through the servlet via the URL <js>"[servletpath]/style.css"</js>.<a name="line.520"></a>
-<span class="sourceLineNo">521</span> * <p><a name="line.521"></a>
-<span class="sourceLineNo">522</span> * The default set of styles located in the <code>org.apache.juneau.rest.styles</code> package are:<a name="line.522"></a>
-<span class="sourceLineNo">523</span> * <ul class='spaced-list'><a name="line.523"></a>
-<span class="sourceLineNo">524</span> * <li><js>"styles/juneau.css"</js> - Theme based on Jazz look-and-feel.<a name="line.524"></a>
-<span class="sourceLineNo">525</span> * <li><js>"styles/devops.css"</js> - Theme based on IBM DevOps look-and-feel.<a name="line.525"></a>
-<span class="sourceLineNo">526</span> * </ul><a name="line.526"></a>
-<span class="sourceLineNo">527</span> * <p><a name="line.527"></a>
-<span class="sourceLineNo">528</span> * The classpath search starts with the child servlet class and proceeds up the class hierarchy<a name="line.528"></a>
-<span class="sourceLineNo">529</span> * chain. Since the {@link RestServlet} class is in the <code>org.apache.juneau.rest</code> package<a name="line.529"></a>
-<span class="sourceLineNo">530</span> * and the predefined styles are in the <code>org.apache.juneau.rest.styles</code> package, the paths to<a name="line.530"></a>
-<span class="sourceLineNo">531</span> * the predefined styles are prefixed with <js>"styles/"</js>.<a name="line.531"></a>
+<span class="sourceLineNo">460</span> * It is used to populate the Swagger version field and to display on HTML pages.<a name="line.460"></a>
+<span class="sourceLineNo">461</span> * <p><a name="line.461"></a>
+<span class="sourceLineNo">462</span> * The default value pulls the description from the <code>version</code> entry in the servlet resource bundle.<a name="line.462"></a>
+<span class="sourceLineNo">463</span> * (e.g. <js>"version = 2.0"</js> or <js>"MyServlet.version = 2.0"</js>).<a name="line.463"></a>
+<span class="sourceLineNo">464</span> * <p><a name="line.464"></a>
+<span class="sourceLineNo">465</span> * This field can contain variables (e.g. "$L{my.localized.variable}").<a name="line.465"></a>
+<span class="sourceLineNo">466</span> * <p><a name="line.466"></a>
+<span class="sourceLineNo">467</span> * Corresponds to the swagger field <code>/info/version</code>.<a name="line.467"></a>
+<span class="sourceLineNo">468</span> * <p><a name="line.468"></a>
+<span class="sourceLineNo">469</span> * The programmatic equivalent to this annotation is the {@link RestInfoProvider#getVersion(RestRequest)} method.<a name="line.469"></a>
+<span class="sourceLineNo">470</span> */<a name="line.470"></a>
+<span class="sourceLineNo">471</span> String version() default "";<a name="line.471"></a>
+<span class="sourceLineNo">472</span><a name="line.472"></a>
+<span class="sourceLineNo">473</span> /**<a name="line.473"></a>
+<span class="sourceLineNo">474</span> * Optional tagging information for the exposed API.<a name="line.474"></a>
+<span class="sourceLineNo">475</span> * <p><a name="line.475"></a>
+<span class="sourceLineNo">476</span> * It is used to populate the Swagger tags field and to display on HTML pages.<a name="line.476"></a>
+<span class="sourceLineNo">477</span> * <p><a name="line.477"></a>
+<span class="sourceLineNo">478</span> * A simplified JSON string with the following fields:<a name="line.478"></a>
+<span class="sourceLineNo">479</span> * <p class='bcode'><a name="line.479"></a>
+<span class="sourceLineNo">480</span> * [<a name="line.480"></a>
+<span class="sourceLineNo">481</span> * {<a name="line.481"></a>
+<span class="sourceLineNo">482</span> * name: string,<a name="line.482"></a>
+<span class="sourceLineNo">483</span> * description: string,<a name="line.483"></a>
+<span class="sourceLineNo">484</span> * externalDocs: {<a name="line.484"></a>
+<span class="sourceLineNo">485</span> * description: string,<a name="line.485"></a>
+<span class="sourceLineNo">486</span> * url: string<a name="line.486"></a>
+<span class="sourceLineNo">487</span> * }<a name="line.487"></a>
+<span class="sourceLineNo">488</span> * }<a name="line.488"></a>
+<span class="sourceLineNo">489</span> * ]<a name="line.489"></a>
+<span class="sourceLineNo">490</span> * </p><a name="line.490"></a>
+<span class="sourceLineNo">491</span> * <p><a name="line.491"></a>
+<span class="sourceLineNo">492</span> * The default value pulls the description from the <code>tags</code> entry in the servlet resource bundle.<a name="line.492"></a>
+<span class="sourceLineNo">493</span> * (e.g. <js>"tags = [{name:'Foo',description:'Foobar'}]"</js> or <js>"MyServlet.tags = [{name:'Foo',description:'Foobar'}]"</js>).<a name="line.493"></a>
+<span class="sourceLineNo">494</span> *<a name="line.494"></a>
+<span class="sourceLineNo">495</span> * <h5 class='section'>Example:</h5><a name="line.495"></a>
+<span class="sourceLineNo">496</span> * <p class='bcode'><a name="line.496"></a>
+<span class="sourceLineNo">497</span> * <ja>@RestResource</ja>(tags=<js>"[{name:'Foo',description:'Foobar'}]"</js>)<a name="line.497"></a>
+<span class="sourceLineNo">498</span> * </p><a name="line.498"></a>
+<span class="sourceLineNo">499</span> * <p><a name="line.499"></a>
+<span class="sourceLineNo">500</span> * This field can contain variables (e.g. "$L{my.localized.variable}").<a name="line.500"></a>
+<span class="sourceLineNo">501</span> * <p><a name="line.501"></a>
+<span class="sourceLineNo">502</span> * Corresponds to the swagger field <code>/tags</code>.<a name="line.502"></a>
+<span class="sourceLineNo">503</span> * <p><a name="line.503"></a>
+<span class="sourceLineNo">504</span> * The programmatic equivalent to this annotation is the {@link RestInfoProvider#getTags(RestRequest)} method.<a name="line.504"></a>
+<span class="sourceLineNo">505</span> */<a name="line.505"></a>
+<span class="sourceLineNo">506</span> String tags() default "";<a name="line.506"></a>
+<span class="sourceLineNo">507</span><a name="line.507"></a>
+<span class="sourceLineNo">508</span> /**<a name="line.508"></a>
+<span class="sourceLineNo">509</span> * Optional external documentation information for the exposed API.<a name="line.509"></a>
+<span class="sourceLineNo">510</span> * <p><a name="line.510"></a>
+<span class="sourceLineNo">511</span> * It is used to populate the Swagger external documentation field and to display on HTML pages.<a name="line.511"></a>
+<span class="sourceLineNo">512</span> * <p><a name="line.512"></a>
+<span class="sourceLineNo">513</span> * A simplified JSON string with the following fields:<a name="line.513"></a>
+<span class="sourceLineNo">514</span> * <p class='bcode'><a name="line.514"></a>
+<span class="sourceLineNo">515</span> * {<a name="line.515"></a>
+<span class="sourceLineNo">516</span> * description: string,<a name="line.516"></a>
+<span class="sourceLineNo">517</span> * url: string<a name="line.517"></a>
+<span class="sourceLineNo">518</span> * }<a name="line.518"></a>
+<span class="sourceLineNo">519</span> * </p><a name="line.519"></a>
+<span class="sourceLineNo">520</span> * <p><a name="line.520"></a>
+<span class="sourceLineNo">521</span> * The default value pulls the description from the <code>externalDocs</code> entry in the servlet resource bundle.<a name="line.521"></a>
+<span class="sourceLineNo">522</span> * (e.g. <js>"externalDocs = {url:'http://juneau.apache.org'}"</js> or <js>"MyServlet.externalDocs = {url:'http://juneau.apache.org'}"</js>).<a name="line.522"></a>
+<span class="sourceLineNo">523</span> *<a name="line.523"></a>
+<span class="sourceLineNo">524</span> * <h5 class='section'>Example:</h5><a name="line.524"></a>
+<span class="sourceLineNo">525</span> * <p class='bcode'><a name="line.525"></a>
+<span class="sourceLineNo">526</span> * <ja>@RestResource</ja>(externalDocs=<js>"{url:'http://juneau.apache.org'}"</js>)<a name="line.526"></a>
+<span class="sourceLineNo">527</span> * </p><a name="line.527"></a>
+<span class="sourceLineNo">528</span> * <p><a name="line.528"></a>
+<span class="sourceLineNo">529</span> * This field can contain variables (e.g. "$L{my.localized.variable}").<a name="line.529"></a>
+<span class="sourceLineNo">530</span> * <p><a name="line.530"></a>
+<span class="sourceLineNo">531</span> * Corresponds to the swagger field <code>/tags</code>.<a name="line.531"></a>
<span class="sourceLineNo">532</span> * <p><a name="line.532"></a>
-<span class="sourceLineNo">533</span> * If the stylesheet cannot be found on the classpath, an attempt to look in the working directory<a name="line.533"></a>
-<span class="sourceLineNo">534</span> * for it will be made. This allows for stylesheets to be placed on the file system in the working<a name="line.534"></a>
-<span class="sourceLineNo">535</span> * directory.<a name="line.535"></a>
-<span class="sourceLineNo">536</span> * <p><a name="line.536"></a>
-<span class="sourceLineNo">537</span> * If the file cannot be located, the request to <js>"[servletpath]/style.css"</js> will return {
<TRUNCATED>
[06/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/rest/RestContext.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/rest/RestContext.html b/content/site/apidocs/src-html/org/apache/juneau/rest/RestContext.html
index fad2db3..3a1aa5e 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/rest/RestContext.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/rest/RestContext.html
@@ -24,1514 +24,1606 @@
<span class="sourceLineNo">016</span>import static org.apache.juneau.internal.StringUtils.*;<a name="line.16"></a>
<span class="sourceLineNo">017</span><a name="line.17"></a>
<span class="sourceLineNo">018</span>import java.io.*;<a name="line.18"></a>
-<span class="sourceLineNo">019</span>import java.lang.reflect.*;<a name="line.19"></a>
-<span class="sourceLineNo">020</span>import java.lang.reflect.Method;<a name="line.20"></a>
-<span class="sourceLineNo">021</span>import java.util.*;<a name="line.21"></a>
-<span class="sourceLineNo">022</span>import java.util.concurrent.*;<a name="line.22"></a>
-<span class="sourceLineNo">023</span>import java.util.concurrent.atomic.*;<a name="line.23"></a>
-<span class="sourceLineNo">024</span><a name="line.24"></a>
-<span class="sourceLineNo">025</span>import javax.activation.*;<a name="line.25"></a>
-<span class="sourceLineNo">026</span>import javax.servlet.*;<a name="line.26"></a>
-<span class="sourceLineNo">027</span><a name="line.27"></a>
-<span class="sourceLineNo">028</span>import org.apache.juneau.*;<a name="line.28"></a>
-<span class="sourceLineNo">029</span>import org.apache.juneau.encoders.*;<a name="line.29"></a>
-<span class="sourceLineNo">030</span>import org.apache.juneau.http.*;<a name="line.30"></a>
-<span class="sourceLineNo">031</span>import org.apache.juneau.ini.*;<a name="line.31"></a>
-<span class="sourceLineNo">032</span>import org.apache.juneau.internal.*;<a name="line.32"></a>
-<span class="sourceLineNo">033</span>import org.apache.juneau.json.*;<a name="line.33"></a>
-<span class="sourceLineNo">034</span>import org.apache.juneau.parser.*;<a name="line.34"></a>
-<span class="sourceLineNo">035</span>import org.apache.juneau.rest.annotation.*;<a name="line.35"></a>
-<span class="sourceLineNo">036</span>import org.apache.juneau.rest.vars.*;<a name="line.36"></a>
-<span class="sourceLineNo">037</span>import org.apache.juneau.serializer.*;<a name="line.37"></a>
-<span class="sourceLineNo">038</span>import org.apache.juneau.svl.*;<a name="line.38"></a>
-<span class="sourceLineNo">039</span>import org.apache.juneau.urlencoding.*;<a name="line.39"></a>
-<span class="sourceLineNo">040</span>import org.apache.juneau.utils.*;<a name="line.40"></a>
-<span class="sourceLineNo">041</span><a name="line.41"></a>
-<span class="sourceLineNo">042</span>/**<a name="line.42"></a>
-<span class="sourceLineNo">043</span> * Contains all the configuration on a REST resource and the entry points for handling REST calls.<a name="line.43"></a>
-<span class="sourceLineNo">044</span> * <p><a name="line.44"></a>
-<span class="sourceLineNo">045</span> * See {@link PropertyStore} for more information about context properties.<a name="line.45"></a>
-<span class="sourceLineNo">046</span> */<a name="line.46"></a>
-<span class="sourceLineNo">047</span>public final class RestContext extends Context {<a name="line.47"></a>
-<span class="sourceLineNo">048</span><a name="line.48"></a>
-<span class="sourceLineNo">049</span> /**<a name="line.49"></a>
-<span class="sourceLineNo">050</span> * <b>Configuration property:</b> Enable header URL parameters.<a name="line.50"></a>
-<span class="sourceLineNo">051</span> * <p><a name="line.51"></a>
-<span class="sourceLineNo">052</span> * <ul><a name="line.52"></a>
-<span class="sourceLineNo">053</span> * <li><b>Name:</b> <js>"RestServlet.allowHeaderParams"</js><a name="line.53"></a>
-<span class="sourceLineNo">054</span> * <li><b>Data type:</b> <code>Boolean</code><a name="line.54"></a>
-<span class="sourceLineNo">055</span> * <li><b>Default:</b> <jk>true</jk><a name="line.55"></a>
-<span class="sourceLineNo">056</span> * </ul><a name="line.56"></a>
-<span class="sourceLineNo">057</span> * <p><a name="line.57"></a>
-<span class="sourceLineNo">058</span> * When enabled, headers such as <js>"Accept"</js> and <js>"Content-Type"</js> to be passed in as URL query parameters.<a name="line.58"></a>
-<span class="sourceLineNo">059</span> * For example: <js>"?Accept=text/json&amp;Content-Type=text/json"</js><a name="line.59"></a>
-<span class="sourceLineNo">060</span> * <p><a name="line.60"></a>
-<span class="sourceLineNo">061</span> * Parameter names are case-insensitive.<a name="line.61"></a>
+<span class="sourceLineNo">019</span>import java.lang.annotation.*;<a name="line.19"></a>
+<span class="sourceLineNo">020</span>import java.lang.reflect.*;<a name="line.20"></a>
+<span class="sourceLineNo">021</span>import java.lang.reflect.Method;<a name="line.21"></a>
+<span class="sourceLineNo">022</span>import java.util.*;<a name="line.22"></a>
+<span class="sourceLineNo">023</span>import java.util.concurrent.*;<a name="line.23"></a>
+<span class="sourceLineNo">024</span>import java.util.concurrent.atomic.*;<a name="line.24"></a>
+<span class="sourceLineNo">025</span><a name="line.25"></a>
+<span class="sourceLineNo">026</span>import javax.activation.*;<a name="line.26"></a>
+<span class="sourceLineNo">027</span>import javax.servlet.*;<a name="line.27"></a>
+<span class="sourceLineNo">028</span><a name="line.28"></a>
+<span class="sourceLineNo">029</span>import org.apache.juneau.*;<a name="line.29"></a>
+<span class="sourceLineNo">030</span>import org.apache.juneau.encoders.*;<a name="line.30"></a>
+<span class="sourceLineNo">031</span>import org.apache.juneau.http.*;<a name="line.31"></a>
+<span class="sourceLineNo">032</span>import org.apache.juneau.ini.*;<a name="line.32"></a>
+<span class="sourceLineNo">033</span>import org.apache.juneau.internal.*;<a name="line.33"></a>
+<span class="sourceLineNo">034</span>import org.apache.juneau.json.*;<a name="line.34"></a>
+<span class="sourceLineNo">035</span>import org.apache.juneau.parser.*;<a name="line.35"></a>
+<span class="sourceLineNo">036</span>import org.apache.juneau.rest.annotation.*;<a name="line.36"></a>
+<span class="sourceLineNo">037</span>import org.apache.juneau.rest.annotation.Properties;<a name="line.37"></a>
+<span class="sourceLineNo">038</span>import org.apache.juneau.rest.vars.*;<a name="line.38"></a>
+<span class="sourceLineNo">039</span>import org.apache.juneau.serializer.*;<a name="line.39"></a>
+<span class="sourceLineNo">040</span>import org.apache.juneau.svl.*;<a name="line.40"></a>
+<span class="sourceLineNo">041</span>import org.apache.juneau.urlencoding.*;<a name="line.41"></a>
+<span class="sourceLineNo">042</span>import org.apache.juneau.utils.*;<a name="line.42"></a>
+<span class="sourceLineNo">043</span><a name="line.43"></a>
+<span class="sourceLineNo">044</span>/**<a name="line.44"></a>
+<span class="sourceLineNo">045</span> * Contains all the configuration on a REST resource and the entry points for handling REST calls.<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * <p><a name="line.46"></a>
+<span class="sourceLineNo">047</span> * See {@link PropertyStore} for more information about context properties.<a name="line.47"></a>
+<span class="sourceLineNo">048</span> */<a name="line.48"></a>
+<span class="sourceLineNo">049</span>public final class RestContext extends Context {<a name="line.49"></a>
+<span class="sourceLineNo">050</span><a name="line.50"></a>
+<span class="sourceLineNo">051</span> /**<a name="line.51"></a>
+<span class="sourceLineNo">052</span> * <b>Configuration property:</b> Enable header URL parameters.<a name="line.52"></a>
+<span class="sourceLineNo">053</span> * <p><a name="line.53"></a>
+<span class="sourceLineNo">054</span> * <ul><a name="line.54"></a>
+<span class="sourceLineNo">055</span> * <li><b>Name:</b> <js>"RestServlet.allowHeaderParams"</js><a name="line.55"></a>
+<span class="sourceLineNo">056</span> * <li><b>Data type:</b> <code>Boolean</code><a name="line.56"></a>
+<span class="sourceLineNo">057</span> * <li><b>Default:</b> <jk>true</jk><a name="line.57"></a>
+<span class="sourceLineNo">058</span> * </ul><a name="line.58"></a>
+<span class="sourceLineNo">059</span> * <p><a name="line.59"></a>
+<span class="sourceLineNo">060</span> * When enabled, headers such as <js>"Accept"</js> and <js>"Content-Type"</js> to be passed in as URL query parameters.<a name="line.60"></a>
+<span class="sourceLineNo">061</span> * For example: <js>"?Accept=text/json&amp;Content-Type=text/json"</js><a name="line.61"></a>
<span class="sourceLineNo">062</span> * <p><a name="line.62"></a>
-<span class="sourceLineNo">063</span> * Useful for debugging REST interface using only a browser.<a name="line.63"></a>
+<span class="sourceLineNo">063</span> * Parameter names are case-insensitive.<a name="line.63"></a>
<span class="sourceLineNo">064</span> * <p><a name="line.64"></a>
-<span class="sourceLineNo">065</span> * Applicable to servlet class only.<a name="line.65"></a>
-<span class="sourceLineNo">066</span> */<a name="line.66"></a>
-<span class="sourceLineNo">067</span> public static final String REST_allowHeaderParams = "RestServlet.allowHeaderParams";<a name="line.67"></a>
-<span class="sourceLineNo">068</span><a name="line.68"></a>
-<span class="sourceLineNo">069</span> /**<a name="line.69"></a>
-<span class="sourceLineNo">070</span> * <b>Configuration property:</b> Enable <js>"method"</js> URL parameter for specific HTTP methods.<a name="line.70"></a>
-<span class="sourceLineNo">071</span> * <p><a name="line.71"></a>
-<span class="sourceLineNo">072</span> * <ul><a name="line.72"></a>
-<span class="sourceLineNo">073</span> * <li><b>Name:</b> <js>"RestServlet.allowMethodParam"</js><a name="line.73"></a>
-<span class="sourceLineNo">074</span> * <li><b>Data type:</b> <code>String</code><a name="line.74"></a>
-<span class="sourceLineNo">075</span> * <li><b>Default:</b> <js>""</js><a name="line.75"></a>
-<span class="sourceLineNo">076</span> * </ul><a name="line.76"></a>
-<span class="sourceLineNo">077</span> * <p><a name="line.77"></a>
-<span class="sourceLineNo">078</span> * When specified, the HTTP method can be overridden by passing in a <js>"method"</js> URL parameter on a regular GET request.<a name="line.78"></a>
-<span class="sourceLineNo">079</span> * For example: <js>"?method=OPTIONS"</js><a name="line.79"></a>
-<span class="sourceLineNo">080</span> * <p><a name="line.80"></a>
-<span class="sourceLineNo">081</span> * Format is a comma-delimited list of HTTP method names that can be passed in as a method parameter.<a name="line.81"></a>
-<span class="sourceLineNo">082</span> * Parameter name is case-insensitive.<a name="line.82"></a>
-<span class="sourceLineNo">083</span> * Use "*" to represent all methods.<a name="line.83"></a>
-<span class="sourceLineNo">084</span> * For backwards compatibility, "true" also means "*".<a name="line.84"></a>
-<span class="sourceLineNo">085</span> * <p><a name="line.85"></a>
-<span class="sourceLineNo">086</span> * Note that per the <a class="doclink" href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html">HTTP specification</a>, special care should<a name="line.86"></a>
-<span class="sourceLineNo">087</span> * be taken when allowing non-safe (POST, PUT, DELETE) methods to be invoked through GET requests.<a name="line.87"></a>
-<span class="sourceLineNo">088</span> * <p><a name="line.88"></a>
-<span class="sourceLineNo">089</span> * Applicable to servlet class only.<a name="line.89"></a>
+<span class="sourceLineNo">065</span> * Useful for debugging REST interface using only a browser.<a name="line.65"></a>
+<span class="sourceLineNo">066</span> * <p><a name="line.66"></a>
+<span class="sourceLineNo">067</span> * Applicable to servlet class only.<a name="line.67"></a>
+<span class="sourceLineNo">068</span> */<a name="line.68"></a>
+<span class="sourceLineNo">069</span> public static final String REST_allowHeaderParams = "RestServlet.allowHeaderParams";<a name="line.69"></a>
+<span class="sourceLineNo">070</span><a name="line.70"></a>
+<span class="sourceLineNo">071</span> /**<a name="line.71"></a>
+<span class="sourceLineNo">072</span> * <b>Configuration property:</b> Enable <js>"method"</js> URL parameter for specific HTTP methods.<a name="line.72"></a>
+<span class="sourceLineNo">073</span> * <p><a name="line.73"></a>
+<span class="sourceLineNo">074</span> * <ul><a name="line.74"></a>
+<span class="sourceLineNo">075</span> * <li><b>Name:</b> <js>"RestServlet.allowMethodParam"</js><a name="line.75"></a>
+<span class="sourceLineNo">076</span> * <li><b>Data type:</b> <code>String</code><a name="line.76"></a>
+<span class="sourceLineNo">077</span> * <li><b>Default:</b> <js>""</js><a name="line.77"></a>
+<span class="sourceLineNo">078</span> * </ul><a name="line.78"></a>
+<span class="sourceLineNo">079</span> * <p><a name="line.79"></a>
+<span class="sourceLineNo">080</span> * When specified, the HTTP method can be overridden by passing in a <js>"method"</js> URL parameter on a regular GET request.<a name="line.80"></a>
+<span class="sourceLineNo">081</span> * For example: <js>"?method=OPTIONS"</js><a name="line.81"></a>
+<span class="sourceLineNo">082</span> * <p><a name="line.82"></a>
+<span class="sourceLineNo">083</span> * Format is a comma-delimited list of HTTP method names that can be passed in as a method parameter.<a name="line.83"></a>
+<span class="sourceLineNo">084</span> * Parameter name is case-insensitive.<a name="line.84"></a>
+<span class="sourceLineNo">085</span> * Use "*" to represent all methods.<a name="line.85"></a>
+<span class="sourceLineNo">086</span> * For backwards compatibility, "true" also means "*".<a name="line.86"></a>
+<span class="sourceLineNo">087</span> * <p><a name="line.87"></a>
+<span class="sourceLineNo">088</span> * Note that per the <a class="doclink" href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html">HTTP specification</a>, special care should<a name="line.88"></a>
+<span class="sourceLineNo">089</span> * be taken when allowing non-safe (POST, PUT, DELETE) methods to be invoked through GET requests.<a name="line.89"></a>
<span class="sourceLineNo">090</span> * <p><a name="line.90"></a>
-<span class="sourceLineNo">091</span> * Example: <js>"HEAD,OPTIONS"</js><a name="line.91"></a>
-<span class="sourceLineNo">092</span> */<a name="line.92"></a>
-<span class="sourceLineNo">093</span> public static final String REST_allowMethodParam = "RestServlet.allowMethodParam";<a name="line.93"></a>
-<span class="sourceLineNo">094</span><a name="line.94"></a>
-<span class="sourceLineNo">095</span> /**<a name="line.95"></a>
-<span class="sourceLineNo">096</span> * <b>Configuration property:</b> Enable <js>"body"</js> URL parameter.<a name="line.96"></a>
-<span class="sourceLineNo">097</span> * <p><a name="line.97"></a>
-<span class="sourceLineNo">098</span> * <ul><a name="line.98"></a>
-<span class="sourceLineNo">099</span> * <li><b>Name:</b> <js>"RestServlet.allowBodyParam"</js><a name="line.99"></a>
-<span class="sourceLineNo">100</span> * <li><b>Data type:</b> <code>Boolean</code><a name="line.100"></a>
-<span class="sourceLineNo">101</span> * <li><b>Default:</b> <jk>true</jk><a name="line.101"></a>
-<span class="sourceLineNo">102</span> * </ul><a name="line.102"></a>
-<span class="sourceLineNo">103</span> * <p><a name="line.103"></a>
-<span class="sourceLineNo">104</span> * When enabled, the HTTP body content on PUT and POST requests can be passed in as text using the <js>"body"</js> URL parameter.<a name="line.104"></a>
-<span class="sourceLineNo">105</span> * For example: <js>"?body={name:'John%20Smith',age:45}"</js><a name="line.105"></a>
-<span class="sourceLineNo">106</span> * <p><a name="line.106"></a>
-<span class="sourceLineNo">107</span> * Parameter name is case-insensitive.<a name="line.107"></a>
+<span class="sourceLineNo">091</span> * Applicable to servlet class only.<a name="line.91"></a>
+<span class="sourceLineNo">092</span> * <p><a name="line.92"></a>
+<span class="sourceLineNo">093</span> * Example: <js>"HEAD,OPTIONS"</js><a name="line.93"></a>
+<span class="sourceLineNo">094</span> */<a name="line.94"></a>
+<span class="sourceLineNo">095</span> public static final String REST_allowMethodParam = "RestServlet.allowMethodParam";<a name="line.95"></a>
+<span class="sourceLineNo">096</span><a name="line.96"></a>
+<span class="sourceLineNo">097</span> /**<a name="line.97"></a>
+<span class="sourceLineNo">098</span> * <b>Configuration property:</b> Enable <js>"body"</js> URL parameter.<a name="line.98"></a>
+<span class="sourceLineNo">099</span> * <p><a name="line.99"></a>
+<span class="sourceLineNo">100</span> * <ul><a name="line.100"></a>
+<span class="sourceLineNo">101</span> * <li><b>Name:</b> <js>"RestServlet.allowBodyParam"</js><a name="line.101"></a>
+<span class="sourceLineNo">102</span> * <li><b>Data type:</b> <code>Boolean</code><a name="line.102"></a>
+<span class="sourceLineNo">103</span> * <li><b>Default:</b> <jk>true</jk><a name="line.103"></a>
+<span class="sourceLineNo">104</span> * </ul><a name="line.104"></a>
+<span class="sourceLineNo">105</span> * <p><a name="line.105"></a>
+<span class="sourceLineNo">106</span> * When enabled, the HTTP body content on PUT and POST requests can be passed in as text using the <js>"body"</js> URL parameter.<a name="line.106"></a>
+<span class="sourceLineNo">107</span> * For example: <js>"?body={name:'John%20Smith',age:45}"</js><a name="line.107"></a>
<span class="sourceLineNo">108</span> * <p><a name="line.108"></a>
-<span class="sourceLineNo">109</span> * Useful for debugging PUT and POST methods using only a browser.<a name="line.109"></a>
+<span class="sourceLineNo">109</span> * Parameter name is case-insensitive.<a name="line.109"></a>
<span class="sourceLineNo">110</span> * <p><a name="line.110"></a>
-<span class="sourceLineNo">111</span> * Applicable to servlet class only.<a name="line.111"></a>
-<span class="sourceLineNo">112</span> */<a name="line.112"></a>
-<span class="sourceLineNo">113</span> public static final String REST_allowBodyParam = "RestServlet.allowBodyParam";<a name="line.113"></a>
-<span class="sourceLineNo">114</span><a name="line.114"></a>
-<span class="sourceLineNo">115</span> /**<a name="line.115"></a>
-<span class="sourceLineNo">116</span> * <b>Configuration property:</b> Render stack traces.<a name="line.116"></a>
-<span class="sourceLineNo">117</span> * <p><a name="line.117"></a>
-<span class="sourceLineNo">118</span> * <ul><a name="line.118"></a>
-<span class="sourceLineNo">119</span> * <li><b>Name:</b> <js>"RestServlet.renderResponseStackTraces"</js><a name="line.119"></a>
-<span class="sourceLineNo">120</span> * <li><b>Data type:</b> <code>Boolean</code><a name="line.120"></a>
-<span class="sourceLineNo">121</span> * <li><b>Default:</b> <jk>false</jk><a name="line.121"></a>
-<span class="sourceLineNo">122</span> * </ul><a name="line.122"></a>
-<span class="sourceLineNo">123</span> * <p><a name="line.123"></a>
-<span class="sourceLineNo">124</span> * Render stack traces in HTTP response bodies when errors occur.<a name="line.124"></a>
+<span class="sourceLineNo">111</span> * Useful for debugging PUT and POST methods using only a browser.<a name="line.111"></a>
+<span class="sourceLineNo">112</span> * <p><a name="line.112"></a>
+<span class="sourceLineNo">113</span> * Applicable to servlet class only.<a name="line.113"></a>
+<span class="sourceLineNo">114</span> */<a name="line.114"></a>
+<span class="sourceLineNo">115</span> public static final String REST_allowBodyParam = "RestServlet.allowBodyParam";<a name="line.115"></a>
+<span class="sourceLineNo">116</span><a name="line.116"></a>
+<span class="sourceLineNo">117</span> /**<a name="line.117"></a>
+<span class="sourceLineNo">118</span> * <b>Configuration property:</b> Render stack traces.<a name="line.118"></a>
+<span class="sourceLineNo">119</span> * <p><a name="line.119"></a>
+<span class="sourceLineNo">120</span> * <ul><a name="line.120"></a>
+<span class="sourceLineNo">121</span> * <li><b>Name:</b> <js>"RestServlet.renderResponseStackTraces"</js><a name="line.121"></a>
+<span class="sourceLineNo">122</span> * <li><b>Data type:</b> <code>Boolean</code><a name="line.122"></a>
+<span class="sourceLineNo">123</span> * <li><b>Default:</b> <jk>false</jk><a name="line.123"></a>
+<span class="sourceLineNo">124</span> * </ul><a name="line.124"></a>
<span class="sourceLineNo">125</span> * <p><a name="line.125"></a>
-<span class="sourceLineNo">126</span> * When enabled, Java stack traces will be rendered in the output response.<a name="line.126"></a>
-<span class="sourceLineNo">127</span> * Useful for debugging, although allowing stack traces to be rendered may cause security concerns.<a name="line.127"></a>
-<span class="sourceLineNo">128</span> * <p><a name="line.128"></a>
-<span class="sourceLineNo">129</span> * Applicable to servlet class only.<a name="line.129"></a>
-<span class="sourceLineNo">130</span> */<a name="line.130"></a>
-<span class="sourceLineNo">131</span> public static final String REST_renderResponseStackTraces = "RestServlet.renderResponseStackTraces";<a name="line.131"></a>
-<span class="sourceLineNo">132</span><a name="line.132"></a>
-<span class="sourceLineNo">133</span> /**<a name="line.133"></a>
-<span class="sourceLineNo">134</span> * <b>Configuration property:</b> Use stack trace hashes.<a name="line.134"></a>
-<span class="sourceLineNo">135</span> * <p><a name="line.135"></a>
-<span class="sourceLineNo">136</span> * <ul><a name="line.136"></a>
-<span class="sourceLineNo">137</span> * <li><b>Name:</b> <js>"RestServlet.useStackTraceHashes"</js><a name="line.137"></a>
-<span class="sourceLineNo">138</span> * <li><b>Data type:</b> <code>Boolean</code><a name="line.138"></a>
-<span class="sourceLineNo">139</span> * <li><b>Default:</b> <jk>true</jk><a name="line.139"></a>
-<span class="sourceLineNo">140</span> * </ul><a name="line.140"></a>
-<span class="sourceLineNo">141</span> * <p><a name="line.141"></a>
-<span class="sourceLineNo">142</span> * When enabled, the number of times an exception has occurred will be determined based on stack trace hashsums,<a name="line.142"></a>
-<span class="sourceLineNo">143</span> * made available through the {@link RestException#getOccurrence()} method.<a name="line.143"></a>
-<span class="sourceLineNo">144</span> * <p><a name="line.144"></a>
-<span class="sourceLineNo">145</span> * Applicable to servlet class only.<a name="line.145"></a>
-<span class="sourceLineNo">146</span> */<a name="line.146"></a>
-<span class="sourceLineNo">147</span> public static final String REST_useStackTraceHashes = "RestServlet.useStackTraceHashes";<a name="line.147"></a>
-<span class="sourceLineNo">148</span><a name="line.148"></a>
-<span class="sourceLineNo">149</span> /**<a name="line.149"></a>
-<span class="sourceLineNo">150</span> * <b>Configuration property:</b> Default character encoding.<a name="line.150"></a>
-<span class="sourceLineNo">151</span> * <p><a name="line.151"></a>
-<span class="sourceLineNo">152</span> * <ul><a name="line.152"></a>
-<span class="sourceLineNo">153</span> * <li><b>Name:</b> <js>"RestServlet.defaultCharset"</js><a name="line.153"></a>
-<span class="sourceLineNo">154</span> * <li><b>Data type:</b> <code>String</code><a name="line.154"></a>
-<span class="sourceLineNo">155</span> * <li><b>Default:</b> <js>"utf-8"</js><a name="line.155"></a>
-<span class="sourceLineNo">156</span> * </ul><a name="line.156"></a>
-<span class="sourceLineNo">157</span> * <p><a name="line.157"></a>
-<span class="sourceLineNo">158</span> * The default character encoding for the request and response if not specified on the request.<a name="line.158"></a>
+<span class="sourceLineNo">126</span> * Render stack traces in HTTP response bodies when errors occur.<a name="line.126"></a>
+<span class="sourceLineNo">127</span> * <p><a name="line.127"></a>
+<span class="sourceLineNo">128</span> * When enabled, Java stack traces will be rendered in the output response.<a name="line.128"></a>
+<span class="sourceLineNo">129</span> * Useful for debugging, although allowing stack traces to be rendered may cause security concerns.<a name="line.129"></a>
+<span class="sourceLineNo">130</span> * <p><a name="line.130"></a>
+<span class="sourceLineNo">131</span> * Applicable to servlet class only.<a name="line.131"></a>
+<span class="sourceLineNo">132</span> */<a name="line.132"></a>
+<span class="sourceLineNo">133</span> public static final String REST_renderResponseStackTraces = "RestServlet.renderResponseStackTraces";<a name="line.133"></a>
+<span class="sourceLineNo">134</span><a name="line.134"></a>
+<span class="sourceLineNo">135</span> /**<a name="line.135"></a>
+<span class="sourceLineNo">136</span> * <b>Configuration property:</b> Use stack trace hashes.<a name="line.136"></a>
+<span class="sourceLineNo">137</span> * <p><a name="line.137"></a>
+<span class="sourceLineNo">138</span> * <ul><a name="line.138"></a>
+<span class="sourceLineNo">139</span> * <li><b>Name:</b> <js>"RestServlet.useStackTraceHashes"</js><a name="line.139"></a>
+<span class="sourceLineNo">140</span> * <li><b>Data type:</b> <code>Boolean</code><a name="line.140"></a>
+<span class="sourceLineNo">141</span> * <li><b>Default:</b> <jk>true</jk><a name="line.141"></a>
+<span class="sourceLineNo">142</span> * </ul><a name="line.142"></a>
+<span class="sourceLineNo">143</span> * <p><a name="line.143"></a>
+<span class="sourceLineNo">144</span> * When enabled, the number of times an exception has occurred will be determined based on stack trace hashsums,<a name="line.144"></a>
+<span class="sourceLineNo">145</span> * made available through the {@link RestException#getOccurrence()} method.<a name="line.145"></a>
+<span class="sourceLineNo">146</span> * <p><a name="line.146"></a>
+<span class="sourceLineNo">147</span> * Applicable to servlet class only.<a name="line.147"></a>
+<span class="sourceLineNo">148</span> */<a name="line.148"></a>
+<span class="sourceLineNo">149</span> public static final String REST_useStackTraceHashes = "RestServlet.useStackTraceHashes";<a name="line.149"></a>
+<span class="sourceLineNo">150</span><a name="line.150"></a>
+<span class="sourceLineNo">151</span> /**<a name="line.151"></a>
+<span class="sourceLineNo">152</span> * <b>Configuration property:</b> Default character encoding.<a name="line.152"></a>
+<span class="sourceLineNo">153</span> * <p><a name="line.153"></a>
+<span class="sourceLineNo">154</span> * <ul><a name="line.154"></a>
+<span class="sourceLineNo">155</span> * <li><b>Name:</b> <js>"RestServlet.defaultCharset"</js><a name="line.155"></a>
+<span class="sourceLineNo">156</span> * <li><b>Data type:</b> <code>String</code><a name="line.156"></a>
+<span class="sourceLineNo">157</span> * <li><b>Default:</b> <js>"utf-8"</js><a name="line.157"></a>
+<span class="sourceLineNo">158</span> * </ul><a name="line.158"></a>
<span class="sourceLineNo">159</span> * <p><a name="line.159"></a>
-<span class="sourceLineNo">160</span> * Applicable to servlet class and methods.<a name="line.160"></a>
-<span class="sourceLineNo">161</span> */<a name="line.161"></a>
-<span class="sourceLineNo">162</span> public static final String REST_defaultCharset = "RestServlet.defaultCharset";<a name="line.162"></a>
-<span class="sourceLineNo">163</span><a name="line.163"></a>
-<span class="sourceLineNo">164</span> /**<a name="line.164"></a>
-<span class="sourceLineNo">165</span> * <b>Configuration property:</b> Expected format of request parameters.<a name="line.165"></a>
-<span class="sourceLineNo">166</span> * <p><a name="line.166"></a>
-<span class="sourceLineNo">167</span> * <ul><a name="line.167"></a>
-<span class="sourceLineNo">168</span> * <li><b>Name:</b> <js>"RestServlet.paramFormat"</js><a name="line.168"></a>
-<span class="sourceLineNo">169</span> * <li><b>Data type:</b> <code>String</code><a name="line.169"></a>
-<span class="sourceLineNo">170</span> * <li><b>Default:</b> <js>"UON"</js><a name="line.170"></a>
-<span class="sourceLineNo">171</span> * </ul><a name="line.171"></a>
-<span class="sourceLineNo">172</span> * <p><a name="line.172"></a>
-<span class="sourceLineNo">173</span> * Possible values:<a name="line.173"></a>
-<span class="sourceLineNo">174</span> * <ul class='spaced-list'><a name="line.174"></a>
-<span class="sourceLineNo">175</span> * <li><js>"UON"</js> - URL-Encoded Object Notation.<br><a name="line.175"></a>
-<span class="sourceLineNo">176</span> * This notation allows for request parameters to contain arbitrarily complex POJOs.<a name="line.176"></a>
-<span class="sourceLineNo">177</span> * <li><js>"PLAIN"</js> - Plain text.<br><a name="line.177"></a>
-<span class="sourceLineNo">178</span> * This treats request parameters as plain text.<br><a name="line.178"></a>
-<span class="sourceLineNo">179</span> * Only POJOs directly convertable from <l>Strings</l> can be represented in parameters when using this mode.<a name="line.179"></a>
-<span class="sourceLineNo">180</span> * </ul><a name="line.180"></a>
-<span class="sourceLineNo">181</span> * <p><a name="line.181"></a>
-<span class="sourceLineNo">182</span> * Note that the parameter value <js>"(foo)"</js> is interpreted as <js>"(foo)"</js> when using plain mode, but<a name="line.182"></a>
-<span class="sourceLineNo">183</span> * <js>"foo"</js> when using UON mode.<a name="line.183"></a>
-<span class="sourceLineNo">184</span> * <p><a name="line.184"></a>
-<span class="sourceLineNo">185</span> * The format can also be specified per-parameter using the {@link FormData#format() @FormData.format()} and {@link Query#format() @Query.format()}<a name="line.185"></a>
-<span class="sourceLineNo">186</span> * annotations.<a name="line.186"></a>
-<span class="sourceLineNo">187</span> * <p><a name="line.187"></a>
-<span class="sourceLineNo">188</span> * Applicable to servlet class and methods.<a name="line.188"></a>
-<span class="sourceLineNo">189</span> */<a name="line.189"></a>
-<span class="sourceLineNo">190</span> public static final String REST_paramFormat = "RestServlet.paramFormat";<a name="line.190"></a>
-<span class="sourceLineNo">191</span><a name="line.191"></a>
-<span class="sourceLineNo">192</span><a name="line.192"></a>
-<span class="sourceLineNo">193</span> //--------------------------------------------------------------------------------<a name="line.193"></a>
-<span class="sourceLineNo">194</span> // Automatically added properties.<a name="line.194"></a>
+<span class="sourceLineNo">160</span> * The default character encoding for the request and response if not specified on the request.<a name="line.160"></a>
+<span class="sourceLineNo">161</span> * <p><a name="line.161"></a>
+<span class="sourceLineNo">162</span> * Applicable to servlet class and methods.<a name="line.162"></a>
+<span class="sourceLineNo">163</span> */<a name="line.163"></a>
+<span class="sourceLineNo">164</span> public static final String REST_defaultCharset = "RestServlet.defaultCharset";<a name="line.164"></a>
+<span class="sourceLineNo">165</span><a name="line.165"></a>
+<span class="sourceLineNo">166</span> /**<a name="line.166"></a>
+<span class="sourceLineNo">167</span> * <b>Configuration property:</b> Expected format of request parameters.<a name="line.167"></a>
+<span class="sourceLineNo">168</span> * <p><a name="line.168"></a>
+<span class="sourceLineNo">169</span> * <ul><a name="line.169"></a>
+<span class="sourceLineNo">170</span> * <li><b>Name:</b> <js>"RestServlet.paramFormat"</js><a name="line.170"></a>
+<span class="sourceLineNo">171</span> * <li><b>Data type:</b> <code>String</code><a name="line.171"></a>
+<span class="sourceLineNo">172</span> * <li><b>Default:</b> <js>"UON"</js><a name="line.172"></a>
+<span class="sourceLineNo">173</span> * </ul><a name="line.173"></a>
+<span class="sourceLineNo">174</span> * <p><a name="line.174"></a>
+<span class="sourceLineNo">175</span> * Possible values:<a name="line.175"></a>
+<span class="sourceLineNo">176</span> * <ul class='spaced-list'><a name="line.176"></a>
+<span class="sourceLineNo">177</span> * <li><js>"UON"</js> - URL-Encoded Object Notation.<br><a name="line.177"></a>
+<span class="sourceLineNo">178</span> * This notation allows for request parameters to contain arbitrarily complex POJOs.<a name="line.178"></a>
+<span class="sourceLineNo">179</span> * <li><js>"PLAIN"</js> - Plain text.<br><a name="line.179"></a>
+<span class="sourceLineNo">180</span> * This treats request parameters as plain text.<br><a name="line.180"></a>
+<span class="sourceLineNo">181</span> * Only POJOs directly convertable from <l>Strings</l> can be represented in parameters when using this mode.<a name="line.181"></a>
+<span class="sourceLineNo">182</span> * </ul><a name="line.182"></a>
+<span class="sourceLineNo">183</span> * <p><a name="line.183"></a>
+<span class="sourceLineNo">184</span> * Note that the parameter value <js>"(foo)"</js> is interpreted as <js>"(foo)"</js> when using plain mode, but<a name="line.184"></a>
+<span class="sourceLineNo">185</span> * <js>"foo"</js> when using UON mode.<a name="line.185"></a>
+<span class="sourceLineNo">186</span> * <p><a name="line.186"></a>
+<span class="sourceLineNo">187</span> * The format can also be specified per-parameter using the {@link FormData#format() @FormData.format()} and {@link Query#format() @Query.format()}<a name="line.187"></a>
+<span class="sourceLineNo">188</span> * annotations.<a name="line.188"></a>
+<span class="sourceLineNo">189</span> * <p><a name="line.189"></a>
+<span class="sourceLineNo">190</span> * Applicable to servlet class and methods.<a name="line.190"></a>
+<span class="sourceLineNo">191</span> */<a name="line.191"></a>
+<span class="sourceLineNo">192</span> public static final String REST_paramFormat = "RestServlet.paramFormat";<a name="line.192"></a>
+<span class="sourceLineNo">193</span><a name="line.193"></a>
+<span class="sourceLineNo">194</span><a name="line.194"></a>
<span class="sourceLineNo">195</span> //--------------------------------------------------------------------------------<a name="line.195"></a>
-<span class="sourceLineNo">196</span><a name="line.196"></a>
-<span class="sourceLineNo">197</span> /**<a name="line.197"></a>
-<span class="sourceLineNo">198</span> * The request servlet path.<a name="line.198"></a>
-<span class="sourceLineNo">199</span> * <p><a name="line.199"></a>
-<span class="sourceLineNo">200</span> * Automatically added to properties returned by {@link SerializerSession#getProperties()} and {@link ParserSession#getProperties()}.<a name="line.200"></a>
+<span class="sourceLineNo">196</span> // Automatically added properties.<a name="line.196"></a>
+<span class="sourceLineNo">197</span> //--------------------------------------------------------------------------------<a name="line.197"></a>
+<span class="sourceLineNo">198</span><a name="line.198"></a>
+<span class="sourceLineNo">199</span> /**<a name="line.199"></a>
+<span class="sourceLineNo">200</span> * The request servlet path.<a name="line.200"></a>
<span class="sourceLineNo">201</span> * <p><a name="line.201"></a>
-<span class="sourceLineNo">202</span> * Equivalent to the value returned by {@link RestRequest#getServletPath()}<a name="line.202"></a>
-<span class="sourceLineNo">203</span> */<a name="line.203"></a>
-<span class="sourceLineNo">204</span> public static final String REST_servletPath = "RestServlet.servletPath";<a name="line.204"></a>
-<span class="sourceLineNo">205</span><a name="line.205"></a>
-<span class="sourceLineNo">206</span> /**<a name="line.206"></a>
-<span class="sourceLineNo">207</span> * The request servlet URI.<a name="line.207"></a>
-<span class="sourceLineNo">208</span> * <p><a name="line.208"></a>
-<span class="sourceLineNo">209</span> * Equivalent to the value returned by {@link RestRequest#getServletURI()}<a name="line.209"></a>
-<span class="sourceLineNo">210</span> */<a name="line.210"></a>
-<span class="sourceLineNo">211</span> public static final String REST_servletURI = "RestServlet.servletURI";<a name="line.211"></a>
-<span class="sourceLineNo">212</span><a name="line.212"></a>
-<span class="sourceLineNo">213</span> /**<a name="line.213"></a>
-<span class="sourceLineNo">214</span> * The request servlet URI.<a name="line.214"></a>
-<span class="sourceLineNo">215</span> * <p><a name="line.215"></a>
-<span class="sourceLineNo">216</span> * Equivalent to the value returned by {@link RestRequest#getRelativeServletURI()}<a name="line.216"></a>
-<span class="sourceLineNo">217</span> */<a name="line.217"></a>
-<span class="sourceLineNo">218</span> public static final String REST_relativeServletURI = "RestServlet.relativeServletURI";<a name="line.218"></a>
-<span class="sourceLineNo">219</span><a name="line.219"></a>
-<span class="sourceLineNo">220</span> /**<a name="line.220"></a>
-<span class="sourceLineNo">221</span> * The request URI path info.<a name="line.221"></a>
-<span class="sourceLineNo">222</span> * <p><a name="line.222"></a>
-<span class="sourceLineNo">223</span> * Automatically added to properties returned by {@link SerializerSession#getProperties()} and {@link ParserSession#getProperties()}.<a name="line.223"></a>
+<span class="sourceLineNo">202</span> * Automatically added to properties returned by {@link SerializerSession#getProperties()} and {@link ParserSession#getProperties()}.<a name="line.202"></a>
+<span class="sourceLineNo">203</span> * <p><a name="line.203"></a>
+<span class="sourceLineNo">204</span> * Equivalent to the value returned by {@link RestRequest#getServletPath()}<a name="line.204"></a>
+<span class="sourceLineNo">205</span> */<a name="line.205"></a>
+<span class="sourceLineNo">206</span> public static final String REST_servletPath = "RestServlet.servletPath";<a name="line.206"></a>
+<span class="sourceLineNo">207</span><a name="line.207"></a>
+<span class="sourceLineNo">208</span> /**<a name="line.208"></a>
+<span class="sourceLineNo">209</span> * The request servlet URI.<a name="line.209"></a>
+<span class="sourceLineNo">210</span> * <p><a name="line.210"></a>
+<span class="sourceLineNo">211</span> * Equivalent to the value returned by {@link RestRequest#getServletURI()}<a name="line.211"></a>
+<span class="sourceLineNo">212</span> */<a name="line.212"></a>
+<span class="sourceLineNo">213</span> public static final String REST_servletURI = "RestServlet.servletURI";<a name="line.213"></a>
+<span class="sourceLineNo">214</span><a name="line.214"></a>
+<span class="sourceLineNo">215</span> /**<a name="line.215"></a>
+<span class="sourceLineNo">216</span> * The request servlet URI.<a name="line.216"></a>
+<span class="sourceLineNo">217</span> * <p><a name="line.217"></a>
+<span class="sourceLineNo">218</span> * Equivalent to the value returned by {@link RestRequest#getRelativeServletURI()}<a name="line.218"></a>
+<span class="sourceLineNo">219</span> */<a name="line.219"></a>
+<span class="sourceLineNo">220</span> public static final String REST_relativeServletURI = "RestServlet.relativeServletURI";<a name="line.220"></a>
+<span class="sourceLineNo">221</span><a name="line.221"></a>
+<span class="sourceLineNo">222</span> /**<a name="line.222"></a>
+<span class="sourceLineNo">223</span> * The request URI path info.<a name="line.223"></a>
<span class="sourceLineNo">224</span> * <p><a name="line.224"></a>
-<span class="sourceLineNo">225</span> * Equivalent to the value returned by {@link RestRequest#getPathInfo()}<a name="line.225"></a>
-<span class="sourceLineNo">226</span> */<a name="line.226"></a>
-<span class="sourceLineNo">227</span> public static final String REST_pathInfo = "RestServlet.pathInfo";<a name="line.227"></a>
-<span class="sourceLineNo">228</span><a name="line.228"></a>
-<span class="sourceLineNo">229</span> /**<a name="line.229"></a>
-<span class="sourceLineNo">230</span> * The request URI.<a name="line.230"></a>
-<span class="sourceLineNo">231</span> * <p><a name="line.231"></a>
-<span class="sourceLineNo">232</span> * Automatically added to properties returned by {@link SerializerSession#getProperties()} and {@link ParserSession#getProperties()}.<a name="line.232"></a>
+<span class="sourceLineNo">225</span> * Automatically added to properties returned by {@link SerializerSession#getProperties()} and {@link ParserSession#getProperties()}.<a name="line.225"></a>
+<span class="sourceLineNo">226</span> * <p><a name="line.226"></a>
+<span class="sourceLineNo">227</span> * Equivalent to the value returned by {@link RestRequest#getPathInfo()}<a name="line.227"></a>
+<span class="sourceLineNo">228</span> */<a name="line.228"></a>
+<span class="sourceLineNo">229</span> public static final String REST_pathInfo = "RestServlet.pathInfo";<a name="line.229"></a>
+<span class="sourceLineNo">230</span><a name="line.230"></a>
+<span class="sourceLineNo">231</span> /**<a name="line.231"></a>
+<span class="sourceLineNo">232</span> * The request URI.<a name="line.232"></a>
<span class="sourceLineNo">233</span> * <p><a name="line.233"></a>
-<span class="sourceLineNo">234</span> * Equivalent to the value returned by {@link RestRequest#getRequestURI()}<a name="line.234"></a>
-<span class="sourceLineNo">235</span> */<a name="line.235"></a>
-<span class="sourceLineNo">236</span> public static final String REST_requestURI = "RestServlet.requestURI";<a name="line.236"></a>
-<span class="sourceLineNo">237</span><a name="line.237"></a>
-<span class="sourceLineNo">238</span> /**<a name="line.238"></a>
-<span class="sourceLineNo">239</span> * The request method.<a name="line.239"></a>
-<span class="sourceLineNo">240</span> * <p><a name="line.240"></a>
-<span class="sourceLineNo">241</span> * Automatically added to properties returned by {@link SerializerSession#getProperties()} and {@link ParserSession#getProperties()}.<a name="line.241"></a>
+<span class="sourceLineNo">234</span> * Automatically added to properties returned by {@link SerializerSession#getProperties()} and {@link ParserSession#getProperties()}.<a name="line.234"></a>
+<span class="sourceLineNo">235</span> * <p><a name="line.235"></a>
+<span class="sourceLineNo">236</span> * Equivalent to the value returned by {@link RestRequest#getRequestURI()}<a name="line.236"></a>
+<span class="sourceLineNo">237</span> */<a name="line.237"></a>
+<span class="sourceLineNo">238</span> public static final String REST_requestURI = "RestServlet.requestURI";<a name="line.238"></a>
+<span class="sourceLineNo">239</span><a name="line.239"></a>
+<span class="sourceLineNo">240</span> /**<a name="line.240"></a>
+<span class="sourceLineNo">241</span> * The request method.<a name="line.241"></a>
<span class="sourceLineNo">242</span> * <p><a name="line.242"></a>
-<span class="sourceLineNo">243</span> * Equivalent to the value returned by {@link RestRequest#getMethod()}<a name="line.243"></a>
-<span class="sourceLineNo">244</span> */<a name="line.244"></a>
-<span class="sourceLineNo">245</span> public static final String REST_method = "RestServlet.method";<a name="line.245"></a>
-<span class="sourceLineNo">246</span><a name="line.246"></a>
-<span class="sourceLineNo">247</span> /**<a name="line.247"></a>
-<span class="sourceLineNo">248</span> * The localized servlet title.<a name="line.248"></a>
-<span class="sourceLineNo">249</span> * <p><a name="line.249"></a>
-<span class="sourceLineNo">250</span> * Automatically added to properties returned by {@link SerializerSession#getProperties()} and {@link ParserSession#getProperties()}.<a name="line.250"></a>
+<span class="sourceLineNo">243</span> * Automatically added to properties returned by {@link SerializerSession#getProperties()} and {@link ParserSession#getProperties()}.<a name="line.243"></a>
+<span class="sourceLineNo">244</span> * <p><a name="line.244"></a>
+<span class="sourceLineNo">245</span> * Equivalent to the value returned by {@link RestRequest#getMethod()}<a name="line.245"></a>
+<span class="sourceLineNo">246</span> */<a name="line.246"></a>
+<span class="sourceLineNo">247</span> public static final String REST_method = "RestServlet.method";<a name="line.247"></a>
+<span class="sourceLineNo">248</span><a name="line.248"></a>
+<span class="sourceLineNo">249</span> /**<a name="line.249"></a>
+<span class="sourceLineNo">250</span> * The localized servlet title.<a name="line.250"></a>
<span class="sourceLineNo">251</span> * <p><a name="line.251"></a>
-<span class="sourceLineNo">252</span> * Equivalent to the value returned by {@link RestRequest#getServletTitle()}<a name="line.252"></a>
-<span class="sourceLineNo">253</span> */<a name="line.253"></a>
-<span class="sourceLineNo">254</span> public static final String REST_servletTitle = "RestServlet.servletTitle";<a name="line.254"></a>
-<span class="sourceLineNo">255</span><a name="line.255"></a>
-<span class="sourceLineNo">256</span> /**<a name="line.256"></a>
-<span class="sourceLineNo">257</span> * The localized servlet description.<a name="line.257"></a>
-<span class="sourceLineNo">258</span> * <p><a name="line.258"></a>
-<span class="sourceLineNo">259</span> * Automatically added to properties returned by {@link SerializerSession#getProperties()} and {@link ParserSession#getProperties()}.<a name="line.259"></a>
+<span class="sourceLineNo">252</span> * Automatically added to properties returned by {@link SerializerSession#getProperties()} and {@link ParserSession#getProperties()}.<a name="line.252"></a>
+<span class="sourceLineNo">253</span> * <p><a name="line.253"></a>
+<span class="sourceLineNo">254</span> * Equivalent to the value returned by {@link RestRequest#getServletTitle()}<a name="line.254"></a>
+<span class="sourceLineNo">255</span> */<a name="line.255"></a>
+<span class="sourceLineNo">256</span> public static final String REST_servletTitle = "RestServlet.servletTitle";<a name="line.256"></a>
+<span class="sourceLineNo">257</span><a name="line.257"></a>
+<span class="sourceLineNo">258</span> /**<a name="line.258"></a>
+<span class="sourceLineNo">259</span> * The localized servlet description.<a name="line.259"></a>
<span class="sourceLineNo">260</span> * <p><a name="line.260"></a>
-<span class="sourceLineNo">261</span> * Equivalent to the value returned by {@link RestRequest#getServletDescription()}<a name="line.261"></a>
-<span class="sourceLineNo">262</span> */<a name="line.262"></a>
-<span class="sourceLineNo">263</span> public static final String REST_servletDescription = "RestServlet.servletDescription";<a name="line.263"></a>
-<span class="sourceLineNo">264</span><a name="line.264"></a>
-<span class="sourceLineNo">265</span> /**<a name="line.265"></a>
-<span class="sourceLineNo">266</span> * The localized method summary.<a name="line.266"></a>
-<span class="sourceLineNo">267</span> * <p><a name="line.267"></a>
-<span class="sourceLineNo">268</span> * Automatically added to properties returned by {@link SerializerSession#getProperties()} and {@link ParserSession#getProperties()}.<a name="line.268"></a>
+<span class="sourceLineNo">261</span> * Automatically added to properties returned by {@link SerializerSession#getProperties()} and {@link ParserSession#getProperties()}.<a name="line.261"></a>
+<span class="sourceLineNo">262</span> * <p><a name="line.262"></a>
+<span class="sourceLineNo">263</span> * Equivalent to the value returned by {@link RestRequest#getServletDescription()}<a name="line.263"></a>
+<span class="sourceLineNo">264</span> */<a name="line.264"></a>
+<span class="sourceLineNo">265</span> public static final String REST_servletDescription = "RestServlet.servletDescription";<a name="line.265"></a>
+<span class="sourceLineNo">266</span><a name="line.266"></a>
+<span class="sourceLineNo">267</span> /**<a name="line.267"></a>
+<span class="sourceLineNo">268</span> * The localized method summary.<a name="line.268"></a>
<span class="sourceLineNo">269</span> * <p><a name="line.269"></a>
-<span class="sourceLineNo">270</span> * Equivalent to the value returned by {@link RestRequest#getMethodSummary()}<a name="line.270"></a>
-<span class="sourceLineNo">271</span> */<a name="line.271"></a>
-<span class="sourceLineNo">272</span> public static final String REST_methodSummary = "RestServlet.methodSummary";<a name="line.272"></a>
-<span class="sourceLineNo">273</span><a name="line.273"></a>
-<span class="sourceLineNo">274</span> /**<a name="line.274"></a>
-<span class="sourceLineNo">275</span> * The localized method description.<a name="line.275"></a>
-<span class="sourceLineNo">276</span> * <p><a name="line.276"></a>
-<span class="sourceLineNo">277</span> * Automatically added to properties returned by {@link SerializerSession#getProperties()} and {@link ParserSession#getProperties()}.<a name="line.277"></a>
+<span class="sourceLineNo">270</span> * Automatically added to properties returned by {@link SerializerSession#getProperties()} and {@link ParserSession#getProperties()}.<a name="line.270"></a>
+<span class="sourceLineNo">271</span> * <p><a name="line.271"></a>
+<span class="sourceLineNo">272</span> * Equivalent to the value returned by {@link RestRequest#getMethodSummary()}<a name="line.272"></a>
+<span class="sourceLineNo">273</span> */<a name="line.273"></a>
+<span class="sourceLineNo">274</span> public static final String REST_methodSummary = "RestServlet.methodSummary";<a name="line.274"></a>
+<span class="sourceLineNo">275</span><a name="line.275"></a>
+<span class="sourceLineNo">276</span> /**<a name="line.276"></a>
+<span class="sourceLineNo">277</span> * The localized method description.<a name="line.277"></a>
<span class="sourceLineNo">278</span> * <p><a name="line.278"></a>
-<span class="sourceLineNo">279</span> * Equivalent to the value returned by {@link RestRequest#getMethodDescription()}<a name="line.279"></a>
-<span class="sourceLineNo">280</span> */<a name="line.280"></a>
-<span class="sourceLineNo">281</span> public static final String REST_methodDescription = "RestServlet.methodDescription";<a name="line.281"></a>
-<span class="sourceLineNo">282</span><a name="line.282"></a>
-<span class="sourceLineNo">283</span><a name="line.283"></a>
-<span class="sourceLineNo">284</span> private final Object resource;<a name="line.284"></a>
-<span class="sourceLineNo">285</span> private final RestConfig config;<a name="line.285"></a>
-<span class="sourceLineNo">286</span> private final boolean<a name="line.286"></a>
-<span class="sourceLineNo">287</span> allowHeaderParams,<a name="line.287"></a>
-<span class="sourceLineNo">288</span> allowBodyParam,<a name="line.288"></a>
-<span class="sourceLineNo">289</span> renderResponseStackTraces,<a name="line.289"></a>
-<span class="sourceLineNo">290</span> useStackTraceHashes;<a name="line.290"></a>
-<span class="sourceLineNo">291</span> private final String<a name="line.291"></a>
-<span class="sourceLineNo">292</span> defaultCharset,<a name="line.292"></a>
-<span class="sourceLineNo">293</span> paramFormat,<a name="line.293"></a>
-<span class="sourceLineNo">294</span> clientVersionHeader,<a name="line.294"></a>
-<span class="sourceLineNo">295</span> fullPath,<a name="line.295"></a>
-<span class="sourceLineNo">296</span> pageTitle, pageText, pageLinks;<a name="line.296"></a>
-<span class="sourceLineNo">297</span> private final Set<String> allowMethodParams;<a name="line.297"></a>
-<span class="sourceLineNo">298</span><a name="line.298"></a>
-<span class="sourceLineNo">299</span> private final ObjectMap properties;<a name="line.299"></a>
-<span class="sourceLineNo">300</span> private final Class<?>[]<a name="line.300"></a>
-<span class="sourceLineNo">301</span> beanFilters,<a name="line.301"></a>
-<span class="sourceLineNo">302</span> pojoSwaps;<a name="line.302"></a>
-<span class="sourceLineNo">303</span> private final SerializerGroup serializers;<a name="line.303"></a>
-<span class="sourceLineNo">304</span> private final ParserGroup parsers;<a name="line.304"></a>
-<span class="sourceLineNo">305</span> private final UrlEncodingSerializer urlEncodingSerializer;<a name="line.305"></a>
-<span class="sourceLineNo">306</span> private final UrlEncodingParser urlEncodingParser;<a name="line.306"></a>
-<span class="sourceLineNo">307</span> private final EncoderGroup encoders;<a name="line.307"></a>
-<span class="sourceLineNo">308</span> private final MediaType[]<a name="line.308"></a>
-<span class="sourceLineNo">309</span> supportedContentTypes,<a name="line.309"></a>
-<span class="sourceLineNo">310</span> supportedAcceptTypes;<a name="line.310"></a>
-<span class="sourceLineNo">311</span> private final Map<String,String> defaultRequestHeaders;<a name="line.311"></a>
-<span class="sourceLineNo">312</span> private final Map<String,Object> defaultResponseHeaders;<a name="line.312"></a>
-<span class="sourceLineNo">313</span> private final BeanContext beanContext;<a name="line.313"></a>
-<span class="sourceLineNo">314</span> private final RestConverter[] converters;<a name="line.314"></a>
-<span class="sourceLineNo">315</span> private final RestGuard[] guards;<a name="line.315"></a>
-<span class="sourceLineNo">316</span> private final ResponseHandler[] responseHandlers;<a name="line.316"></a>
-<span class="sourceLineNo">317</span> private final MimetypesFileTypeMap mimetypesFileTypeMap;<a name="line.317"></a>
-<span class="sourceLineNo">318</span> private final StreamResource styleSheet, favIcon;<a name="line.318"></a>
-<span class="sourceLineNo">319</span> private final Map<String,String> staticFilesMap;<a name="line.319"></a>
-<span class="sourceLineNo">320</span> private final String[] staticFilesPrefixes;<a name="line.320"></a>
-<span class="sourceLineNo">321</span> private final MessageBundle msgs;<a name="line.321"></a>
-<span class="sourceLineNo">322</span> private final ConfigFile configFile;<a name="line.322"></a>
-<span class="sourceLineNo">323</span> private final VarResolver varResolver;<a name="line.323"></a>
-<span class="sourceLineNo">324</span> private final Map<String,CallRouter> callRouters;<a name="line.324"></a>
-<span class="sourceLineNo">325</span> private final Map<String,CallMethod> callMethods;<a name="line.325"></a>
-<span class="sourceLineNo">326</span> private final Map<String,RestContext> childResources;<a name="line.326"></a>
-<span class="sourceLineNo">327</span> private final RestLogger logger;<a name="line.327"></a>
-<span class="sourceLineNo">328</span> private final RestCallHandler callHandler;<a name="line.328"></a>
-<span class="sourceLineNo">329</span> private final RestInfoProvider infoProvider;<a name="line.329"></a>
-<span class="sourceLineNo">330</span> private final RestException initException;<a name="line.330"></a>
-<span class="sourceLineNo">331</span> private final RestContext parentContext;<a name="line.331"></a>
-<span class="sourceLineNo">332</span><a name="line.332"></a>
-<span class="sourceLineNo">333</span> // In-memory cache of images and stylesheets in the org.apache.juneau.rest.htdocs package.<a name="line.333"></a>
-<span class="sourceLineNo">334</span> private final Map<String,StreamResource> staticFilesCache = new ConcurrentHashMap<String,StreamResource>();<a name="line.334"></a>
-<span class="sourceLineNo">335</span> private final Map<String,byte[]> resourceStreams = new ConcurrentHashMap<String,byte[]>();<a name="line.335"></a>
-<span class="sourceLineNo">336</span> private final Map<String,String> resourceStrings = new ConcurrentHashMap<String,String>();<a name="line.336"></a>
-<span class="sourceLineNo">337</span> private final ConcurrentHashMap<Integer,AtomicInteger> stackTraceHashes = new ConcurrentHashMap<Integer,AtomicInteger>();<a name="line.337"></a>
-<span class="sourceLineNo">338</span><a name="line.338"></a>
-<span class="sourceLineNo">339</span><a name="line.339"></a>
-<span class="sourceLineNo">340</span> /**<a name="line.340"></a>
-<span class="sourceLineNo">341</span> * Constructor.<a name="line.341"></a>
-<span class="sourceLineNo">342</span> *<a name="line.342"></a>
-<span class="sourceLineNo">343</span> * @param resource The resource class (a class annotated with {@link RestResource @RestResource}).<a name="line.343"></a>
-<span class="sourceLineNo">344</span> * @param config The servlet configuration object.<a name="line.344"></a>
-<span class="sourceLineNo">345</span> * @throws Exception If any initialization problems were encountered.<a name="line.345"></a>
-<span class="sourceLineNo">346</span> */<a name="line.346"></a>
-<span class="sourceLineNo">347</span> @SuppressWarnings("unchecked")<a name="line.347"></a>
-<span class="sourceLineNo">348</span> public RestContext(Object resource, RestConfig config) throws Exception {<a name="line.348"></a>
-<span class="sourceLineNo">349</span> super(null);<a name="line.349"></a>
-<span class="sourceLineNo">350</span> RestException _initException = null;<a name="line.350"></a>
-<span class="sourceLineNo">351</span> try {<a name="line.351"></a>
-<span class="sourceLineNo">352</span> this.resource = resource;<a name="line.352"></a>
-<span class="sourceLineNo">353</span> this.config = config;<a name="line.353"></a>
-<span class="sourceLineNo">354</span> this.parentContext = config.parentContext;<a name="line.354"></a>
-<span class="sourceLineNo">355</span><a name="line.355"></a>
-<span class="sourceLineNo">356</span> Builder b = new Builder(resource, config);<a name="line.356"></a>
-<span class="sourceLineNo">357</span> this.allowHeaderParams = b.allowHeaderParams;<a name="line.357"></a>
-<span class="sourceLineNo">358</span> this.allowBodyParam = b.allowBodyParam;<a name="line.358"></a>
-<span class="sourceLineNo">359</span> this.renderResponseStackTraces = b.renderResponseStackTraces;<a name="line.359"></a>
-<span class="sourceLineNo">360</span> this.useStackTraceHashes = b.useStackTraceHashes;<a name="line.360"></a>
-<span class="sourceLineNo">361</span> this.allowMethodParams = Collections.unmodifiableSet(b.allowMethodParams);<a name="line.361"></a>
-<span class="sourceLineNo">362</span> this.defaultCharset = b.defaultCharset;<a name="line.362"></a>
-<span class="sourceLineNo">363</span> this.paramFormat = b.paramFormat;<a name="line.363"></a>
-<span class="sourceLineNo">364</span> this.varResolver = b.varResolver;<a name="line.364"></a>
-<span class="sourceLineNo">365</span> this.configFile = b.configFile;<a name="line.365"></a>
-<span class="sourceLineNo">366</span> this.properties = b.properties;<a name="line.366"></a>
-<span class="sourceLineNo">367</span> this.beanFilters = b.beanFilters;<a name="line.367"></a>
-<span class="sourceLineNo">368</span> this.pojoSwaps = b.pojoSwaps;<a name="line.368"></a>
-<span class="sourceLineNo">369</span> this.serializers = b.serializers;<a name="line.369"></a>
-<span class="sourceLineNo">370</span> this.parsers = b.parsers;<a name="line.370"></a>
-<span class="sourceLineNo">371</span> this.urlEncodingSerializer = b.urlEncodingSerializer;<a name="line.371"></a>
-<span class="sourceLineNo">372</span> this.urlEncodingParser = b.urlEncodingParser;<a name="line.372"></a>
-<span class="sourceLineNo">373</span> this.encoders = b.encoders;<a name="line.373"></a>
-<span class="sourceLineNo">374</span> this.supportedContentTypes = ArrayUtils.toObjectArray(b.supportedContentTypes, MediaType.class);<a name="line.374"></a>
-<span class="sourceLineNo">375</span> this.supportedAcceptTypes = ArrayUtils.toObjectArray(b.supportedAcceptTypes, MediaType.class);<a name="line.375"></a>
-<span class="sourceLineNo">376</span> this.clientVersionHeader = b.clientVersionHeader;<a name="line.376"></a>
-<span class="sourceLineNo">377</span> this.defaultRequestHeaders = Collections.unmodifiableMap(b.defaultRequestHeaders);<a name="line.377"></a>
-<span class="sourceLineNo">378</span> this.defaultResponseHeaders = Collections.unmodifiableMap(b.defaultResponseHeaders);<a name="line.378"></a>
-<span class="sourceLineNo">379</span> this.beanContext = b.beanContext;<a name="line.379"></a>
-<span class="sourceLineNo">380</span> this.converters = b.converters.toArray(new RestConverter[b.converters.size()]);<a name="line.380"></a>
-<span class="sourceLineNo">381</span> this.guards = b.guards.toArray(new RestGuard[b.guards.size()]);<a name="line.381"></a>
-<span class="sourceLineNo">382</span> this.responseHandlers = ArrayUtils.toObjectArray(b.responseHandlers, ResponseHandler.class);<a name="line.382"></a>
-<span class="sourceLineNo">383</span> this.mimetypesFileTypeMap = b.mimetypesFileTypeMap;<a name="line.383"></a>
-<span class="sourceLineNo">384</span> this.styleSheet = b.styleSheet;<a name="line.384"></a>
-<span class="sourceLineNo">385</span> this.favIcon = b.favIcon;<a name="line.385"></a>
-<span class="sourceLineNo">386</span> this.staticFilesMap = Collections.unmodifiableMap(b.staticFilesMap);<a name="line.386"></a>
-<span class="sourceLineNo">387</span> this.staticFilesPrefixes = b.staticFilesPrefixes;<a name="line.387"></a>
-<span class="sourceLineNo">388</span> this.msgs = b.messageBundle;<a name="line.388"></a>
-<span class="sourceLineNo">389</span> this.childResources = Collections.synchronizedMap(new LinkedHashMap<String,RestContext>()); // Not unmodifiable on purpose so that children can be replaced.<a name="line.389"></a>
-<span class="sourceLineNo">390</span> this.logger = b.logger;<a name="line.390"></a>
-<span class="sourceLineNo">391</span> this.fullPath = b.fullPath;<a name="line.391"></a>
-<span class="sourceLineNo">392</span> this.pageTitle = b.pageTitle;<a name="line.392"></a>
-<span class="sourceLineNo">393</span> this.pageText = b.pageText;<a name="line.393"></a>
-<span class="sourceLineNo">394</span> this.pageLinks = b.pageLinks;<a name="line.394"></a>
-<span class="sourceLineNo">395</span><a name="line.395"></a>
-<span class="sourceLineNo">396</span> //----------------------------------------------------------------------------------------------------<a name="line.396"></a>
-<span class="sourceLineNo">397</span> // Initialize the child resources.<a name="line.397"></a>
-<span class="sourceLineNo">398</span> // Done after initializing fields above since we pass this object to the child resources.<a name="line.398"></a>
-<span class="sourceLineNo">399</span> //----------------------------------------------------------------------------------------------------<a name="line.399"></a>
-<span class="sourceLineNo">400</span> List<String> methodsFound = new LinkedList<String>(); // Temporary to help debug transient duplicate method issue.<a name="line.400"></a>
-<span class="sourceLineNo">401</span> Map<String,CallRouter.Builder> routers = new LinkedHashMap<String,CallRouter.Builder>();<a name="line.401"></a>
-<span class="sourceLineNo">402</span> Map<String,CallMethod> _javaRestMethods = new LinkedHashMap<String,CallMethod>();<a name="line.402"></a>
-<span class="sourceLineNo">403</span> for (java.lang.reflect.Method method : resource.getClass().getMethods()) {<a name="line.403"></a>
-<span class="sourceLineNo">404</span> if (method.isAnnotationPresent(RestMethod.class)) {<a name="line.404"></a>
-<span class="sourceLineNo">405</span> RestMethod a = method.getAnnotation(RestMethod.class);<a name="line.405"></a>
-<span class="sourceLineNo">406</span> methodsFound.add(method.getName() + "," + a.name() + "," + a.path());<a name="line.406"></a>
-<span class="sourceLineNo">407</span> try {<a name="line.407"></a>
-<span class="sourceLineNo">408</span> if (! Modifier.isPublic(method.getModifiers()))<a name="line.408"></a>
-<span class="sourceLineNo">409</span> throw new RestServletException("@RestMethod method {0}.{1} must be defined as public.", this.getClass().getName(), method.getName());<a name="line.409"></a>
-<span class="sourceLineNo">410</span><a name="line.410"></a>
-<span class="sourceLineNo">411</span> CallMethod sm = new CallMethod(resource, method, this);<a name="line.411"></a>
-<span class="sourceLineNo">412</span> String httpMethod = sm.getHttpMethod();<a name="line.412"></a>
-<span class="sourceLineNo">413</span><a name="line.413"></a>
-<span class="sourceLineNo">414</span> // PROXY is a special case where a method returns an interface that we<a name="line.414"></a>
-<span class="sourceLineNo">415</span> // can perform REST calls against.<a name="line.415"></a>
-<span class="sourceLineNo">416</span> // We override the CallMethod.invoke() method to insert our logic.<a name="line.416"></a>
-<span class="sourceLineNo">417</span> if ("PROXY".equals(httpMethod)) {<a name="line.417"></a>
-<span class="sourceLineNo">418</span><a name="line.418"></a>
-<span class="sourceLineNo">419</span> final ClassMeta<?> interfaceClass = beanContext.getClassMeta(method.getGenericReturnType());<a name="line.419"></a>
-<span class="sourceLineNo">420</span> final Map<String,Method> remoteableMethods = interfaceClass.getRemoteableMethods();<a name="line.420"></a>
-<span class="sourceLineNo">421</span> if (remoteableMethods.isEmpty())<a name="line.421"></a>
-<span class="sourceLineNo">422</span> throw new RestException(SC_INTERNAL_SERVER_ERROR, "Method {0} returns an interface {1} that doesn't define any remoteable methods.", ClassUtils.getMethodSignature(method), interfaceClass.getReadableName());<a name="line.422"></a>
-<span class="sourceLineNo">423</span><a name="line.423"></a>
-<span class="sourceLineNo">424</span> sm = new CallMethod(resource, method, this) {<a name="line.424"></a>
-<span class="sourceLineNo">425</span><a name="line.425"></a>
-<span class="sourceLineNo">426</span> @Override<a name="line.426"></a>
-<span class="sourceLineNo">427</span> int invoke(String pathInfo, RestRequest req, RestResponse res) throws RestException {<a name="line.427"></a>
-<span class="sourceLineNo">428</span><a name="line.428"></a>
-<span class="sourceLineNo">429</span> int rc = super.invoke(pathInfo, req, res);<a name="line.429"></a>
-<span class="sourceLineNo">430</span> if (rc != SC_OK)<a name="line.430"></a>
-<span class="sourceLineNo">431</span> return rc;<a name="line.431"></a>
+<span class="sourceLineNo">279</span> * Automatically added to properties returned by {@link SerializerSession#getProperties()} and {@link ParserSession#getProperties()}.<a name="line.279"></a>
+<span class="sourceLineNo">280</span> * <p><a name="line.280"></a>
+<span class="sourceLineNo">281</span> * Equivalent to the value returned by {@link RestRequest#getMethodDescription()}<a name="line.281"></a>
+<span class="sourceLineNo">282</span> */<a name="line.282"></a>
+<span class="sourceLineNo">283</span> public static final String REST_methodDescription = "RestServlet.methodDescription";<a name="line.283"></a>
+<span class="sourceLineNo">284</span><a name="line.284"></a>
+<span class="sourceLineNo">285</span><a name="line.285"></a>
+<span class="sourceLineNo">286</span> private final Object resource;<a name="line.286"></a>
+<span class="sourceLineNo">287</span> private final RestConfig config;<a name="line.287"></a>
+<span class="sourceLineNo">288</span> private final boolean<a name="line.288"></a>
+<span class="sourceLineNo">289</span> allowHeaderParams,<a name="line.289"></a>
+<span class="sourceLineNo">290</span> allowBodyParam,<a name="line.290"></a>
+<span class="sourceLineNo">291</span> renderResponseStackTraces,<a name="line.291"></a>
+<span class="sourceLineNo">292</span> useStackTraceHashes;<a name="line.292"></a>
+<span class="sourceLineNo">293</span> private final String<a name="line.293"></a>
+<span class="sourceLineNo">294</span> defaultCharset,<a name="line.294"></a>
+<span class="sourceLineNo">295</span> paramFormat,<a name="line.295"></a>
+<span class="sourceLineNo">296</span> clientVersionHeader,<a name="line.296"></a>
+<span class="sourceLineNo">297</span> fullPath,<a name="line.297"></a>
+<span class="sourceLineNo">298</span> pageTitle, pageText, pageLinks;<a name="line.298"></a>
+<span class="sourceLineNo">299</span> private final Set<String> allowMethodParams;<a name="line.299"></a>
+<span class="sourceLineNo">300</span><a name="line.300"></a>
+<span class="sourceLineNo">301</span> private final ObjectMap properties;<a name="line.301"></a>
+<span class="sourceLineNo">302</span> private final Class<?>[]<a name="line.302"></a>
+<span class="sourceLineNo">303</span> beanFilters,<a name="line.303"></a>
+<span class="sourceLineNo">304</span> pojoSwaps;<a name="line.304"></a>
+<span class="sourceLineNo">305</span> private final Map<Class<?>,RestParam> paramResolvers;<a name="line.305"></a>
+<span class="sourceLineNo">306</span> private final SerializerGroup serializers;<a name="line.306"></a>
+<span class="sourceLineNo">307</span> private final ParserGroup parsers;<a name="line.307"></a>
+<span class="sourceLineNo">308</span> private final UrlEncodingSerializer urlEncodingSerializer;<a name="line.308"></a>
+<span class="sourceLineNo">309</span> private final UrlEncodingParser urlEncodingParser;<a name="line.309"></a>
+<span class="sourceLineNo">310</span> private final EncoderGroup encoders;<a name="line.310"></a>
+<span class="sourceLineNo">311</span> private final MediaType[]<a name="line.311"></a>
+<span class="sourceLineNo">312</span> supportedContentTypes,<a name="line.312"></a>
+<span class="sourceLineNo">313</span> supportedAcceptTypes;<a name="line.313"></a>
+<span class="sourceLineNo">314</span> private final Map<String,String> defaultRequestHeaders;<a name="line.314"></a>
+<span class="sourceLineNo">315</span> private final Map<String,Object> defaultResponseHeaders;<a name="line.315"></a>
+<span class="sourceLineNo">316</span> private final BeanContext beanContext;<a name="line.316"></a>
+<span class="sourceLineNo">317</span> private final RestConverter[] converters;<a name="line.317"></a>
+<span class="sourceLineNo">318</span> private final RestGuard[] guards;<a name="line.318"></a>
+<span class="sourceLineNo">319</span> private final ResponseHandler[] responseHandlers;<a name="line.319"></a>
+<span class="sourceLineNo">320</span> private final MimetypesFileTypeMap mimetypesFileTypeMap;<a name="line.320"></a>
+<span class="sourceLineNo">321</span> private final StreamResource styleSheet, favIcon;<a name="line.321"></a>
+<span class="sourceLineNo">322</span> private final Map<String,String> staticFilesMap;<a name="line.322"></a>
+<span class="sourceLineNo">323</span> private final String[] staticFilesPrefixes;<a name="line.323"></a>
+<span class="sourceLineNo">324</span> private final MessageBundle msgs;<a name="line.324"></a>
+<span class="sourceLineNo">325</span> private final ConfigFile configFile;<a name="line.325"></a>
+<span class="sourceLineNo">326</span> private final VarResolver varResolver;<a name="line.326"></a>
+<span class="sourceLineNo">327</span> private final Map<String,CallRouter> callRouters;<a name="line.327"></a>
+<span class="sourceLineNo">328</span> private final Map<String,CallMethod> callMethods;<a name="line.328"></a>
+<span class="sourceLineNo">329</span> private final Map<String,RestContext> childResources;<a name="line.329"></a>
+<span class="sourceLineNo">330</span> private final RestLogger logger;<a name="line.330"></a>
+<span class="sourceLineNo">331</span> private final RestCallHandler callHandler;<a name="line.331"></a>
+<span class="sourceLineNo">332</span> private final RestInfoProvider infoProvider;<a name="line.332"></a>
+<span class="sourceLineNo">333</span> private final RestException initException;<a name="line.333"></a>
+<span class="sourceLineNo">334</span> private final RestContext parentContext;<a name="line.334"></a>
+<span class="sourceLineNo">335</span><a name="line.335"></a>
+<span class="sourceLineNo">336</span> // In-memory cache of images and stylesheets in the org.apache.juneau.rest.htdocs package.<a name="line.336"></a>
+<span class="sourceLineNo">337</span> private final Map<String,StreamResource> staticFilesCache = new ConcurrentHashMap<String,StreamResource>();<a name="line.337"></a>
+<span class="sourceLineNo">338</span> private final Map<String,byte[]> resourceStreams = new ConcurrentHashMap<String,byte[]>();<a name="line.338"></a>
+<span class="sourceLineNo">339</span> private final Map<String,String> resourceStrings = new ConcurrentHashMap<String,String>();<a name="line.339"></a>
+<span class="sourceLineNo">340</span> private final ConcurrentHashMap<Integer,AtomicInteger> stackTraceHashes = new ConcurrentHashMap<Integer,AtomicInteger>();<a name="line.340"></a>
+<span class="sourceLineNo">341</span><a name="line.341"></a>
+<span class="sourceLineNo">342</span><a name="line.342"></a>
+<span class="sourceLineNo">343</span> /**<a name="line.343"></a>
+<span class="sourceLineNo">344</span> * Constructor.<a name="line.344"></a>
+<span class="sourceLineNo">345</span> *<a name="line.345"></a>
+<span class="sourceLineNo">346</span> * @param resource The resource class (a class annotated with {@link RestResource @RestResource}).<a name="line.346"></a>
+<span class="sourceLineNo">347</span> * @param config The servlet configuration object.<a name="line.347"></a>
+<span class="sourceLineNo">348</span> * @throws Exception If any initialization problems were encountered.<a name="line.348"></a>
+<span class="sourceLineNo">349</span> */<a name="line.349"></a>
+<span class="sourceLineNo">350</span> @SuppressWarnings("unchecked")<a name="line.350"></a>
+<span class="sourceLineNo">351</span> public RestContext(Object resource, RestConfig config) throws Exception {<a name="line.351"></a>
+<span class="sourceLineNo">352</span> super(null);<a name="line.352"></a>
+<span class="sourceLineNo">353</span> RestException _initException = null;<a name="line.353"></a>
+<span class="sourceLineNo">354</span> try {<a name="line.354"></a>
+<span class="sourceLineNo">355</span> this.resource = resource;<a name="line.355"></a>
+<span class="sourceLineNo">356</span> this.config = config;<a name="line.356"></a>
+<span class="sourceLineNo">357</span> this.parentContext = config.parentContext;<a name="line.357"></a>
+<span class="sourceLineNo">358</span><a name="line.358"></a>
+<span class="sourceLineNo">359</span> Builder b = new Builder(resource, config);<a name="line.359"></a>
+<span class="sourceLineNo">360</span> this.allowHeaderParams = b.allowHeaderParams;<a name="line.360"></a>
+<span class="sourceLineNo">361</span> this.allowBodyParam = b.allowBodyParam;<a name="line.361"></a>
+<span class="sourceLineNo">362</span> this.renderResponseStackTraces = b.renderResponseStackTraces;<a name="line.362"></a>
+<span class="sourceLineNo">363</span> this.useStackTraceHashes = b.useStackTraceHashes;<a name="line.363"></a>
+<span class="sourceLineNo">364</span> this.allowMethodParams = Collections.unmodifiableSet(b.allowMethodParams);<a name="line.364"></a>
+<span class="sourceLineNo">365</span> this.defaultCharset = b.defaultCharset;<a name="line.365"></a>
+<span class="sourceLineNo">366</span> this.paramFormat = b.paramFormat;<a name="line.366"></a>
+<span class="sourceLineNo">367</span> this.varResolver = b.varResolver;<a name="line.367"></a>
+<span class="sourceLineNo">368</span> this.configFile = b.configFile;<a name="line.368"></a>
+<span class="sourceLineNo">369</span> this.properties = b.properties;<a name="line.369"></a>
+<span class="sourceLineNo">370</span> this.beanFilters = b.beanFilters;<a name="line.370"></a>
+<span class="sourceLineNo">371</span> this.pojoSwaps = b.pojoSwaps;<a name="line.371"></a>
+<span class="sourceLineNo">372</span> this.paramResolvers = Collections.unmodifiableMap(b.paramResolvers);<a name="line.372"></a>
+<span class="sourceLineNo">373</span> this.serializers = b.serializers;<a name="line.373"></a>
+<span class="sourceLineNo">374</span> this.parsers = b.parsers;<a name="line.374"></a>
+<span class="sourceLineNo">375</span> this.urlEncodingSerializer = b.urlEncodingSerializer;<a name="line.375"></a>
+<span class="sourceLineNo">376</span> this.urlEncodingParser = b.urlEncodingParser;<a name="line.376"></a>
+<span class="sourceLineNo">377</span> this.encoders = b.encoders;<a name="line.377"></a>
+<span class="sourceLineNo">378</span> this.supportedContentTypes = ArrayUtils.toObjectArray(b.supportedContentTypes, MediaType.class);<a name="line.378"></a>
+<span class="sourceLineNo">379</span> this.supportedAcceptTypes = ArrayUtils.toObjectArray(b.supportedAcceptTypes, MediaType.class);<a name="line.379"></a>
+<span class="sourceLineNo">380</span> this.clientVersionHeader = b.clientVersionHeader;<a name="line.380"></a>
+<span class="sourceLineNo">381</span> this.defaultRequestHeaders = Collections.unmodifiableMap(b.defaultRequestHeaders);<a name="line.381"></a>
+<span class="sourceLineNo">382</span> this.defaultResponseHeaders = Collections.unmodifiableMap(b.defaultResponseHeaders);<a name="line.382"></a>
+<span class="sourceLineNo">383</span> this.beanContext = b.beanContext;<a name="line.383"></a>
+<span class="sourceLineNo">384</span> this.converters = b.converters.toArray(new RestConverter[b.converters.size()]);<a name="line.384"></a>
+<span class="sourceLineNo">385</span> this.guards = b.guards.toArray(new RestGuard[b.guards.size()]);<a name="line.385"></a>
+<span class="sourceLineNo">386</span> this.responseHandlers = ArrayUtils.toObjectArray(b.responseHandlers, ResponseHandler.class);<a name="line.386"></a>
+<span class="sourceLineNo">387</span> this.mimetypesFileTypeMap = b.mimetypesFileTypeMap;<a name="line.387"></a>
+<span class="sourceLineNo">388</span> this.styleSheet = b.styleSheet;<a name="line.388"></a>
+<span class="sourceLineNo">389</span> this.favIcon = b.favIcon;<a name="line.389"></a>
+<span class="sourceLineNo">390</span> this.staticFilesMap = Collections.unmodifiableMap(b.staticFilesMap);<a name="line.390"></a>
+<span class="sourceLineNo">391</span> this.staticFilesPrefixes = b.staticFilesPrefixes;<a name="line.391"></a>
+<span class="sourceLineNo">392</span> this.msgs = b.messageBundle;<a name="line.392"></a>
+<span class="sourceLineNo">393</span> this.childResources = Collections.synchronizedMap(new LinkedHashMap<String,RestContext>()); // Not unmodifiable on purpose so that children can be replaced.<a name="line.393"></a>
+<span class="sourceLineNo">394</span> this.logger = b.logger;<a name="line.394"></a>
+<span class="sourceLineNo">395</span> this.fullPath = b.fullPath;<a name="line.395"></a>
+<span class="sourceLineNo">396</span> this.pageTitle = b.pageTitle;<a name="line.396"></a>
+<span class="sourceLineNo">397</span> this.pageText = b.pageText;<a name="line.397"></a>
+<span class="sourceLineNo">398</span> this.pageLinks = b.pageLinks;<a name="line.398"></a>
+<span class="sourceLineNo">399</span><a name="line.399"></a>
+<span class="sourceLineNo">400</span> //----------------------------------------------------------------------------------------------------<a name="line.400"></a>
+<span class="sourceLineNo">401</span> // Initialize the child resources.<a name="line.401"></a>
+<span class="sourceLineNo">402</span> // Done after initializing fields above since we pass this object to the child resources.<a name="line.402"></a>
+<span class="sourceLineNo">403</span> //----------------------------------------------------------------------------------------------------<a name="line.403"></a>
+<span class="sourceLineNo">404</span> List<String> methodsFound = new LinkedList<String>(); // Temporary to help debug transient duplicate method issue.<a name="line.404"></a>
+<span class="sourceLineNo">405</span> Map<String,CallRouter.Builder> routers = new LinkedHashMap<String,CallRouter.Builder>();<a name="line.405"></a>
+<span class="sourceLineNo">406</span> Map<String,CallMethod> _javaRestMethods = new LinkedHashMap<String,CallMethod>();<a name="line.406"></a>
+<span class="sourceLineNo">407</span> for (java.lang.reflect.Method method : resource.getClass().getMethods()) {<a name="line.407"></a>
+<span class="sourceLineNo">408</span> if (method.isAnnotationPresent(RestMethod.class)) {<a name="line.408"></a>
+<span class="sourceLineNo">409</span> RestMethod a = method.getAnnotation(RestMethod.class);<a name="line.409"></a>
+<span class="sourceLineNo">410</span> methodsFound.add(method.getName() + "," + a.name() + "," + a.path());<a name="line.410"></a>
+<span class="sourceLineNo">411</span> try {<a name="line.411"></a>
+<span class="sourceLineNo">412</span> if (! Modifier.isPublic(method.getModifiers()))<a name="line.412"></a>
+<span class="sourceLineNo">413</span> throw new RestServletException("@RestMethod method {0}.{1} must be defined as public.", this.getClass().getName(), method.getName());<a name="line.413"></a>
+<span class="sourceLineNo">414</span><a name="line.414"></a>
+<span class="sourceLineNo">415</span> CallMethod sm = new CallMethod(resource, method, this);<a name="line.415"></a>
+<span class="sourceLineNo">416</span> String httpMethod = sm.getHttpMethod();<a name="line.416"></a>
+<span class="sourceLineNo">417</span><a name="line.417"></a>
+<span class="sourceLineNo">418</span> // PROXY is a special case where a method returns an interface that we<a name="line.418"></a>
+<span class="sourceLineNo">419</span> // can perform REST calls against.<a name="line.419"></a>
+<span class="sourceLineNo">420</span> // We override the CallMethod.invoke() method to insert our logic.<a name="line.420"></a>
+<span class="sourceLineNo">421</span> if ("PROXY".equals(httpMethod)) {<a name="line.421"></a>
+<span class="sourceLineNo">422</span><a name="line.422"></a>
+<span class="sourceLineNo">423</span> final ClassMeta<?> interfaceClass = beanContext.getClassMeta(method.getGenericReturnType());<a name="line.423"></a>
+<span class="sourceLineNo">424</span> final Map<String,Method> remoteableMethods = interfaceClass.getRemoteableMethods();<a name="line.424"></a>
+<span class="sourceLineNo">425</span> if (remoteableMethods.isEmpty())<a name="line.425"></a>
+<span class="sourceLineNo">426</span> throw new RestException(SC_INTERNAL_SERVER_ERROR, "Method {0} returns an interface {1} that doesn't define any remoteable methods.", ClassUtils.getMethodSignature(method), interfaceClass.getReadableName());<a name="line.426"></a>
+<span class="sourceLineNo">427</span><a name="line.427"></a>
+<span class="sourceLineNo">428</span> sm = new CallMethod(resource, method, this) {<a name="line.428"></a>
+<span class="sourceLineNo">429</span><a name="line.429"></a>
+<span class="sourceLineNo">430</span> @Override<a name="line.430"></a>
+<span class="sourceLineNo">431</span> int invoke(String pathInfo, RestRequest req, RestResponse res) throws RestException {<a name="line.431"></a>
<span class="sourceLineNo">432</span><a name="line.432"></a>
-<span class="sourceLineNo">433</span> final Object o = res.getOutput();<a name="line.433"></a>
-<span class="sourceLineNo">434</span><a name="line.434"></a>
-<span class="sourceLineNo">435</span> if ("GET".equals(req.getMethod())) {<a name="line.435"></a>
-<span class="sourceLineNo">436</span> res.setOutput(ClassUtils.getMethodInfo(remoteableMethods.values()));<a name="line.436"></a>
-<span class="sourceLineNo">437</span> return SC_OK;<
<TRUNCATED>
[10/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/rest/RequestFormData.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/rest/RequestFormData.html b/content/site/apidocs/src-html/org/apache/juneau/rest/RequestFormData.html
new file mode 100644
index 0000000..2a41e35
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/rest/RequestFormData.html
@@ -0,0 +1,343 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.rest;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>import java.lang.reflect.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span>import java.util.*;<a name="line.16"></a>
+<span class="sourceLineNo">017</span><a name="line.17"></a>
+<span class="sourceLineNo">018</span>import org.apache.juneau.*;<a name="line.18"></a>
+<span class="sourceLineNo">019</span>import org.apache.juneau.internal.*;<a name="line.19"></a>
+<span class="sourceLineNo">020</span>import org.apache.juneau.parser.*;<a name="line.20"></a>
+<span class="sourceLineNo">021</span>import org.apache.juneau.urlencoding.*;<a name="line.21"></a>
+<span class="sourceLineNo">022</span><a name="line.22"></a>
+<span class="sourceLineNo">023</span>/**<a name="line.23"></a>
+<span class="sourceLineNo">024</span> * Represents the parsed form data parameters in an HTTP request.<a name="line.24"></a>
+<span class="sourceLineNo">025</span> */<a name="line.25"></a>
+<span class="sourceLineNo">026</span>@SuppressWarnings("unchecked")<a name="line.26"></a>
+<span class="sourceLineNo">027</span>public class RequestFormData extends LinkedHashMap<String,String[]> {<a name="line.27"></a>
+<span class="sourceLineNo">028</span> private static final long serialVersionUID = 1L;<a name="line.28"></a>
+<span class="sourceLineNo">029</span><a name="line.29"></a>
+<span class="sourceLineNo">030</span> private UrlEncodingParser parser;<a name="line.30"></a>
+<span class="sourceLineNo">031</span> private BeanSession beanSession;<a name="line.31"></a>
+<span class="sourceLineNo">032</span><a name="line.32"></a>
+<span class="sourceLineNo">033</span> RequestFormData setParser(UrlEncodingParser parser) {<a name="line.33"></a>
+<span class="sourceLineNo">034</span> this.parser = parser;<a name="line.34"></a>
+<span class="sourceLineNo">035</span> return this;<a name="line.35"></a>
+<span class="sourceLineNo">036</span> }<a name="line.36"></a>
+<span class="sourceLineNo">037</span><a name="line.37"></a>
+<span class="sourceLineNo">038</span> RequestFormData setBeanSession(BeanSession beanSession) {<a name="line.38"></a>
+<span class="sourceLineNo">039</span> this.beanSession = beanSession;<a name="line.39"></a>
+<span class="sourceLineNo">040</span> return this;<a name="line.40"></a>
+<span class="sourceLineNo">041</span> }<a name="line.41"></a>
+<span class="sourceLineNo">042</span><a name="line.42"></a>
+<span class="sourceLineNo">043</span> /**<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * Sets a request form data parameter value.<a name="line.44"></a>
+<span class="sourceLineNo">045</span> *<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * @param name The parameter name.<a name="line.46"></a>
+<span class="sourceLineNo">047</span> * @param value The parameter value.<a name="line.47"></a>
+<span class="sourceLineNo">048</span> */<a name="line.48"></a>
+<span class="sourceLineNo">049</span> public void put(String name, Object value) {<a name="line.49"></a>
+<span class="sourceLineNo">050</span> super.put(name, new String[]{StringUtils.toString(value)});<a name="line.50"></a>
+<span class="sourceLineNo">051</span> }<a name="line.51"></a>
+<span class="sourceLineNo">052</span><a name="line.52"></a>
+<span class="sourceLineNo">053</span> /**<a name="line.53"></a>
+<span class="sourceLineNo">054</span> * Returns a form data parameter value.<a name="line.54"></a>
+<span class="sourceLineNo">055</span> * <p><a name="line.55"></a>
+<span class="sourceLineNo">056</span> * Parameter lookup is case-insensitive (consistent with WAS, but differs from Tomcat).<a name="line.56"></a>
+<span class="sourceLineNo">057</span> * <p><a name="line.57"></a>
+<span class="sourceLineNo">058</span> * <h5 class='section'>Notes:</h5><a name="line.58"></a>
+<span class="sourceLineNo">059</span> * <ul><a name="line.59"></a>
+<span class="sourceLineNo">060</span> * <li>Calling this method on URL-Encoded FORM posts causes the body content to be loaded and parsed by the underlying servlet API.<a name="line.60"></a>
+<span class="sourceLineNo">061</span> * <li>This method returns the raw unparsed value, and differs from calling <code>getFormDataParameter(name, String.<jk>class</js>)</code><a name="line.61"></a>
+<span class="sourceLineNo">062</span> * which will convert the value from UON notation:<a name="line.62"></a>
+<span class="sourceLineNo">063</span> * <ul><a name="line.63"></a>
+<span class="sourceLineNo">064</span> * <li><js>"null"</js> =&gt; <jk>null</jk><a name="line.64"></a>
+<span class="sourceLineNo">065</span> * <li><js>"'null'"</js> =&gt; <js>"null"</js><a name="line.65"></a>
+<span class="sourceLineNo">066</span> * <li><js>"'foo bar'"</js> =&gt; <js>"foo bar"</js><a name="line.66"></a>
+<span class="sourceLineNo">067</span> * <li><js>"foo~~bar"</js> =&gt; <js>"foo~bar"</js><a name="line.67"></a>
+<span class="sourceLineNo">068</span> * </ul><a name="line.68"></a>
+<span class="sourceLineNo">069</span> * </ul><a name="line.69"></a>
+<span class="sourceLineNo">070</span> *<a name="line.70"></a>
+<span class="sourceLineNo">071</span> * @param name The form data parameter name.<a name="line.71"></a>
+<span class="sourceLineNo">072</span> * @return The parameter value, or <jk>null</jk> if parameter does not exist.<a name="line.72"></a>
+<span class="sourceLineNo">073</span> */<a name="line.73"></a>
+<span class="sourceLineNo">074</span> public String getFirst(String name) {<a name="line.74"></a>
+<span class="sourceLineNo">075</span> String[] v = get(name);<a name="line.75"></a>
+<span class="sourceLineNo">076</span> if (v == null || v.length == 0)<a name="line.76"></a>
+<span class="sourceLineNo">077</span> return null;<a name="line.77"></a>
+<span class="sourceLineNo">078</span> if (v.length == 1 && v[0] != null && v[0].isEmpty()) {<a name="line.78"></a>
+<span class="sourceLineNo">079</span> // Fix for behavior difference between Tomcat and WAS.<a name="line.79"></a>
+<span class="sourceLineNo">080</span> // getParameter("foo") on "&foo" in Tomcat returns "".<a name="line.80"></a>
+<span class="sourceLineNo">081</span> // getParameter("foo") on "&foo" in WAS returns null.<a name="line.81"></a>
+<span class="sourceLineNo">082</span> if (containsKey(name))<a name="line.82"></a>
+<span class="sourceLineNo">083</span> return null;<a name="line.83"></a>
+<span class="sourceLineNo">084</span> }<a name="line.84"></a>
+<span class="sourceLineNo">085</span> return v[0];<a name="line.85"></a>
+<span class="sourceLineNo">086</span> }<a name="line.86"></a>
+<span class="sourceLineNo">087</span><a name="line.87"></a>
+<span class="sourceLineNo">088</span> /**<a name="line.88"></a>
+<span class="sourceLineNo">089</span> * Same as {@link #getFirst(String)} except returns a default value if <jk>null</jk> or empty.<a name="line.89"></a>
+<span class="sourceLineNo">090</span> *<a name="line.90"></a>
+<span class="sourceLineNo">091</span> * @param name The form data parameter name.<a name="line.91"></a>
+<span class="sourceLineNo">092</span> * @param def The default value.<a name="line.92"></a>
+<span class="sourceLineNo">093</span> * @return The parameter value, or the default value if <jk>null</jk> or empty.<a name="line.93"></a>
+<span class="sourceLineNo">094</span> */<a name="line.94"></a>
+<span class="sourceLineNo">095</span> public String getFirst(String name, String def) {<a name="line.95"></a>
+<span class="sourceLineNo">096</span> String val = getFirst(name);<a name="line.96"></a>
+<span class="sourceLineNo">097</span> if (val == null || val.isEmpty())<a name="line.97"></a>
+<span class="sourceLineNo">098</span> return def;<a name="line.98"></a>
+<span class="sourceLineNo">099</span> return val;<a name="line.99"></a>
+<span class="sourceLineNo">100</span> }<a name="line.100"></a>
+<span class="sourceLineNo">101</span><a name="line.101"></a>
+<span class="sourceLineNo">102</span> /**<a name="line.102"></a>
+<span class="sourceLineNo">103</span> * Returns the specified form data parameter value converted to a POJO using the<a name="line.103"></a>
+<span class="sourceLineNo">104</span> * {@link UrlEncodingParser} registered with this servlet.<a name="line.104"></a>
+<span class="sourceLineNo">105</span> * <p><a name="line.105"></a>
+<span class="sourceLineNo">106</span> * <h5 class='section'>Examples:</h5><a name="line.106"></a>
+<span class="sourceLineNo">107</span> * <p class='bcode'><a name="line.107"></a>
+<span class="sourceLineNo">108</span> * <jc>// Parse into an integer.</jc><a name="line.108"></a>
+<span class="sourceLineNo">109</span> * <jk>int</jk> myparam = req.getFormDataParameter(<js>"myparam"</js>, <jk>int</jk>.<jk>class</jk>);<a name="line.109"></a>
+<span class="sourceLineNo">110</span> *<a name="line.110"></a>
+<span class="sourceLineNo">111</span> * <jc>// Parse into an int array.</jc><a name="line.111"></a>
+<span class="sourceLineNo">112</span> * <jk>int</jk>[] myparam = req.getFormDataParameter(<js>"myparam"</js>, <jk>int</jk>[].<jk>class</jk>);<a name="line.112"></a>
+<span class="sourceLineNo">113</span><a name="line.113"></a>
+<span class="sourceLineNo">114</span> * <jc>// Parse into a bean.</jc><a name="line.114"></a>
+<span class="sourceLineNo">115</span> * MyBean myparam = req.getFormDataParameter(<js>"myparam"</js>, MyBean.<jk>class</jk>);<a name="line.115"></a>
+<span class="sourceLineNo">116</span> *<a name="line.116"></a>
+<span class="sourceLineNo">117</span> * <jc>// Parse into a linked-list of objects.</jc><a name="line.117"></a>
+<span class="sourceLineNo">118</span> * List myparam = req.getFormDataParameter(<js>"myparam"</js>, LinkedList.<jk>class</jk>);<a name="line.118"></a>
+<span class="sourceLineNo">119</span> *<a name="line.119"></a>
+<span class="sourceLineNo">120</span> * <jc>// Parse into a map of object keys/values.</jc><a name="line.120"></a>
+<span class="sourceLineNo">121</span> * Map myparam = req.getFormDataParameter(<js>"myparam"</js>, TreeMap.<jk>class</jk>);<a name="line.121"></a>
+<span class="sourceLineNo">122</span> * </p><a name="line.122"></a>
+<span class="sourceLineNo">123</span> * <p><a name="line.123"></a>
+<span class="sourceLineNo">124</span> * <h5 class='section'>Notes:</h5><a name="line.124"></a>
+<span class="sourceLineNo">125</span> * <ul><a name="line.125"></a>
+<span class="sourceLineNo">126</span> * <li>Calling this method on URL-Encoded FORM posts causes the body content to be loaded and parsed by the underlying servlet API.<a name="line.126"></a>
+<span class="sourceLineNo">127</span> * </ul><a name="line.127"></a>
+<span class="sourceLineNo">128</span> *<a name="line.128"></a>
+<span class="sourceLineNo">129</span> * @param name The parameter name.<a name="line.129"></a>
+<span class="sourceLineNo">130</span> * @param type The class type to convert the parameter value to.<a name="line.130"></a>
+<span class="sourceLineNo">131</span> * @param <T> The class type to convert the parameter value to.<a name="line.131"></a>
+<span class="sourceLineNo">132</span> * @return The parameter value converted to the specified class type.<a name="line.132"></a>
+<span class="sourceLineNo">133</span> * @throws ParseException<a name="line.133"></a>
+<span class="sourceLineNo">134</span> */<a name="line.134"></a>
+<span class="sourceLineNo">135</span> public <T> T get(String name, Class<T> type) throws ParseException {<a name="line.135"></a>
+<span class="sourceLineNo">136</span> return parse(name, beanSession.getClassMeta(type));<a name="line.136"></a>
+<span class="sourceLineNo">137</span> }<a name="line.137"></a>
+<span class="sourceLineNo">138</span><a name="line.138"></a>
+<span class="sourceLineNo">139</span> /**<a name="line.139"></a>
+<span class="sourceLineNo">140</span> * Same as {@link #get(String, Class)} except returns a default value if not specified.<a name="line.140"></a>
+<span class="sourceLineNo">141</span> *<a name="line.141"></a>
+<span class="sourceLineNo">142</span> * @param name The parameter name.<a name="line.142"></a>
+<span class="sourceLineNo">143</span> * @param def The default value if the parameter was not specified or is <jk>null</jk>.<a name="line.143"></a>
+<span class="sourceLineNo">144</span> * @param type The class type to convert the parameter value to.<a name="line.144"></a>
+<span class="sourceLineNo">145</span> * @param <T> The class type to convert the parameter value to.<a name="line.145"></a>
+<span class="sourceLineNo">146</span> * @return The parameter value converted to the specified class type.<a name="line.146"></a>
+<span class="sourceLineNo">147</span> * @throws ParseException<a name="line.147"></a>
+<span class="sourceLineNo">148</span> */<a name="line.148"></a>
+<span class="sourceLineNo">149</span> public <T> T get(String name, T def, Class<T> type) throws ParseException {<a name="line.149"></a>
+<span class="sourceLineNo">150</span> return parse(name, def, beanSession.getClassMeta(type));<a name="line.150"></a>
+<span class="sourceLineNo">151</span> }<a name="line.151"></a>
+<span class="sourceLineNo">152</span><a name="line.152"></a>
+<span class="sourceLineNo">153</span> /**<a name="line.153"></a>
+<span class="sourceLineNo">154</span> * Same as {@link #get(String, Class)} except for use on multi-part parameters<a name="line.154"></a>
+<span class="sourceLineNo">155</span> * (e.g. <js>"key=1&amp;key=2&amp;key=3"</js> instead of <js>"key=(1,2,3)"</js>)<a name="line.155"></a>
+<span class="sourceLineNo">156</span> * <p><a name="line.156"></a>
+<span class="sourceLineNo">157</span> * This method must only be called when parsing into classes of type Collection or array.<a name="line.157"></a>
+<span class="sourceLineNo">158</span> *<a name="line.158"></a>
+<span class="sourceLineNo">159</span> * @param name The parameter name.<a name="line.159"></a>
+<span class="sourceLineNo">160</span> * @param type The class type to convert the parameter value to.<a name="line.160"></a>
+<span class="sourceLineNo">161</span> * @return The parameter value converted to the specified class type.<a name="line.161"></a>
+<span class="sourceLineNo">162</span> * @throws ParseException<a name="line.162"></a>
+<span class="sourceLineNo">163</span> */<a name="line.163"></a>
+<span class="sourceLineNo">164</span> public <T> T getAll(String name, Class<T> type) throws ParseException {<a name="line.164"></a>
+<span class="sourceLineNo">165</span> return parseAll(name, beanSession.getClassMeta(type));<a name="line.165"></a>
+<span class="sourceLineNo">166</span> }<a name="line.166"></a>
+<span class="sourceLineNo">167</span><a name="line.167"></a>
+<span class="sourceLineNo">168</span> /**<a name="line.168"></a>
+<span class="sourceLineNo">169</span> * Returns the specified form data parameter value converted to a POJO using the<a name="line.169"></a>
+<span class="sourceLineNo">170</span> * {@link UrlEncodingParser} registered with this servlet.<a name="line.170"></a>
+<span class="sourceLineNo">171</span> * <p><a name="line.171"></a>
+<span class="sourceLineNo">172</span> * <h5 class='section'>Notes:</h5><a name="line.172"></a>
+<span class="sourceLineNo">173</span> * <ul><a name="line.173"></a>
+<span class="sourceLineNo">174</span> * <li>Calling this method on URL-Encoded FORM posts causes the body content to be loaded and parsed by the underlying servlet API.<a name="line.174"></a>
+<span class="sourceLineNo">175</span> * <li>Use this method if you want to parse into a parameterized <code>Map</code>/<code>Collection</code> object.<a name="line.175"></a>
+<span class="sourceLineNo">176</span> * </ul><a name="line.176"></a>
+<span class="sourceLineNo">177</span> * <p><a name="line.177"></a>
+<span class="sourceLineNo">178</span> * <h5 class='section'>Examples:</h5><a name="line.178"></a>
+<span class="sourceLineNo">179</span> * <p class='bcode'><a name="line.179"></a>
+<span class="sourceLineNo">180</span> * <jc>// Parse into a linked-list of strings.</jc><a name="line.180"></a>
+<span class="sourceLineNo">181</span> * List&lt;String&gt; myparam = req.getFormDataParameter(<js>"myparam"</js>, LinkedList.<jk>class</jk>, String.<jk>class</jk>);<a name="line.181"></a>
+<span class="sourceLineNo">182</span> *<a name="line.182"></a>
+<span class="sourceLineNo">183</span> * <jc>// Parse into a linked-list of linked-lists of strings.</jc><a name="line.183"></a>
+<span class="sourceLineNo">184</span> * List&lt;List&lt;String&gt;&gt; myparam = req.getFormDataParameter(<js>"myparam"</js>, LinkedList.<jk>class</jk>, LinkedList.<jk>class</jk>, String.<jk>class</jk>);<a name="line.184"></a>
+<span class="sourceLineNo">185</span> *<a name="line.185"></a>
+<span class="sourceLineNo">186</span> * <jc>// Parse into a map of string keys/values.</jc><a name="line.186"></a>
+<span class="sourceLineNo">187</span> * Map&lt;String,String&gt; myparam = req.getFormDataParameter(<js>"myparam"</js>, TreeMap.<jk>class</jk>, String.<jk>class</jk>, String.<jk>class</jk>);<a name="line.187"></a>
+<span class="sourceLineNo">188</span> *<a name="line.188"></a>
+<span class="sourceLineNo">189</span> * <jc>// Parse into a map containing string keys and values of lists containing beans.</jc><a name="line.189"></a>
+<span class="sourceLineNo">190</span> * Map&lt;String,List&lt;MyBean&gt;&gt; myparam = req.getFormDataParameter(<js>"myparam"</js>, TreeMap.<jk>class</jk>, String.<jk>class</jk>, List.<jk>class</jk>, MyBean.<jk>class</jk>);<a name="line.190"></a>
+<span class="sourceLineNo">191</span> * </p><a name="line.191"></a>
+<span class="sourceLineNo">192</span> *<a name="line.192"></a>
+<span class="sourceLineNo">193</span> * @param name The parameter name.<a name="line.193"></a>
+<span class="sourceLineNo">194</span> * @param type The type of object to create.<a name="line.194"></a>
+<span class="sourceLineNo">195</span> * <br>Can be any of the following: {@link ClassMeta}, {@link Class}, {@link ParameterizedType}, {@link GenericArrayType}<a name="line.195"></a>
+<span class="sourceLineNo">196</span> * @param args The type arguments of the class if it's a collection or map.<a name="line.196"></a>
+<span class="sourceLineNo">197</span> * <br>Can be any of the following: {@link ClassMeta}, {@link Class}, {@link ParameterizedType}, {@link GenericArrayType}<a name="line.197"></a>
+<span class="sourceLineNo">198</span> * <br>Ignored if the main type is not a map or collection.<a name="line.198"></a>
+<span class="sourceLineNo">199</span> * @return The parameter value converted to the specified class type.<a name="line.199"></a>
+<span class="sourceLineNo">200</span> * @throws ParseException<a name="line.200"></a>
+<span class="sourceLineNo">201</span> */<a name="line.201"></a>
+<span class="sourceLineNo">202</span> public <T> T get(String name, Type type, Type...args) throws ParseException {<a name="line.202"></a>
+<span class="sourceLineNo">203</span> return (T)parse(name, beanSession.getClassMeta(type, args));<a name="line.203"></a>
+<span class="sourceLineNo">204</span> }<a name="line.204"></a>
+<span class="sourceLineNo">205</span><a name="line.205"></a>
+<span class="sourceLineNo">206</span> /**<a name="line.206"></a>
+<span class="sourceLineNo">207</span> * Same as {@link #get(String, Type, Type...)} except for use on multi-part parameters<a name="line.207"></a>
+<span class="sourceLineNo">208</span> * (e.g. <js>"key=1&amp;key=2&amp;key=3"</js> instead of <js>"key=(1,2,3)"</js>)<a name="line.208"></a>
+<span class="sourceLineNo">209</span> * <p><a name="line.209"></a>
+<span class="sourceLineNo">210</span> * This method must only be called when parsing into classes of type Collection or array.<a name="line.210"></a>
+<span class="sourceLineNo">211</span> *<a name="line.211"></a>
+<span class="sourceLineNo">212</span> * @param name The parameter name.<a name="line.212"></a>
+<span class="sourceLineNo">213</span> * @param type The type of object to create.<a name="line.213"></a>
+<span class="sourceLineNo">214</span> * <br>Can be any of the following: {@link ClassMeta}, {@link Class}, {@link ParameterizedType}, {@link GenericArrayType}<a name="line.214"></a>
+<span class="sourceLineNo">215</span> * @param args The type arguments of the class if it's a collection or map.<a name="line.215"></a>
+<span class="sourceLineNo">216</span> * <br>Can be any of the following: {@link ClassMeta}, {@link Class}, {@link ParameterizedType}, {@link GenericArrayType}<a name="line.216"></a>
+<span class="sourceLineNo">217</span> * <br>Ignored if the main type is not a map or collection.<a name="line.217"></a>
+<span class="sourceLineNo">218</span> * @return The parameter value converted to the specified class type.<a name="line.218"></a>
+<span class="sourceLineNo">219</span> * @throws ParseException<a name="line.219"></a>
+<span class="sourceLineNo">220</span> */<a name="line.220"></a>
+<span class="sourceLineNo">221</span> public <T> T getAll(String name, Type type, Type...args) throws ParseException {<a name="line.221"></a>
+<span class="sourceLineNo">222</span> return (T)parseAll(name, beanSession.getClassMeta(type, args));<a name="line.222"></a>
+<span class="sourceLineNo">223</span> }<a name="line.223"></a>
+<span class="sourceLineNo">224</span><a name="line.224"></a>
+<span class="sourceLineNo">225</span> /* Workhorse method */<a name="line.225"></a>
+<span class="sourceLineNo">226</span> <T> T parse(String name, T def, ClassMeta<T> cm) throws ParseException {<a name="line.226"></a>
+<span class="sourceLineNo">227</span> String val = getFirst(name);<a name="line.227"></a>
+<span class="sourceLineNo">228</span> if (val == null)<a name="line.228"></a>
+<span class="sourceLineNo">229</span> return def;<a name="line.229"></a>
+<span class="sourceLineNo">230</span> return parseValue(val, cm);<a name="line.230"></a>
+<span class="sourceLineNo">231</span> }<a name="line.231"></a>
+<span class="sourceLineNo">232</span><a name="line.232"></a>
+<span class="sourceLineNo">233</span> /* Workhorse method */<a name="line.233"></a>
+<span class="sourceLineNo">234</span> <T> T parse(String name, ClassMeta<T> cm) throws ParseException {<a name="line.234"></a>
+<span class="sourceLineNo">235</span> String val = getFirst(name);<a name="line.235"></a>
+<span class="sourceLineNo">236</span> if (cm.isPrimitive() && (val == null || val.isEmpty()))<a name="line.236"></a>
+<span class="sourceLineNo">237</span> return cm.getPrimitiveDefault();<a name="line.237"></a>
+<span class="sourceLineNo">238</span> return parseValue(val, cm);<a name="line.238"></a>
+<span class="sourceLineNo">239</span> }<a name="line.239"></a>
+<span class="sourceLineNo">240</span><a name="line.240"></a>
+<span class="sourceLineNo">241</span> /* Workhorse method */<a name="line.241"></a>
+<span class="sourceLineNo">242</span> @SuppressWarnings("rawtypes")<a name="line.242"></a>
+<span class="sourceLineNo">243</span> <T> T parseAll(String name, ClassMeta<T> cm) throws ParseException {<a name="line.243"></a>
+<span class="sourceLineNo">244</span> String[] p = get(name);<a name="line.244"></a>
+<span class="sourceLineNo">245</span> if (p == null)<a name="line.245"></a>
+<span class="sourceLineNo">246</span> return null;<a name="line.246"></a>
+<span class="sourceLineNo">247</span> if (cm.isArray()) {<a name="line.247"></a>
+<span class="sourceLineNo">248</span> List c = new ArrayList();<a name="line.248"></a>
+<span class="sourceLineNo">249</span> for (int i = 0; i < p.length; i++)<a name="line.249"></a>
+<span class="sourceLineNo">250</span> c.add(parseValue(p[i], cm.getElementType()));<a name="line.250"></a>
+<span class="sourceLineNo">251</span> return (T)ArrayUtils.toArray(c, cm.getElementType().getInnerClass());<a name="line.251"></a>
+<span class="sourceLineNo">252</span> } else if (cm.isCollection()) {<a name="line.252"></a>
+<span class="sourceLineNo">253</span> try {<a name="line.253"></a>
+<span class="sourceLineNo">254</span> Collection c = (Collection)(cm.canCreateNewInstance() ? cm.newInstance() : new ObjectList());<a name="line.254"></a>
+<span class="sourceLineNo">255</span> for (int i = 0; i < p.length; i++)<a name="line.255"></a>
+<span class="sourceLineNo">256</span> c.add(parseValue(p[i], cm.getElementType()));<a name="line.256"></a>
+<span class="sourceLineNo">257</span> return (T)c;<a name="line.257"></a>
+<span class="sourceLineNo">258</span> } catch (ParseException e) {<a name="line.258"></a>
+<span class="sourceLineNo">259</span> throw e;<a name="line.259"></a>
+<span class="sourceLineNo">260</span> } catch (Exception e) {<a name="line.260"></a>
+<span class="sourceLineNo">261</span> // Typically an instantiation exception.<a name="line.261"></a>
+<span class="sourceLineNo">262</span> throw new ParseException(e);<a name="line.262"></a>
+<span class="sourceLineNo">263</span> }<a name="line.263"></a>
+<span class="sourceLineNo">264</span> }<a name="line.264"></a>
+<span class="sourceLineNo">265</span> throw new ParseException("Invalid call to getParameters(String, ClassMeta). Class type must be a Collection or array.");<a name="line.265"></a>
+<span class="sourceLineNo">266</span> }<a name="line.266"></a>
+<span class="sourceLineNo">267</span><a name="line.267"></a>
+<span class="sourceLineNo">268</span> private <T> T parseValue(String val, ClassMeta<T> c) throws ParseException {<a name="line.268"></a>
+<span class="sourceLineNo">269</span> return parser.parsePart(val, c);<a name="line.269"></a>
+<span class="sourceLineNo">270</span> }<a name="line.270"></a>
+<span class="sourceLineNo">271</span>}<a name="line.271"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
[43/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/HeaderTimestamp.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/HeaderTimestamp.html b/content/site/apidocs/org/apache/juneau/http/HeaderTimestamp.html
new file mode 100644
index 0000000..b4d070c
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/HeaderTimestamp.html
@@ -0,0 +1,313 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>HeaderTimestamp (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="HeaderTimestamp (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":10,"i1":10};
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/HeaderStringArray.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/HeaderUrl.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/HeaderTimestamp.html" target="_top">Frames</a></li>
+<li><a href="HeaderTimestamp.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li><a href="#constructor.summary">Constr</a> | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li><a href="#constructor.detail">Constr</a> | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class HeaderTimestamp" class="title">Class HeaderTimestamp</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.HeaderTimestamp</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt>Direct Known Subclasses:</dt>
+<dd><a href="../../../../org/apache/juneau/http/Date.html" title="class in org.apache.juneau.http">Date</a>, <a href="../../../../org/apache/juneau/http/Expires.html" title="class in org.apache.juneau.http">Expires</a>, <a href="../../../../org/apache/juneau/http/IfModifiedSince.html" title="class in org.apache.juneau.http">IfModifiedSince</a>, <a href="../../../../org/apache/juneau/http/IfUnmodifiedSince.html" title="class in org.apache.juneau.http">IfUnmodifiedSince</a>, <a href="../../../../org/apache/juneau/http/LastModified.html" title="class in org.apache.juneau.http">LastModified</a></dd>
+</dl>
+<hr>
+<br>
+<pre>public class <a href="../../../../src-html/org/apache/juneau/http/HeaderTimestamp.html#line.25">HeaderTimestamp</a>
+extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
+<div class="block">Category of headers that consist of a single HTTP-date.
+ <p>
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ If-Modified-Since: Sat, 29 Oct 1994 19:43:31 GMT
+ </p></div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.summary">
+<!-- -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier</th>
+<th class="colLast" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>protected </code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/HeaderTimestamp.html#HeaderTimestamp-java.lang.String-">HeaderTimestamp</a></span>(<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> raw)</code>
+<div class="block">Constructor.</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/HeaderTimestamp.html#asDate--">asDate</a></span>()</code>
+<div class="block">Returns this header value as a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util"><code>Date</code></a>.</div>
+</td>
+</tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code><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/http/HeaderTimestamp.html#toString--">toString</a></span>()</code> </td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.detail">
+<!-- -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="HeaderTimestamp-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>HeaderTimestamp</h4>
+<pre>protected <a href="../../../../src-html/org/apache/juneau/http/HeaderTimestamp.html#line.34">HeaderTimestamp</a>(<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> raw)</pre>
+<div class="block">Constructor.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>raw</code> - The raw header value.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="asDate--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>asDate</h4>
+<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a> <a href="../../../../src-html/org/apache/juneau/http/HeaderTimestamp.html#line.43">asDate</a>()</pre>
+<div class="block">Returns this header value as a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util"><code>Date</code></a>.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>This header value as a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util"><code>Date</code></a>, or <jk>null</jk> if the header could not be parsed.</dd>
+</dl>
+</li>
+</ul>
+<a name="toString--">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>toString</h4>
+<pre>public <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/http/HeaderTimestamp.html#line.48">toString</a>()</pre>
+<dl>
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code> in class <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/HeaderStringArray.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/HeaderUrl.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/HeaderTimestamp.html" target="_top">Frames</a></li>
+<li><a href="HeaderTimestamp.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li><a href="#constructor.summary">Constr</a> | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li><a href="#constructor.detail">Constr</a> | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/HeaderUri.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/HeaderUri.html b/content/site/apidocs/org/apache/juneau/http/HeaderUri.html
new file mode 100644
index 0000000..c0f0093
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/HeaderUri.html
@@ -0,0 +1,335 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>HeaderUri (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="HeaderUri (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":10,"i1":10,"i2":10};
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/HeaderStringArray.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/Host.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/HeaderUri.html" target="_top">Frames</a></li>
+<li><a href="HeaderUri.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li><a href="#constructor.summary">Constr</a> | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li><a href="#constructor.detail">Constr</a> | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class HeaderUri" class="title">Class HeaderUri</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.HeaderUri</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt>Direct Known Subclasses:</dt>
+<dd><a href="../../../../org/apache/juneau/http/ContentLocation.html" title="class in org.apache.juneau.http">ContentLocation</a>, <a href="../../../../org/apache/juneau/http/Location.html" title="class in org.apache.juneau.http">Location</a>, <a href="../../../../org/apache/juneau/http/Referer.html" title="class in org.apache.juneau.http">Referer</a></dd>
+</dl>
+<hr>
+<br>
+<pre>public class <a href="../../../../src-html/org/apache/juneau/http/HeaderUri.html#line.27">HeaderUri</a>
+extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
+<div class="block">Category of headers that consist of a single URL value.
+ <p>
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ Location: http://www.w3.org/pub/WWW/People.html
+ </p></div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.summary">
+<!-- -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier</th>
+<th class="colLast" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>protected </code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/HeaderUri.html#HeaderUri-java.lang.String-">HeaderUri</a></span>(<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> value)</code>
+<div class="block">Constructor.</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code><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/http/HeaderUri.html#asString--">asString</a></span>()</code>
+<div class="block">Returns this header as a simple string value.</div>
+</td>
+</tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/HeaderUri.html#asURI--">asURI</a></span>()</code>
+<div class="block">Returns this header as a <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>.</div>
+</td>
+</tr>
+<tr id="i2" class="altColor">
+<td class="colFirst"><code><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/http/HeaderUri.html#toString--">toString</a></span>()</code> </td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.detail">
+<!-- -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="HeaderUri-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>HeaderUri</h4>
+<pre>protected <a href="../../../../src-html/org/apache/juneau/http/HeaderUri.html#line.35">HeaderUri</a>(<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> value)</pre>
+<div class="block">Constructor.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The raw header value.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="asURI--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>asURI</h4>
+<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</a> <a href="../../../../src-html/org/apache/juneau/http/HeaderUri.html#line.43">asURI</a>()</pre>
+<div class="block">Returns this header as a <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>.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>This header as a <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>.</dd>
+</dl>
+</li>
+</ul>
+<a name="asString--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>asString</h4>
+<pre>public <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/http/HeaderUri.html#line.54">asString</a>()</pre>
+<div class="block">Returns this header as a simple string value.
+ <p>
+ Functionally equivalent to calling <a href="../../../../org/apache/juneau/http/HeaderUri.html#toString--"><code>toString()</code></a>.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>This header as a simple string.</dd>
+</dl>
+</li>
+</ul>
+<a name="toString--">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>toString</h4>
+<pre>public <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/http/HeaderUri.html#line.59">toString</a>()</pre>
+<dl>
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code> in class <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/HeaderStringArray.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/Host.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/HeaderUri.html" target="_top">Frames</a></li>
+<li><a href="HeaderUri.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li><a href="#constructor.summary">Constr</a> | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li><a href="#constructor.detail">Constr</a> | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/HeaderUrl.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/HeaderUrl.html b/content/site/apidocs/org/apache/juneau/http/HeaderUrl.html
new file mode 100644
index 0000000..b5e87e0
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/HeaderUrl.html
@@ -0,0 +1,335 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>HeaderUrl (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="HeaderUrl (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":10,"i1":10,"i2":10};
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/HeaderTimestamp.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/HeaderValidator.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/HeaderUrl.html" target="_top">Frames</a></li>
+<li><a href="HeaderUrl.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li><a href="#constructor.summary">Constr</a> | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li><a href="#constructor.detail">Constr</a> | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class HeaderUrl" class="title">Class HeaderUrl</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.HeaderUrl</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt>Direct Known Subclasses:</dt>
+<dd><a href="../../../../org/apache/juneau/http/ContentLocation.html" title="class in org.apache.juneau.http">ContentLocation</a>, <a href="../../../../org/apache/juneau/http/Location.html" title="class in org.apache.juneau.http">Location</a>, <a href="../../../../org/apache/juneau/http/Referer.html" title="class in org.apache.juneau.http">Referer</a></dd>
+</dl>
+<hr>
+<br>
+<pre>public class <a href="../../../../src-html/org/apache/juneau/http/HeaderUrl.html#line.27">HeaderUrl</a>
+extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
+<div class="block">Category of headers that consist of a single URL value.
+ <p>
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ Location: http://www.w3.org/pub/WWW/People.html
+ </p></div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.summary">
+<!-- -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier</th>
+<th class="colLast" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>protected </code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/HeaderUrl.html#HeaderUrl-java.lang.String-">HeaderUrl</a></span>(<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> value)</code>
+<div class="block">Constructor.</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code><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/http/HeaderUrl.html#asString--">asString</a></span>()</code>
+<div class="block">Returns this header as a simple string value.</div>
+</td>
+</tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/HeaderUrl.html#asURI--">asURI</a></span>()</code>
+<div class="block">Returns this header as a <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>.</div>
+</td>
+</tr>
+<tr id="i2" class="altColor">
+<td class="colFirst"><code><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/http/HeaderUrl.html#toString--">toString</a></span>()</code> </td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.detail">
+<!-- -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="HeaderUrl-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>HeaderUrl</h4>
+<pre>protected <a href="../../../../src-html/org/apache/juneau/http/HeaderUrl.html#line.35">HeaderUrl</a>(<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> value)</pre>
+<div class="block">Constructor.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The raw header value.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="asURI--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>asURI</h4>
+<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</a> <a href="../../../../src-html/org/apache/juneau/http/HeaderUrl.html#line.43">asURI</a>()</pre>
+<div class="block">Returns this header as a <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>.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>This header as a <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>.</dd>
+</dl>
+</li>
+</ul>
+<a name="asString--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>asString</h4>
+<pre>public <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/http/HeaderUrl.html#line.54">asString</a>()</pre>
+<div class="block">Returns this header as a simple string value.
+ <p>
+ Functionally equivalent to calling <a href="../../../../org/apache/juneau/http/HeaderUrl.html#toString--"><code>toString()</code></a>.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>This header as a simple string.</dd>
+</dl>
+</li>
+</ul>
+<a name="toString--">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>toString</h4>
+<pre>public <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/http/HeaderUrl.html#line.59">toString</a>()</pre>
+<dl>
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code> in class <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/HeaderTimestamp.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/HeaderValidator.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/HeaderUrl.html" target="_top">Frames</a></li>
+<li><a href="HeaderUrl.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li><a href="#constructor.summary">Constr</a> | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li><a href="#constructor.detail">Constr</a> | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/HeaderValidator.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/HeaderValidator.html b/content/site/apidocs/org/apache/juneau/http/HeaderValidator.html
new file mode 100644
index 0000000..c7e4de6
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/HeaderValidator.html
@@ -0,0 +1,309 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>HeaderValidator (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="HeaderValidator (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":10,"i1":10};
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/HeaderUrl.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/HeaderValidatorArray.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/HeaderValidator.html" target="_top">Frames</a></li>
+<li><a href="HeaderValidator.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li><a href="#constructor.summary">Constr</a> | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li><a href="#constructor.detail">Constr</a> | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class HeaderValidator" class="title">Class HeaderValidator</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.HeaderValidator</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public class <a href="../../../../src-html/org/apache/juneau/http/HeaderValidator.html#line.23">HeaderValidator</a>
+extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
+<div class="block">Category of headers that consist of a single validator value.
+ <p>
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ ETag: "xyzzy"
+ </p></div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.summary">
+<!-- -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier</th>
+<th class="colLast" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>protected </code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/HeaderValidator.html#HeaderValidator-java.lang.String-">HeaderValidator</a></span>(<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> value)</code>
+<div class="block">Constructor.</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/http/EntityValidator.html" title="class in org.apache.juneau.http">EntityValidator</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/HeaderValidator.html#asValidator--">asValidator</a></span>()</code>
+<div class="block">Returns this header value as a <a href="../../../../org/apache/juneau/http/EntityValidator.html" title="class in org.apache.juneau.http"><code>EntityValidator</code></a> object.</div>
+</td>
+</tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code><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/http/HeaderValidator.html#toString--">toString</a></span>()</code> </td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.detail">
+<!-- -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="HeaderValidator-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>HeaderValidator</h4>
+<pre>protected <a href="../../../../src-html/org/apache/juneau/http/HeaderValidator.html#line.31">HeaderValidator</a>(<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> value)</pre>
+<div class="block">Constructor.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The raw header value.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="asValidator--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>asValidator</h4>
+<pre>public <a href="../../../../org/apache/juneau/http/EntityValidator.html" title="class in org.apache.juneau.http">EntityValidator</a> <a href="../../../../src-html/org/apache/juneau/http/HeaderValidator.html#line.39">asValidator</a>()</pre>
+<div class="block">Returns this header value as a <a href="../../../../org/apache/juneau/http/EntityValidator.html" title="class in org.apache.juneau.http"><code>EntityValidator</code></a> object.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>this header value as a <a href="../../../../org/apache/juneau/http/EntityValidator.html" title="class in org.apache.juneau.http"><code>EntityValidator</code></a> object.</dd>
+</dl>
+</li>
+</ul>
+<a name="toString--">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>toString</h4>
+<pre>public <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/http/HeaderValidator.html#line.44">toString</a>()</pre>
+<dl>
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code> in class <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/HeaderUrl.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/HeaderValidatorArray.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/HeaderValidator.html" target="_top">Frames</a></li>
+<li><a href="HeaderValidator.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li><a href="#constructor.summary">Constr</a> | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li><a href="#constructor.detail">Constr</a> | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/HeaderValidatorArray.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/HeaderValidatorArray.html b/content/site/apidocs/org/apache/juneau/http/HeaderValidatorArray.html
new file mode 100644
index 0000000..69fe3ae
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/HeaderValidatorArray.html
@@ -0,0 +1,315 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>HeaderValidatorArray (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="HeaderValidatorArray (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":10,"i1":10};
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/HeaderValidator.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/Host.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/HeaderValidatorArray.html" target="_top">Frames</a></li>
+<li><a href="HeaderValidatorArray.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li><a href="#constructor.summary">Constr</a> | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li><a href="#constructor.detail">Constr</a> | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class HeaderValidatorArray" class="title">Class HeaderValidatorArray</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.HeaderValidatorArray</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt>Direct Known Subclasses:</dt>
+<dd><a href="../../../../org/apache/juneau/http/IfMatch.html" title="class in org.apache.juneau.http">IfMatch</a>, <a href="../../../../org/apache/juneau/http/IfNoneMatch.html" title="class in org.apache.juneau.http">IfNoneMatch</a></dd>
+</dl>
+<hr>
+<br>
+<pre>public class <a href="../../../../src-html/org/apache/juneau/http/HeaderValidatorArray.html#line.27">HeaderValidatorArray</a>
+extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
+<div class="block">Category of headers that consist of a comma-delimited list of validator values.
+ <p>
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ If-Match: "xyzzy"
+ If-Match: "xyzzy", "r2d2xxxx", "c3piozzzz"
+ If-Match: *
+ </p></div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.summary">
+<!-- -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier</th>
+<th class="colLast" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>protected </code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/HeaderValidatorArray.html#HeaderValidatorArray-java.lang.String-">HeaderValidatorArray</a></span>(<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> value)</code>
+<div class="block">Constructor.</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/http/EntityValidator.html" title="class in org.apache.juneau.http">EntityValidator</a>[]</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/HeaderValidatorArray.html#asValidators--">asValidators</a></span>()</code>
+<div class="block">Returns this header value as an array of <a href="../../../../org/apache/juneau/http/EntityValidator.html" title="class in org.apache.juneau.http"><code>EntityValidator</code></a> objects.</div>
+</td>
+</tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code><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/http/HeaderValidatorArray.html#toString--">toString</a></span>()</code> </td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.detail">
+<!-- -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="HeaderValidatorArray-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>HeaderValidatorArray</h4>
+<pre>protected <a href="../../../../src-html/org/apache/juneau/http/HeaderValidatorArray.html#line.35">HeaderValidatorArray</a>(<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> value)</pre>
+<div class="block">Constructor.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The raw header value.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="asValidators--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>asValidators</h4>
+<pre>public <a href="../../../../org/apache/juneau/http/EntityValidator.html" title="class in org.apache.juneau.http">EntityValidator</a>[] <a href="../../../../src-html/org/apache/juneau/http/HeaderValidatorArray.html#line.47">asValidators</a>()</pre>
+<div class="block">Returns this header value as an array of <a href="../../../../org/apache/juneau/http/EntityValidator.html" title="class in org.apache.juneau.http"><code>EntityValidator</code></a> objects.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>this header value as an array of <a href="../../../../org/apache/juneau/http/EntityValidator.html" title="class in org.apache.juneau.http"><code>EntityValidator</code></a> objects.</dd>
+</dl>
+</li>
+</ul>
+<a name="toString--">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>toString</h4>
+<pre>public <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/http/HeaderValidatorArray.html#line.52">toString</a>()</pre>
+<dl>
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code> in class <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/HeaderValidator.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/Host.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/HeaderValidatorArray.html" target="_top">Frames</a></li>
+<li><a href="HeaderValidatorArray.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li><a href="#constructor.summary">Constr</a> | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li><a href="#constructor.detail">Constr</a> | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
[49/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/Accept.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/Accept.html b/content/site/apidocs/org/apache/juneau/http/Accept.html
index 03e5bcb..3e6b664 100644
--- a/content/site/apidocs/org/apache/juneau/http/Accept.html
+++ b/content/site/apidocs/org/apache/juneau/http/Accept.html
@@ -18,7 +18,7 @@
catch(err) {
}
//-->
-var methods = {"i0":10,"i1":9,"i2":10,"i3":10,"i4":10};
+var methods = {"i0":10,"i1":10,"i2":9,"i3":10,"i4":10};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -49,7 +49,7 @@ var activeTableTab = "activeTableTab";
<div class="subNav">
<ul class="navList">
<li>Prev Class</li>
-<li><a href="../../../../org/apache/juneau/http/AcceptEncoding.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/AcceptCharset.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/juneau/http/Accept.html" target="_top">Frames</a></li>
@@ -108,20 +108,24 @@ var activeTableTab = "activeTableTab";
<li class="blockList">
<hr>
<br>
-<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/Accept.html#line.123">Accept</a>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/Accept.html#line.127">Accept</a>
extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
-<div class="block">Represents a parsed <code>Accept:</code> HTTP header.
+<div class="block">Represents a parsed <l>Accept</l> HTTP request header.
<p>
- The formal RFC2616 header field definition is as follows:
+ Content-Types that are acceptable for the response.
+
+ <h6 class='figure'>Example</h6>
<p class='bcode'>
- 14.1 Accept
+ Accept: text/plain
+ </p>
+
+ <h6 class='topic'>RFC2616 Specification</h6>
- The Accept request-header field can be used to specify certain media
- types which are acceptable for the response. Accept headers can be
- used to indicate that the request is specifically limited to a small
- set of desired types, as in the case of a request for an in-line
- image.
+ The Accept request-header field can be used to specify certain media types which are acceptable for the response.
+ Accept headers can be used to indicate that the request is specifically limited to a small set of desired types, as
+ in the case of a request for an in-line image.
+ <p class='bcode'>
Accept = "Accept" ":
#( media-range [ accept-params ] )
@@ -131,86 +135,85 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
) *( ";" parameter )
accept-params = ";" "q" "=" qvalue *( accept-extension )
accept-extension = ";" token [ "=" ( token | quoted-string ) ]
-
- The asterisk "*" character is used to group media types into ranges,
- with "* /*" indicating all media types and "type/*" indicating all
- subtypes of that type. The media-range MAY include media type
- parameters that are applicable to that range.
-
- Each media-range MAY be followed by one or more accept-params,
- beginning with the "q" parameter for indicating a relative quality
- factor. The first "q" parameter (if any) separates the media-range
- parameter(s) from the accept-params. Quality factors allow the user
- or user agent to indicate the relative degree of preference for that
- media-range, using the qvalue scale from 0 to 1 (section 3.9). The
- default value is q=1.
-
- Note: Use of the "q" parameter name to separate media type
- parameters from Accept extension parameters is due to historical
- practice. Although this prevents any media type parameter named
- "q" from being used with a media range, such an event is believed
- to be unlikely given the lack of any "q" parameters in the IANA
- media type registry and the rare usage of any media type
- parameters in Accept. Future media types are discouraged from
- registering any parameter named "q".
-
- The example
-
- Accept: audio/*; q=0.2, audio/basic
-
- SHOULD be interpreted as "I prefer audio/basic, but send me any audio
- type if it is the best available after an 80% mark-down in quality."
-
- If no Accept header field is present, then it is assumed that the
- client accepts all media types. If an Accept header field is present,
- and if the server cannot send a response which is acceptable
- according to the combined Accept field value, then the server SHOULD
- send a 406 (not acceptable) response.
-
- A more elaborate example is
-
- Accept: text/plain; q=0.5, text/html,
- text/x-dvi; q=0.8, text/x-c
-
- Verbally, this would be interpreted as "text/html and text/x-c are
- the preferred media types, but if they do not exist, then send the
- text/x-dvi entity, and if that does not exist, send the text/plain
- entity."
-
- Media ranges can be overridden by more specific media ranges or
- specific media types. If more than one media range applies to a given
- type, the most specific reference has precedence. For example,
-
- Accept: text/ *, text/html, text/html;level=1, * /*
-
- have the following precedence:
-
- 1) text/html;level=1
- 2) text/html
- 3) text/*
- 4) * /*
-
- The media type quality factor associated with a given type is
- determined by finding the media range with the highest precedence
- which matches that type. For example,
-
- Accept: text/*;q=0.3, text/html;q=0.7, text/html;level=1,
- text/html;level=2;q=0.4, * /*;q=0.5
-
- would cause the following values to be associated:
-
- text/html;level=1 = 1
- text/html = 0.7
- text/plain = 0.3
- image/jpeg = 0.5
- text/html;level=2 = 0.4
- text/html;level=3 = 0.7
-
- Note: A user agent might be provided with a default set of quality
- values for certain media ranges. However, unless the user agent is
- a closed system which cannot interact with other rendering agents,
- this default set ought to be configurable by the user.
- </p></div>
+ </p>
+ <p>
+ The asterisk "*" character is used to group media types into ranges, with "* /*" indicating all media types and
+ "type/*" indicating all subtypes of that type.
+ The media-range MAY include media type parameters that are applicable to that range.
+ <p>
+ Each media-range MAY be followed by one or more accept-params, beginning with the "q" parameter for indicating a
+ relative quality factor.
+ The first "q" parameter (if any) separates the media-range parameter(s) from the accept-params.
+ Quality factors allow the user or user agent to indicate the relative degree of preference for that media-range,
+ using the qvalue scale from 0 to 1 (section 3.9).
+ The default value is q=1.
+ <p>
+ Note: Use of the "q" parameter name to separate media type parameters from Accept extension parameters is due to
+ historical practice.
+ Although this prevents any media type parameter named "q" from being used with a media range, such an event is
+ believed to be unlikely given the lack of any "q" parameters in the IANA
+ media type registry and the rare usage of any media type parameters in Accept.
+ Future media types are discouraged from registering any parameter named "q".
+ <p>
+ The example
+ <p class='bcode'>
+ Accept: audio/*; q=0.2, audio/basic
+ </p>
+ <p>
+ SHOULD be interpreted as "I prefer audio/basic, but send me any audio type if it is the best available after an 80%
+ mark-down in quality."
+ <p>
+ If no Accept header field is present, then it is assumed that the client accepts all media types.
+ <p>
+ If an Accept header field is present, and if the server cannot send a response which is acceptable according to the
+ combined Accept field value, then the server SHOULD send a 406 (not acceptable) response.
+ <p>
+ A more elaborate example is
+ <p class='bcode'>
+ Accept: text/plain; q=0.5, text/html,
+ text/x-dvi; q=0.8, text/x-c
+ </p>
+ <p>
+ Verbally, this would be interpreted as "text/html and text/x-c are the preferred media types, but if they do not
+ exist, then send the
+ text/x-dvi entity, and if that does not exist, send the text/plain entity."
+ <p>
+ Media ranges can be overridden by more specific media ranges or specific media types.
+ If more than one media range applies to a given type, the most specific reference has precedence.
+ For example,
+ <p class='bcode'>
+ Accept: text/ *, text/html, text/html;level=1, * /*
+ </p>
+ <p>
+ have the following precedence:
+ <ol>
+ <li>text/html;level=1
+ <li>text/html
+ <li>text/*
+ <li>* /*
+ </ol>
+ <p>
+ The media type quality factor associated with a given type is determined by finding the media range with the highest
+ precedence which matches that type.
+ For example,
+ <p class='bcode'>
+ Accept: text/*;q=0.3, text/html;q=0.7, text/html;level=1,
+ text/html;level=2;q=0.4, * /*;q=0.5
+ </p>
+ <p>
+ would cause the following values to be associated:
+ <p class='bcode'>
+ text/html;level=1 = 1
+ text/html = 0.7
+ text/plain = 0.3
+ image/jpeg = 0.5
+ text/html;level=2 = 0.4
+ text/html;level=3 = 0.7
+ </p>
+ <p>
+ Note: A user agent might be provided with a default set of quality values for certain media ranges.
+ However, unless the user agent is a closed system which cannot interact with other rendering agents, this default
+ set ought to be configurable by the user.</div>
</li>
</ul>
</div>
@@ -230,23 +233,23 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../org/apache/juneau/http/MediaTypeRange.html" title="class in org.apache.juneau.http">MediaTypeRange</a>></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/Accept.html#asRanges--">asRanges</a></span>()</code>
+<div class="block">Returns the list of the media ranges that make up this header.</div>
+</td>
+</tr>
+<tr id="i1" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/Accept.html#findMatch-org.apache.juneau.http.MediaType:A-">findMatch</a></span>(<a href="../../../../org/apache/juneau/http/MediaType.html" title="class in org.apache.juneau.http">MediaType</a>[] mediaTypes)</code>
<div class="block">Given a list of media types, returns the best match for this <code>Accept</code> header.</div>
</td>
</tr>
-<tr id="i1" class="rowColor">
+<tr id="i2" class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/Accept.html" title="class in org.apache.juneau.http">Accept</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/Accept.html#forString-java.lang.String-">forString</a></span>(<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> s)</code>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/Accept.html#forString-java.lang.String-">forString</a></span>(<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> value)</code>
<div class="block">Returns a parsed <code>Accept</code> header.</div>
</td>
</tr>
-<tr id="i2" class="altColor">
-<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../org/apache/juneau/http/MediaTypeRange.html" title="class in org.apache.juneau.http">MediaTypeRange</a>></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/Accept.html#getMediaRanges--">getMediaRanges</a></span>()</code>
-<div class="block">Returns the list of the media ranges that make up this header.</div>
-</td>
-</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/Accept.html#hasSubtypePart-java.lang.String-">hasSubtypePart</a></span>(<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> part)</code>
@@ -286,23 +289,23 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>forString</h4>
-<pre>public static <a href="../../../../org/apache/juneau/http/Accept.html" title="class in org.apache.juneau.http">Accept</a> <a href="../../../../src-html/org/apache/juneau/http/Accept.html#line.137">forString</a>(<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> s)</pre>
+<pre>public static <a href="../../../../org/apache/juneau/http/Accept.html" title="class in org.apache.juneau.http">Accept</a> <a href="../../../../src-html/org/apache/juneau/http/Accept.html#line.137">forString</a>(<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> value)</pre>
<div class="block">Returns a parsed <code>Accept</code> header.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>s</code> - The <code>Accept</code> header string.</dd>
+<dd><code>value</code> - The <code>Accept</code> header string.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The parsed <code>Accept</code> header, or <jk>null</jk> if the string was null.</dd>
</dl>
</li>
</ul>
-<a name="getMediaRanges--">
+<a name="asRanges--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
-<h4>getMediaRanges</h4>
-<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../org/apache/juneau/http/MediaTypeRange.html" title="class in org.apache.juneau.http">MediaTypeRange</a>> <a href="../../../../src-html/org/apache/juneau/http/Accept.html#line.168">getMediaRanges</a>()</pre>
+<h4>asRanges</h4>
+<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../org/apache/juneau/http/MediaTypeRange.html" title="class in org.apache.juneau.http">MediaTypeRange</a>> <a href="../../../../src-html/org/apache/juneau/http/Accept.html#line.162">asRanges</a>()</pre>
<div class="block">Returns the list of the media ranges that make up this header.
<p>
The media ranges in the list are sorted by their q-value in descending order.</div>
@@ -318,7 +321,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>findMatch</h4>
-<pre>public int <a href="../../../../src-html/org/apache/juneau/http/Accept.html#line.189">findMatch</a>(<a href="../../../../org/apache/juneau/http/MediaType.html" title="class in org.apache.juneau.http">MediaType</a>[] mediaTypes)</pre>
+<pre>public int <a href="../../../../src-html/org/apache/juneau/http/Accept.html#line.183">findMatch</a>(<a href="../../../../org/apache/juneau/http/MediaType.html" title="class in org.apache.juneau.http">MediaType</a>[] mediaTypes)</pre>
<div class="block">Given a list of media types, returns the best match for this <code>Accept</code> header.
<p>
Note that fuzzy matching is allowed on the media types where the <code>Accept</code> header may
@@ -345,7 +348,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>hasSubtypePart</h4>
-<pre>public boolean <a href="../../../../src-html/org/apache/juneau/http/Accept.html#line.224">hasSubtypePart</a>(<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> part)</pre>
+<pre>public boolean <a href="../../../../src-html/org/apache/juneau/http/Accept.html#line.218">hasSubtypePart</a>(<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> part)</pre>
<div class="block">Convenience method for searching through all of the subtypes of all the media ranges in this header
for the presence of a subtype fragment.
<p>
@@ -364,7 +367,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
-<pre>public <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/http/Accept.html#line.234">toString</a>()</pre>
+<pre>public <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/http/Accept.html#line.228">toString</a>()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code> in class <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
@@ -399,7 +402,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
<div class="subNav">
<ul class="navList">
<li>Prev Class</li>
-<li><a href="../../../../org/apache/juneau/http/AcceptEncoding.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/AcceptCharset.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/juneau/http/Accept.html" target="_top">Frames</a></li>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/AcceptCharset.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/AcceptCharset.html b/content/site/apidocs/org/apache/juneau/http/AcceptCharset.html
new file mode 100644
index 0000000..823ca46
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/AcceptCharset.html
@@ -0,0 +1,296 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>AcceptCharset (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="AcceptCharset (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/Accept.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/AcceptEncoding.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/AcceptCharset.html" target="_top">Frames</a></li>
+<li><a href="AcceptCharset.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class AcceptCharset" class="title">Class AcceptCharset</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../org/apache/juneau/http/HeaderRangeArray.html" title="class in org.apache.juneau.http">org.apache.juneau.http.HeaderRangeArray</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.AcceptCharset</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/AcceptCharset.html#line.60">AcceptCharset</a>
+extends <a href="../../../../org/apache/juneau/http/HeaderRangeArray.html" title="class in org.apache.juneau.http">HeaderRangeArray</a></pre>
+<div class="block">Represents a parsed <l>Accept-Charset</l> HTTP request header.
+ <p>
+ Character sets that are acceptable.
+
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ Accept-Charset: utf-8
+ </p>
+
+ <h6 class='topic'>RFC2616 Specification</h6>
+
+ The Accept-Charset request-header field can be used to indicate what character sets are acceptable for the response.
+ <p>
+ This field allows clients capable of understanding more comprehensive or special- purpose character sets to signal
+ that capability to a server which is capable of representing documents in those character sets.
+ <p class='bcode'>
+ Accept-Charset = "Accept-Charset" ":"
+ 1#( ( charset | "*" )[ ";" "q" "=" qvalue ] )
+ </p>
+ <p>
+ Character set values are described in section 3.4. Each charset MAY be given an associated quality value which
+ represents the user's preference for that charset.
+ The default value is q=1.
+ An example is...
+ <p class='bcode'>
+ Accept-Charset: iso-8859-5, unicode-1-1;q=0.8
+ </p>
+ <p>
+ The special value "*", if present in the Accept-Charset field, matches every character set (including ISO-8859-1)
+ which is not mentioned elsewhere in the Accept-Charset field.
+ <p>
+ If no "*" is present in an Accept-Charset field, then all character sets not explicitly mentioned get a quality
+ value of 0, except for ISO-8859-1, which gets a quality value of 1 if not explicitly mentioned.
+ <p>
+ If no Accept-Charset header is present, the default is that any character set is acceptable.
+ <p>
+ If an Accept-Charset header is present, and if the server cannot send a response which is acceptable according to
+ the Accept-Charset header, then the server SHOULD send an error response with the 406 (not acceptable) status code,
+ though the sending of an unacceptable response is also allowed.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/AcceptCharset.html" title="class in org.apache.juneau.http">AcceptCharset</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/AcceptCharset.html#forString-java.lang.String-">forString</a></span>(<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> value)</code>
+<div class="block">Returns a parsed <code>Accept-Charset</code> header.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.http.HeaderRangeArray">
+<!-- -->
+</a>
+<h3>Methods inherited from class org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderRangeArray.html" title="class in org.apache.juneau.http">HeaderRangeArray</a></h3>
+<code><a href="../../../../org/apache/juneau/http/HeaderRangeArray.html#asSimpleRanges--">asSimpleRanges</a>, <a href="../../../../org/apache/juneau/http/HeaderRangeArray.html#findMatch-java.lang.String:A-">findMatch</a>, <a href="../../../../org/apache/juneau/http/HeaderRangeArray.html#toString--">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="forString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>forString</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/AcceptCharset.html" title="class in org.apache.juneau.http">AcceptCharset</a> <a href="../../../../src-html/org/apache/juneau/http/AcceptCharset.html#line.70">forString</a>(<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> value)</pre>
+<div class="block">Returns a parsed <code>Accept-Charset</code> header.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The <code>Accept-Charset</code> header string.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Accept-Charset</code> header, or <jk>null</jk> if the string was null.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/Accept.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/AcceptEncoding.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/AcceptCharset.html" target="_top">Frames</a></li>
+<li><a href="AcceptCharset.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/AcceptEncoding.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/AcceptEncoding.html b/content/site/apidocs/org/apache/juneau/http/AcceptEncoding.html
index 473b714..fa5c898 100644
--- a/content/site/apidocs/org/apache/juneau/http/AcceptEncoding.html
+++ b/content/site/apidocs/org/apache/juneau/http/AcceptEncoding.html
@@ -18,8 +18,8 @@
catch(err) {
}
//-->
-var methods = {"i0":10,"i1":9,"i2":10,"i3":10};
-var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
+var methods = {"i0":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
@@ -48,8 +48,8 @@ var activeTableTab = "activeTableTab";
</div>
<div class="subNav">
<ul class="navList">
-<li><a href="../../../../org/apache/juneau/http/Accept.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
-<li><a href="../../../../org/apache/juneau/http/ContentType.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/AcceptCharset.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/AcceptLanguage.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/juneau/http/AcceptEncoding.html" target="_top">Frames</a></li>
@@ -99,76 +99,81 @@ var activeTableTab = "activeTableTab";
<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
+<li><a href="../../../../org/apache/juneau/http/HeaderRangeArray.html" title="class in org.apache.juneau.http">org.apache.juneau.http.HeaderRangeArray</a></li>
+<li>
+<ul class="inheritance">
<li>org.apache.juneau.http.AcceptEncoding</li>
</ul>
</li>
</ul>
+</li>
+</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
-<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/AcceptEncoding.html#line.81">AcceptEncoding</a>
-extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
-<div class="block">Represents a parsed <code>Accept-Encoding:</code> HTTP header.
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/AcceptEncoding.html#line.80">AcceptEncoding</a>
+extends <a href="../../../../org/apache/juneau/http/HeaderRangeArray.html" title="class in org.apache.juneau.http">HeaderRangeArray</a></pre>
+<div class="block">Represents a parsed <l>Accept-Encoding</l> HTTP request header.
<p>
- The formal RFC2616 header field definition is as follows:
- <p class='bcode'>
- The Accept-Encoding request-header field is similar to Accept, but restricts
- the content-codings (section 3.5) that are acceptable in the response.
-
- Accept-Encoding = "Accept-Encoding" ":"
- 1#( codings [ ";" "q" "=" qvalue ] )
- codings = ( content-coding | "*" )
-
- Examples of its use are:
-
- Accept-Encoding: compress, gzip
- Accept-Encoding:
- Accept-Encoding: *
- Accept-Encoding: compress;q=0.5, gzip;q=1.0
- Accept-Encoding: gzip;q=1.0, identity; q=0.5, *;q=0
+ List of acceptable encodings.
- A server tests whether a content-coding is acceptable, according to an
- Accept-Encoding field, using these rules:
-
- 1. If the content-coding is one of the content-codings listed in
- the Accept-Encoding field, then it is acceptable, unless it is
- accompanied by a qvalue of 0. (As defined in section 3.9, a
- qvalue of 0 means "not acceptable.")
- 2. The special "*" symbol in an Accept-Encoding field matches any
- available content-coding not explicitly listed in the header
- field.
- 3. If multiple content-codings are acceptable, then the acceptable
- content-coding with the highest non-zero qvalue is preferred.
- 4. The "identity" content-coding is always acceptable, unless
- specifically refused because the Accept-Encoding field includes
- "identity;q=0", or because the field includes "*;q=0" and does
- not explicitly include the "identity" content-coding. If the
- Accept-Encoding field-value is empty, then only the "identity"
- encoding is acceptable.
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ Accept-Encoding: gzip, deflate
+ </p>
- If an Accept-Encoding field is present in a request, and if the server cannot
- send a response which is acceptable according to the Accept-Encoding header,
- then the server SHOULD send an error response with the 406 (Not Acceptable) status code.
+ <h6 class='topic'>RFC2616 Specification</h6>
- If no Accept-Encoding field is present in a request, the server MAY assume
- that the client will accept any content coding. In this case, if "identity"
- is one of the available content-codings, then the server SHOULD use the "identity"
- content-coding, unless it has additional information that a different content-coding
- is meaningful to the client.
+ The Accept-Encoding request-header field is similar to Accept, but restricts the content-codings (section 3.5) that are acceptable in the response.
- Note: If the request does not include an Accept-Encoding field,
- and if the "identity" content-coding is unavailable, then
- content-codings commonly understood by HTTP/1.0 clients (i.e.,
- "gzip" and "compress") are preferred; some older clients
- improperly display messages sent with other content-codings. The
- server might also make this decision based on information about
- the particular user-agent or client.
- Note: Most HTTP/1.0 applications do not recognize or obey qvalues
- associated with content-codings. This means that qvalues will not
- work and are not permitted with x-gzip or x-compress.
- </p></div>
+ <p class='bcode'>
+ Accept-Encoding = "Accept-Encoding" ":"
+ 1#( codings [ ";" "q" "=" qvalue ] )
+ codings = ( content-coding | "*" )
+ </p>
+ <p>
+ Examples of its use are:
+ <p class='bcode'>
+ Accept-Encoding: compress, gzip
+ Accept-Encoding:
+ Accept-Encoding: *
+ Accept-Encoding: compress;q=0.5, gzip;q=1.0
+ Accept-Encoding: gzip;q=1.0, identity; q=0.5, *;q=0
+ </p>
+ <p>
+ A server tests whether a content-coding is acceptable, according to an Accept-Encoding field, using these rules:
+ <ol>
+ <li>If the content-coding is one of the content-codings listed in the Accept-Encoding field, then it is
+ acceptable, unless it is accompanied by a qvalue of 0.
+ (As defined in section 3.9, a qvalue of 0 means "not acceptable.")
+ <li>The special "*" symbol in an Accept-Encoding field matches any available content-coding not explicitly listed
+ in the header field.
+ <li>If multiple content-codings are acceptable, then the acceptable content-coding with the highest non-zero
+ qvalue is preferred.
+ <li>The "identity" content-coding is always acceptable, unless specifically refused because the Accept-Encoding
+ field includes "identity;q=0", or because the field includes "*;q=0" and does not explicitly include the
+ "identity" content-coding.
+ If the Accept-Encoding field-value is empty, then only the "identity" encoding is acceptable.
+ </ol>
+ <p>
+ If an Accept-Encoding field is present in a request, and if the server cannot send a response which is acceptable
+ according to the Accept-Encoding header, then the server SHOULD send an error response with the 406 (Not Acceptable)
+ status code.
+ <p>
+ If no Accept-Encoding field is present in a request, the server MAY assume that the client will accept any content
+ coding.
+ In this case, if "identity" is one of the available content-codings, then the server SHOULD use the "identity"
+ content-coding, unless it has additional information that a different content-coding is meaningful to the client.
+ <p>
+ Note: If the request does not include an Accept-Encoding field, and if the "identity" content-coding is unavailable,
+ then content-codings commonly understood by HTTP/1.0 clients (i.e.,"gzip" and "compress") are preferred; some older
+ clients improperly display messages sent with other content-codings.
+ The server might also make this decision based on information about the particular user-agent or client.
+ <p>
+ Note: Most HTTP/1.0 applications do not recognize or obey qvalues associated with content-codings.
+ This means that qvalues will not work and are not permitted with x-gzip or x-compress.</div>
</li>
</ul>
</div>
@@ -182,35 +187,26 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
-<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
-<td class="colFirst"><code>int</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/AcceptEncoding.html#findMatch-java.lang.String:A-">findMatch</a></span>(<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>[] contentCodings)</code>
-<div class="block">Given a list of content codings, returns the best match for this <code>Accept-Encoding</code> header.</div>
-</td>
-</tr>
-<tr id="i1" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/AcceptEncoding.html" title="class in org.apache.juneau.http">AcceptEncoding</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/AcceptEncoding.html#forString-java.lang.String-">forString</a></span>(<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> s)</code>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/AcceptEncoding.html#forString-java.lang.String-">forString</a></span>(<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> value)</code>
<div class="block">Returns a parsed <code>Accept-Encoding</code> header.</div>
</td>
</tr>
-<tr id="i2" class="altColor">
-<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../org/apache/juneau/http/TypeRange.html" title="class in org.apache.juneau.http">TypeRange</a>></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/AcceptEncoding.html#getTypeRanges--">getTypeRanges</a></span>()</code>
-<div class="block">Returns the list of the types ranges that make up this header.</div>
-</td>
-</tr>
-<tr id="i3" class="rowColor">
-<td class="colFirst"><code><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/http/AcceptEncoding.html#toString--">toString</a></span>()</code> </td>
-</tr>
</table>
<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.http.HeaderRangeArray">
+<!-- -->
+</a>
+<h3>Methods inherited from class org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderRangeArray.html" title="class in org.apache.juneau.http">HeaderRangeArray</a></h3>
+<code><a href="../../../../org/apache/juneau/http/HeaderRangeArray.html#asSimpleRanges--">asSimpleRanges</a>, <a href="../../../../org/apache/juneau/http/HeaderRangeArray.html#findMatch-java.lang.String:A-">findMatch</a>, <a href="../../../../org/apache/juneau/http/HeaderRangeArray.html#toString--">toString</a></code></li>
+</ul>
+<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
@@ -234,65 +230,19 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
<a name="forString-java.lang.String-">
<!-- -->
</a>
-<ul class="blockList">
+<ul class="blockListLast">
<li class="blockList">
<h4>forString</h4>
-<pre>public static <a href="../../../../org/apache/juneau/http/AcceptEncoding.html" title="class in org.apache.juneau.http">AcceptEncoding</a> <a href="../../../../src-html/org/apache/juneau/http/AcceptEncoding.html#line.95">forString</a>(<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> s)</pre>
+<pre>public static <a href="../../../../org/apache/juneau/http/AcceptEncoding.html" title="class in org.apache.juneau.http">AcceptEncoding</a> <a href="../../../../src-html/org/apache/juneau/http/AcceptEncoding.html#line.90">forString</a>(<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> value)</pre>
<div class="block">Returns a parsed <code>Accept-Encoding</code> header.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>s</code> - The <code>Accept-Encoding</code> header string.</dd>
+<dd><code>value</code> - The <code>Accept-Encoding</code> header string.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The parsed <code>Accept-Encoding</code> header, or <jk>null</jk> if the string was null.</dd>
</dl>
</li>
</ul>
-<a name="getTypeRanges--">
-<!-- -->
-</a>
-<ul class="blockList">
-<li class="blockList">
-<h4>getTypeRanges</h4>
-<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../org/apache/juneau/http/TypeRange.html" title="class in org.apache.juneau.http">TypeRange</a>> <a href="../../../../src-html/org/apache/juneau/http/AcceptEncoding.html#line.126">getTypeRanges</a>()</pre>
-<div class="block">Returns the list of the types ranges that make up this header.
- <p>
- The types ranges in the list are sorted by their q-value in descending order.</div>
-<dl>
-<dt><span class="returnLabel">Returns:</span></dt>
-<dd>An unmodifiable list of type ranges.</dd>
-</dl>
-</li>
-</ul>
-<a name="findMatch-java.lang.String:A-">
-<!-- -->
-</a>
-<ul class="blockList">
-<li class="blockList">
-<h4>findMatch</h4>
-<pre>public int <a href="../../../../src-html/org/apache/juneau/http/AcceptEncoding.html#line.137">findMatch</a>(<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>[] contentCodings)</pre>
-<div class="block">Given a list of content codings, returns the best match for this <code>Accept-Encoding</code> header.
- <p></div>
-<dl>
-<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>contentCodings</code> - The codings to match against.</dd>
-<dt><span class="returnLabel">Returns:</span></dt>
-<dd>The index into the array of the best match, or <code>-1</code> if no suitable matches could be found.</dd>
-</dl>
-</li>
-</ul>
-<a name="toString--">
-<!-- -->
-</a>
-<ul class="blockListLast">
-<li class="blockList">
-<h4>toString</h4>
-<pre>public <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/http/AcceptEncoding.html#line.150">toString</a>()</pre>
-<dl>
-<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
-<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code> in class <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
-</dl>
-</li>
-</ul>
</li>
</ul>
</li>
@@ -320,8 +270,8 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
</div>
<div class="subNav">
<ul class="navList">
-<li><a href="../../../../org/apache/juneau/http/Accept.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
-<li><a href="../../../../org/apache/juneau/http/ContentType.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/AcceptCharset.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/AcceptLanguage.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/juneau/http/AcceptEncoding.html" target="_top">Frames</a></li>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/AcceptLanguage.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/AcceptLanguage.html b/content/site/apidocs/org/apache/juneau/http/AcceptLanguage.html
new file mode 100644
index 0000000..408f130
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/AcceptLanguage.html
@@ -0,0 +1,324 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>AcceptLanguage (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="AcceptLanguage (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/AcceptEncoding.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/AcceptRanges.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/AcceptLanguage.html" target="_top">Frames</a></li>
+<li><a href="AcceptLanguage.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class AcceptLanguage" class="title">Class AcceptLanguage</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../org/apache/juneau/http/HeaderRangeArray.html" title="class in org.apache.juneau.http">org.apache.juneau.http.HeaderRangeArray</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.AcceptLanguage</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/AcceptLanguage.html#line.88">AcceptLanguage</a>
+extends <a href="../../../../org/apache/juneau/http/HeaderRangeArray.html" title="class in org.apache.juneau.http">HeaderRangeArray</a></pre>
+<div class="block">Represents a parsed <l>Accept-Language</l> HTTP request header.
+ <p>
+ List of acceptable human languages for response.
+
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ Accept-Language: en-US
+ </p>
+
+ <h6 class='topic'>RFC2616 Specification</h6>
+
+ The Accept-Language request-header field is similar to Accept, but restricts the set of natural languages that are
+ preferred as a response to the request.
+ Language tags are defined in section 3.10.
+
+ <p class='bcode'>
+ Accept-Language = "Accept-Language" ":"
+ 1#( language-range [ ";" "q" "=" qvalue ] )
+ language-range = ( ( 1*8ALPHA *( "-" 1*8ALPHA ) ) | "*" )
+ </p>
+ <p>
+ Each language-range MAY be given an associated quality value which represents an estimate of the user's preference
+ for the languages specified by that range.
+ The quality value defaults to "q=1".
+ For example...
+ <p class='bcode'>
+ Accept-Language: da, en-gb;q=0.8, en;q=0.7
+ </p>
+ <p>
+ ...would mean: "I prefer Danish, but will accept British English and other types of English."
+ <p>
+ A language-range matches a language-tag if it exactly equals the tag, or if it exactly equals a prefix of the tag
+ such that the first tag character following the prefix is "-".
+ <p>
+ The special range "*", if present in the Accept-Language field, matches every tag not matched by any other range
+ present in the Accept-Language field.
+ <p>
+ Note: This use of a prefix matching rule does not imply that language tags are assigned to languages in such a way
+ that it is always true that if a user understands a language with a certain
+ tag, then this user will also understand all languages with tags for which this tag is a prefix.
+ The prefix rule simply allows the use of prefix tags if this is the case.
+ <p>
+ The language quality factor assigned to a language-tag by the Accept-Language field is the quality value of the
+ longest language- range in the field that matches the language-tag.
+ <p>
+ If no language- range in the field matches the tag, the language quality factor assigned is 0.
+ <p>
+ If no Accept-Language header is present in the request, the server SHOULD assume that all languages are equally
+ acceptable.
+ <p>
+ If an Accept-Language header is present, then all languages which are assigned a quality factor greater than 0 are
+ acceptable.
+ <p>
+ It might be contrary to the privacy expectations of the user to send an Accept-Language header with the complete
+ linguistic preferences of the user in every request.
+ For a discussion of this issue, see section 15.1.4.
+ <p>
+ As intelligibility is highly dependent on the individual user, it is recommended that client applications make the
+ choice of linguistic preference available to the user.
+ If the choice is not made available, then the Accept-Language header field MUST NOT be given in the request.
+ <p>
+ Note: When making the choice of linguistic preference available to the user, we remind implementors of the fact that
+ users are not familiar with the details of language matching as described above, and should provide appropriate
+ guidance.
+ As an example, users might assume that on selecting "en-gb", they will be served any kind of English document if
+ British English is not available.
+ A user agent might suggest in such a case to add "en" to get the best matching behavior.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/AcceptLanguage.html" title="class in org.apache.juneau.http">AcceptLanguage</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/AcceptLanguage.html#forString-java.lang.String-">forString</a></span>(<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> value)</code>
+<div class="block">Returns a parsed <code>Accept-Language</code> header.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.http.HeaderRangeArray">
+<!-- -->
+</a>
+<h3>Methods inherited from class org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderRangeArray.html" title="class in org.apache.juneau.http">HeaderRangeArray</a></h3>
+<code><a href="../../../../org/apache/juneau/http/HeaderRangeArray.html#asSimpleRanges--">asSimpleRanges</a>, <a href="../../../../org/apache/juneau/http/HeaderRangeArray.html#findMatch-java.lang.String:A-">findMatch</a>, <a href="../../../../org/apache/juneau/http/HeaderRangeArray.html#toString--">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="forString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>forString</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/AcceptLanguage.html" title="class in org.apache.juneau.http">AcceptLanguage</a> <a href="../../../../src-html/org/apache/juneau/http/AcceptLanguage.html#line.98">forString</a>(<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> value)</pre>
+<div class="block">Returns a parsed <code>Accept-Language</code> header.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The <code>Accept-Language</code> header string.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Accept-Language</code> header, or <jk>null</jk> if the string was null.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/AcceptEncoding.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/AcceptRanges.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/AcceptLanguage.html" target="_top">Frames</a></li>
+<li><a href="AcceptLanguage.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/AcceptRanges.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/AcceptRanges.html b/content/site/apidocs/org/apache/juneau/http/AcceptRanges.html
new file mode 100644
index 0000000..00f5cb7
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/AcceptRanges.html
@@ -0,0 +1,292 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>AcceptRanges (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="AcceptRanges (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/AcceptLanguage.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/Age.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/AcceptRanges.html" target="_top">Frames</a></li>
+<li><a href="AcceptRanges.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class AcceptRanges" class="title">Class AcceptRanges</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">org.apache.juneau.http.HeaderString</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.AcceptRanges</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/AcceptRanges.html#line.52">AcceptRanges</a>
+extends <a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></pre>
+<div class="block">Represents a parsed <l>Accept-Range</l> HTTP response header.
+ <p>
+ What partial content range types this server supports via byte serving.
+
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ Accept-Ranges: bytes
+ </p>
+
+ <h6 class='topic'>RFC2616 Specification</h6>
+
+ The Accept-Ranges response-header field allows the server to indicate its acceptance of range requests for a
+ resource:
+ <p class='bcode'>
+ Accept-Ranges = "Accept-Ranges" ":" acceptable-ranges
+ acceptable-ranges = 1#range-unit | "none"
+ </p>
+ <p>
+ Origin servers that accept byte-range requests MAY send...
+ <p class='bcode'>
+ Accept-Ranges: bytes
+ </p>
+ <p>
+ ...but are not required to do so.
+ <p>
+ Clients MAY generate byte-range requests without having received this header for the resource involved.
+ <p>
+ Range units are defined in section 3.12.
+ <p>
+ Servers that do not accept any kind of range request for a resource MAY send...
+ <p class='bcode'>
+ Accept-Ranges: none
+ </p>
+ <p>
+ ...to advise the client not to attempt a range request.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/AcceptRanges.html" title="class in org.apache.juneau.http">AcceptRanges</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/AcceptRanges.html#forString-java.lang.String-">forString</a></span>(<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> value)</code>
+<div class="block">Returns a parsed <code>Accept-Ranges</code> header.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.http.HeaderString">
+<!-- -->
+</a>
+<h3>Methods inherited from class org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></h3>
+<code><a href="../../../../org/apache/juneau/http/HeaderString.html#asString--">asString</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#eq-java.lang.String-">eq</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#eqIC-java.lang.String-">eqIC</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#toString--">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="forString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>forString</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/AcceptRanges.html" title="class in org.apache.juneau.http">AcceptRanges</a> <a href="../../../../src-html/org/apache/juneau/http/AcceptRanges.html#line.60">forString</a>(<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> value)</pre>
+<div class="block">Returns a parsed <code>Accept-Ranges</code> header.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The <code>Accept-Ranges</code> header string.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Accept-Ranges</code> header, or <jk>null</jk> if the string was null.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/AcceptLanguage.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/Age.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/AcceptRanges.html" target="_top">Frames</a></li>
+<li><a href="AcceptRanges.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
[31/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/rest/RequestPathParams.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/RequestPathParams.html b/content/site/apidocs/org/apache/juneau/rest/RequestPathParams.html
new file mode 100644
index 0000000..0f3b72a
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/rest/RequestPathParams.html
@@ -0,0 +1,407 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>RequestPathParams (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="RequestPathParams (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":10,"i1":10,"i2":10};
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/rest/RequestHeaders.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/rest/RequestQuery.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/rest/RequestPathParams.html" target="_top">Frames</a></li>
+<li><a href="RequestPathParams.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li><a href="#nested.classes.inherited.from.class.java.util.AbstractMap">Nested</a> | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.rest</div>
+<h2 title="Class RequestPathParams" class="title">Class RequestPathParams</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.html?is-external=true" title="class or interface in java.util">java.util.AbstractMap</a><K,V></li>
+<li>
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true" title="class or interface in java.util">java.util.TreeMap</a><<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="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.rest.RequestPathParams</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt>All Implemented Interfaces:</dt>
+<dd><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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="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="http://docs.oracle.com/javase/7/docs/api/java/util/NavigableMap.html?is-external=true" title="class or interface in java.util">NavigableMap</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interfac
e in java.lang">String</a>,<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="http://docs.oracle.com/javase/7/docs/api/java/util/SortedMap.html?is-external=true" title="class or interface in java.util">SortedMap</a><<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="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>></dd>
+</dl>
+<hr>
+<br>
+<pre>public class <a href="../../../../src-html/org/apache/juneau/rest/RequestPathParams.html#line.26">RequestPathParams</a>
+extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true" title="class or interface in java.util">TreeMap</a><<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="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>></pre>
+<div class="block">Represents the path parameters on an HTTP request.</div>
+<dl>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a href="../../../../serialized-form.html#org.apache.juneau.rest.RequestPathParams">Serialized Form</a></dd>
+</dl>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== NESTED CLASS SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="nested.class.summary">
+<!-- -->
+</a>
+<h3>Nested Class Summary</h3>
+<ul class="blockList">
+<li class="blockList"><a name="nested.classes.inherited.from.class.java.util.AbstractMap">
+<!-- -->
+</a>
+<h3>Nested classes/interfaces inherited from class java.util.<a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.html?is-external=true" title="class or interface in java.util">AbstractMap</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.SimpleEntry.html?is-external=true" title="class or interface in java.util">AbstractMap.SimpleEntry</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.SimpleEntry.html?is-external=true" title="class or interface in java.util">K</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.SimpleEntry.html?is-external=true" title="class or interface in java.util">V</a>>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.SimpleImmutableEntry.html?is-external=true" title="class or interface in java.util">AbstractMap.SimpleImmutableEntry</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.SimpleImmutableEntry.html?is-external=true" title="class or interface in java.util">K</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.SimpleImmutableEntry.html?is-external=true" title="class or interface in
java.util">V</a>></code></li>
+</ul>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code><T> T</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestPathParams.html#get-java.lang.String-java.lang.Class-">get</a></span>(<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> name,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type)</code>
+<div class="block">Returns the specified path parameter converted to a POJO.</div>
+</td>
+</tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code><T> T</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestPathParams.html#get-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-">get</a></span>(<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> name,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> type,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>... args)</code>
+<div class="block">Returns the specified path parameter converted to a POJO.</div>
+</td>
+</tr>
+<tr id="i2" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestPathParams.html#put-java.lang.String-java.lang.Object-">put</a></span>(<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> name,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code>
+<div class="block">Sets a request query parameter value.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.util.TreeMap">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.util.<a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true" title="class or interface in java.util">TreeMap</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#ceilingEntry-K-" title="class or interface in java.util">ceilingEntry</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#ceilingKey-K-" title="class or interface in java.util">ceilingKey</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#clear--" title="class or interface in java.util">clear</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#clone--" title="class or interface in java.util">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#comparator--" title="class or interface in java.util">comparator</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#containsKey-java.lang.Object-" title="class or interface in java.util">containsKey</a>, <a href="http://docs.oracle
.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#containsValue-java.lang.Object-" title="class or interface in java.util">containsValue</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#descendingKeySet--" title="class or interface in java.util">descendingKeySet</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#descendingMap--" title="class or interface in java.util">descendingMap</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#entrySet--" title="class or interface in java.util">entrySet</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#firstEntry--" title="class or interface in java.util">firstEntry</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#firstKey--" title="class or interface in java.util">firstKey</a>, <a href="http://docs.oracle.com/
javase/7/docs/api/java/util/TreeMap.html?is-external=true#floorEntry-K-" title="class or interface in java.util">floorEntry</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#floorKey-K-" title="class or interface in java.util">floorKey</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#forEach-java.util.function.BiConsumer-" title="class or interface in java.util">forEach</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#get-java.lang.Object-" title="class or interface in java.util">get</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#headMap-K-" title="class or interface in java.util">headMap</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#headMap-K-boolean-" title="class or interface in java.util">headMap</a>, <a href="http://docs.oracle.com/javase/7/docs/ap
i/java/util/TreeMap.html?is-external=true#higherEntry-K-" title="class or interface in java.util">higherEntry</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#higherKey-K-" title="class or interface in java.util">higherKey</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#keySet--" title="class or interface in java.util">keySet</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#lastEntry--" title="class or interface in java.util">lastEntry</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#lastKey--" title="class or interface in java.util">lastKey</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#lowerEntry-K-" title="class or interface in java.util">lowerEntry</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#lowerKey
-K-" title="class or interface in java.util">lowerKey</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#navigableKeySet--" title="class or interface in java.util">navigableKeySet</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#pollFirstEntry--" title="class or interface in java.util">pollFirstEntry</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#pollLastEntry--" title="class or interface in java.util">pollLastEntry</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#put-K-V-" title="class or interface in java.util">put</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#putAll-java.util.Map-" title="class or interface in java.util">putAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#remove-java.lang.Object-" titl
e="class or interface in java.util">remove</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#replace-K-V-" title="class or interface in java.util">replace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#replace-K-V-V-" title="class or interface in java.util">replace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#replaceAll-java.util.function.BiFunction-" title="class or interface in java.util">replaceAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#size--" title="class or interface in java.util">size</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#subMap-K-boolean-K-boolean-" title="class or interface in java.util">subMap</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#subMap-K-K-" title="class or interf
ace in java.util">subMap</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#tailMap-K-" title="class or interface in java.util">tailMap</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#tailMap-K-boolean-" title="class or interface in java.util">tailMap</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true#values--" title="class or interface in java.util">values</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.util.AbstractMap">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.util.<a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.html?is-external=true" title="class or interface in java.util">AbstractMap</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.util">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.html?is-external=true#hashCode--" title="class or interface in java.util">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.html?is-external=true#isEmpty--" title="class or interface in java.util">isEmpty</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.html?is-external=true#toString--" title="class or interface in java.util">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-
external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.util.Map">
+<!-- -->
+</a>
+<h3>Methods inherited from interface java.util.<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#compute-K-java.util.function.BiFunction-" title="class or interface in java.util">compute</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#computeIfAbsent-K-java.util.function.Function-" title="class or interface in java.util">computeIfAbsent</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#computeIfPresent-K-java.util.function.BiFunction-" title="class or interface in java.util">computeIfPresent</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.util">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#getOrDefault-java.lang.Object-V-" title="class or interface in java.util">getOrDefault</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-ex
ternal=true#hashCode--" title="class or interface in java.util">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#isEmpty--" title="class or interface in java.util">isEmpty</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#merge-K-V-java.util.function.BiFunction-" title="class or interface in java.util">merge</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#putIfAbsent-K-V-" title="class or interface in java.util">putIfAbsent</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#remove-java.lang.Object-java.lang.Object-" title="class or interface in java.util">remove</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="put-java.lang.String-java.lang.Object-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>put</h4>
+<pre>public void <a href="../../../../src-html/org/apache/juneau/rest/RequestPathParams.html#line.52">put</a>(<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> name,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</pre>
+<div class="block">Sets a request query parameter value.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>name</code> - The parameter name.</dd>
+<dd><code>value</code> - The parameter value.</dd>
+</dl>
+</li>
+</ul>
+<a name="get-java.lang.String-java.lang.Class-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>get</h4>
+<pre>public <T> T <a href="../../../../src-html/org/apache/juneau/rest/RequestPathParams.html#line.86">get</a>(<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> name,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type)
+ throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
+<div class="block">Returns the specified path parameter converted to a POJO.
+ <p>
+ The type can be any POJO type convertable from a <code>String</code> (See <a class="doclink"
+ href="package-summary.html#PojosConvertableFromString">POJOs Convertable From Strings</a>).
+ <p>
+ <h5 class='section'>Examples:</h5>
+ <p class='bcode'>
+ <jc>// Parse into an integer.</jc>
+ <jk>int</jk> myparam = req.getPathParameter(<js>"myparam"</js>, <jk>int</jk>.<jk>class</jk>);
+
+ <jc>// Parse into an int array.</jc>
+ <jk>int</jk>[] myparam = req.getPathParameter(<js>"myparam"</js>, <jk>int</jk>[].<jk>class</jk>);
+
+ <jc>// Parse into a bean.</jc>
+ MyBean myparam = req.getPathParameter(<js>"myparam"</js>, MyBean.<jk>class</jk>);
+
+ <jc>// Parse into a linked-list of objects.</jc>
+ List myparam = req.getPathParameter(<js>"myparam"</js>, LinkedList.<jk>class</jk>);
+
+ <jc>// Parse into a map of object keys/values.</jc>
+ Map myparam = req.getPathParameter(<js>"myparam"</js>, TreeMap.<jk>class</jk>);
+ </p></div>
+<dl>
+<dt><span class="paramLabel">Type Parameters:</span></dt>
+<dd><code>T</code> - The class type to convert the attribute value to.</dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>name</code> - The attribute name.</dd>
+<dd><code>type</code> - The class type to convert the attribute value to.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The attribute value converted to the specified class type.</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="get-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>get</h4>
+<pre>public <T> T <a href="../../../../src-html/org/apache/juneau/rest/RequestPathParams.html#line.122">get</a>(<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> name,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> type,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>... args)
+ throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
+<div class="block">Returns the specified path parameter converted to a POJO.
+ <p>
+ The type can be any POJO type convertable from a <code>String</code> (See <a class="doclink" href="package-summary.html#PojosConvertableFromString">POJOs Convertable From Strings</a>).
+ <p>
+ Use this method if you want to parse into a parameterized <code>Map</code>/<code>Collection</code> object.
+ <p>
+ <h5 class='section'>Examples:</h5>
+ <p class='bcode'>
+ <jc>// Parse into a linked-list of strings.</jc>
+ List<String> myparam = req.getPathParameter(<js>"myparam"</js>, LinkedList.<jk>class</jk>, String.<jk>class</jk>);
+
+ <jc>// Parse into a linked-list of linked-lists of strings.</jc>
+ List<List<String>> myparam = req.getPathParameter(<js>"myparam"</js>, LinkedList.<jk>class</jk>, LinkedList.<jk>class</jk>, String.<jk>class</jk>);
+
+ <jc>// Parse into a map of string keys/values.</jc>
+ Map<String,String> myparam = req.getPathParameter(<js>"myparam"</js>, TreeMap.<jk>class</jk>, String.<jk>class</jk>, String.<jk>class</jk>);
+
+ <jc>// Parse into a map containing string keys and values of lists containing beans.</jc>
+ Map<String,List<MyBean>> myparam = req.getPathParameter(<js>"myparam"</js>, TreeMap.<jk>class</jk>, String.<jk>class</jk>, List.<jk>class</jk>, MyBean.<jk>class</jk>);
+ </p></div>
+<dl>
+<dt><span class="paramLabel">Type Parameters:</span></dt>
+<dd><code>T</code> - The class type to convert the attribute value to.</dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>name</code> - The attribute name.</dd>
+<dd><code>type</code> - The type of object to create.
+ <br>Can be any of the following: <a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/ParameterizedType.html?is-external=true" title="class or interface in java.lang.reflect"><code>ParameterizedType</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/GenericArrayType.html?is-external=true" title="class or interface in java.lang.reflect"><code>GenericArrayType</code></a></dd>
+<dd><code>args</code> - The type arguments of the class if it's a collection or map.
+ <br>Can be any of the following: <a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/ParameterizedType.html?is-external=true" title="class or interface in java.lang.reflect"><code>ParameterizedType</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/GenericArrayType.html?is-external=true" title="class or interface in java.lang.reflect"><code>GenericArrayType</code></a>
+ <br>Ignored if the main type is not a map or collection.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The attribute value converted to the specified class type.</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></code></dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/rest/RequestHeaders.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/rest/RequestQuery.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/rest/RequestPathParams.html" target="_top">Frames</a></li>
+<li><a href="RequestPathParams.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li><a href="#nested.classes.inherited.from.class.java.util.AbstractMap">Nested</a> | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/rest/RequestQuery.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/RequestQuery.html b/content/site/apidocs/org/apache/juneau/rest/RequestQuery.html
new file mode 100644
index 0000000..f589fd5
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/rest/RequestQuery.html
@@ -0,0 +1,673 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>RequestQuery (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="RequestQuery (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10};
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/rest/RequestPathParams.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/rest/ResponseHandler.html" title="interface in org.apache.juneau.rest"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/rest/RequestQuery.html" target="_top">Frames</a></li>
+<li><a href="RequestQuery.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li><a href="#nested.classes.inherited.from.class.java.util.AbstractMap">Nested</a> | </li>
+<li>Field | </li>
+<li><a href="#constructor.summary">Constr</a> | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li><a href="#constructor.detail">Constr</a> | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.rest</div>
+<h2 title="Class RequestQuery" class="title">Class RequestQuery</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.html?is-external=true" title="class or interface in java.util">java.util.AbstractMap</a><K,V></li>
+<li>
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">java.util.HashMap</a><K,V></li>
+<li>
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMap.html?is-external=true" title="class or interface in java.util">java.util.LinkedHashMap</a><<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="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.rest.RequestQuery</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt>All Implemented Interfaces:</dt>
+<dd><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]></dd>
+</dl>
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/rest/RequestQuery.html#line.29">RequestQuery</a>
+extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMap.html?is-external=true" title="class or interface in java.util">LinkedHashMap</a><<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="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]></pre>
+<div class="block">Represents the query parameters in an HTTP request.</div>
+<dl>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a href="../../../../serialized-form.html#org.apache.juneau.rest.RequestQuery">Serialized Form</a></dd>
+</dl>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== NESTED CLASS SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="nested.class.summary">
+<!-- -->
+</a>
+<h3>Nested Class Summary</h3>
+<ul class="blockList">
+<li class="blockList"><a name="nested.classes.inherited.from.class.java.util.AbstractMap">
+<!-- -->
+</a>
+<h3>Nested classes/interfaces inherited from class java.util.<a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.html?is-external=true" title="class or interface in java.util">AbstractMap</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.SimpleEntry.html?is-external=true" title="class or interface in java.util">AbstractMap.SimpleEntry</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.SimpleEntry.html?is-external=true" title="class or interface in java.util">K</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.SimpleEntry.html?is-external=true" title="class or interface in java.util">V</a>>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.SimpleImmutableEntry.html?is-external=true" title="class or interface in java.util">AbstractMap.SimpleImmutableEntry</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.SimpleImmutableEntry.html?is-external=true" title="class or interface in java.util">K</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.SimpleImmutableEntry.html?is-external=true" title="class or interface in
java.util">V</a>></code></li>
+</ul>
+</li>
+</ul>
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.summary">
+<!-- -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
+<tr>
+<th class="colOne" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestQuery.html#RequestQuery--">RequestQuery</a></span>()</code> </td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestQuery.html#containsAnyKeys-java.lang.String...-">containsAnyKeys</a></span>(<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>... params)</code>
+<div class="block">Returns <jk>true</jk> if the request contains any of the specified query parameters.</div>
+</td>
+</tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code><T> T</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestQuery.html#get-java.lang.String-java.lang.Class-">get</a></span>(<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> name,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type)</code>
+<div class="block">Returns the specified query parameter value converted to a POJO.</div>
+</td>
+</tr>
+<tr id="i2" class="altColor">
+<td class="colFirst"><code><T> T</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestQuery.html#get-java.lang.String-java.lang.Object-java.lang.reflect.Type-java.lang.reflect.Type...-">get</a></span>(<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> name,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> def,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> type,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>... args)</code>
+<div class="block">Same as <a href="../../../../org/apache/juneau/rest/RequestQuery.html#get-java.lang.String-java.lang.Class-"><code>get(String, Class)</code></a> except returns a default value if not found.</div>
+</td>
+</tr>
+<tr id="i3" class="rowColor">
+<td class="colFirst"><code><T> T</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestQuery.html#get-java.lang.String-T-java.lang.Class-">get</a></span>(<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> name,
+ T def,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type)</code>
+<div class="block">Same as <a href="../../../../org/apache/juneau/rest/RequestQuery.html#get-java.lang.String-java.lang.Class-"><code>get(String, Class)</code></a> except returns a default value if not found.</div>
+</td>
+</tr>
+<tr id="i4" class="altColor">
+<td class="colFirst"><code><T> T</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestQuery.html#get-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-">get</a></span>(<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> name,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> type,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>... args)</code>
+<div class="block">Returns the specified query parameter value converted to a POJO.</div>
+</td>
+</tr>
+<tr id="i5" class="rowColor">
+<td class="colFirst"><code><T> T</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestQuery.html#getAll-java.lang.String-java.lang.Class-">getAll</a></span>(<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> name,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c)</code>
+<div class="block">Same as <a href="../../../../org/apache/juneau/rest/RequestQuery.html#get-java.lang.String-java.lang.Class-"><code>get(String, Class)</code></a> except for use on multi-part parameters
+ (e.g.</div>
+</td>
+</tr>
+<tr id="i6" class="altColor">
+<td class="colFirst"><code><T> T</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestQuery.html#getAll-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-">getAll</a></span>(<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> name,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> type,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>... args)</code>
+<div class="block">Same as <a href="../../../../org/apache/juneau/rest/RequestQuery.html#get-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>get(String, Type, Type...)</code></a> except for use on multi-part parameters
+ (e.g.</div>
+</td>
+</tr>
+<tr id="i7" class="rowColor">
+<td class="colFirst"><code><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/rest/RequestQuery.html#getFirst-java.lang.String-">getFirst</a></span>(<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> name)</code>
+<div class="block">Returns a query parameter value.</div>
+</td>
+</tr>
+<tr id="i8" class="altColor">
+<td class="colFirst"><code><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/rest/RequestQuery.html#getFirst-java.lang.String-java.lang.String-">getFirst</a></span>(<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> name,
+ <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> def)</code>
+<div class="block">Same as <a href="../../../../org/apache/juneau/rest/RequestQuery.html#getFirst-java.lang.String-"><code>getFirst(String)</code></a> but returns the specified default value if the query parameter was not specified.</div>
+</td>
+</tr>
+<tr id="i9" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestQuery.html#put-java.lang.String-java.lang.Object-">put</a></span>(<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> name,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code>
+<div class="block">Sets a request query parameter value.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.util.LinkedHashMap">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.util.<a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMap.html?is-external=true" title="class or interface in java.util">LinkedHashMap</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMap.html?is-external=true#clear--" title="class or interface in java.util">clear</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMap.html?is-external=true#containsValue-java.lang.Object-" title="class or interface in java.util">containsValue</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMap.html?is-external=true#entrySet--" title="class or interface in java.util">entrySet</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMap.html?is-external=true#forEach-java.util.function.BiConsumer-" title="class or interface in java.util">forEach</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMap.html?is-external=true#get-java.lang.Object-" title="class or interface in java.util">get</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMap.html?is-external=true#getOrDefault-java.lang.Object-V-
" title="class or interface in java.util">getOrDefault</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMap.html?is-external=true#keySet--" title="class or interface in java.util">keySet</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMap.html?is-external=true#removeEldestEntry-java.util.Map.Entry-" title="class or interface in java.util">removeEldestEntry</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMap.html?is-external=true#replaceAll-java.util.function.BiFunction-" title="class or interface in java.util">replaceAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMap.html?is-external=true#values--" title="class or interface in java.util">values</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.util.HashMap">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.util.<a href="http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true#clone--" title="class or interface in java.util">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true#compute-K-java.util.function.BiFunction-" title="class or interface in java.util">compute</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true#computeIfAbsent-K-java.util.function.Function-" title="class or interface in java.util">computeIfAbsent</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true#computeIfPresent-K-java.util.function.BiFunction-" title="class or interface in java.util">computeIfPresent</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true#containsKey-java.lang.Object-" title="class or interface in java.util">containsKey</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-
external=true#isEmpty--" title="class or interface in java.util">isEmpty</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true#merge-K-V-java.util.function.BiFunction-" title="class or interface in java.util">merge</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true#put-K-V-" title="class or interface in java.util">put</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true#putAll-java.util.Map-" title="class or interface in java.util">putAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true#putIfAbsent-K-V-" title="class or interface in java.util">putIfAbsent</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true#remove-java.lang.Object-" title="class or interface in java.util">remove</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true
#remove-java.lang.Object-java.lang.Object-" title="class or interface in java.util">remove</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true#replace-K-V-" title="class or interface in java.util">replace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true#replace-K-V-V-" title="class or interface in java.util">replace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true#size--" title="class or interface in java.util">size</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.util.AbstractMap">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.util.<a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.html?is-external=true" title="class or interface in java.util">AbstractMap</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.util">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.html?is-external=true#hashCode--" title="class or interface in java.util">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.html?is-external=true#toString--" title="class or interface in java.util">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-
external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.util.Map">
+<!-- -->
+</a>
+<h3>Methods inherited from interface java.util.<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#compute-K-java.util.function.BiFunction-" title="class or interface in java.util">compute</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#computeIfAbsent-K-java.util.function.Function-" title="class or interface in java.util">computeIfAbsent</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#computeIfPresent-K-java.util.function.BiFunction-" title="class or interface in java.util">computeIfPresent</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#containsKey-java.lang.Object-" title="class or interface in java.util">containsKey</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.util">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-extern
al=true#hashCode--" title="class or interface in java.util">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#isEmpty--" title="class or interface in java.util">isEmpty</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#merge-K-V-java.util.function.BiFunction-" title="class or interface in java.util">merge</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#put-K-V-" title="class or interface in java.util">put</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#putAll-java.util.Map-" title="class or interface in java.util">putAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#putIfAbsent-K-V-" title="class or interface in java.util">putIfAbsent</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#remove-java.lang.Object-" title="class or
interface in java.util">remove</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#remove-java.lang.Object-java.lang.Object-" title="class or interface in java.util">remove</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#replace-K-V-" title="class or interface in java.util">replace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#replace-K-V-V-" title="class or interface in java.util">replace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#size--" title="class or interface in java.util">size</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.detail">
+<!-- -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="RequestQuery--">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>RequestQuery</h4>
+<pre>public <a href="../../../../src-html/org/apache/juneau/rest/RequestQuery.html#line.29">RequestQuery</a>()</pre>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="put-java.lang.String-java.lang.Object-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>put</h4>
+<pre>public void <a href="../../../../src-html/org/apache/juneau/rest/RequestQuery.html#line.51">put</a>(<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> name,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</pre>
+<div class="block">Sets a request query parameter value.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>name</code> - The parameter name.</dd>
+<dd><code>value</code> - The parameter value.</dd>
+</dl>
+</li>
+</ul>
+<a name="getFirst-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getFirst</h4>
+<pre>public <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/rest/RequestQuery.html#line.65">getFirst</a>(<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> name)</pre>
+<div class="block">Returns a query parameter value.
+ <p>
+ Same as <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletRequest.html?is-external=true#getParameter-java.lang.String-" title="class or interface in javax.servlet"><code>ServletRequest.getParameter(String)</code></a> except only looks in the URL string, not parameters from URL-Encoded FORM posts.
+ <p>
+ This method can be used to retrieve a parameter without triggering the underlying servlet API to load and parse the request body.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>name</code> - The URL parameter name.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parameter value, or <jk>null</jk> if parameter not specified or has no value (e.g. <js>"&foo"</js>.</dd>
+</dl>
+</li>
+</ul>
+<a name="getFirst-java.lang.String-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getFirst</h4>
+<pre>public <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/rest/RequestQuery.html#line.86">getFirst</a>(<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> name,
+ <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> def)</pre>
+<div class="block">Same as <a href="../../../../org/apache/juneau/rest/RequestQuery.html#getFirst-java.lang.String-"><code>getFirst(String)</code></a> but returns the specified default value if the query parameter was not specified.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>name</code> - The URL parameter name.</dd>
+<dd><code>def</code> - The default value.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parameter value, or the default value if parameter not specified or has no value (e.g. <js>"&foo"</js>.</dd>
+</dl>
+</li>
+</ul>
+<a name="get-java.lang.String-java.lang.Class-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>get</h4>
+<pre>public <T> T <a href="../../../../src-html/org/apache/juneau/rest/RequestQuery.html#line.120">get</a>(<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> name,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type)
+ throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
+<div class="block">Returns the specified query parameter value converted to a POJO.
+ <p>
+ This method can be used to retrieve a parameter without triggering the underlying servlet API to load and parse the request body.
+ <p>
+ <h5 class='section'>Examples:</h5>
+ <p class='bcode'>
+ <jc>// Parse into an integer.</jc>
+ <jk>int</jk> myparam = req.getQueryParameter(<js>"myparam"</js>, <jk>int</jk>.<jk>class</jk>);
+
+ <jc>// Parse into an int array.</jc>
+ <jk>int</jk>[] myparam = req.getQueryParameter(<js>"myparam"</js>, <jk>int</jk>[].<jk>class</jk>);
+
+ <jc>// Parse into a bean.</jc>
+ MyBean myparam = req.getQueryParameter(<js>"myparam"</js>, MyBean.<jk>class</jk>);
+
+ <jc>// Parse into a linked-list of objects.</jc>
+ List myparam = req.getQueryParameter(<js>"myparam"</js>, LinkedList.<jk>class</jk>);
+
+ <jc>// Parse into a map of object keys/values.</jc>
+ Map myparam = req.getQueryParameter(<js>"myparam"</js>, TreeMap.<jk>class</jk>);
+ </p></div>
+<dl>
+<dt><span class="paramLabel">Type Parameters:</span></dt>
+<dd><code>T</code> - The class type to convert the parameter value to.</dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>name</code> - The parameter name.</dd>
+<dd><code>type</code> - The class type to convert the parameter value to.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parameter value converted to the specified class type.</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="get-java.lang.String-java.lang.Object-java.lang.Class-">
+<!-- -->
+</a><a name="get-java.lang.String-T-java.lang.Class-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>get</h4>
+<pre>public <T> T <a href="../../../../src-html/org/apache/juneau/rest/RequestQuery.html#line.134">get</a>(<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> name,
+ T def,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type)
+ throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
+<div class="block">Same as <a href="../../../../org/apache/juneau/rest/RequestQuery.html#get-java.lang.String-java.lang.Class-"><code>get(String, Class)</code></a> except returns a default value if not found.</div>
+<dl>
+<dt><span class="paramLabel">Type Parameters:</span></dt>
+<dd><code>T</code> - The class type to convert the parameter value to.</dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>name</code> - The parameter name.</dd>
+<dd><code>def</code> - The default value if the parameter was not specified or is <jk>null</jk>.</dd>
+<dd><code>type</code> - The class type to convert the parameter value to.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parameter value converted to the specified class type.</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="get-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>get</h4>
+<pre>public <T> T <a href="../../../../src-html/org/apache/juneau/rest/RequestQuery.html#line.170">get</a>(<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> name,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> type,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>... args)
+ throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
+<div class="block">Returns the specified query parameter value converted to a POJO.
+ <p>
+ This method can be used to retrieve a parameter without triggering the underlying servlet API to load and parse the request body.
+ <p>
+ Use this method if you want to parse into a parameterized <code>Map</code>/<code>Collection</code> object.
+ <p>
+ <h5 class='section'>Examples:</h5>
+ <p class='bcode'>
+ <jc>// Parse into a linked-list of strings.</jc>
+ Listt<String> myparam = req.getQueryParameter(<js>"myparam"</js>, LinkedList.<jk>class</jk>, String.<jk>class</jk>);
+
+ <jc>// Parse into a linked-list of linked-lists of strings.</jc>
+ Listt<List<String>> myparam = req.getQueryParameter(<js>"myparam"</js>, LinkedList.<jk>class</jk>, LinkedList.<jk>class</jk>, String.<jk>class</jk>);
+
+ <jc>// Parse into a map of string keys/values.</jc>
+ Map<String,String> myparam = req.getQueryParameter(<js>"myparam"</js>, TreeMap.<jk>class</jk>, String.<jk>class</jk>, String.<jk>class</jk>);
+
+ <jc>// Parse into a map containing string keys and values of lists containing beans.</jc>
+ Map<String,List<MyBean>> myparam = req.getQueryParameter(<js>"myparam"</js>, TreeMap.<jk>class</jk>, String.<jk>class</jk>, List.<jk>class</jk>, MyBean.<jk>class</jk>);
+ </p></div>
+<dl>
+<dt><span class="paramLabel">Type Parameters:</span></dt>
+<dd><code>T</code> - The class type to convert the parameter value to.</dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>name</code> - The parameter name.</dd>
+<dd><code>type</code> - The type of object to create.
+ <br>Can be any of the following: <a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/ParameterizedType.html?is-external=true" title="class or interface in java.lang.reflect"><code>ParameterizedType</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/GenericArrayType.html?is-external=true" title="class or interface in java.lang.reflect"><code>GenericArrayType</code></a></dd>
+<dd><code>args</code> - The type arguments of the class if it's a collection or map.
+ <br>Can be any of the following: <a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/ParameterizedType.html?is-external=true" title="class or interface in java.lang.reflect"><code>ParameterizedType</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/GenericArrayType.html?is-external=true" title="class or interface in java.lang.reflect"><code>GenericArrayType</code></a>
+ <br>Ignored if the main type is not a map or collection.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parameter value converted to the specified class type.</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="get-java.lang.String-java.lang.Object-java.lang.reflect.Type-java.lang.reflect.Type...-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>get</h4>
+<pre>public <T> T <a href="../../../../src-html/org/apache/juneau/rest/RequestQuery.html#line.188">get</a>(<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> name,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> def,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> type,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>... args)
+ throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
+<div class="block">Same as <a href="../../../../org/apache/juneau/rest/RequestQuery.html#get-java.lang.String-java.lang.Class-"><code>get(String, Class)</code></a> except returns a default value if not found.</div>
+<dl>
+<dt><span class="paramLabel">Type Parameters:</span></dt>
+<dd><code>T</code> - The class type to convert the parameter value to.</dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>name</code> - The parameter name.</dd>
+<dd><code>type</code> - The type of object to create.
+ <br>Can be any of the following: <a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/ParameterizedType.html?is-external=true" title="class or interface in java.lang.reflect"><code>ParameterizedType</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/GenericArrayType.html?is-external=true" title="class or interface in java.lang.reflect"><code>GenericArrayType</code></a></dd>
+<dd><code>args</code> - The type arguments of the class if it's a collection or map.
+ <br>Can be any of the following: <a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/ParameterizedType.html?is-external=true" title="class or interface in java.lang.reflect"><code>ParameterizedType</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/GenericArrayType.html?is-external=true" title="class or interface in java.lang.reflect"><code>GenericArrayType</code></a>
+ <br>Ignored if the main type is not a map or collection.</dd>
+<dd><code>def</code> - The default value if the parameter was not specified or is <jk>null</jk>.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parameter value converted to the specified class type.</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="getAll-java.lang.String-java.lang.Class-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getAll</h4>
+<pre>public <T> T <a href="../../../../src-html/org/apache/juneau/rest/RequestQuery.html#line.204">getAll</a>(<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> name,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c)
+ throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
+<div class="block">Same as <a href="../../../../org/apache/juneau/rest/RequestQuery.html#get-java.lang.String-java.lang.Class-"><code>get(String, Class)</code></a> except for use on multi-part parameters
+ (e.g. <js>"&key=1&key=2&key=3"</js> instead of <js>"&key=(1,2,3)"</js>).
+ <p>
+ This method must only be called when parsing into classes of type Collection or array.</div>
+<dl>
+<dt><span class="paramLabel">Type Parameters:</span></dt>
+<dd><code>T</code> - The class type to convert the parameter value to.</dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>name</code> - The query parameter name.</dd>
+<dd><code>c</code> - The class type to convert the parameter value to.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The query parameter value converted to the specified class type.</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="getAll-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getAll</h4>
+<pre>public <T> T <a href="../../../../src-html/org/apache/juneau/rest/RequestQuery.html#line.224">getAll</a>(<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> name,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> type,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>... args)
+ throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
+<div class="block">Same as <a href="../../../../org/apache/juneau/rest/RequestQuery.html#get-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>get(String, Type, Type...)</code></a> except for use on multi-part parameters
+ (e.g. <js>"&key=1&key=2&key=3"</js> instead of <js>"&key=(1,2,3)"</js>).
+ <p>
+ This method must only be called when parsing into classes of type Collection or array.</div>
+<dl>
+<dt><span class="paramLabel">Type Parameters:</span></dt>
+<dd><code>T</code> - The class type to convert the parameter value to.</dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>name</code> - The query parameter name.</dd>
+<dd><code>type</code> - The type of object to create.
+ <br>Can be any of the following: <a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/ParameterizedType.html?is-external=true" title="class or interface in java.lang.reflect"><code>ParameterizedType</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/GenericArrayType.html?is-external=true" title="class or interface in java.lang.reflect"><code>GenericArrayType</code></a></dd>
+<dd><code>args</code> - The type arguments of the class if it's a collection or map.
+ <br>Can be any of the following: <a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/ParameterizedType.html?is-external=true" title="class or interface in java.lang.reflect"><code>ParameterizedType</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/GenericArrayType.html?is-external=true" title="class or interface in java.lang.reflect"><code>GenericArrayType</code></a>
+ <br>Ignored if the main type is not a map or collection.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The query parameter value converted to the specified class type.</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="containsAnyKeys-java.lang.String...-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>containsAnyKeys</h4>
+<pre>public boolean <a href="../../../../src-html/org/apache/juneau/rest/RequestQuery.html#line.234">containsAnyKeys</a>(<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>... params)</pre>
+<div class="block">Returns <jk>true</jk> if the request contains any of the specified query parameters.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>params</code> - The list of parameters to check for.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd><jk>true</jk> if the request contains any of the specified query parameters.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/rest/RequestPathParams.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/rest/ResponseHandler.html" title="interface in org.apache.juneau.rest"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/rest/RequestQuery.html" target="_top">Frames</a></li>
+<li><a href="RequestQuery.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li><a href="#nested.classes.inherited.from.class.java.util.AbstractMap">Nested</a> | </li>
+<li>Field | </li>
+<li><a href="#constructor.summary">Constr</a> | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li><a href="#constructor.detail">Constr</a> | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
[15/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/TransferEncoding.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/TransferEncoding.html b/content/site/apidocs/src-html/org/apache/juneau/http/TransferEncoding.html
new file mode 100644
index 0000000..e388cf7
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/TransferEncoding.html
@@ -0,0 +1,136 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Represents a parsed <l>Transfer-Encoding</l> HTTP response header.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * <p><a name="line.17"></a>
+<span class="sourceLineNo">018</span> * The form of encoding used to safely transfer the entity to the user.<a name="line.18"></a>
+<span class="sourceLineNo">019</span> * Currently defined methods are: chunked, compress, deflate, gzip, identity.<a name="line.19"></a>
+<span class="sourceLineNo">020</span> *<a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <h6 class='figure'>Example</h6><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * <p class='bcode'><a name="line.22"></a>
+<span class="sourceLineNo">023</span> * Transfer-Encoding: chunked<a name="line.23"></a>
+<span class="sourceLineNo">024</span> * </p><a name="line.24"></a>
+<span class="sourceLineNo">025</span> *<a name="line.25"></a>
+<span class="sourceLineNo">026</span> * <h6 class='topic'>RFC2616 Specification</h6><a name="line.26"></a>
+<span class="sourceLineNo">027</span> *<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * The Transfer-Encoding general-header field indicates what (if any) type of transformation has been applied to the<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * message body in order to safely transfer it between the sender and the recipient.<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * This differs from the content-coding in that the transfer-coding is a property of the message, not of the entity.<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * <p class='bcode'><a name="line.31"></a>
+<span class="sourceLineNo">032</span> * Transfer-Encoding = "Transfer-Encoding" ":" 1#transfer-coding<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * </p><a name="line.33"></a>
+<span class="sourceLineNo">034</span> * <p><a name="line.34"></a>
+<span class="sourceLineNo">035</span> * Transfer-codings are defined in section 3.6. An example is:<a name="line.35"></a>
+<span class="sourceLineNo">036</span> * <p class='bcode'><a name="line.36"></a>
+<span class="sourceLineNo">037</span> * Transfer-Encoding: chunked<a name="line.37"></a>
+<span class="sourceLineNo">038</span> * </p><a name="line.38"></a>
+<span class="sourceLineNo">039</span> * <p><a name="line.39"></a>
+<span class="sourceLineNo">040</span> * If multiple encodings have been applied to an entity, the transfer-codings MUST be listed in the order in which<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * they were applied.<a name="line.41"></a>
+<span class="sourceLineNo">042</span> * Additional information about the encoding parameters MAY be provided by other entity-header fields not defined by<a name="line.42"></a>
+<span class="sourceLineNo">043</span> * this specification.<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * <p><a name="line.44"></a>
+<span class="sourceLineNo">045</span> * Many older HTTP/1.0 applications do not understand the Transfer-Encoding header.<a name="line.45"></a>
+<span class="sourceLineNo">046</span> */<a name="line.46"></a>
+<span class="sourceLineNo">047</span>public final class TransferEncoding extends HeaderString {<a name="line.47"></a>
+<span class="sourceLineNo">048</span><a name="line.48"></a>
+<span class="sourceLineNo">049</span> /**<a name="line.49"></a>
+<span class="sourceLineNo">050</span> * Returns a parsed <code>Transfer-Encoding</code> header.<a name="line.50"></a>
+<span class="sourceLineNo">051</span> *<a name="line.51"></a>
+<span class="sourceLineNo">052</span> * @param value The <code>Transfer-Encoding</code> header string.<a name="line.52"></a>
+<span class="sourceLineNo">053</span> * @return The parsed <code>Transfer-Encoding</code> header, or <jk>null</jk> if the string was null.<a name="line.53"></a>
+<span class="sourceLineNo">054</span> */<a name="line.54"></a>
+<span class="sourceLineNo">055</span> public static TransferEncoding forString(String value) {<a name="line.55"></a>
+<span class="sourceLineNo">056</span> if (value == null)<a name="line.56"></a>
+<span class="sourceLineNo">057</span> return null;<a name="line.57"></a>
+<span class="sourceLineNo">058</span> return new TransferEncoding(value);<a name="line.58"></a>
+<span class="sourceLineNo">059</span> }<a name="line.59"></a>
+<span class="sourceLineNo">060</span><a name="line.60"></a>
+<span class="sourceLineNo">061</span> private TransferEncoding(String value) {<a name="line.61"></a>
+<span class="sourceLineNo">062</span> super(value);<a name="line.62"></a>
+<span class="sourceLineNo">063</span> }<a name="line.63"></a>
+<span class="sourceLineNo">064</span>}<a name="line.64"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/Upgrade.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/Upgrade.html b/content/site/apidocs/src-html/org/apache/juneau/http/Upgrade.html
new file mode 100644
index 0000000..845d644
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/Upgrade.html
@@ -0,0 +1,156 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Represents a parsed <l>Upgrade</l> HTTP request header.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * <p><a name="line.17"></a>
+<span class="sourceLineNo">018</span> * Ask the client to upgrade to another protocol.<a name="line.18"></a>
+<span class="sourceLineNo">019</span> *<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * <h6 class='figure'>Example</h6><a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p class='bcode'><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * Upgrade: HTTP/2.0, HTTPS/1.3, IRC/6.9, RTA/x11, websocket<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * </p><a name="line.23"></a>
+<span class="sourceLineNo">024</span> *<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * <h6 class='topic'>RFC2616 Specification</h6><a name="line.25"></a>
+<span class="sourceLineNo">026</span> * The Upgrade general-header allows the client to specify what additional communication protocols it supports and<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * would like to use if the server finds it appropriate to switch protocols.<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * The server MUST use the Upgrade header field within a 101 (Switching Protocols) response to indicate which<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * protocol(s) are being switched.<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * <p class='bcode'><a name="line.30"></a>
+<span class="sourceLineNo">031</span> * Upgrade = "Upgrade" ":" 1#product<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * </p><a name="line.32"></a>
+<span class="sourceLineNo">033</span> * <p><a name="line.33"></a>
+<span class="sourceLineNo">034</span> * For example,<a name="line.34"></a>
+<span class="sourceLineNo">035</span> * <p class='bcode'><a name="line.35"></a>
+<span class="sourceLineNo">036</span> * Upgrade: HTTP/2.0, SHTTP/1.3, IRC/6.9, RTA/x11<a name="line.36"></a>
+<span class="sourceLineNo">037</span> * </p><a name="line.37"></a>
+<span class="sourceLineNo">038</span> * <p><a name="line.38"></a>
+<span class="sourceLineNo">039</span> * The Upgrade header field is intended to provide a simple mechanism for transition from HTTP/1.1 to some other,<a name="line.39"></a>
+<span class="sourceLineNo">040</span> * incompatible protocol.<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * It does so by allowing the client to advertise its desire to use another protocol, such as a later version of HTTP<a name="line.41"></a>
+<span class="sourceLineNo">042</span> * with a higher major version number, even though the current request has been made using HTTP/1.1.<a name="line.42"></a>
+<span class="sourceLineNo">043</span> * This eases the difficult transition between incompatible protocols by allowing the client to initiate a request in<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * the more commonly supported protocol while indicating to the server that it would like to use a "better" protocol if<a name="line.44"></a>
+<span class="sourceLineNo">045</span> * available (where "better" is determined by the server, possibly according to the nature of the method and/or resource<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * being requested).<a name="line.46"></a>
+<span class="sourceLineNo">047</span> * <p><a name="line.47"></a>
+<span class="sourceLineNo">048</span> * The Upgrade header field only applies to switching application-layer protocols upon the existing transport-layer<a name="line.48"></a>
+<span class="sourceLineNo">049</span> * connection.<a name="line.49"></a>
+<span class="sourceLineNo">050</span> * Upgrade cannot be used to insist on a protocol change; its acceptance and use by the server is optional.<a name="line.50"></a>
+<span class="sourceLineNo">051</span> * The capabilities and nature of the application-layer communication after the protocol change is entirely dependent<a name="line.51"></a>
+<span class="sourceLineNo">052</span> * upon the new protocol chosen, although the first action after changing the protocol MUST be a response to the initial<a name="line.52"></a>
+<span class="sourceLineNo">053</span> * HTTP request containing the Upgrade header field.<a name="line.53"></a>
+<span class="sourceLineNo">054</span> * <p><a name="line.54"></a>
+<span class="sourceLineNo">055</span> * The Upgrade header field only applies to the immediate connection.<a name="line.55"></a>
+<span class="sourceLineNo">056</span> * Therefore, the upgrade keyword MUST be supplied within a Connection header field (section 14.10) whenever Upgrade is<a name="line.56"></a>
+<span class="sourceLineNo">057</span> * present in an HTTP/1.1 message.<a name="line.57"></a>
+<span class="sourceLineNo">058</span> * <p><a name="line.58"></a>
+<span class="sourceLineNo">059</span> * The Upgrade header field cannot be used to indicate a switch to a protocol on a different connection.<a name="line.59"></a>
+<span class="sourceLineNo">060</span> * For that purpose, it is more appropriate to use a 301, 302, 303, or 305 redirection response.<a name="line.60"></a>
+<span class="sourceLineNo">061</span> * <p><a name="line.61"></a>
+<span class="sourceLineNo">062</span> * This specification only defines the protocol name "HTTP" for use by the family of Hypertext Transfer Protocols, as<a name="line.62"></a>
+<span class="sourceLineNo">063</span> * defined by the HTTP version rules of section 3.1 and future updates to this specification.<a name="line.63"></a>
+<span class="sourceLineNo">064</span> * Any token can be used as a protocol name; however, it will only be useful if both the client and server associate<a name="line.64"></a>
+<span class="sourceLineNo">065</span> * the name with the same protocol.<a name="line.65"></a>
+<span class="sourceLineNo">066</span> */<a name="line.66"></a>
+<span class="sourceLineNo">067</span>public final class Upgrade extends HeaderStringArray {<a name="line.67"></a>
+<span class="sourceLineNo">068</span><a name="line.68"></a>
+<span class="sourceLineNo">069</span> /**<a name="line.69"></a>
+<span class="sourceLineNo">070</span> * Returns a parsed <code>Upgrade</code> header.<a name="line.70"></a>
+<span class="sourceLineNo">071</span> *<a name="line.71"></a>
+<span class="sourceLineNo">072</span> * @param value The <code>Upgrade</code> header string.<a name="line.72"></a>
+<span class="sourceLineNo">073</span> * @return The parsed <code>Upgrade</code> header, or <jk>null</jk> if the string was null.<a name="line.73"></a>
+<span class="sourceLineNo">074</span> */<a name="line.74"></a>
+<span class="sourceLineNo">075</span> public static Upgrade forString(String value) {<a name="line.75"></a>
+<span class="sourceLineNo">076</span> if (value == null)<a name="line.76"></a>
+<span class="sourceLineNo">077</span> return null;<a name="line.77"></a>
+<span class="sourceLineNo">078</span> return new Upgrade(value);<a name="line.78"></a>
+<span class="sourceLineNo">079</span> }<a name="line.79"></a>
+<span class="sourceLineNo">080</span><a name="line.80"></a>
+<span class="sourceLineNo">081</span> private Upgrade(String value) {<a name="line.81"></a>
+<span class="sourceLineNo">082</span> super(value);<a name="line.82"></a>
+<span class="sourceLineNo">083</span> }<a name="line.83"></a>
+<span class="sourceLineNo">084</span>}<a name="line.84"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/UserAgent.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/UserAgent.html b/content/site/apidocs/src-html/org/apache/juneau/http/UserAgent.html
new file mode 100644
index 0000000..40aa8b1
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/UserAgent.html
@@ -0,0 +1,132 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Represents a parsed <l>User-Agent</l> HTTP request header.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * <p><a name="line.17"></a>
+<span class="sourceLineNo">018</span> * The user agent string of the user agent.<a name="line.18"></a>
+<span class="sourceLineNo">019</span> *<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * <h6 class='figure'>Example</h6><a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p class='bcode'><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20100101 Firefox/21.0<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * </p><a name="line.23"></a>
+<span class="sourceLineNo">024</span> *<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * <h6 class='topic'>RFC2616 Specification</h6><a name="line.25"></a>
+<span class="sourceLineNo">026</span> *<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * The User-Agent request-header field contains information about the user agent originating the request.<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * This is for statistical purposes, the tracing of protocol violations, and automated recognition of user agents for<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * the sake of tailoring responses to avoid particular user agent limitations.<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * User agents SHOULD include this field with requests.<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * The field can contain multiple product tokens (section 3.8) and comments identifying the agent and any subproducts<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * which form a significant part of the user agent.<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * By convention, the product tokens are listed in order of their significance for identifying the application.<a name="line.33"></a>
+<span class="sourceLineNo">034</span> * <p class='bcode'><a name="line.34"></a>
+<span class="sourceLineNo">035</span> * User-Agent = "User-Agent" ":" 1*( product | comment )<a name="line.35"></a>
+<span class="sourceLineNo">036</span> * </p><a name="line.36"></a>
+<span class="sourceLineNo">037</span> * <p><a name="line.37"></a>
+<span class="sourceLineNo">038</span> * Example:<a name="line.38"></a>
+<span class="sourceLineNo">039</span> * <p class='bcode'><a name="line.39"></a>
+<span class="sourceLineNo">040</span> * User-Agent: CERN-LineMode/2.15 libwww/2.17b3<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * </p><a name="line.41"></a>
+<span class="sourceLineNo">042</span> */<a name="line.42"></a>
+<span class="sourceLineNo">043</span>public final class UserAgent extends HeaderString {<a name="line.43"></a>
+<span class="sourceLineNo">044</span><a name="line.44"></a>
+<span class="sourceLineNo">045</span> /**<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * Returns a parsed <code>User-Agent</code> header.<a name="line.46"></a>
+<span class="sourceLineNo">047</span> *<a name="line.47"></a>
+<span class="sourceLineNo">048</span> * @param value The <code>User-Agent</code> header string.<a name="line.48"></a>
+<span class="sourceLineNo">049</span> * @return The parsed <code>User-Agent</code> header, or <jk>null</jk> if the string was null.<a name="line.49"></a>
+<span class="sourceLineNo">050</span> */<a name="line.50"></a>
+<span class="sourceLineNo">051</span> public static UserAgent forString(String value) {<a name="line.51"></a>
+<span class="sourceLineNo">052</span> if (value == null)<a name="line.52"></a>
+<span class="sourceLineNo">053</span> return null;<a name="line.53"></a>
+<span class="sourceLineNo">054</span> return new UserAgent(value);<a name="line.54"></a>
+<span class="sourceLineNo">055</span> }<a name="line.55"></a>
+<span class="sourceLineNo">056</span><a name="line.56"></a>
+<span class="sourceLineNo">057</span> private UserAgent(String value) {<a name="line.57"></a>
+<span class="sourceLineNo">058</span> super(value);<a name="line.58"></a>
+<span class="sourceLineNo">059</span> }<a name="line.59"></a>
+<span class="sourceLineNo">060</span>}<a name="line.60"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/Vary.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/Vary.html b/content/site/apidocs/src-html/org/apache/juneau/http/Vary.html
new file mode 100644
index 0000000..44aeab5
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/Vary.html
@@ -0,0 +1,150 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Represents a parsed <l>Vary</l> HTTP response header.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * <p><a name="line.17"></a>
+<span class="sourceLineNo">018</span> * Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather<a name="line.18"></a>
+<span class="sourceLineNo">019</span> * than requesting a fresh one from the origin server.<a name="line.19"></a>
+<span class="sourceLineNo">020</span><a name="line.20"></a>
+<span class="sourceLineNo">021</span> *<a name="line.21"></a>
+<span class="sourceLineNo">022</span> * <h6 class='figure'>Example</h6><a name="line.22"></a>
+<span class="sourceLineNo">023</span> * <p class='bcode'><a name="line.23"></a>
+<span class="sourceLineNo">024</span> * Vary: *<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * Vary: Accept-Language<a name="line.25"></a>
+<span class="sourceLineNo">026</span> * </p><a name="line.26"></a>
+<span class="sourceLineNo">027</span> *<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * <h6 class='topic'>RFC2616 Specification</h6><a name="line.28"></a>
+<span class="sourceLineNo">029</span> *<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * The Vary field value indicates the set of request-header fields that fully determines, while the response is fresh,<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * whether a cache is permitted to use the response to reply to a subsequent request without revalidation.<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * For uncacheable or stale responses, the Vary field value advises the user agent about the criteria that were used to<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * select the representation.<a name="line.33"></a>
+<span class="sourceLineNo">034</span> * A Vary field value of "*" implies that a cache cannot determine from the request headers of a subsequent request<a name="line.34"></a>
+<span class="sourceLineNo">035</span> * whether this response is the appropriate representation.<a name="line.35"></a>
+<span class="sourceLineNo">036</span> * See section 13.6 for use of the Vary header field by caches.<a name="line.36"></a>
+<span class="sourceLineNo">037</span> * <p class='bcode'><a name="line.37"></a>
+<span class="sourceLineNo">038</span> * Vary = "Vary" ":" ( "*" | 1#field-name )<a name="line.38"></a>
+<span class="sourceLineNo">039</span> * </p><a name="line.39"></a>
+<span class="sourceLineNo">040</span> * <p><a name="line.40"></a>
+<span class="sourceLineNo">041</span> * An HTTP/1.1 server SHOULD include a Vary header field with any cacheable response that is subject to server-driven<a name="line.41"></a>
+<span class="sourceLineNo">042</span> * negotiation.<a name="line.42"></a>
+<span class="sourceLineNo">043</span> * Doing so allows a cache to properly interpret future requests on that resource and informs the user agent about the<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * presence of negotiation on that resource.<a name="line.44"></a>
+<span class="sourceLineNo">045</span> * A server MAY include a Vary header field with a non-cacheable response that is subject to server-driven negotiation,<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * since this might provide the user agent with useful information about the dimensions over which the response varies<a name="line.46"></a>
+<span class="sourceLineNo">047</span> * at the time of the response.<a name="line.47"></a>
+<span class="sourceLineNo">048</span> * <p><a name="line.48"></a>
+<span class="sourceLineNo">049</span> * A Vary field value consisting of a list of field-names signals that the representation selected for the response is<a name="line.49"></a>
+<span class="sourceLineNo">050</span> * based on a selection algorithm which considers ONLY the listed request-header field values in selecting the most appropriate representation.<a name="line.50"></a>
+<span class="sourceLineNo">051</span> * A cache MAY assume that the same selection will be made for future requests with the same values for the listed<a name="line.51"></a>
+<span class="sourceLineNo">052</span> * field names, for the duration of time for which the response is fresh.<a name="line.52"></a>
+<span class="sourceLineNo">053</span> * <p><a name="line.53"></a>
+<span class="sourceLineNo">054</span> * The field-names given are not limited to the set of standard request-header fields defined by this specification.<a name="line.54"></a>
+<span class="sourceLineNo">055</span> * Field names are case-insensitive.<a name="line.55"></a>
+<span class="sourceLineNo">056</span> * <p><a name="line.56"></a>
+<span class="sourceLineNo">057</span> * A Vary field value of "*" signals that unspecified parameters not limited to the request-headers (e.g., the network<a name="line.57"></a>
+<span class="sourceLineNo">058</span> * address of the client), play a role in the selection of the response representation.<a name="line.58"></a>
+<span class="sourceLineNo">059</span> * The "*" value MUST NOT be generated by a proxy server; it may only be generated by an origin server.<a name="line.59"></a>
+<span class="sourceLineNo">060</span> */<a name="line.60"></a>
+<span class="sourceLineNo">061</span>public final class Vary extends HeaderString {<a name="line.61"></a>
+<span class="sourceLineNo">062</span><a name="line.62"></a>
+<span class="sourceLineNo">063</span> /**<a name="line.63"></a>
+<span class="sourceLineNo">064</span> * Returns a parsed <code>Vary</code> header.<a name="line.64"></a>
+<span class="sourceLineNo">065</span> *<a name="line.65"></a>
+<span class="sourceLineNo">066</span> * @param value The <code>Vary</code> header string.<a name="line.66"></a>
+<span class="sourceLineNo">067</span> * @return The parsed <code>Vary</code> header, or <jk>null</jk> if the string was null.<a name="line.67"></a>
+<span class="sourceLineNo">068</span> */<a name="line.68"></a>
+<span class="sourceLineNo">069</span> public static Vary forString(String value) {<a name="line.69"></a>
+<span class="sourceLineNo">070</span> if (value == null)<a name="line.70"></a>
+<span class="sourceLineNo">071</span> return null;<a name="line.71"></a>
+<span class="sourceLineNo">072</span> return new Vary(value);<a name="line.72"></a>
+<span class="sourceLineNo">073</span> }<a name="line.73"></a>
+<span class="sourceLineNo">074</span><a name="line.74"></a>
+<span class="sourceLineNo">075</span> private Vary(String value) {<a name="line.75"></a>
+<span class="sourceLineNo">076</span> super(value);<a name="line.76"></a>
+<span class="sourceLineNo">077</span> }<a name="line.77"></a>
+<span class="sourceLineNo">078</span>}<a name="line.78"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/Via.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/Via.html b/content/site/apidocs/src-html/org/apache/juneau/http/Via.html
new file mode 100644
index 0000000..226a4a1
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/Via.html
@@ -0,0 +1,187 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Represents a parsed <l>Via</l> HTTP response header.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * <p><a name="line.17"></a>
+<span class="sourceLineNo">018</span> * Informs the client of proxies through which the response was sent.<a name="line.18"></a>
+<span class="sourceLineNo">019</span> *<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * <h6 class='figure'>Example</h6><a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p class='bcode'><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * Via: 1.0 fred, 1.1 example.com (Apache/1.1)<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * </p><a name="line.23"></a>
+<span class="sourceLineNo">024</span> *<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * Informs the client of proxies through which the response was sent.<a name="line.25"></a>
+<span class="sourceLineNo">026</span> * <p><a name="line.26"></a>
+<span class="sourceLineNo">027</span> * <h6 class='figure'>Example</h6><a name="line.27"></a>
+<span class="sourceLineNo">028</span> * <p class='bcode'><a name="line.28"></a>
+<span class="sourceLineNo">029</span> * Via: 1.0 fred, 1.1 example.com (Apache/1.1)<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * </p><a name="line.30"></a>
+<span class="sourceLineNo">031</span> * <p><a name="line.31"></a>
+<span class="sourceLineNo">032</span> * <h6 class='topic'>RFC2616 Specification</h6><a name="line.32"></a>
+<span class="sourceLineNo">033</span> *<a name="line.33"></a>
+<span class="sourceLineNo">034</span> * The Via general-header field MUST be used by gateways and proxies to indicate the intermediate protocols and<a name="line.34"></a>
+<span class="sourceLineNo">035</span> * recipients between the user agent and the server on requests, and between the origin server and the client on<a name="line.35"></a>
+<span class="sourceLineNo">036</span> * responses.<a name="line.36"></a>
+<span class="sourceLineNo">037</span> * It is analogous to the "Received" field of RFC 822 and is intended to be used for tracking message forwards,<a name="line.37"></a>
+<span class="sourceLineNo">038</span> * avoiding request loops, and identifying the protocol capabilities of all senders along the request/response chain.<a name="line.38"></a>
+<span class="sourceLineNo">039</span> * <p class='bcode'><a name="line.39"></a>
+<span class="sourceLineNo">040</span> * Via = "Via" ":" 1#( received-protocol received-by [ comment ] )<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * received-protocol = [ protocol-name "/" ] protocol-version<a name="line.41"></a>
+<span class="sourceLineNo">042</span> * protocol-name = token<a name="line.42"></a>
+<span class="sourceLineNo">043</span> * protocol-version = token<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * received-by = ( host [ ":" port ] ) | pseudonym<a name="line.44"></a>
+<span class="sourceLineNo">045</span> * pseudonym = token<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * </p><a name="line.46"></a>
+<span class="sourceLineNo">047</span> * <p><a name="line.47"></a>
+<span class="sourceLineNo">048</span> * The received-protocol indicates the protocol version of the message received by the server or client along each<a name="line.48"></a>
+<span class="sourceLineNo">049</span> * segment of the request/response chain.<a name="line.49"></a>
+<span class="sourceLineNo">050</span> * The received-protocol version is appended to the Via field value when the message is forwarded so that information<a name="line.50"></a>
+<span class="sourceLineNo">051</span> * about the protocol capabilities of upstream applications remains visible to all recipients.<a name="line.51"></a>
+<span class="sourceLineNo">052</span> * <p><a name="line.52"></a>
+<span class="sourceLineNo">053</span> * The protocol-name is optional if and only if it would be "HTTP".<a name="line.53"></a>
+<span class="sourceLineNo">054</span> * The received-by field is normally the host and optional port number of a recipient server or client that subsequently<a name="line.54"></a>
+<span class="sourceLineNo">055</span> * forwarded the message.<a name="line.55"></a>
+<span class="sourceLineNo">056</span> * However, if the real host is considered to be sensitive information, it MAY be replaced by a pseudonym.<a name="line.56"></a>
+<span class="sourceLineNo">057</span> * If the port is not given, it MAY be assumed to be the default port of the received-protocol.<a name="line.57"></a>
+<span class="sourceLineNo">058</span> * <p><a name="line.58"></a>
+<span class="sourceLineNo">059</span> * Multiple Via field values represents each proxy or gateway that has forwarded the message.<a name="line.59"></a>
+<span class="sourceLineNo">060</span> * Each recipient MUST append its information such that the end result is ordered according to the sequence of<a name="line.60"></a>
+<span class="sourceLineNo">061</span> * forwarding applications.<a name="line.61"></a>
+<span class="sourceLineNo">062</span> * <p><a name="line.62"></a>
+<span class="sourceLineNo">063</span> * Comments MAY be used in the Via header field to identify the software of the recipient proxy or gateway, analogous<a name="line.63"></a>
+<span class="sourceLineNo">064</span> * to the User-Agent and Server header fields.<a name="line.64"></a>
+<span class="sourceLineNo">065</span> * However, all comments in the Via field are optional and MAY be removed by any recipient prior to forwarding the<a name="line.65"></a>
+<span class="sourceLineNo">066</span> * message.<a name="line.66"></a>
+<span class="sourceLineNo">067</span> * <p><a name="line.67"></a>
+<span class="sourceLineNo">068</span> * For example, a request message could be sent from an HTTP/1.0 user agent to an internal proxy code-named "fred",<a name="line.68"></a>
+<span class="sourceLineNo">069</span> * which uses HTTP/1.1 to forward the request to a public proxy at nowhere.com, which completes the request by<a name="line.69"></a>
+<span class="sourceLineNo">070</span> * forwarding it to the origin server at www.ics.uci.edu.<a name="line.70"></a>
+<span class="sourceLineNo">071</span> * The request received by www.ics.uci.edu would then have the following Via header field:<a name="line.71"></a>
+<span class="sourceLineNo">072</span> * <p class='bcode'><a name="line.72"></a>
+<span class="sourceLineNo">073</span> * Via: 1.0 fred, 1.1 nowhere.com (Apache/1.1)<a name="line.73"></a>
+<span class="sourceLineNo">074</span> * </p><a name="line.74"></a>
+<span class="sourceLineNo">075</span> * <p><a name="line.75"></a>
+<span class="sourceLineNo">076</span> * Proxies and gateways used as a portal through a network firewall SHOULD NOT, by default, forward the names and ports<a name="line.76"></a>
+<span class="sourceLineNo">077</span> * of hosts within the firewall region.<a name="line.77"></a>
+<span class="sourceLineNo">078</span> * This information SHOULD only be propagated if explicitly enabled.<a name="line.78"></a>
+<span class="sourceLineNo">079</span> * If not enabled, the received-by host of any host behind the firewall SHOULD be replaced by an appropriate pseudonym<a name="line.79"></a>
+<span class="sourceLineNo">080</span> * for that host.<a name="line.80"></a>
+<span class="sourceLineNo">081</span> * <p><a name="line.81"></a>
+<span class="sourceLineNo">082</span> * For organizations that have strong privacy requirements for hiding internal structures, a proxy MAY combine an<a name="line.82"></a>
+<span class="sourceLineNo">083</span> * ordered subsequence of Via header field entries with identical received-protocol values into a single such entry.<a name="line.83"></a>
+<span class="sourceLineNo">084</span> * For example...<a name="line.84"></a>
+<span class="sourceLineNo">085</span> * <p class='bcode'><a name="line.85"></a>
+<span class="sourceLineNo">086</span> * Via: 1.0 ricky, 1.1 ethel, 1.1 fred, 1.0 lucy<a name="line.86"></a>
+<span class="sourceLineNo">087</span> * </p><a name="line.87"></a>
+<span class="sourceLineNo">088</span> * <p><a name="line.88"></a>
+<span class="sourceLineNo">089</span> * ...could be collapsed to...<a name="line.89"></a>
+<span class="sourceLineNo">090</span> * <p class='bcode'><a name="line.90"></a>
+<span class="sourceLineNo">091</span> * Via: 1.0 ricky, 1.1 mertz, 1.0 lucy<a name="line.91"></a>
+<span class="sourceLineNo">092</span> * </p><a name="line.92"></a>
+<span class="sourceLineNo">093</span> * <p><a name="line.93"></a>
+<span class="sourceLineNo">094</span> * Applications SHOULD NOT combine multiple entries unless they are all under the same organizational control and the<a name="line.94"></a>
+<span class="sourceLineNo">095</span> * hosts have already been replaced by pseudonyms.<a name="line.95"></a>
+<span class="sourceLineNo">096</span> * Applications MUST NOT combine entries which have different received-protocol values.<a name="line.96"></a>
+<span class="sourceLineNo">097</span> */<a name="line.97"></a>
+<span class="sourceLineNo">098</span>public final class Via extends HeaderStringArray {<a name="line.98"></a>
+<span class="sourceLineNo">099</span><a name="line.99"></a>
+<span class="sourceLineNo">100</span> /**<a name="line.100"></a>
+<span class="sourceLineNo">101</span> * Returns a parsed <code>Via</code> header.<a name="line.101"></a>
+<span class="sourceLineNo">102</span> *<a name="line.102"></a>
+<span class="sourceLineNo">103</span> * @param value The <code>Via</code> header string.<a name="line.103"></a>
+<span class="sourceLineNo">104</span> * @return The parsed <code>Via</code> header, or <jk>null</jk> if the string was null.<a name="line.104"></a>
+<span class="sourceLineNo">105</span> */<a name="line.105"></a>
+<span class="sourceLineNo">106</span> public static Via forString(String value) {<a name="line.106"></a>
+<span class="sourceLineNo">107</span> if (value == null)<a name="line.107"></a>
+<span class="sourceLineNo">108</span> return null;<a name="line.108"></a>
+<span class="sourceLineNo">109</span> return new Via(value);<a name="line.109"></a>
+<span class="sourceLineNo">110</span> }<a name="line.110"></a>
+<span class="sourceLineNo">111</span><a name="line.111"></a>
+<span class="sourceLineNo">112</span> private Via(String value) {<a name="line.112"></a>
+<span class="sourceLineNo">113</span> super(value);<a name="line.113"></a>
+<span class="sourceLineNo">114</span> }<a name="line.114"></a>
+<span class="sourceLineNo">115</span>}<a name="line.115"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/Warning.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/Warning.html b/content/site/apidocs/src-html/org/apache/juneau/http/Warning.html
new file mode 100644
index 0000000..db87e63
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/Warning.html
@@ -0,0 +1,195 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Represents a parsed <l>Warning</l> HTTP request/response header.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * <p><a name="line.17"></a>
+<span class="sourceLineNo">018</span> * A general warning about possible problems with the entity body.<a name="line.18"></a>
+<span class="sourceLineNo">019</span> *<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * <h6 class='figure'>Example</h6><a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p class='bcode'><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * Warning: 199 Miscellaneous warning<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * </p><a name="line.23"></a>
+<span class="sourceLineNo">024</span> *<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * <h6 class='topic'>RFC2616 Specification</h6><a name="line.25"></a>
+<span class="sourceLineNo">026</span> *<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * The Warning general-header field is used to carry additional information about the status or transformation of a<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * message which might not be reflected in the message.<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * This information is typically used to warn about a possible lack of semantic transparency from caching operations<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * or transformations applied to the entity body of the message.<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * <p><a name="line.31"></a>
+<span class="sourceLineNo">032</span> * Warning headers are sent with responses using:<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * <p class='bcode'><a name="line.33"></a>
+<span class="sourceLineNo">034</span> * Warning = "Warning" ":" 1#warning-value<a name="line.34"></a>
+<span class="sourceLineNo">035</span> * warning-value = warn-code SP warn-agent SP warn-text<a name="line.35"></a>
+<span class="sourceLineNo">036</span> * [SP warn-date]<a name="line.36"></a>
+<span class="sourceLineNo">037</span> * warn-code = 3DIGIT<a name="line.37"></a>
+<span class="sourceLineNo">038</span> * warn-agent = ( host [ ":" port ] ) | pseudonym<a name="line.38"></a>
+<span class="sourceLineNo">039</span> * ; the name or pseudonym of the server adding<a name="line.39"></a>
+<span class="sourceLineNo">040</span> * ; the Warning header, for use in debugging<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * warn-text = quoted-string<a name="line.41"></a>
+<span class="sourceLineNo">042</span> * warn-date = <"> HTTP-date <"><a name="line.42"></a>
+<span class="sourceLineNo">043</span> * </p><a name="line.43"></a>
+<span class="sourceLineNo">044</span> * <p><a name="line.44"></a>
+<span class="sourceLineNo">045</span> * A response MAY carry more than one Warning header.<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * <p><a name="line.46"></a>
+<span class="sourceLineNo">047</span> * The warn-text SHOULD be in a natural language and character set that is most likely to be intelligible to the human<a name="line.47"></a>
+<span class="sourceLineNo">048</span> * user receiving the response.<a name="line.48"></a>
+<span class="sourceLineNo">049</span> * This decision MAY be based on any available knowledge, such as the location of the cache or user, the<a name="line.49"></a>
+<span class="sourceLineNo">050</span> * Accept-Language field in a request, the Content-Language field in a response, etc.<a name="line.50"></a>
+<span class="sourceLineNo">051</span> * The default language is English and the default character set is ISO-8859-1.<a name="line.51"></a>
+<span class="sourceLineNo">052</span> * <p><a name="line.52"></a>
+<span class="sourceLineNo">053</span> * If a character set other than ISO-8859-1 is used, it MUST be encoded in the warn-text using the method described in<a name="line.53"></a>
+<span class="sourceLineNo">054</span> * RFC 2047.<a name="line.54"></a>
+<span class="sourceLineNo">055</span> * <p><a name="line.55"></a>
+<span class="sourceLineNo">056</span> * Warning headers can in general be applied to any message, however some specific warn-codes are specific to caches<a name="line.56"></a>
+<span class="sourceLineNo">057</span> * and can only be applied to response messages.<a name="line.57"></a>
+<span class="sourceLineNo">058</span> * New Warning headers SHOULD be added after any existing Warning headers.<a name="line.58"></a>
+<span class="sourceLineNo">059</span> * A cache MUST NOT delete any Warning header that it received with a message.<a name="line.59"></a>
+<span class="sourceLineNo">060</span> * However, if a cache successfully validates a cache entry, it SHOULD remove any Warning headers previously attached<a name="line.60"></a>
+<span class="sourceLineNo">061</span> * to that entry except as specified for specific Warning codes.<a name="line.61"></a>
+<span class="sourceLineNo">062</span> * It MUST then add any Warning headers received in the validating response.<a name="line.62"></a>
+<span class="sourceLineNo">063</span> * In other words, Warning headers are those that would be attached to the most recent relevant response.<a name="line.63"></a>
+<span class="sourceLineNo">064</span> * <p><a name="line.64"></a>
+<span class="sourceLineNo">065</span> * When multiple Warning headers are attached to a response, the user agent ought to inform the user of as many of them<a name="line.65"></a>
+<span class="sourceLineNo">066</span> * as possible, in the order that they appear in the response.<a name="line.66"></a>
+<span class="sourceLineNo">067</span> * If it is not possible to inform the user of all of the warnings, the user agent SHOULD follow these heuristics:<a name="line.67"></a>
+<span class="sourceLineNo">068</span> * <ul><a name="line.68"></a>
+<span class="sourceLineNo">069</span> * <li>Warnings that appear early in the response take priority over those appearing later in the response.<a name="line.69"></a>
+<span class="sourceLineNo">070</span> * <li>Warnings in the user's preferred character set take priority over warnings in other character sets but with<a name="line.70"></a>
+<span class="sourceLineNo">071</span> * identical warn-codes and warn-agents.<a name="line.71"></a>
+<span class="sourceLineNo">072</span> * </ul><a name="line.72"></a>
+<span class="sourceLineNo">073</span> * Systems that generate multiple Warning headers SHOULD order them with this user agent behavior in mind.<a name="line.73"></a>
+<span class="sourceLineNo">074</span> * <p><a name="line.74"></a>
+<span class="sourceLineNo">075</span> * Requirements for the behavior of caches with respect to Warnings are stated in section 13.1.2.<a name="line.75"></a>
+<span class="sourceLineNo">076</span> * <p><a name="line.76"></a>
+<span class="sourceLineNo">077</span> * This is a list of the currently-defined warn-codes, each with a recommended warn-text in English, and a description<a name="line.77"></a>
+<span class="sourceLineNo">078</span> * of its meaning.<a name="line.78"></a>
+<span class="sourceLineNo">079</span> * <ul><a name="line.79"></a>
+<span class="sourceLineNo">080</span> * <li>110 Response is stale MUST be included whenever the returned response is stale.<a name="line.80"></a>
+<span class="sourceLineNo">081</span> * <li>111 Revalidation failed MUST be included if a cache returns a stale response because an attempt to revalidate<a name="line.81"></a>
+<span class="sourceLineNo">082</span> * the response failed, due to an inability to reach the server.<a name="line.82"></a>
+<span class="sourceLineNo">083</span> * <li>112 Disconnected operation SHOULD be included if the cache is intentionally disconnected from the rest of the<a name="line.83"></a>
+<span class="sourceLineNo">084</span> * network for a period of time.<a name="line.84"></a>
+<span class="sourceLineNo">085</span> * <li>113 Heuristic expiration MUST be included if the cache heuristically chose a freshness lifetime greater than<a name="line.85"></a>
+<span class="sourceLineNo">086</span> * 24 hours and the response's age is greater than 24 hours.<a name="line.86"></a>
+<span class="sourceLineNo">087</span> * <li>199 Miscellaneous warning The warning text MAY include arbitrary information to be presented to a human user,<a name="line.87"></a>
+<span class="sourceLineNo">088</span> * or logged. A system receiving this warning MUST NOT take any automated action, besides presenting the warning<a name="line.88"></a>
+<span class="sourceLineNo">089</span> * to the user.<a name="line.89"></a>
+<span class="sourceLineNo">090</span> * <li>214 Transformation applied MUST be added by an intermediate cache or proxy if it applies any transformation<a name="line.90"></a>
+<span class="sourceLineNo">091</span> * changing the content-coding (as specified in the Content-Encoding header) or media-type (as specified in the<a name="line.91"></a>
+<span class="sourceLineNo">092</span> * Content-Type header) of the response, or the entity-body of the response, unless this Warning code already<a name="line.92"></a>
+<span class="sourceLineNo">093</span> * appears in the response.<a name="line.93"></a>
+<span class="sourceLineNo">094</span> * <li>299 Miscellaneous persistent warning The warning text MAY include arbitrary information to be presented to a<a name="line.94"></a>
+<span class="sourceLineNo">095</span> * human user, or logged. A system receiving this warning MUST NOT take any automated action.<a name="line.95"></a>
+<span class="sourceLineNo">096</span> * </ul><a name="line.96"></a>
+<span class="sourceLineNo">097</span> * If an implementation sends a message with one or more Warning headers whose version is HTTP/1.0 or lower, then the<a name="line.97"></a>
+<span class="sourceLineNo">098</span> * sender MUST include in each warning-value a warn-date that matches the date in the response.<a name="line.98"></a>
+<span class="sourceLineNo">099</span> * <p><a name="line.99"></a>
+<span class="sourceLineNo">100</span> * If an implementation receives a message with a warning-value that includes a warn-date, and that warn-date is<a name="line.100"></a>
+<span class="sourceLineNo">101</span> * different from the Date value in the response, then that warning-value MUST be deleted from the message before<a name="line.101"></a>
+<span class="sourceLineNo">102</span> * storing, forwarding, or using it.<a name="line.102"></a>
+<span class="sourceLineNo">103</span> * (This prevents bad consequences of naive caching of Warning header fields.)<a name="line.103"></a>
+<span class="sourceLineNo">104</span> * If all of the warning-values are deleted for this reason, the Warning header MUST be deleted as well.<a name="line.104"></a>
+<span class="sourceLineNo">105</span> */<a name="line.105"></a>
+<span class="sourceLineNo">106</span>public final class Warning extends HeaderString {<a name="line.106"></a>
+<span class="sourceLineNo">107</span><a name="line.107"></a>
+<span class="sourceLineNo">108</span> /**<a name="line.108"></a>
+<span class="sourceLineNo">109</span> * Returns a parsed <code>Warning</code> header.<a name="line.109"></a>
+<span class="sourceLineNo">110</span> *<a name="line.110"></a>
+<span class="sourceLineNo">111</span> * @param value The <code>Warning</code> header string.<a name="line.111"></a>
+<span class="sourceLineNo">112</span> * @return The parsed <code>Warning</code> header, or <jk>null</jk> if the string was null.<a name="line.112"></a>
+<span class="sourceLineNo">113</span> */<a name="line.113"></a>
+<span class="sourceLineNo">114</span> public static Warning forString(String value) {<a name="line.114"></a>
+<span class="sourceLineNo">115</span> if (value == null)<a name="line.115"></a>
+<span class="sourceLineNo">116</span> return null;<a name="line.116"></a>
+<span class="sourceLineNo">117</span> return new Warning(value);<a name="line.117"></a>
+<span class="sourceLineNo">118</span> }<a name="line.118"></a>
+<span class="sourceLineNo">119</span><a name="line.119"></a>
+<span class="sourceLineNo">120</span> private Warning(String value) {<a name="line.120"></a>
+<span class="sourceLineNo">121</span> super(value);<a name="line.121"></a>
+<span class="sourceLineNo">122</span> }<a name="line.122"></a>
+<span class="sourceLineNo">123</span>}<a name="line.123"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/WwwAuthenticate.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/WwwAuthenticate.html b/content/site/apidocs/src-html/org/apache/juneau/http/WwwAuthenticate.html
new file mode 100644
index 0000000..d5c9e52
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/WwwAuthenticate.html
@@ -0,0 +1,128 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Represents a parsed <l>WWW-Authenticate </l> HTTP response header.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * <p><a name="line.17"></a>
+<span class="sourceLineNo">018</span> * Indicates the authentication scheme that should be used to access the requested entity.<a name="line.18"></a>
+<span class="sourceLineNo">019</span> *<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * <h6 class='figure'>Example</h6><a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p class='bcode'><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * WWW-Authenticate: Basic<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * </p><a name="line.23"></a>
+<span class="sourceLineNo">024</span> *<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * <h6 class='topic'>RFC2616 Specification</h6><a name="line.25"></a>
+<span class="sourceLineNo">026</span> *<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * The WWW-Authenticate response-header field MUST be included in 401 (Unauthorized) response messages.<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * The field value consists of at least one challenge that indicates the authentication scheme(s) and parameters<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * applicable to the Request-URI.<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * <p class='bcode'><a name="line.30"></a>
+<span class="sourceLineNo">031</span> * WWW-Authenticate = "WWW-Authenticate" ":" 1#challenge<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * </p><a name="line.32"></a>
+<span class="sourceLineNo">033</span> * <p><a name="line.33"></a>
+<span class="sourceLineNo">034</span> * The HTTP access authentication process is described in "HTTP Authentication: Basic and Digest Access Authentication".<a name="line.34"></a>
+<span class="sourceLineNo">035</span> * User agents are advised to take special care in parsing the WWW-Authenticate field value as it might contain more<a name="line.35"></a>
+<span class="sourceLineNo">036</span> * than one challenge, or if more than one WWW-Authenticate header field is provided, the contents of a challenge<a name="line.36"></a>
+<span class="sourceLineNo">037</span> * itself can contain a comma-separated list of authentication parameters.<a name="line.37"></a>
+<span class="sourceLineNo">038</span> */<a name="line.38"></a>
+<span class="sourceLineNo">039</span>public final class WwwAuthenticate extends HeaderString {<a name="line.39"></a>
+<span class="sourceLineNo">040</span><a name="line.40"></a>
+<span class="sourceLineNo">041</span> /**<a name="line.41"></a>
+<span class="sourceLineNo">042</span> * Returns a parsed <code>WWW-Authenticate</code> header.<a name="line.42"></a>
+<span class="sourceLineNo">043</span> *<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * @param value The <code>WWW-Authenticate</code> header string.<a name="line.44"></a>
+<span class="sourceLineNo">045</span> * @return The parsed <code>WWW-Authenticate</code> header, or <jk>null</jk> if the string was null.<a name="line.45"></a>
+<span class="sourceLineNo">046</span> */<a name="line.46"></a>
+<span class="sourceLineNo">047</span> public static WwwAuthenticate forString(String value) {<a name="line.47"></a>
+<span class="sourceLineNo">048</span> if (value == null)<a name="line.48"></a>
+<span class="sourceLineNo">049</span> return null;<a name="line.49"></a>
+<span class="sourceLineNo">050</span> return new WwwAuthenticate(value);<a name="line.50"></a>
+<span class="sourceLineNo">051</span> }<a name="line.51"></a>
+<span class="sourceLineNo">052</span><a name="line.52"></a>
+<span class="sourceLineNo">053</span> private WwwAuthenticate(String value) {<a name="line.53"></a>
+<span class="sourceLineNo">054</span> super(value);<a name="line.54"></a>
+<span class="sourceLineNo">055</span> }<a name="line.55"></a>
+<span class="sourceLineNo">056</span>}<a name="line.56"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/internal/Cache.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/internal/Cache.html b/content/site/apidocs/src-html/org/apache/juneau/internal/Cache.html
new file mode 100644
index 0000000..373f4b0
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/internal/Cache.html
@@ -0,0 +1,153 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.internal;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>import java.util.concurrent.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span><a name="line.16"></a>
+<span class="sourceLineNo">017</span>/**<a name="line.17"></a>
+<span class="sourceLineNo">018</span> * Simple in-memory cache of objects.<a name="line.18"></a>
+<span class="sourceLineNo">019</span> * <p><a name="line.19"></a>
+<span class="sourceLineNo">020</span> * Essentially just a wrapper around a ConcurrentHashMap.<a name="line.20"></a>
+<span class="sourceLineNo">021</span> *<a name="line.21"></a>
+<span class="sourceLineNo">022</span> * @param <K> The key type.<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * @param <V> The value type.<a name="line.23"></a>
+<span class="sourceLineNo">024</span> */<a name="line.24"></a>
+<span class="sourceLineNo">025</span>public class Cache<K,V> {<a name="line.25"></a>
+<span class="sourceLineNo">026</span> private final boolean nocache;<a name="line.26"></a>
+<span class="sourceLineNo">027</span> private final int maxSize;<a name="line.27"></a>
+<span class="sourceLineNo">028</span> private final ConcurrentHashMap<K,V> cache;<a name="line.28"></a>
+<span class="sourceLineNo">029</span><a name="line.29"></a>
+<span class="sourceLineNo">030</span> /**<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * Constructor.<a name="line.31"></a>
+<span class="sourceLineNo">032</span> *<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * @param disabled If <jk>true</jk> then the cache is disabled.<a name="line.33"></a>
+<span class="sourceLineNo">034</span> * @param maxSize The maximum size of the cache. If this threshold is reached, the cache is flushed.<a name="line.34"></a>
+<span class="sourceLineNo">035</span> */<a name="line.35"></a>
+<span class="sourceLineNo">036</span> public Cache(boolean disabled, int maxSize) {<a name="line.36"></a>
+<span class="sourceLineNo">037</span> this.nocache = disabled;<a name="line.37"></a>
+<span class="sourceLineNo">038</span> this.maxSize = maxSize;<a name="line.38"></a>
+<span class="sourceLineNo">039</span> if (! nocache)<a name="line.39"></a>
+<span class="sourceLineNo">040</span> cache = new ConcurrentHashMap<K,V>();<a name="line.40"></a>
+<span class="sourceLineNo">041</span> else<a name="line.41"></a>
+<span class="sourceLineNo">042</span> cache = null;<a name="line.42"></a>
+<span class="sourceLineNo">043</span> }<a name="line.43"></a>
+<span class="sourceLineNo">044</span><a name="line.44"></a>
+<span class="sourceLineNo">045</span> /**<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * Retrieves the value with the specified key from this cache.<a name="line.46"></a>
+<span class="sourceLineNo">047</span> *<a name="line.47"></a>
+<span class="sourceLineNo">048</span> * @param key The key.<a name="line.48"></a>
+<span class="sourceLineNo">049</span> * @return The value, or <jk>null</jk> if the value is not in the cache, or the cache is disabled.<a name="line.49"></a>
+<span class="sourceLineNo">050</span> */<a name="line.50"></a>
+<span class="sourceLineNo">051</span> public V get(K key) {<a name="line.51"></a>
+<span class="sourceLineNo">052</span> if (nocache)<a name="line.52"></a>
+<span class="sourceLineNo">053</span> return null;<a name="line.53"></a>
+<span class="sourceLineNo">054</span> return cache.get(key);<a name="line.54"></a>
+<span class="sourceLineNo">055</span> }<a name="line.55"></a>
+<span class="sourceLineNo">056</span><a name="line.56"></a>
+<span class="sourceLineNo">057</span> /**<a name="line.57"></a>
+<span class="sourceLineNo">058</span> * Adds the value with the specified key to this cache.<a name="line.58"></a>
+<span class="sourceLineNo">059</span> *<a name="line.59"></a>
+<span class="sourceLineNo">060</span> * @param key The key.<a name="line.60"></a>
+<span class="sourceLineNo">061</span> * @param value The value.<a name="line.61"></a>
+<span class="sourceLineNo">062</span> * @return Either the value already in the cache if it already exists, or the same value passed in.<a name="line.62"></a>
+<span class="sourceLineNo">063</span> * Always returns the same value if the cache is disabled.<a name="line.63"></a>
+<span class="sourceLineNo">064</span> */<a name="line.64"></a>
+<span class="sourceLineNo">065</span> public V put(K key, V value) {<a name="line.65"></a>
+<span class="sourceLineNo">066</span> if (nocache)<a name="line.66"></a>
+<span class="sourceLineNo">067</span> return value;<a name="line.67"></a>
+<span class="sourceLineNo">068</span><a name="line.68"></a>
+<span class="sourceLineNo">069</span> // Prevent OOM in case of DDOS<a name="line.69"></a>
+<span class="sourceLineNo">070</span> if (cache.size() > maxSize)<a name="line.70"></a>
+<span class="sourceLineNo">071</span> cache.clear();<a name="line.71"></a>
+<span class="sourceLineNo">072</span><a name="line.72"></a>
+<span class="sourceLineNo">073</span> while (true) {<a name="line.73"></a>
+<span class="sourceLineNo">074</span> V v = cache.get(key);<a name="line.74"></a>
+<span class="sourceLineNo">075</span> if (v != null)<a name="line.75"></a>
+<span class="sourceLineNo">076</span> return v;<a name="line.76"></a>
+<span class="sourceLineNo">077</span> cache.putIfAbsent(key, value);<a name="line.77"></a>
+<span class="sourceLineNo">078</span> return value;<a name="line.78"></a>
+<span class="sourceLineNo">079</span> }<a name="line.79"></a>
+<span class="sourceLineNo">080</span> }<a name="line.80"></a>
+<span class="sourceLineNo">081</span>}<a name="line.81"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
[41/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/IfRange.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/IfRange.html b/content/site/apidocs/org/apache/juneau/http/IfRange.html
new file mode 100644
index 0000000..ded3e59
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/IfRange.html
@@ -0,0 +1,332 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>IfRange (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="IfRange (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":10,"i1":10,"i2":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/IfNoneMatch.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/IfUnmodifiedSince.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/IfRange.html" target="_top">Frames</a></li>
+<li><a href="IfRange.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class IfRange" class="title">Class IfRange</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">org.apache.juneau.http.HeaderString</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.IfRange</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/IfRange.html#line.55">IfRange</a>
+extends <a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></pre>
+<div class="block">Represents a parsed <l>If-Range</l> HTTP request header.
+ <p>
+ If the entity is unchanged, send me the part(s) that I am missing; otherwise, send me the entire new entity.
+
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ If-Range: "737060cd8c284d8af7ad3082f209582d"
+ </p>
+
+ <h6 class='topic'>RFC2616 Specification</h6>
+
+ If a client has a partial copy of an entity in its cache, and wishes to have an up-to-date copy of the entire entity
+ in its cache, it could use the Range request-header with a conditional GET (using either or both of
+ If-Unmodified-Since and If-Match.)
+ However, if the condition fails because the entity has been modified, the client would then have to make a second
+ request to obtain the entire current entity-body.
+ <p>
+ The If-Range header allows a client to "short-circuit" the second request.
+ Informally, its meaning is `if the entity is unchanged, send me the part(s) that I am missing; otherwise, send me
+ the entire new entity'.
+ <p class='bcode'>
+ If-Range = "If-Range" ":" ( entity-tag | HTTP-date )
+ </p>
+ <p>
+ If the client has no entity tag for an entity, but does have a Last- Modified date, it MAY use that date in an
+ If-Range header.
+ (The server can distinguish between a valid HTTP-date and any form of entity-tag by examining no more than two
+ characters.)
+ The If-Range header SHOULD only be used together with a Range header, and MUST be ignored if the request does not
+ include a Range header, or if the server does not support the sub-range operation.
+ <p>
+ If the entity tag given in the If-Range header matches the current entity tag for the entity, then the server SHOULD
+ provide the specified sub-range of the entity using a 206 (Partial content) response.
+ If the entity tag does not match, then the server SHOULD return the entire entity using a 200 (OK) response.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/IfRange.html#asDate--">asDate</a></span>()</code>
+<div class="block">Returns this header value as a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util"><code>Date</code></a> object.</div>
+</td>
+</tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/http/EntityValidator.html" title="class in org.apache.juneau.http">EntityValidator</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/IfRange.html#asValidator--">asValidator</a></span>()</code>
+<div class="block">Returns this header value as an <a href="../../../../org/apache/juneau/http/EntityValidator.html" title="class in org.apache.juneau.http"><code>EntityValidator</code></a> object.</div>
+</td>
+</tr>
+<tr id="i2" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/IfRange.html" title="class in org.apache.juneau.http">IfRange</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/IfRange.html#forString-java.lang.String-">forString</a></span>(<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> value)</code>
+<div class="block">Returns a parsed <code>If-Range</code> header.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.http.HeaderString">
+<!-- -->
+</a>
+<h3>Methods inherited from class org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></h3>
+<code><a href="../../../../org/apache/juneau/http/HeaderString.html#asString--">asString</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#eq-java.lang.String-">eq</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#eqIC-java.lang.String-">eqIC</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#toString--">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="forString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>forString</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/IfRange.html" title="class in org.apache.juneau.http">IfRange</a> <a href="../../../../src-html/org/apache/juneau/http/IfRange.html#line.63">forString</a>(<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> value)</pre>
+<div class="block">Returns a parsed <code>If-Range</code> header.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The <code>If-Range</code> header string.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>If-Range</code> header, or <jk>null</jk> if the string was null.</dd>
+</dl>
+</li>
+</ul>
+<a name="asDate--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>asDate</h4>
+<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a> <a href="../../../../src-html/org/apache/juneau/http/IfRange.html#line.77">asDate</a>()</pre>
+<div class="block">Returns this header value as a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util"><code>Date</code></a> object.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>This header value as a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util"><code>Date</code></a> object, or <jk>null</jk> if the value is not a date.</dd>
+</dl>
+</li>
+</ul>
+<a name="asValidator--">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>asValidator</h4>
+<pre>public <a href="../../../../org/apache/juneau/http/EntityValidator.html" title="class in org.apache.juneau.http">EntityValidator</a> <a href="../../../../src-html/org/apache/juneau/http/IfRange.html#line.89">asValidator</a>()</pre>
+<div class="block">Returns this header value as an <a href="../../../../org/apache/juneau/http/EntityValidator.html" title="class in org.apache.juneau.http"><code>EntityValidator</code></a> object.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>This header value as a <a href="../../../../org/apache/juneau/http/EntityValidator.html" title="class in org.apache.juneau.http"><code>EntityValidator</code></a> object, or <jk>null</jk> if the value is not an entity
+ validator.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/IfNoneMatch.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/IfUnmodifiedSince.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/IfRange.html" target="_top">Frames</a></li>
+<li><a href="IfRange.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/IfUnmodifiedSince.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/IfUnmodifiedSince.html b/content/site/apidocs/org/apache/juneau/http/IfUnmodifiedSince.html
new file mode 100644
index 0000000..a7e6534
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/IfUnmodifiedSince.html
@@ -0,0 +1,289 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>IfUnmodifiedSince (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="IfUnmodifiedSince (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/IfRange.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/LastModified.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/IfUnmodifiedSince.html" target="_top">Frames</a></li>
+<li><a href="IfUnmodifiedSince.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class IfUnmodifiedSince" class="title">Class IfUnmodifiedSince</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../org/apache/juneau/http/HeaderDate.html" title="class in org.apache.juneau.http">org.apache.juneau.http.HeaderDate</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.IfUnmodifiedSince</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/IfUnmodifiedSince.html#line.49">IfUnmodifiedSince</a>
+extends <a href="../../../../org/apache/juneau/http/HeaderDate.html" title="class in org.apache.juneau.http">HeaderDate</a></pre>
+<div class="block">Represents a parsed <l>If-Unmodified-Since</l> HTTP request header.
+ <p>
+ Only send the response if the entity has not been modified since a specific time.
+
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ If-Unmodified-Since: Sat, 29 Oct 1994 19:43:31 GMT
+ </p>
+
+ <h6 class='topic'>RFC2616 Specification</h6>
+ The If-Unmodified-Since request-header field is used with a method to make it conditional.
+ If the requested resource has not been modified since the time specified in this field, the server SHOULD perform the
+ requested operation as if the If-Unmodified-Since header were not present.
+ <p>
+ If the requested variant has been modified since the specified time, the server MUST NOT perform the requested
+ operation, and MUST return a 412 (Precondition Failed).
+ <p class='bcode'>
+ If-Unmodified-Since = "If-Unmodified-Since" ":" HTTP-date
+ </p>
+ <p>
+ An example of the field is:
+ <p class='bcode'>
+ If-Unmodified-Since: Sat, 29 Oct 1994 19:43:31 GMT
+ </p>
+ <p>
+ If the request normally (i.e., without the If-Unmodified-Since header) would result in anything other than a 2xx or
+ 412 status, the If-Unmodified-Since header SHOULD be ignored.
+ <p>
+ If the specified date is invalid, the header is ignored.
+ <p>
+ The result of a request having both an If-Unmodified-Since header field and either an If-None-Match or an
+ If-Modified-Since header fields is undefined by this specification.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/IfUnmodifiedSince.html" title="class in org.apache.juneau.http">IfUnmodifiedSince</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/IfUnmodifiedSince.html#forString-java.lang.String-">forString</a></span>(<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> value)</code>
+<div class="block">Returns a parsed <code>If-Unmodified-Since</code> header.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.http.HeaderDate">
+<!-- -->
+</a>
+<h3>Methods inherited from class org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderDate.html" title="class in org.apache.juneau.http">HeaderDate</a></h3>
+<code><a href="../../../../org/apache/juneau/http/HeaderDate.html#asDate--">asDate</a>, <a href="../../../../org/apache/juneau/http/HeaderDate.html#toString--">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="forString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>forString</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/IfUnmodifiedSince.html" title="class in org.apache.juneau.http">IfUnmodifiedSince</a> <a href="../../../../src-html/org/apache/juneau/http/IfUnmodifiedSince.html#line.57">forString</a>(<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> value)</pre>
+<div class="block">Returns a parsed <code>If-Unmodified-Since</code> header.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The <code>If-Unmodified-Since</code> header string.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>If-Unmodified-Since</code> header, or <jk>null</jk> if the string was null.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/IfRange.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/LastModified.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/IfUnmodifiedSince.html" target="_top">Frames</a></li>
+<li><a href="IfUnmodifiedSince.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/LastModified.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/LastModified.html b/content/site/apidocs/org/apache/juneau/http/LastModified.html
new file mode 100644
index 0000000..d234f7c
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/LastModified.html
@@ -0,0 +1,297 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>LastModified (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="LastModified (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/IfUnmodifiedSince.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/Location.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/LastModified.html" target="_top">Frames</a></li>
+<li><a href="LastModified.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class LastModified" class="title">Class LastModified</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../org/apache/juneau/http/HeaderDate.html" title="class in org.apache.juneau.http">org.apache.juneau.http.HeaderDate</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.LastModified</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/LastModified.html#line.57">LastModified</a>
+extends <a href="../../../../org/apache/juneau/http/HeaderDate.html" title="class in org.apache.juneau.http">HeaderDate</a></pre>
+<div class="block">Represents a parsed <l>Last-Modified</l> HTTP response header.
+ <p>
+ The last modified date for the requested object (in "HTTP-date" format as defined by RFC 7231).
+
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ Last-Modified: Tue, 15 Nov 1994 12:45:26 GMT
+ </p>
+
+ <h6 class='topic'>RFC2616 Specification</h6>
+
+ The Last-Modified entity-header field indicates the date and time at which the origin server believes the variant was
+ last modified.
+ <p class='bcode'>
+ Last-Modified = "Last-Modified" ":" HTTP-date
+ </p>
+ <p>
+ An example of its use is...
+ <p class='bcode'>
+ Last-Modified: Tue, 15 Nov 1994 12:45:26 GMT
+ </p>
+ <p>
+ The exact meaning of this header field depends on the implementation of the origin server and the nature of the
+ original resource.
+ For files, it may be just the file system last-modified time.
+ For entities with dynamically included parts, it may be the most recent of the set of last-modify times for its
+ component parts.
+ For database gateways, it may be the last-update time stamp of the record.
+ For virtual objects, it may be the last time the internal state changed.
+ <p>
+ An origin server MUST NOT send a Last-Modified date which is later than the server's time of message origination.
+ In such cases, where the resource's last modification would indicate some time in the future, the server MUST replace
+ that date with the message origination date.
+ <p>
+ An origin server SHOULD obtain the Last-Modified value of the entity as close as possible to the time that it
+ generates the Date value of its response.
+ This allows a recipient to make an accurate assessment of the entity's modification time, especially if the entity
+ changes near the time that the response is generated.
+ <p>
+ HTTP/1.1 servers SHOULD send Last-Modified whenever feasible.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/LastModified.html" title="class in org.apache.juneau.http">LastModified</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/LastModified.html#forString-java.lang.String-">forString</a></span>(<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> value)</code>
+<div class="block">Returns a parsed <code>Last-Modified</code> header.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.http.HeaderDate">
+<!-- -->
+</a>
+<h3>Methods inherited from class org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderDate.html" title="class in org.apache.juneau.http">HeaderDate</a></h3>
+<code><a href="../../../../org/apache/juneau/http/HeaderDate.html#asDate--">asDate</a>, <a href="../../../../org/apache/juneau/http/HeaderDate.html#toString--">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="forString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>forString</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/LastModified.html" title="class in org.apache.juneau.http">LastModified</a> <a href="../../../../src-html/org/apache/juneau/http/LastModified.html#line.65">forString</a>(<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> value)</pre>
+<div class="block">Returns a parsed <code>Last-Modified</code> header.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The <code>Last-Modified</code> header string.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Last-Modified</code> header, or <jk>null</jk> if the string was null.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/IfUnmodifiedSince.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/Location.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/LastModified.html" target="_top">Frames</a></li>
+<li><a href="LastModified.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/Location.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/Location.html b/content/site/apidocs/org/apache/juneau/http/Location.html
new file mode 100644
index 0000000..9eb0791
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/Location.html
@@ -0,0 +1,286 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Location (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="Location (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/LastModified.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/MaxForwards.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/Location.html" target="_top">Frames</a></li>
+<li><a href="Location.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class Location" class="title">Class Location</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../org/apache/juneau/http/HeaderUri.html" title="class in org.apache.juneau.http">org.apache.juneau.http.HeaderUri</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.Location</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/Location.html#line.46">Location</a>
+extends <a href="../../../../org/apache/juneau/http/HeaderUri.html" title="class in org.apache.juneau.http">HeaderUri</a></pre>
+<div class="block">Represents a parsed <l>Location</l> HTTP response header.
+ <p>
+ Used in redirection, or when a new resource has been created.
+
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ Location: http://www.w3.org/pub/WWW/People.html
+ </p>
+
+ <h6 class='topic'>RFC2616 Specification</h6>
+
+ The Location response-header field is used to redirect the recipient to a location other than the Request-URI for
+ completion of the request or identification of a new resource.
+ For 201 (Created) responses, the Location is that of the new resource which was created by the request.
+ For 3xx responses, the location SHOULD indicate the server's preferred URI for automatic redirection to the resource.
+ The field value consists of a single absolute URI.
+ <p class='bcode'>
+ Location = "Location" ":" absoluteURI
+ </p>
+ <p>
+ An example is:
+ <p class='bcode'>
+ Location: http://www.w3.org/pub/WWW/People.html
+ </p>
+ <p>
+ Note: The Content-Location header field (section 14.14) differs from Location in that the Content-Location identifies
+ the original location of the entity enclosed in the request.
+ It is therefore possible for a response to contain header fields for both Location and Content-Location.
+ Also see section 13.10 for cache requirements of some methods.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/Location.html" title="class in org.apache.juneau.http">Location</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/Location.html#forString-java.lang.String-">forString</a></span>(<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> value)</code>
+<div class="block">Returns a parsed <code>Location</code> header.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.http.HeaderUri">
+<!-- -->
+</a>
+<h3>Methods inherited from class org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderUri.html" title="class in org.apache.juneau.http">HeaderUri</a></h3>
+<code><a href="../../../../org/apache/juneau/http/HeaderUri.html#asString--">asString</a>, <a href="../../../../org/apache/juneau/http/HeaderUri.html#asURI--">asURI</a>, <a href="../../../../org/apache/juneau/http/HeaderUri.html#toString--">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="forString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>forString</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/Location.html" title="class in org.apache.juneau.http">Location</a> <a href="../../../../src-html/org/apache/juneau/http/Location.html#line.54">forString</a>(<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> value)</pre>
+<div class="block">Returns a parsed <code>Location</code> header.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The <code>Location</code> header string.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Location</code> header, or <jk>null</jk> if the string was null.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/LastModified.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/MaxForwards.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/Location.html" target="_top">Frames</a></li>
+<li><a href="Location.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/MaxForwards.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/MaxForwards.html b/content/site/apidocs/org/apache/juneau/http/MaxForwards.html
new file mode 100644
index 0000000..9520a30
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/MaxForwards.html
@@ -0,0 +1,288 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>MaxForwards (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="MaxForwards (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/Location.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/MediaType.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/MaxForwards.html" target="_top">Frames</a></li>
+<li><a href="MaxForwards.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class MaxForwards" class="title">Class MaxForwards</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../org/apache/juneau/http/HeaderInteger.html" title="class in org.apache.juneau.http">org.apache.juneau.http.HeaderInteger</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.MaxForwards</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/MaxForwards.html#line.48">MaxForwards</a>
+extends <a href="../../../../org/apache/juneau/http/HeaderInteger.html" title="class in org.apache.juneau.http">HeaderInteger</a></pre>
+<div class="block">Represents a parsed <l>Max-Forwards</l> HTTP request header.
+ <p>
+ Limit the number of times the message can be forwarded through proxies or gateways.
+
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ Max-Forwards: 10
+ </p>
+
+ <h6 class='topic'>RFC2616 Specification</h6>
+
+ The Max-Forwards request-header field provides a mechanism with the TRACE (section 9.8) and OPTIONS (section 9.2)
+ methods to limit the number of proxies or gateways that can forward the request to the next inbound server.
+ This can be useful when the client is attempting to trace a request chain which appears to be failing or looping in
+ mid-chain.
+ <p class='bcode'>
+ Max-Forwards = "Max-Forwards" ":" 1*DIGIT
+ </p>
+ <p>
+ The Max-Forwards value is a decimal integer indicating the remaining number of times this request message may be
+ forwarded.
+ <p>
+ Each proxy or gateway recipient of a TRACE or OPTIONS request containing a Max-Forwards header field MUST check and
+ update its value prior to forwarding the request.
+ If the received value is zero (0), the recipient MUST NOT forward the request; instead, it MUST respond as the final
+ recipient.
+ If the received Max-Forwards value is greater than zero, then the forwarded message MUST contain an updated
+ Max-Forwards field with a value decremented by one (1).
+ <p>
+ The Max-Forwards header field MAY be ignored for all other methods defined by this specification and for any
+ extension methods for which it is not explicitly referred to as part of that method definition.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/MaxForwards.html" title="class in org.apache.juneau.http">MaxForwards</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/MaxForwards.html#forString-java.lang.String-">forString</a></span>(<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> value)</code>
+<div class="block">Returns a parsed <code>Max-Forwards</code> header.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.http.HeaderInteger">
+<!-- -->
+</a>
+<h3>Methods inherited from class org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderInteger.html" title="class in org.apache.juneau.http">HeaderInteger</a></h3>
+<code><a href="../../../../org/apache/juneau/http/HeaderInteger.html#asInt--">asInt</a>, <a href="../../../../org/apache/juneau/http/HeaderInteger.html#toString--">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="forString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>forString</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/MaxForwards.html" title="class in org.apache.juneau.http">MaxForwards</a> <a href="../../../../src-html/org/apache/juneau/http/MaxForwards.html#line.56">forString</a>(<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> value)</pre>
+<div class="block">Returns a parsed <code>Max-Forwards</code> header.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The <code>Max-Forwards</code> header string.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Max-Forwards</code> header, or <jk>null</jk> if the string was null.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/Location.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/MediaType.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/MaxForwards.html" target="_top">Frames</a></li>
+<li><a href="MaxForwards.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/MediaType.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/MediaType.html b/content/site/apidocs/org/apache/juneau/http/MediaType.html
index ff228da..1666379 100644
--- a/content/site/apidocs/org/apache/juneau/http/MediaType.html
+++ b/content/site/apidocs/org/apache/juneau/http/MediaType.html
@@ -48,7 +48,7 @@ var activeTableTab = "activeTableTab";
</div>
<div class="subNav">
<ul class="navList">
-<li><a href="../../../../org/apache/juneau/http/ContentType.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/MaxForwards.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
<li><a href="../../../../org/apache/juneau/http/MediaTypeRange.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
</ul>
<ul class="navList">
@@ -667,7 +667,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
</div>
<div class="subNav">
<ul class="navList">
-<li><a href="../../../../org/apache/juneau/http/ContentType.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/MaxForwards.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
<li><a href="../../../../org/apache/juneau/http/MediaTypeRange.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
</ul>
<ul class="navList">
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/MediaTypeRange.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/MediaTypeRange.html b/content/site/apidocs/org/apache/juneau/http/MediaTypeRange.html
index 9bed091..e2c5dff 100644
--- a/content/site/apidocs/org/apache/juneau/http/MediaTypeRange.html
+++ b/content/site/apidocs/org/apache/juneau/http/MediaTypeRange.html
@@ -49,7 +49,7 @@ var activeTableTab = "activeTableTab";
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/juneau/http/MediaType.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
-<li><a href="../../../../org/apache/juneau/http/TypeRange.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/Pragma.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/juneau/http/MediaTypeRange.html" target="_top">Frames</a></li>
@@ -419,7 +419,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparabl
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/juneau/http/MediaType.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
-<li><a href="../../../../org/apache/juneau/http/TypeRange.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/Pragma.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/juneau/http/MediaTypeRange.html" target="_top">Frames</a></li>
[42/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/Host.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/Host.html b/content/site/apidocs/org/apache/juneau/http/Host.html
new file mode 100644
index 0000000..1027a80
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/Host.html
@@ -0,0 +1,298 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Host (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="Host (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/HeaderUri.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/HttpMethod.html" title="enum in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/Host.html" target="_top">Frames</a></li>
+<li><a href="Host.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class Host" class="title">Class Host</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">org.apache.juneau.http.HeaderString</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.Host</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/Host.html#line.58">Host</a>
+extends <a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></pre>
+<div class="block">Represents a parsed <l>Host</l> HTTP request header.
+ <p>
+ The domain name of the server (for virtual hosting), and the TCP port number on which the server is listening.
+ The port number may be omitted if the port is the standard port for the service requested.
+ Mandatory since HTTP/1.1.
+
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ Host: en.wikipedia.org:8080
+ Host: en.wikipedia.org
+ </p>
+
+ <h6 class='topic'>RFC2616 Specification</h6>
+
+ The Host request-header field specifies the Internet host and port number of the resource being requested, as
+ obtained from the original URI given by the user or referring resource (generally an HTTP URL, as described in
+ section 3.2.2).
+ The Host field value MUST represent the naming authority of the origin server or gateway given by the original URL.
+ This allows the origin server or gateway to differentiate between internally-ambiguous URLs, such as the root "/" URL
+ of a server for multiple host names on a single IP address.
+ <p class='bcode'>
+ Host = "Host" ":" host [ ":" port ] ; Section 3.2.2
+ </p>
+ <p>
+ A "host" without any trailing port information implies the default port for the service requested (e.g., "80" for an
+ HTTP URL).
+ For example, a request on the origin server for <http://www.w3.org/pub/WWW/> would properly include:
+ <p class='bcode'>
+ GET /pub/WWW/ HTTP/1.1
+ Host: www.w3.org
+ </p>
+ <p>
+ A client MUST include a Host header field in all HTTP/1.1 request messages.
+ If the requested URI does not include an Internet host name for the service being requested, then the Host header
+ field MUST be given with an empty value.
+ An HTTP/1.1 proxy MUST ensure that any request message it forwards does contain an appropriate Host header field that
+ identifies the service being requested by the proxy.
+ All Internet-based HTTP/1.1 servers MUST respond with a 400 (Bad Request) status code to any HTTP/1.1 request
+ message which lacks a Host header field.
+ <p>
+ See sections 5.2 and 19.6.1.1 for other requirements relating to Host.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/Host.html" title="class in org.apache.juneau.http">Host</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/Host.html#forString-java.lang.String-">forString</a></span>(<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> value)</code>
+<div class="block">Returns a parsed <code>Host</code> header.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.http.HeaderString">
+<!-- -->
+</a>
+<h3>Methods inherited from class org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></h3>
+<code><a href="../../../../org/apache/juneau/http/HeaderString.html#asString--">asString</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#eq-java.lang.String-">eq</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#eqIC-java.lang.String-">eqIC</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#toString--">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="forString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>forString</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/Host.html" title="class in org.apache.juneau.http">Host</a> <a href="../../../../src-html/org/apache/juneau/http/Host.html#line.66">forString</a>(<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> value)</pre>
+<div class="block">Returns a parsed <code>Host</code> header.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The <code>Host</code> header string.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Host</code> header, or <jk>null</jk> if the string was null.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/HeaderUri.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/HttpMethod.html" title="enum in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/Host.html" target="_top">Frames</a></li>
+<li><a href="Host.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/HttpMethod.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/HttpMethod.html b/content/site/apidocs/org/apache/juneau/http/HttpMethod.html
new file mode 100644
index 0000000..d1484ea
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/HttpMethod.html
@@ -0,0 +1,476 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>HttpMethod (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="HttpMethod (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":9,"i1":9,"i2":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/Host.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/IfMatch.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/HttpMethod.html" target="_top">Frames</a></li>
+<li><a href="HttpMethod.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li><a href="#enum.constant.summary">Enum Constants</a> | </li>
+<li>Field | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li><a href="#enum.constant.detail">Enum Constants</a> | </li>
+<li>Field | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Enum HttpMethod" class="title">Enum HttpMethod</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">java.lang.Enum</a><<a href="../../../../org/apache/juneau/http/HttpMethod.html" title="enum in org.apache.juneau.http">HttpMethod</a>></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.HttpMethod</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt>All Implemented Interfaces:</dt>
+<dd><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><<a href="../../../../org/apache/juneau/http/HttpMethod.html" title="enum in org.apache.juneau.http">HttpMethod</a>></dd>
+</dl>
+<hr>
+<br>
+<pre>public enum <a href="../../../../src-html/org/apache/juneau/http/HttpMethod.html#line.20">HttpMethod</a>
+extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a><<a href="../../../../org/apache/juneau/http/HttpMethod.html" title="enum in org.apache.juneau.http">HttpMethod</a>></pre>
+<div class="block">Represents valid HTTP 1.1 method names per the <a class='doclink' href='https://www.ietf.org/rfc/rfc2616.txt'>RFC 2616</a> spec.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- =========== ENUM CONSTANT SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="enum.constant.summary">
+<!-- -->
+</a>
+<h3>Enum Constant Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation">
+<caption><span>Enum Constants</span><span class="tabEnd"> </span></caption>
+<tr>
+<th class="colOne" scope="col">Enum Constant and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/HttpMethod.html#CONNECT">CONNECT</a></span></code>
+<div class="block"><a class='doclink' href='https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.9'>CONNECT</a></div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/HttpMethod.html#DELETE">DELETE</a></span></code>
+<div class="block"><a class='doclink' href='https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.7'>DELETE</a></div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/HttpMethod.html#GET">GET</a></span></code>
+<div class="block"><a class='doclink' href='https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.3'>GET</a></div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/HttpMethod.html#HEAD">HEAD</a></span></code>
+<div class="block"><a class='doclink' href='https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.4'>HEAD</a></div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/HttpMethod.html#OPTIONS">OPTIONS</a></span></code>
+<div class="block"><a class='doclink' href='https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.2'>OPTIONS</a></div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/HttpMethod.html#OTHER">OTHER</a></span></code>
+<div class="block">A non-standard value.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/HttpMethod.html#POST">POST</a></span></code>
+<div class="block"><a class='doclink' href='https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5'>POST</a></div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/HttpMethod.html#PUT">PUT</a></span></code>
+<div class="block"><a class='doclink' href='https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.6'>PUT</a></div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/HttpMethod.html#TRACE">TRACE</a></span></code>
+<div class="block"><a class='doclink' href='https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.8'>TRACE</a></div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/HttpMethod.html" title="enum in org.apache.juneau.http">HttpMethod</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/HttpMethod.html#forString-java.lang.String-">forString</a></span>(<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> key)</code>
+<div class="block">Returns the enum for the specified key.</div>
+</td>
+</tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/HttpMethod.html" title="enum in org.apache.juneau.http">HttpMethod</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/HttpMethod.html#valueOf-java.lang.String-">valueOf</a></span>(<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> name)</code>
+<div class="block">Returns the enum constant of this type with the specified name.</div>
+</td>
+</tr>
+<tr id="i2" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/HttpMethod.html" title="enum in org.apache.juneau.http">HttpMethod</a>[]</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/HttpMethod.html#values--">values</a></span>()</code>
+<div class="block">Returns an array containing the constants of this enum type, in
+the order they are declared.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Enum">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#compareTo-E-" title="class or interface in java.lang">compareTo</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#getDeclaringClass--" title="class or interface in java.lang">getDeclaringClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/
api/java/lang/Enum.html?is-external=true#name--" title="class or interface in java.lang">name</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#ordinal--" title="class or interface in java.lang">ordinal</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#valueOf-java.lang.Class-java.lang.String-" title="class or interface in java.lang">valueOf</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ ENUM CONSTANT DETAIL =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="enum.constant.detail">
+<!-- -->
+</a>
+<h3>Enum Constant Detail</h3>
+<a name="OPTIONS">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>OPTIONS</h4>
+<pre>public static final <a href="../../../../org/apache/juneau/http/HttpMethod.html" title="enum in org.apache.juneau.http">HttpMethod</a> <a href="../../../../src-html/org/apache/juneau/http/HttpMethod.html#line.23">OPTIONS</a></pre>
+<div class="block"><a class='doclink' href='https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.2'>OPTIONS</a></div>
+</li>
+</ul>
+<a name="GET">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>GET</h4>
+<pre>public static final <a href="../../../../org/apache/juneau/http/HttpMethod.html" title="enum in org.apache.juneau.http">HttpMethod</a> <a href="../../../../src-html/org/apache/juneau/http/HttpMethod.html#line.26">GET</a></pre>
+<div class="block"><a class='doclink' href='https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.3'>GET</a></div>
+</li>
+</ul>
+<a name="HEAD">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>HEAD</h4>
+<pre>public static final <a href="../../../../org/apache/juneau/http/HttpMethod.html" title="enum in org.apache.juneau.http">HttpMethod</a> <a href="../../../../src-html/org/apache/juneau/http/HttpMethod.html#line.29">HEAD</a></pre>
+<div class="block"><a class='doclink' href='https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.4'>HEAD</a></div>
+</li>
+</ul>
+<a name="POST">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>POST</h4>
+<pre>public static final <a href="../../../../org/apache/juneau/http/HttpMethod.html" title="enum in org.apache.juneau.http">HttpMethod</a> <a href="../../../../src-html/org/apache/juneau/http/HttpMethod.html#line.32">POST</a></pre>
+<div class="block"><a class='doclink' href='https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5'>POST</a></div>
+</li>
+</ul>
+<a name="PUT">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>PUT</h4>
+<pre>public static final <a href="../../../../org/apache/juneau/http/HttpMethod.html" title="enum in org.apache.juneau.http">HttpMethod</a> <a href="../../../../src-html/org/apache/juneau/http/HttpMethod.html#line.35">PUT</a></pre>
+<div class="block"><a class='doclink' href='https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.6'>PUT</a></div>
+</li>
+</ul>
+<a name="DELETE">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>DELETE</h4>
+<pre>public static final <a href="../../../../org/apache/juneau/http/HttpMethod.html" title="enum in org.apache.juneau.http">HttpMethod</a> <a href="../../../../src-html/org/apache/juneau/http/HttpMethod.html#line.38">DELETE</a></pre>
+<div class="block"><a class='doclink' href='https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.7'>DELETE</a></div>
+</li>
+</ul>
+<a name="TRACE">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>TRACE</h4>
+<pre>public static final <a href="../../../../org/apache/juneau/http/HttpMethod.html" title="enum in org.apache.juneau.http">HttpMethod</a> <a href="../../../../src-html/org/apache/juneau/http/HttpMethod.html#line.41">TRACE</a></pre>
+<div class="block"><a class='doclink' href='https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.8'>TRACE</a></div>
+</li>
+</ul>
+<a name="CONNECT">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>CONNECT</h4>
+<pre>public static final <a href="../../../../org/apache/juneau/http/HttpMethod.html" title="enum in org.apache.juneau.http">HttpMethod</a> <a href="../../../../src-html/org/apache/juneau/http/HttpMethod.html#line.44">CONNECT</a></pre>
+<div class="block"><a class='doclink' href='https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.9'>CONNECT</a></div>
+</li>
+</ul>
+<a name="OTHER">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>OTHER</h4>
+<pre>public static final <a href="../../../../org/apache/juneau/http/HttpMethod.html" title="enum in org.apache.juneau.http">HttpMethod</a> <a href="../../../../src-html/org/apache/juneau/http/HttpMethod.html#line.47">OTHER</a></pre>
+<div class="block">A non-standard value.</div>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="values--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>values</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/HttpMethod.html" title="enum in org.apache.juneau.http">HttpMethod</a>[] <a href="../../../../src-html/org/apache/juneau/http/HttpMethod.html#line.20">values</a>()</pre>
+<div class="block">Returns an array containing the constants of this enum type, in
+the order they are declared. This method may be used to iterate
+over the constants as follows:
+<pre>
+for (HttpMethod c : HttpMethod.values())
+ System.out.println(c);
+</pre></div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>an array containing the constants of this enum type, in the order they are declared</dd>
+</dl>
+</li>
+</ul>
+<a name="valueOf-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>valueOf</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/HttpMethod.html" title="enum in org.apache.juneau.http">HttpMethod</a> <a href="../../../../src-html/org/apache/juneau/http/HttpMethod.html#line.20">valueOf</a>(<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> name)</pre>
+<div class="block">Returns the enum constant of this type with the specified name.
+The string must match <i>exactly</i> an identifier used to declare an
+enum constant in this type. (Extraneous whitespace characters are
+not permitted.)</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>name</code> - the name of the enum constant to be returned.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>the enum constant with the specified name</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if this enum type has no constant with the specified name</dd>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - if the argument is null</dd>
+</dl>
+</li>
+</ul>
+<a name="forString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>forString</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/HttpMethod.html" title="enum in org.apache.juneau.http">HttpMethod</a> <a href="../../../../src-html/org/apache/juneau/http/HttpMethod.html#line.69">forString</a>(<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> key)</pre>
+<div class="block">Returns the enum for the specified key.
+ <p>
+ Case is ignored.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>key</code> - The HTTP method name.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The HttpMethod enum, or <a href="../../../../org/apache/juneau/http/HttpMethod.html#OTHER"><code>OTHER</code></a> if it's not a standard method name.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/Host.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/IfMatch.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/HttpMethod.html" target="_top">Frames</a></li>
+<li><a href="HttpMethod.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li><a href="#enum.constant.summary">Enum Constants</a> | </li>
+<li>Field | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li><a href="#enum.constant.detail">Enum Constants</a> | </li>
+<li>Field | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/IfMatch.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/IfMatch.html b/content/site/apidocs/org/apache/juneau/http/IfMatch.html
new file mode 100644
index 0000000..abf07fb
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/IfMatch.html
@@ -0,0 +1,313 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>IfMatch (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="IfMatch (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/HttpMethod.html" title="enum in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/IfModifiedSince.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/IfMatch.html" target="_top">Frames</a></li>
+<li><a href="IfMatch.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class IfMatch" class="title">Class IfMatch</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../org/apache/juneau/http/HeaderEntityValidatorArray.html" title="class in org.apache.juneau.http">org.apache.juneau.http.HeaderEntityValidatorArray</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.IfMatch</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/IfMatch.html#line.73">IfMatch</a>
+extends <a href="../../../../org/apache/juneau/http/HeaderEntityValidatorArray.html" title="class in org.apache.juneau.http">HeaderEntityValidatorArray</a></pre>
+<div class="block">Represents a parsed <l>If-Match</l> HTTP request header.
+ <p>
+ Only perform the action if the client supplied entity matches the same entity on the server.
+ This is mainly for methods like PUT to only update a resource if it has not been modified since the user last
+ updated it.
+
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ If-Match: "737060cd8c284d8af7ad3082f209582d"
+ </p>
+
+ <h6 class='topic'>RFC2616 Specification</h6>
+
+ The If-Match request-header field is used with a method to make it conditional.
+ A client that has one or more entities previously obtained from the resource can verify that one of those entities
+ is current by including a list of their associated entity tags in the If-Match header field.
+ Entity tags are defined in section 3.11.
+ The purpose of this feature is to allow efficient updates of cached information with a minimum amount of transaction
+ overhead.
+ It is also used, on updating requests, to prevent inadvertent modification of the wrong version of a resource.
+ As a special case, the value "*" matches any current entity of the resource.
+ <p class='bcode'>
+ If-Match = "If-Match" ":" ( "*" | 1#entity-tag )
+ </p>
+ <p>
+ If any of the entity tags match the entity tag of the entity that would have been returned in the response to a
+ similar GET request (without the If-Match header) on that resource, or if "*" is given and any current entity exists
+ for that resource, then the server MAY perform the requested method as if the If-Match header field did not exist.
+ <p>
+ A server MUST use the strong comparison function (see section 13.3.3) to compare the entity tags in If-Match.
+ <p>
+ If none of the entity tags match, or if "*" is given and no current entity exists, the server MUST NOT perform the
+ requested method, and MUST return a 412 (Precondition Failed) response.
+ This behavior is most useful when the client wants to prevent an updating method, such as PUT, from modifying a
+ resource that has changed since the client last retrieved it.
+ <p>
+ If the request would, without the If-Match header field, result in anything other than a 2xx or 412 status, then the
+ If-Match header MUST be ignored.
+ <p>
+ The meaning of "If-Match: *" is that the method SHOULD be performed if the representation selected by the origin
+ server (or by a cache, possibly using the Vary mechanism, see section 14.44) exists, and MUST NOT be performed if the
+ representation does not exist.
+ <p>
+ A request intended to update a resource (e.g., a PUT) MAY include an If-Match header field to signal that the request
+ method MUST NOT be applied if the entity corresponding to the If-Match value (a single entity tag) is no longer a
+ representation of that resource.
+ This allows the user to indicate that they do not wish the request to be successful if the resource has been changed
+ without their knowledge.
+ Examples:
+ <p class='bcode'>
+ If-Match: "xyzzy"
+ If-Match: "xyzzy", "r2d2xxxx", "c3piozzzz"
+ If-Match: *
+ </p>
+ The result of a request having both an If-Match header field and either an If-None-Match or an If-Modified-Since
+ header fields is undefined by this specification.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/IfMatch.html" title="class in org.apache.juneau.http">IfMatch</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/IfMatch.html#forString-java.lang.String-">forString</a></span>(<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> value)</code>
+<div class="block">Returns a parsed <code>If-Match</code> header.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.http.HeaderEntityValidatorArray">
+<!-- -->
+</a>
+<h3>Methods inherited from class org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderEntityValidatorArray.html" title="class in org.apache.juneau.http">HeaderEntityValidatorArray</a></h3>
+<code><a href="../../../../org/apache/juneau/http/HeaderEntityValidatorArray.html#asValidators--">asValidators</a>, <a href="../../../../org/apache/juneau/http/HeaderEntityValidatorArray.html#toString--">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="forString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>forString</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/IfMatch.html" title="class in org.apache.juneau.http">IfMatch</a> <a href="../../../../src-html/org/apache/juneau/http/IfMatch.html#line.81">forString</a>(<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> value)</pre>
+<div class="block">Returns a parsed <code>If-Match</code> header.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The <code>If-Match</code> header string.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>If-Match</code> header, or <jk>null</jk> if the string was null.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/HttpMethod.html" title="enum in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/IfModifiedSince.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/IfMatch.html" target="_top">Frames</a></li>
+<li><a href="IfMatch.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/IfModifiedSince.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/IfModifiedSince.html b/content/site/apidocs/org/apache/juneau/http/IfModifiedSince.html
new file mode 100644
index 0000000..686538c
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/IfModifiedSince.html
@@ -0,0 +1,315 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>IfModifiedSince (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="IfModifiedSince (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/IfMatch.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/IfNoneMatch.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/IfModifiedSince.html" target="_top">Frames</a></li>
+<li><a href="IfModifiedSince.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class IfModifiedSince" class="title">Class IfModifiedSince</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../org/apache/juneau/http/HeaderDate.html" title="class in org.apache.juneau.http">org.apache.juneau.http.HeaderDate</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.IfModifiedSince</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/IfModifiedSince.html#line.75">IfModifiedSince</a>
+extends <a href="../../../../org/apache/juneau/http/HeaderDate.html" title="class in org.apache.juneau.http">HeaderDate</a></pre>
+<div class="block">Represents a parsed <l>If-Modified-Since</l> HTTP request header.
+ <p>
+ Allows a 304 Not Modified to be returned if content is unchanged.
+
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ If-Modified-Since: Sat, 29 Oct 1994 19:43:31 GMT
+ </p>
+
+ <h6 class='topic'>RFC2616 Specification</h6>
+
+ The If-Modified-Since request-header field is used with a method to make it conditional:
+ if the requested variant has not been modified since the time specified in this field, an entity will not be returned
+ from the server; instead, a 304 (not modified) response will be returned without any message-body.
+ <p class='bcode'>
+ If-Modified-Since = "If-Modified-Since" ":" HTTP-date
+ </p>
+ <p>
+ An example of the field is:
+ <p class='bcode'>
+ If-Modified-Since: Sat, 29 Oct 1994 19:43:31 GMT
+ </p>
+ <p>
+ A GET method with an If-Modified-Since header and no Range header requests that the identified entity be transferred
+ only if it has been modified since the date given by the If-Modified-Since header.
+ The algorithm for determining this includes the following cases:
+ <ol>
+ <li>If the request would normally result in anything other than a 200 (OK) status, or if the passed
+ If-Modified-Since date is invalid, the response is exactly the same as for a normal GET.
+ A date which is later than the server's current time is invalid.
+ <li>If the variant has been modified since the If-Modified-Since date, the response is exactly the same as for a
+ normal GET.
+ <li>If the variant has not been modified since a valid If-Modified-Since date, the server SHOULD return a 304
+ (Not Modified) response.
+ </ol>
+ The purpose of this feature is to allow efficient updates of cached information with a minimum amount of transaction
+ overhead.
+ <p>
+ Note: The Range request-header field modifies the meaning of If-Modified-Since; see section 14.35 for full details.
+ <p>
+ Note: If-Modified-Since times are interpreted by the server, whose clock might not be synchronized with the client.
+ <p>
+ Note: When handling an If-Modified-Since header field, some servers will use an exact date comparison function,
+ rather than a less-than function, for deciding whether to send a 304 (Not Modified) response.
+ To get best results when sending an If-Modified-Since header field for cache validation, clients are
+ advised to use the exact date string received in a previous Last-Modified header field whenever possible.
+ <p>
+ Note: If a client uses an arbitrary date in the If-Modified-Since header instead of a date taken from the
+ Last-Modified header for the same request, the client should be aware of the fact that this date is interpreted in
+ the server's understanding of time.
+ The client should consider unsynchronized clocks and rounding problems due to the different encodings of time between
+ the client and server.
+ This includes the possibility of race conditions if the document has changed between the time it was first requested
+ and the If-Modified-Since date of a subsequent request, and the possibility of clock-skew-related problems if the
+ If-Modified-Since date is derived from the client's clock without correction to the server's clock.
+ Corrections for different time bases between client and server are at best approximate due to network latency.
+ The result of a request having both an If-Modified-Since header field and either an If-Match or an
+ If-Unmodified-Since header fields is undefined by this specification.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/IfModifiedSince.html" title="class in org.apache.juneau.http">IfModifiedSince</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/IfModifiedSince.html#forString-java.lang.String-">forString</a></span>(<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> value)</code>
+<div class="block">Returns a parsed <code>If-Modified-Since</code> header.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.http.HeaderDate">
+<!-- -->
+</a>
+<h3>Methods inherited from class org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderDate.html" title="class in org.apache.juneau.http">HeaderDate</a></h3>
+<code><a href="../../../../org/apache/juneau/http/HeaderDate.html#asDate--">asDate</a>, <a href="../../../../org/apache/juneau/http/HeaderDate.html#toString--">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="forString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>forString</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/IfModifiedSince.html" title="class in org.apache.juneau.http">IfModifiedSince</a> <a href="../../../../src-html/org/apache/juneau/http/IfModifiedSince.html#line.83">forString</a>(<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> value)</pre>
+<div class="block">Returns a parsed <code>If-Modified-Since</code> header.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The <code>If-Modified-Since</code> header string.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>If-Modified-Since</code> header, or <jk>null</jk> if the string was null.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/IfMatch.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/IfNoneMatch.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/IfModifiedSince.html" target="_top">Frames</a></li>
+<li><a href="IfModifiedSince.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/IfNoneMatch.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/IfNoneMatch.html b/content/site/apidocs/org/apache/juneau/http/IfNoneMatch.html
new file mode 100644
index 0000000..eb53d35
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/IfNoneMatch.html
@@ -0,0 +1,318 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>IfNoneMatch (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="IfNoneMatch (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/IfModifiedSince.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/IfRange.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/IfNoneMatch.html" target="_top">Frames</a></li>
+<li><a href="IfNoneMatch.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class IfNoneMatch" class="title">Class IfNoneMatch</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../org/apache/juneau/http/HeaderEntityValidatorArray.html" title="class in org.apache.juneau.http">org.apache.juneau.http.HeaderEntityValidatorArray</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.IfNoneMatch</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/IfNoneMatch.html#line.78">IfNoneMatch</a>
+extends <a href="../../../../org/apache/juneau/http/HeaderEntityValidatorArray.html" title="class in org.apache.juneau.http">HeaderEntityValidatorArray</a></pre>
+<div class="block">Represents a parsed <l>If-None-Match</l> HTTP request header.
+ <p>
+ Allows a 304 Not Modified to be returned if content is unchanged.
+
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ If-None-Match: "737060cd8c284d8af7ad3082f209582d"
+ </p>
+
+ <h6 class='topic'>RFC2616 Specification</h6>
+
+ The If-None-Match request-header field is used with a method to make it conditional.
+ A client that has one or more entities previously obtained from the resource can verify that none of those entities
+ is current by including a list of their associated entity tags in the If-None-Match header field.
+ The purpose of this feature is to allow efficient updates of cached information with a minimum amount of transaction
+ overhead.
+ It is also used to prevent a method (e.g. PUT) from inadvertently modifying an existing resource when the client
+ believes that the resource does not exist.
+ <p>
+ As a special case, the value "*" matches any current entity of the resource.
+ <p class='bcode'>
+ If-None-Match = "If-None-Match" ":" ( "*" | 1#entity-tag )
+ </p>
+ <p>
+ If any of the entity tags match the entity tag of the entity that would have been returned in the response to a
+ similar GET request (without the If-None-Match header) on that resource, or if "*" is given
+ and any current entity exists for that resource, then the server MUST NOT perform the requested method, unless
+ required to do so because the resource's modification date fails to match that supplied in an If-Modified-Since
+ header field in the request.
+ Instead, if the request method was GET or HEAD, the server SHOULD respond with a 304 (Not Modified) response,
+ including the cache- related header fields (particularly ETag) of one of the entities that matched.
+ For all other request methods, the server MUST respond with a status of 412 (Precondition Failed).
+ <p>
+ See section 13.3.3 for rules on how to determine if two entities tags match.
+ The weak comparison function can only be used with GET or HEAD requests.
+ <p>
+ If none of the entity tags match, then the server MAY perform the requested method as if the If-None-Match header
+ field did not exist, but MUST also ignore any If-Modified-Since header field(s) in the request.
+ That is, if no entity tags match, then the server MUST NOT return a 304 (Not Modified) response.
+ <p>
+ If the request would, without the If-None-Match header field, result in anything other than a 2xx or 304 status,
+ then the If-None-Match header MUST be ignored.
+ (See section 13.3.4 for a discussion of server behavior when both If-Modified-Since and If-None-Match appear in the
+ same request.)
+ <p>
+ The meaning of "If-None-Match: *" is that the method MUST NOT be performed if the representation selected by the
+ origin server (or by a cache, possibly using the Vary mechanism, see section 14.44) exists, and SHOULD be performed
+ if the representation does not exist.
+ This feature is intended to be useful in preventing races between PUT operations.
+ <p>
+ Examples:
+ <p class='bcode'>
+ If-None-Match: "xyzzy"
+ If-None-Match: W/"xyzzy"
+ If-None-Match: "xyzzy", "r2d2xxxx", "c3piozzzz"
+ If-None-Match: W/"xyzzy", W/"r2d2xxxx", W/"c3piozzzz"
+ If-None-Match: *
+ </p>
+ <p>
+ The result of a request having both an If-None-Match header field and either an If-Match or an If-Unmodified-Since
+ header fields is undefined by this specification.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/IfNoneMatch.html" title="class in org.apache.juneau.http">IfNoneMatch</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/IfNoneMatch.html#forString-java.lang.String-">forString</a></span>(<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> value)</code>
+<div class="block">Returns a parsed <code>If-None-Match</code> header.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.http.HeaderEntityValidatorArray">
+<!-- -->
+</a>
+<h3>Methods inherited from class org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderEntityValidatorArray.html" title="class in org.apache.juneau.http">HeaderEntityValidatorArray</a></h3>
+<code><a href="../../../../org/apache/juneau/http/HeaderEntityValidatorArray.html#asValidators--">asValidators</a>, <a href="../../../../org/apache/juneau/http/HeaderEntityValidatorArray.html#toString--">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="forString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>forString</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/IfNoneMatch.html" title="class in org.apache.juneau.http">IfNoneMatch</a> <a href="../../../../src-html/org/apache/juneau/http/IfNoneMatch.html#line.86">forString</a>(<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> value)</pre>
+<div class="block">Returns a parsed <code>If-None-Match</code> header.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The <code>If-None-Match</code> header string.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>If-None-Match</code> header, or <jk>null</jk> if the string was null.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/IfModifiedSince.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/IfRange.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/IfNoneMatch.html" target="_top">Frames</a></li>
+<li><a href="IfNoneMatch.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
[48/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/Age.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/Age.html b/content/site/apidocs/org/apache/juneau/http/Age.html
new file mode 100644
index 0000000..86c83a9
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/Age.html
@@ -0,0 +1,287 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Age (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="Age (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/AcceptRanges.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/Allow.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/Age.html" target="_top">Frames</a></li>
+<li><a href="Age.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class Age" class="title">Class Age</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../org/apache/juneau/http/HeaderInteger.html" title="class in org.apache.juneau.http">org.apache.juneau.http.HeaderInteger</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.Age</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/Age.html#line.47">Age</a>
+extends <a href="../../../../org/apache/juneau/http/HeaderInteger.html" title="class in org.apache.juneau.http">HeaderInteger</a></pre>
+<div class="block">Represents a parsed <l>Age</l> HTTP response header.
+ <p>
+ The age the object has been in a proxy cache in seconds.
+
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ Age: 12
+ </p>
+
+ <h6 class='topic'>RFC2616 Specification</h6>
+
+ The Age response-header field conveys the sender's estimate of the amount of time since the response (or its
+ revalidation) was generated at the origin server.
+ A cached response is "fresh" if its age does not exceed its freshness lifetime.
+ Age values are calculated as specified in section 13.2.3.
+
+ <p class='bcode'>
+ Age = "Age" ":" age-value
+ age-value = delta-seconds
+ </p>
+ <p>
+ Age values are non-negative decimal integers, representing time in seconds.
+ <p>
+ If a cache receives a value larger than the largest positive integer it can represent, or if any of its age
+ calculations overflows, it MUST transmit an Age header with a value of 2147483648 (2^31).
+ <p>
+ An HTTP/1.1 server that includes a cache MUST include an Age header field in every response generated from its own
+ cache.
+ <p>
+ Caches SHOULD use an arithmetic type of at least 31 bits of range.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/Age.html" title="class in org.apache.juneau.http">Age</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/Age.html#forString-java.lang.String-">forString</a></span>(<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> value)</code>
+<div class="block">Returns a parsed <code>Age</code> header.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.http.HeaderInteger">
+<!-- -->
+</a>
+<h3>Methods inherited from class org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderInteger.html" title="class in org.apache.juneau.http">HeaderInteger</a></h3>
+<code><a href="../../../../org/apache/juneau/http/HeaderInteger.html#asInt--">asInt</a>, <a href="../../../../org/apache/juneau/http/HeaderInteger.html#toString--">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="forString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>forString</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/Age.html" title="class in org.apache.juneau.http">Age</a> <a href="../../../../src-html/org/apache/juneau/http/Age.html#line.55">forString</a>(<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> value)</pre>
+<div class="block">Returns a parsed <code>Age</code> header.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The <code>Age</code> header string.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Age</code> header, or <jk>null</jk> if the string was null.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/AcceptRanges.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/Allow.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/Age.html" target="_top">Frames</a></li>
+<li><a href="Age.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/Allow.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/Allow.html b/content/site/apidocs/org/apache/juneau/http/Allow.html
new file mode 100644
index 0000000..8a3b66c
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/Allow.html
@@ -0,0 +1,295 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Allow (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="Allow (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/Age.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/Authorization.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/Allow.html" target="_top">Frames</a></li>
+<li><a href="Allow.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class Allow" class="title">Class Allow</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../org/apache/juneau/http/HeaderStringArray.html" title="class in org.apache.juneau.http">org.apache.juneau.http.HeaderStringArray</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.Allow</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/Allow.html#line.55">Allow</a>
+extends <a href="../../../../org/apache/juneau/http/HeaderStringArray.html" title="class in org.apache.juneau.http">HeaderStringArray</a></pre>
+<div class="block">Represents a parsed <l>Allow</l> HTTP response header.
+ <p>
+ Valid methods for a specified resource. To be used for a 405 Method not allowed.
+
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ Allow: GET, HEAD
+ </p>
+
+ <h6 class='topic'>RFC2616 Specification</h6>
+
+ The Allow entity-header field lists the set of methods supported by the resource identified by the Request-URI.
+ The purpose of this field is strictly to inform the recipient of valid methods associated with the resource.
+ An Allow header field MUST be present in a 405 (Method Not Allowed) response.
+
+ <p class='bcode'>
+ Allow = "Allow" ":" #Method
+ </p>
+ <p>
+ Example of use:
+ <p class='bcode'>
+ Allow: GET, HEAD, PUT
+ </p>
+ <p>
+ This field cannot prevent a client from trying other methods.
+ However, the indications given by the Allow header field value SHOULD be followed.
+ <p>
+ The actual set of allowed methods is defined by the origin server at the time of each request.
+ <p>
+ The Allow header field MAY be provided with a PUT request to recommend the methods to be supported by the new or
+ modified resource.
+ <p>
+ The server is not required to support these methods and SHOULD include an Allow header in the response giving the
+ actual supported methods.
+ <p>
+ A proxy MUST NOT modify the Allow header field even if it does not understand all the methods specified, since the
+ user agent might
+ have other means of communicating with the origin server.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/Allow.html" title="class in org.apache.juneau.http">Allow</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/Allow.html#forString-java.lang.String-">forString</a></span>(<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> value)</code>
+<div class="block">Returns a parsed <code>Allow</code> header.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.http.HeaderStringArray">
+<!-- -->
+</a>
+<h3>Methods inherited from class org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderStringArray.html" title="class in org.apache.juneau.http">HeaderStringArray</a></h3>
+<code><a href="../../../../org/apache/juneau/http/HeaderStringArray.html#asString--">asString</a>, <a href="../../../../org/apache/juneau/http/HeaderStringArray.html#contains-java.lang.String-">contains</a>, <a href="../../../../org/apache/juneau/http/HeaderStringArray.html#containsIC-java.lang.String-">containsIC</a>, <a href="../../../../org/apache/juneau/http/HeaderStringArray.html#toString--">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="forString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>forString</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/Allow.html" title="class in org.apache.juneau.http">Allow</a> <a href="../../../../src-html/org/apache/juneau/http/Allow.html#line.63">forString</a>(<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> value)</pre>
+<div class="block">Returns a parsed <code>Allow</code> header.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The <code>Allow</code> header string.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Allow</code> header, or <jk>null</jk> if the string was null.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/Age.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/Authorization.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/Allow.html" target="_top">Frames</a></li>
+<li><a href="Allow.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/Authorization.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/Authorization.html b/content/site/apidocs/org/apache/juneau/http/Authorization.html
new file mode 100644
index 0000000..e498b0b
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/Authorization.html
@@ -0,0 +1,301 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Authorization (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="Authorization (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/Allow.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/CacheControl.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/Authorization.html" target="_top">Frames</a></li>
+<li><a href="Authorization.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class Authorization" class="title">Class Authorization</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">org.apache.juneau.http.HeaderString</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.Authorization</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/Authorization.html#line.61">Authorization</a>
+extends <a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></pre>
+<div class="block">Represents a parsed <l>Authorization</l> HTTP request header.
+ <p>
+ Authentication credentials for HTTP authentication.
+
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
+ </p>
+
+ <h6 class='topic'>RFC2616 Specification</h6>
+
+ A user agent that wishes to authenticate itself with a server--usually, but not necessarily, after receiving a 401
+ response--does so by including an Authorization request-header field with the request.
+ <p>
+ The Authorization field value consists of credentials containing the authentication information of the user agent for
+ the realm of the resource being requested.
+
+ <p class='bcode'>
+ Authorization = "Authorization" ":" credentials
+ </p>
+ <p>
+ HTTP access authentication is described in "HTTP Authentication: Basic and Digest Access Authentication".
+ <p>
+ If a request is authenticated and a realm specified, the same credentials SHOULD be valid for all other requests
+ within this realm (assuming that the authentication scheme itself does not require otherwise, such as credentials
+ that vary according to a challenge value or using synchronized clocks).
+ <p>
+ When a shared cache (see section 13.7) receives a request containing an Authorization field, it MUST NOT return the
+ corresponding response as a reply to any other request, unless one of the following specific exceptions holds:
+ <ol>
+ <li>If the response includes the "s-maxage" cache-control directive, the cache MAY use that response in replying
+ to a subsequent request.
+ But (if the specified maximum age has passed) a proxy cache MUST first revalidate it with the origin
+ server, using the request-headers from the new request to allow the origin server to authenticate the new
+ request.
+ (This is the defined behavior for s-maxage.)
+ If the response includes "s-maxage=0", the proxy MUST always revalidate it before re-using it.
+ <li>If the response includes the "must-revalidate" cache-control directive, the cache MAY use that response in
+ replying to a subsequent request.
+ But if the response is stale, all caches MUST first revalidate it with the origin server, using the
+ request-headers from the new request to allow the origin server to authenticate the new request.
+ <li>If the response includes the "public" cache-control directive, it MAY be returned in reply to any subsequent
+ request.
+ </ol></div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/Authorization.html" title="class in org.apache.juneau.http">Authorization</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/Authorization.html#forString-java.lang.String-">forString</a></span>(<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> value)</code>
+<div class="block">Returns a parsed <code>Authorization</code> header.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.http.HeaderString">
+<!-- -->
+</a>
+<h3>Methods inherited from class org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></h3>
+<code><a href="../../../../org/apache/juneau/http/HeaderString.html#asString--">asString</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#eq-java.lang.String-">eq</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#eqIC-java.lang.String-">eqIC</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#toString--">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="forString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>forString</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/Authorization.html" title="class in org.apache.juneau.http">Authorization</a> <a href="../../../../src-html/org/apache/juneau/http/Authorization.html#line.69">forString</a>(<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> value)</pre>
+<div class="block">Returns a parsed <code>Authorization</code> header.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The <code>Authorization</code> header string.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Authorization</code> header, or <jk>null</jk> if the string was null.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/Allow.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/CacheControl.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/Authorization.html" target="_top">Frames</a></li>
+<li><a href="Authorization.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/CacheControl.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/CacheControl.html b/content/site/apidocs/org/apache/juneau/http/CacheControl.html
new file mode 100644
index 0000000..eb9789b
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/CacheControl.html
@@ -0,0 +1,325 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>CacheControl (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="CacheControl (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/Authorization.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/Connection.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/CacheControl.html" target="_top">Frames</a></li>
+<li><a href="CacheControl.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class CacheControl" class="title">Class CacheControl</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">org.apache.juneau.http.HeaderString</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.CacheControl</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/CacheControl.html#line.85">CacheControl</a>
+extends <a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></pre>
+<div class="block">Represents a parsed <l>Cache-Control</l> HTTP request header.
+ <p>
+ Used to specify directives that must be obeyed by all caching mechanisms along the request-response chain.
+
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ Cache-Control: no-cache
+ </p>
+
+ <h6 class='topic'>RFC2616 Specification</h6>
+
+ The Cache-Control general-header field is used to specify directives that MUST be obeyed by all caching mechanisms
+ along the request/response chain.
+ The directives specify behavior intended to prevent caches from adversely interfering with the request or response.
+ These directives typically override the default caching algorithms.
+ Cache directives are unidirectional in that the presence of a directive in a request does not imply that the same
+ directive is to be given in the response.
+ <p>
+ Note that HTTP/1.0 caches might not implement Cache-Control and might only implement Pragma: no-cache (see section
+ 14.32).
+ <p>
+ Cache directives MUST be passed through by a proxy or gateway application, regardless of their significance to that
+ application, since the directives might be applicable to all recipients along the request/response chain.
+ It is not possible to specify a cache- directive for a specific cache.
+
+ <p class='bcode'>
+ Cache-Control = "Cache-Control" ":" 1#cache-directive
+ cache-directive = cache-request-directive
+ | cache-response-directive
+ cache-request-directive =
+ "no-cache" ; Section 14.9.1
+ | "no-store" ; Section 14.9.2
+ | "max-age" "=" delta-seconds ; Section 14.9.3, 14.9.4
+ | "max-stale" [ "=" delta-seconds ] ; Section 14.9.3
+ | "min-fresh" "=" delta-seconds ; Section 14.9.3
+ | "no-transform" ; Section 14.9.5
+ | "only-if-cached" ; Section 14.9.4
+ | cache-extension ; Section 14.9.6
+ cache-response-directive =
+ "public" ; Section 14.9.1
+ | "private" [ "=" <"> 1#field-name <"> ] ; Section 14.9.1
+ | "no-cache" [ "=" <"> 1#field-name <"> ]; Section 14.9.1
+ | "no-store" ; Section 14.9.2
+ | "no-transform" ; Section 14.9.5
+ | "must-revalidate" ; Section 14.9.4
+ | "proxy-revalidate" ; Section 14.9.4
+ | "max-age" "=" delta-seconds ; Section 14.9.3
+ | "s-maxage" "=" delta-seconds ; Section 14.9.3
+ | cache-extension ; Section 14.9.6
+ cache-extension = token [ "=" ( token | quoted-string ) ]
+ </p>
+ <p>
+ When a directive appears without any 1#field-name parameter, the directive applies to the entire request or response.
+ When such a directive appears with a 1#field-name parameter, it applies only to the named field or fields, and not
+ to the rest of the request or response. This mechanism supports extensibility; implementations of future versions
+ of the HTTP protocol might apply these directives to header fields not defined in HTTP/1.1.
+ <p>
+ The cache-control directives can be broken down into these general categories:
+ <ul>
+ <li>Restrictions on what are cacheable; these may only be imposed by the origin server.
+ <li>Restrictions on what may be stored by a cache; these may be imposed by either the origin server or the user
+ agent.
+ <li>Modifications of the basic expiration mechanism; these may be imposed by either the origin server or the
+ user agent.
+ <li>Controls over cache revalidation and reload; these may only be imposed by a user agent.
+ <li>Control over transformation of entities.
+ <li>Extensions to the caching system.
+ </ul></div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/CacheControl.html" title="class in org.apache.juneau.http">CacheControl</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/CacheControl.html#forString-java.lang.String-">forString</a></span>(<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> value)</code>
+<div class="block">Returns a parsed <code>Cache-Control</code> header.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.http.HeaderString">
+<!-- -->
+</a>
+<h3>Methods inherited from class org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></h3>
+<code><a href="../../../../org/apache/juneau/http/HeaderString.html#asString--">asString</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#eq-java.lang.String-">eq</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#eqIC-java.lang.String-">eqIC</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#toString--">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="forString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>forString</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/CacheControl.html" title="class in org.apache.juneau.http">CacheControl</a> <a href="../../../../src-html/org/apache/juneau/http/CacheControl.html#line.93">forString</a>(<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> value)</pre>
+<div class="block">Returns a parsed <code>Cache-Control</code> header.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The <code>Cache-Control</code> header string.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Cache-Control</code> header, or <jk>null</jk> if the string was null.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/Authorization.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/Connection.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/CacheControl.html" target="_top">Frames</a></li>
+<li><a href="CacheControl.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/Connection.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/Connection.html b/content/site/apidocs/org/apache/juneau/http/Connection.html
new file mode 100644
index 0000000..0311021
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/Connection.html
@@ -0,0 +1,364 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Connection (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="Connection (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":9,"i1":10,"i2":10,"i3":10};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/CacheControl.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/Constants.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/Connection.html" target="_top">Frames</a></li>
+<li><a href="Connection.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class Connection" class="title">Class Connection</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">org.apache.juneau.http.HeaderString</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.Connection</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/Connection.html#line.64">Connection</a>
+extends <a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></pre>
+<div class="block">Represents a parsed <l>Connection</l> HTTP request header.
+ <p>
+ Control options for the current connection and list of hop-by-hop request fields.
+
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ Connection: keep-alive
+ Connection: Upgrade
+ </p>
+
+ <h6 class='topic'>RFC2616 Specification</h6>
+
+ The Connection general-header field allows the sender to specify options that are desired for that particular
+ connection and MUST NOT be communicated by proxies over further connections.
+ <p>
+ The Connection header has the following grammar:
+ <p class='bcode'>
+ Connection = "Connection" ":" 1#(connection-token)
+ connection-token = token
+ </p>
+ <p>
+ HTTP/1.1 proxies MUST parse the Connection header field before a message is forwarded and, for each connection-token
+ in this field, remove any header field(s) from the message with the same name as the connection-token.
+ Connection options are signaled by the presence of a connection-token in the Connection header field, not by any
+ corresponding additional header field(s), since the additional header field may not be sent if there are no
+ parameters associated with that connection option.
+ <p>
+ Message headers listed in the Connection header MUST NOT include end-to-end headers, such as Cache-Control.
+ <p>
+ HTTP/1.1 defines the "close" connection option for the sender to signal that the connection will be closed after
+ completion of the response.
+ For example...
+ <p class='bcode'>
+ Connection: close
+ </p>
+ <p>
+ ...in either the request or the response header fields indicates that the connection SHOULD NOT be considered
+ `persistent' (section 8.1) after the current request/response is complete.
+ <p>
+ HTTP/1.1 applications that do not support persistent connections MUST include the "close" connection option in
+ every message.
+ <p>
+ A system receiving an HTTP/1.0 (or lower-version) message that includes a Connection header MUST, for each
+ connection-token in this field, remove and ignore any header field(s) from the message with the same name as the
+ connection-token.
+ This protects against mistaken forwarding of such header fields by pre-HTTP/1.1 proxies.
+ See section 19.6.2.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/Connection.html" title="class in org.apache.juneau.http">Connection</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/Connection.html#forString-java.lang.String-">forString</a></span>(<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> value)</code>
+<div class="block">Returns a parsed <code>Connection</code> header.</div>
+</td>
+</tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/Connection.html#isClose--">isClose</a></span>()</code>
+<div class="block">Returns <jk>true</jk> if the header value is <code>close</code>.</div>
+</td>
+</tr>
+<tr id="i2" class="altColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/Connection.html#isKeepAlive--">isKeepAlive</a></span>()</code>
+<div class="block">Returns <jk>true</jk> if the header value is <code>keep-alive</code>.</div>
+</td>
+</tr>
+<tr id="i3" class="rowColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/Connection.html#isUpgrade--">isUpgrade</a></span>()</code>
+<div class="block">Returns <jk>true</jk> if the header value is <code>upgrade</code>.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.http.HeaderString">
+<!-- -->
+</a>
+<h3>Methods inherited from class org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></h3>
+<code><a href="../../../../org/apache/juneau/http/HeaderString.html#asString--">asString</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#eq-java.lang.String-">eq</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#eqIC-java.lang.String-">eqIC</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#toString--">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="forString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>forString</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/Connection.html" title="class in org.apache.juneau.http">Connection</a> <a href="../../../../src-html/org/apache/juneau/http/Connection.html#line.72">forString</a>(<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> value)</pre>
+<div class="block">Returns a parsed <code>Connection</code> header.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The <code>Connection</code> header string.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Connection</code> header, or <jk>null</jk> if the string was null.</dd>
+</dl>
+</li>
+</ul>
+<a name="isClose--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>isClose</h4>
+<pre>public boolean <a href="../../../../src-html/org/apache/juneau/http/Connection.html#line.87">isClose</a>()</pre>
+<div class="block">Returns <jk>true</jk> if the header value is <code>close</code>.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd><jk>true</jk> if the header value is <code>close</code>.</dd>
+</dl>
+</li>
+</ul>
+<a name="isKeepAlive--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>isKeepAlive</h4>
+<pre>public boolean <a href="../../../../src-html/org/apache/juneau/http/Connection.html#line.95">isKeepAlive</a>()</pre>
+<div class="block">Returns <jk>true</jk> if the header value is <code>keep-alive</code>.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd><jk>true</jk> if the header value is <code>keep-alive</code>.</dd>
+</dl>
+</li>
+</ul>
+<a name="isUpgrade--">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>isUpgrade</h4>
+<pre>public boolean <a href="../../../../src-html/org/apache/juneau/http/Connection.html#line.103">isUpgrade</a>()</pre>
+<div class="block">Returns <jk>true</jk> if the header value is <code>upgrade</code>.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd><jk>true</jk> if the header value is <code>upgrade</code>.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/CacheControl.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/Constants.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/Connection.html" target="_top">Frames</a></li>
+<li><a href="Connection.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/Constants.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/Constants.html b/content/site/apidocs/org/apache/juneau/http/Constants.html
new file mode 100644
index 0000000..fcb055e
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/Constants.html
@@ -0,0 +1,237 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Constants (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="Constants (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/Connection.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/ContentEncoding.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/Constants.html" target="_top">Frames</a></li>
+<li><a href="Constants.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li><a href="#constructor.summary">Constr</a> | </li>
+<li><a href="#methods.inherited.from.class.java.lang.Object">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li><a href="#constructor.detail">Constr</a> | </li>
+<li>Method</li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class Constants" class="title">Class Constants</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.Constants</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public class <a href="../../../../src-html/org/apache/juneau/http/Constants.html#line.18">Constants</a>
+extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
+<div class="block">Constants used by classes in this package.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.summary">
+<!-- -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
+<tr>
+<th class="colOne" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/Constants.html#Constants--">Constants</a></span>()</code> </td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.detail">
+<!-- -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="Constants--">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>Constants</h4>
+<pre>public <a href="../../../../src-html/org/apache/juneau/http/Constants.html#line.18">Constants</a>()</pre>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/Connection.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/ContentEncoding.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/Constants.html" target="_top">Frames</a></li>
+<li><a href="Constants.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li><a href="#constructor.summary">Constr</a> | </li>
+<li><a href="#methods.inherited.from.class.java.lang.Object">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li><a href="#constructor.detail">Constr</a> | </li>
+<li>Method</li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
[21/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/CacheControl.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/CacheControl.html b/content/site/apidocs/src-html/org/apache/juneau/http/CacheControl.html
new file mode 100644
index 0000000..7580bcf
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/CacheControl.html
@@ -0,0 +1,174 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Represents a parsed <l>Cache-Control</l> HTTP request header.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * <p><a name="line.17"></a>
+<span class="sourceLineNo">018</span> * Used to specify directives that must be obeyed by all caching mechanisms along the request-response chain.<a name="line.18"></a>
+<span class="sourceLineNo">019</span> *<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * <h6 class='figure'>Example</h6><a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p class='bcode'><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * Cache-Control: no-cache<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * </p><a name="line.23"></a>
+<span class="sourceLineNo">024</span> *<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * <h6 class='topic'>RFC2616 Specification</h6><a name="line.25"></a>
+<span class="sourceLineNo">026</span> *<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * The Cache-Control general-header field is used to specify directives that MUST be obeyed by all caching mechanisms<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * along the request/response chain.<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * The directives specify behavior intended to prevent caches from adversely interfering with the request or response.<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * These directives typically override the default caching algorithms.<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * Cache directives are unidirectional in that the presence of a directive in a request does not imply that the same<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * directive is to be given in the response.<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * <p><a name="line.33"></a>
+<span class="sourceLineNo">034</span> * Note that HTTP/1.0 caches might not implement Cache-Control and might only implement Pragma: no-cache (see section<a name="line.34"></a>
+<span class="sourceLineNo">035</span> * 14.32).<a name="line.35"></a>
+<span class="sourceLineNo">036</span> * <p><a name="line.36"></a>
+<span class="sourceLineNo">037</span> * Cache directives MUST be passed through by a proxy or gateway application, regardless of their significance to that<a name="line.37"></a>
+<span class="sourceLineNo">038</span> * application, since the directives might be applicable to all recipients along the request/response chain.<a name="line.38"></a>
+<span class="sourceLineNo">039</span> * It is not possible to specify a cache- directive for a specific cache.<a name="line.39"></a>
+<span class="sourceLineNo">040</span> *<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * <p class='bcode'><a name="line.41"></a>
+<span class="sourceLineNo">042</span> * Cache-Control = "Cache-Control" ":" 1#cache-directive<a name="line.42"></a>
+<span class="sourceLineNo">043</span> * cache-directive = cache-request-directive<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * | cache-response-directive<a name="line.44"></a>
+<span class="sourceLineNo">045</span> * cache-request-directive =<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * "no-cache" ; Section 14.9.1<a name="line.46"></a>
+<span class="sourceLineNo">047</span> * | "no-store" ; Section 14.9.2<a name="line.47"></a>
+<span class="sourceLineNo">048</span> * | "max-age" "=" delta-seconds ; Section 14.9.3, 14.9.4<a name="line.48"></a>
+<span class="sourceLineNo">049</span> * | "max-stale" [ "=" delta-seconds ] ; Section 14.9.3<a name="line.49"></a>
+<span class="sourceLineNo">050</span> * | "min-fresh" "=" delta-seconds ; Section 14.9.3<a name="line.50"></a>
+<span class="sourceLineNo">051</span> * | "no-transform" ; Section 14.9.5<a name="line.51"></a>
+<span class="sourceLineNo">052</span> * | "only-if-cached" ; Section 14.9.4<a name="line.52"></a>
+<span class="sourceLineNo">053</span> * | cache-extension ; Section 14.9.6<a name="line.53"></a>
+<span class="sourceLineNo">054</span> * cache-response-directive =<a name="line.54"></a>
+<span class="sourceLineNo">055</span> * "public" ; Section 14.9.1<a name="line.55"></a>
+<span class="sourceLineNo">056</span> * | "private" [ "=" <"> 1#field-name <"> ] ; Section 14.9.1<a name="line.56"></a>
+<span class="sourceLineNo">057</span> * | "no-cache" [ "=" <"> 1#field-name <"> ]; Section 14.9.1<a name="line.57"></a>
+<span class="sourceLineNo">058</span> * | "no-store" ; Section 14.9.2<a name="line.58"></a>
+<span class="sourceLineNo">059</span> * | "no-transform" ; Section 14.9.5<a name="line.59"></a>
+<span class="sourceLineNo">060</span> * | "must-revalidate" ; Section 14.9.4<a name="line.60"></a>
+<span class="sourceLineNo">061</span> * | "proxy-revalidate" ; Section 14.9.4<a name="line.61"></a>
+<span class="sourceLineNo">062</span> * | "max-age" "=" delta-seconds ; Section 14.9.3<a name="line.62"></a>
+<span class="sourceLineNo">063</span> * | "s-maxage" "=" delta-seconds ; Section 14.9.3<a name="line.63"></a>
+<span class="sourceLineNo">064</span> * | cache-extension ; Section 14.9.6<a name="line.64"></a>
+<span class="sourceLineNo">065</span> * cache-extension = token [ "=" ( token | quoted-string ) ]<a name="line.65"></a>
+<span class="sourceLineNo">066</span> * </p><a name="line.66"></a>
+<span class="sourceLineNo">067</span> * <p><a name="line.67"></a>
+<span class="sourceLineNo">068</span> * When a directive appears without any 1#field-name parameter, the directive applies to the entire request or response.<a name="line.68"></a>
+<span class="sourceLineNo">069</span> * When such a directive appears with a 1#field-name parameter, it applies only to the named field or fields, and not<a name="line.69"></a>
+<span class="sourceLineNo">070</span> * to the rest of the request or response. This mechanism supports extensibility; implementations of future versions<a name="line.70"></a>
+<span class="sourceLineNo">071</span> * of the HTTP protocol might apply these directives to header fields not defined in HTTP/1.1.<a name="line.71"></a>
+<span class="sourceLineNo">072</span> * <p><a name="line.72"></a>
+<span class="sourceLineNo">073</span> * The cache-control directives can be broken down into these general categories:<a name="line.73"></a>
+<span class="sourceLineNo">074</span> * <ul><a name="line.74"></a>
+<span class="sourceLineNo">075</span> * <li>Restrictions on what are cacheable; these may only be imposed by the origin server.<a name="line.75"></a>
+<span class="sourceLineNo">076</span> * <li>Restrictions on what may be stored by a cache; these may be imposed by either the origin server or the user<a name="line.76"></a>
+<span class="sourceLineNo">077</span> * agent.<a name="line.77"></a>
+<span class="sourceLineNo">078</span> * <li>Modifications of the basic expiration mechanism; these may be imposed by either the origin server or the<a name="line.78"></a>
+<span class="sourceLineNo">079</span> * user agent.<a name="line.79"></a>
+<span class="sourceLineNo">080</span> * <li>Controls over cache revalidation and reload; these may only be imposed by a user agent.<a name="line.80"></a>
+<span class="sourceLineNo">081</span> * <li>Control over transformation of entities.<a name="line.81"></a>
+<span class="sourceLineNo">082</span> * <li>Extensions to the caching system.<a name="line.82"></a>
+<span class="sourceLineNo">083</span> * </ul><a name="line.83"></a>
+<span class="sourceLineNo">084</span> */<a name="line.84"></a>
+<span class="sourceLineNo">085</span>public final class CacheControl extends HeaderString {<a name="line.85"></a>
+<span class="sourceLineNo">086</span><a name="line.86"></a>
+<span class="sourceLineNo">087</span> /**<a name="line.87"></a>
+<span class="sourceLineNo">088</span> * Returns a parsed <code>Cache-Control</code> header.<a name="line.88"></a>
+<span class="sourceLineNo">089</span> *<a name="line.89"></a>
+<span class="sourceLineNo">090</span> * @param value The <code>Cache-Control</code> header string.<a name="line.90"></a>
+<span class="sourceLineNo">091</span> * @return The parsed <code>Cache-Control</code> header, or <jk>null</jk> if the string was null.<a name="line.91"></a>
+<span class="sourceLineNo">092</span> */<a name="line.92"></a>
+<span class="sourceLineNo">093</span> public static CacheControl forString(String value) {<a name="line.93"></a>
+<span class="sourceLineNo">094</span> if (value == null)<a name="line.94"></a>
+<span class="sourceLineNo">095</span> return null;<a name="line.95"></a>
+<span class="sourceLineNo">096</span> return new CacheControl(value);<a name="line.96"></a>
+<span class="sourceLineNo">097</span> }<a name="line.97"></a>
+<span class="sourceLineNo">098</span><a name="line.98"></a>
+<span class="sourceLineNo">099</span> private CacheControl(String value) {<a name="line.99"></a>
+<span class="sourceLineNo">100</span> super(value);<a name="line.100"></a>
+<span class="sourceLineNo">101</span> }<a name="line.101"></a>
+<span class="sourceLineNo">102</span>}<a name="line.102"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/Connection.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/Connection.html b/content/site/apidocs/src-html/org/apache/juneau/http/Connection.html
new file mode 100644
index 0000000..cd244d3
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/Connection.html
@@ -0,0 +1,178 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Represents a parsed <l>Connection</l> HTTP request header.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * <p><a name="line.17"></a>
+<span class="sourceLineNo">018</span> * Control options for the current connection and list of hop-by-hop request fields.<a name="line.18"></a>
+<span class="sourceLineNo">019</span> *<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * <h6 class='figure'>Example</h6><a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p class='bcode'><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * Connection: keep-alive<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * Connection: Upgrade<a name="line.23"></a>
+<span class="sourceLineNo">024</span> * </p><a name="line.24"></a>
+<span class="sourceLineNo">025</span> *<a name="line.25"></a>
+<span class="sourceLineNo">026</span> * <h6 class='topic'>RFC2616 Specification</h6><a name="line.26"></a>
+<span class="sourceLineNo">027</span> *<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * The Connection general-header field allows the sender to specify options that are desired for that particular<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * connection and MUST NOT be communicated by proxies over further connections.<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * <p><a name="line.30"></a>
+<span class="sourceLineNo">031</span> * The Connection header has the following grammar:<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * <p class='bcode'><a name="line.32"></a>
+<span class="sourceLineNo">033</span> * Connection = "Connection" ":" 1#(connection-token)<a name="line.33"></a>
+<span class="sourceLineNo">034</span> * connection-token = token<a name="line.34"></a>
+<span class="sourceLineNo">035</span> * </p><a name="line.35"></a>
+<span class="sourceLineNo">036</span> * <p><a name="line.36"></a>
+<span class="sourceLineNo">037</span> * HTTP/1.1 proxies MUST parse the Connection header field before a message is forwarded and, for each connection-token<a name="line.37"></a>
+<span class="sourceLineNo">038</span> * in this field, remove any header field(s) from the message with the same name as the connection-token.<a name="line.38"></a>
+<span class="sourceLineNo">039</span> * Connection options are signaled by the presence of a connection-token in the Connection header field, not by any<a name="line.39"></a>
+<span class="sourceLineNo">040</span> * corresponding additional header field(s), since the additional header field may not be sent if there are no<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * parameters associated with that connection option.<a name="line.41"></a>
+<span class="sourceLineNo">042</span> * <p><a name="line.42"></a>
+<span class="sourceLineNo">043</span> * Message headers listed in the Connection header MUST NOT include end-to-end headers, such as Cache-Control.<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * <p><a name="line.44"></a>
+<span class="sourceLineNo">045</span> * HTTP/1.1 defines the "close" connection option for the sender to signal that the connection will be closed after<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * completion of the response.<a name="line.46"></a>
+<span class="sourceLineNo">047</span> * For example...<a name="line.47"></a>
+<span class="sourceLineNo">048</span> * <p class='bcode'><a name="line.48"></a>
+<span class="sourceLineNo">049</span> * Connection: close<a name="line.49"></a>
+<span class="sourceLineNo">050</span> * </p><a name="line.50"></a>
+<span class="sourceLineNo">051</span> * <p><a name="line.51"></a>
+<span class="sourceLineNo">052</span> * ...in either the request or the response header fields indicates that the connection SHOULD NOT be considered<a name="line.52"></a>
+<span class="sourceLineNo">053</span> * `persistent' (section 8.1) after the current request/response is complete.<a name="line.53"></a>
+<span class="sourceLineNo">054</span> * <p><a name="line.54"></a>
+<span class="sourceLineNo">055</span> * HTTP/1.1 applications that do not support persistent connections MUST include the "close" connection option in<a name="line.55"></a>
+<span class="sourceLineNo">056</span> * every message.<a name="line.56"></a>
+<span class="sourceLineNo">057</span> * <p><a name="line.57"></a>
+<span class="sourceLineNo">058</span> * A system receiving an HTTP/1.0 (or lower-version) message that includes a Connection header MUST, for each<a name="line.58"></a>
+<span class="sourceLineNo">059</span> * connection-token in this field, remove and ignore any header field(s) from the message with the same name as the<a name="line.59"></a>
+<span class="sourceLineNo">060</span> * connection-token.<a name="line.60"></a>
+<span class="sourceLineNo">061</span> * This protects against mistaken forwarding of such header fields by pre-HTTP/1.1 proxies.<a name="line.61"></a>
+<span class="sourceLineNo">062</span> * See section 19.6.2.<a name="line.62"></a>
+<span class="sourceLineNo">063</span> */<a name="line.63"></a>
+<span class="sourceLineNo">064</span>public final class Connection extends HeaderString {<a name="line.64"></a>
+<span class="sourceLineNo">065</span><a name="line.65"></a>
+<span class="sourceLineNo">066</span> /**<a name="line.66"></a>
+<span class="sourceLineNo">067</span> * Returns a parsed <code>Connection</code> header.<a name="line.67"></a>
+<span class="sourceLineNo">068</span> *<a name="line.68"></a>
+<span class="sourceLineNo">069</span> * @param value The <code>Connection</code> header string.<a name="line.69"></a>
+<span class="sourceLineNo">070</span> * @return The parsed <code>Connection</code> header, or <jk>null</jk> if the string was null.<a name="line.70"></a>
+<span class="sourceLineNo">071</span> */<a name="line.71"></a>
+<span class="sourceLineNo">072</span> public static Connection forString(String value) {<a name="line.72"></a>
+<span class="sourceLineNo">073</span> if (value == null)<a name="line.73"></a>
+<span class="sourceLineNo">074</span> return null;<a name="line.74"></a>
+<span class="sourceLineNo">075</span> return new Connection(value);<a name="line.75"></a>
+<span class="sourceLineNo">076</span> }<a name="line.76"></a>
+<span class="sourceLineNo">077</span><a name="line.77"></a>
+<span class="sourceLineNo">078</span><a name="line.78"></a>
+<span class="sourceLineNo">079</span> private Connection(String value) {<a name="line.79"></a>
+<span class="sourceLineNo">080</span> super(value);<a name="line.80"></a>
+<span class="sourceLineNo">081</span> }<a name="line.81"></a>
+<span class="sourceLineNo">082</span><a name="line.82"></a>
+<span class="sourceLineNo">083</span> /**<a name="line.83"></a>
+<span class="sourceLineNo">084</span> * Returns <jk>true</jk> if the header value is <code>close</code>.<a name="line.84"></a>
+<span class="sourceLineNo">085</span> * @return <jk>true</jk> if the header value is <code>close</code>.<a name="line.85"></a>
+<span class="sourceLineNo">086</span> */<a name="line.86"></a>
+<span class="sourceLineNo">087</span> public boolean isClose() {<a name="line.87"></a>
+<span class="sourceLineNo">088</span> return eqIC("close");<a name="line.88"></a>
+<span class="sourceLineNo">089</span> }<a name="line.89"></a>
+<span class="sourceLineNo">090</span><a name="line.90"></a>
+<span class="sourceLineNo">091</span> /**<a name="line.91"></a>
+<span class="sourceLineNo">092</span> * Returns <jk>true</jk> if the header value is <code>keep-alive</code>.<a name="line.92"></a>
+<span class="sourceLineNo">093</span> * @return <jk>true</jk> if the header value is <code>keep-alive</code>.<a name="line.93"></a>
+<span class="sourceLineNo">094</span> */<a name="line.94"></a>
+<span class="sourceLineNo">095</span> public boolean isKeepAlive() {<a name="line.95"></a>
+<span class="sourceLineNo">096</span> return eqIC("keep-alive");<a name="line.96"></a>
+<span class="sourceLineNo">097</span> }<a name="line.97"></a>
+<span class="sourceLineNo">098</span><a name="line.98"></a>
+<span class="sourceLineNo">099</span> /**<a name="line.99"></a>
+<span class="sourceLineNo">100</span> * Returns <jk>true</jk> if the header value is <code>upgrade</code>.<a name="line.100"></a>
+<span class="sourceLineNo">101</span> * @return <jk>true</jk> if the header value is <code>upgrade</code>.<a name="line.101"></a>
+<span class="sourceLineNo">102</span> */<a name="line.102"></a>
+<span class="sourceLineNo">103</span> public boolean isUpgrade() {<a name="line.103"></a>
+<span class="sourceLineNo">104</span> return eqIC("upgrade");<a name="line.104"></a>
+<span class="sourceLineNo">105</span> }<a name="line.105"></a>
+<span class="sourceLineNo">106</span>}<a name="line.106"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/Constants.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/Constants.html b/content/site/apidocs/src-html/org/apache/juneau/http/Constants.html
new file mode 100644
index 0000000..d9c2dfb
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/Constants.html
@@ -0,0 +1,93 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Constants used by classes in this package.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> */<a name="line.17"></a>
+<span class="sourceLineNo">018</span>public class Constants {<a name="line.18"></a>
+<span class="sourceLineNo">019</span> static boolean NOCACHE = Boolean.getBoolean("juneau.http.cache.disable");<a name="line.19"></a>
+<span class="sourceLineNo">020</span> static int CACHE_MAX_SIZE = Integer.getInteger("juneau.http.cache.maxSize", 1000);<a name="line.20"></a>
+<span class="sourceLineNo">021</span>}<a name="line.21"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/ContentEncoding.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/ContentEncoding.html b/content/site/apidocs/src-html/org/apache/juneau/http/ContentEncoding.html
new file mode 100644
index 0000000..2dc9b30
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/ContentEncoding.html
@@ -0,0 +1,146 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Represents a parsed <l>Content-Encoding</l> HTTP response header.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * <p><a name="line.17"></a>
+<span class="sourceLineNo">018</span> * The type of encoding used on the data.<a name="line.18"></a>
+<span class="sourceLineNo">019</span> *<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * <h6 class='figure'>Example</h6><a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p class='bcode'><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * Content-Encoding: gzip<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * </p><a name="line.23"></a>
+<span class="sourceLineNo">024</span> *<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * <h6 class='topic'>RFC2616 Specification</h6><a name="line.25"></a>
+<span class="sourceLineNo">026</span> *<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * The Content-Encoding entity-header field is used as a modifier to the media-type.<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * When present, its value indicates what additional content codings have been applied to the entity-body, and thus<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * what decoding mechanisms must be applied in order to obtain the media-type referenced by the Content-Type header<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * field.<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * Content-Encoding is primarily used to allow a document to be compressed without losing the identity of its<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * underlying media type.<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * <p class='bcode'><a name="line.33"></a>
+<span class="sourceLineNo">034</span> * Content-Encoding = "Content-Encoding" ":" 1#content-coding<a name="line.34"></a>
+<span class="sourceLineNo">035</span> * </p><a name="line.35"></a>
+<span class="sourceLineNo">036</span> * <p><a name="line.36"></a>
+<span class="sourceLineNo">037</span> * Content codings are defined in section 3.5. An example of its use is...<a name="line.37"></a>
+<span class="sourceLineNo">038</span> * <p class='bcode'><a name="line.38"></a>
+<span class="sourceLineNo">039</span> * Content-Encoding: gzip<a name="line.39"></a>
+<span class="sourceLineNo">040</span> * </p><a name="line.40"></a>
+<span class="sourceLineNo">041</span> * <p><a name="line.41"></a>
+<span class="sourceLineNo">042</span> * The content-coding is a characteristic of the entity identified by the Request-URI.<a name="line.42"></a>
+<span class="sourceLineNo">043</span> * Typically, the entity-body is stored with this encoding and is only decoded before rendering or analogous usage.<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * However, a non-transparent proxy MAY modify the content-coding if the new coding is known to be acceptable to the<a name="line.44"></a>
+<span class="sourceLineNo">045</span> * recipient, unless the "no-transform" cache-control directive is present in the message.<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * <p><a name="line.46"></a>
+<span class="sourceLineNo">047</span> * If the content-coding of an entity is not "identity", then the response MUST include a Content-Encoding<a name="line.47"></a>
+<span class="sourceLineNo">048</span> * entity-header (section 14.11) that lists the non-identity content-coding(s) used.<a name="line.48"></a>
+<span class="sourceLineNo">049</span> * <p><a name="line.49"></a>
+<span class="sourceLineNo">050</span> * If the content-coding of an entity in a request message is not acceptable to the origin server, the server SHOULD<a name="line.50"></a>
+<span class="sourceLineNo">051</span> * respond with a status code of 415 (Unsupported Media Type).<a name="line.51"></a>
+<span class="sourceLineNo">052</span> * <p><a name="line.52"></a>
+<span class="sourceLineNo">053</span> * If multiple encodings have been applied to an entity, the content codings MUST be listed in the order in which they<a name="line.53"></a>
+<span class="sourceLineNo">054</span> * were applied.<a name="line.54"></a>
+<span class="sourceLineNo">055</span> * Additional information about the encoding parameters MAY be provided.<a name="line.55"></a>
+<span class="sourceLineNo">056</span> */<a name="line.56"></a>
+<span class="sourceLineNo">057</span>public final class ContentEncoding extends HeaderEnum<ContentEncodingEnum> {<a name="line.57"></a>
+<span class="sourceLineNo">058</span><a name="line.58"></a>
+<span class="sourceLineNo">059</span> /**<a name="line.59"></a>
+<span class="sourceLineNo">060</span> * Returns a parsed <code>Content-Encoding</code> header.<a name="line.60"></a>
+<span class="sourceLineNo">061</span> *<a name="line.61"></a>
+<span class="sourceLineNo">062</span> * @param value The <code>Content-Encoding</code> header string.<a name="line.62"></a>
+<span class="sourceLineNo">063</span> * @return The parsed <code>Content-Encoding</code> header, or <jk>null</jk> if the string was null.<a name="line.63"></a>
+<span class="sourceLineNo">064</span> */<a name="line.64"></a>
+<span class="sourceLineNo">065</span> public static ContentEncoding forString(String value) {<a name="line.65"></a>
+<span class="sourceLineNo">066</span> if (value == null)<a name="line.66"></a>
+<span class="sourceLineNo">067</span> return null;<a name="line.67"></a>
+<span class="sourceLineNo">068</span> return new ContentEncoding(value);<a name="line.68"></a>
+<span class="sourceLineNo">069</span> }<a name="line.69"></a>
+<span class="sourceLineNo">070</span><a name="line.70"></a>
+<span class="sourceLineNo">071</span> private ContentEncoding(String value) {<a name="line.71"></a>
+<span class="sourceLineNo">072</span> super(value, ContentEncodingEnum.class, ContentEncodingEnum.OTHER);<a name="line.72"></a>
+<span class="sourceLineNo">073</span> }<a name="line.73"></a>
+<span class="sourceLineNo">074</span>}<a name="line.74"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/ContentEncodingEnum.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/ContentEncodingEnum.html b/content/site/apidocs/src-html/org/apache/juneau/http/ContentEncodingEnum.html
new file mode 100644
index 0000000..be68451
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/ContentEncodingEnum.html
@@ -0,0 +1,106 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Represents the possible values for a <code>Content-Encoding</code> header.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> */<a name="line.17"></a>
+<span class="sourceLineNo">018</span>public enum ContentEncodingEnum {<a name="line.18"></a>
+<span class="sourceLineNo">019</span><a name="line.19"></a>
+<span class="sourceLineNo">020</span> /** Content-Encoding: gzip */<a name="line.20"></a>
+<span class="sourceLineNo">021</span> GZIP,<a name="line.21"></a>
+<span class="sourceLineNo">022</span><a name="line.22"></a>
+<span class="sourceLineNo">023</span> /** Content-Encoding: compress */<a name="line.23"></a>
+<span class="sourceLineNo">024</span> COMPRESS,<a name="line.24"></a>
+<span class="sourceLineNo">025</span><a name="line.25"></a>
+<span class="sourceLineNo">026</span> /** Content-Encoding: deflate */<a name="line.26"></a>
+<span class="sourceLineNo">027</span> DEFLATE,<a name="line.27"></a>
+<span class="sourceLineNo">028</span><a name="line.28"></a>
+<span class="sourceLineNo">029</span> /** Content-Encoding: identity */<a name="line.29"></a>
+<span class="sourceLineNo">030</span> IDENTITY,<a name="line.30"></a>
+<span class="sourceLineNo">031</span><a name="line.31"></a>
+<span class="sourceLineNo">032</span> /** Unknown value */<a name="line.32"></a>
+<span class="sourceLineNo">033</span> OTHER;<a name="line.33"></a>
+<span class="sourceLineNo">034</span>}<a name="line.34"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/ContentLanguage.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/ContentLanguage.html b/content/site/apidocs/src-html/org/apache/juneau/http/ContentLanguage.html
new file mode 100644
index 0000000..2728f10
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/ContentLanguage.html
@@ -0,0 +1,150 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Represents a parsed <l>Content-Language</l> HTTP response header.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * <p><a name="line.17"></a>
+<span class="sourceLineNo">018</span> * The natural language or languages of the intended audience for the enclosed content.<a name="line.18"></a>
+<span class="sourceLineNo">019</span> *<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * <h6 class='figure'>Example</h6><a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p class='bcode'><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * Content-Language: da<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * </p><a name="line.23"></a>
+<span class="sourceLineNo">024</span> *<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * <h6 class='topic'>RFC2616 Specification</h6><a name="line.25"></a>
+<span class="sourceLineNo">026</span> *<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * The Content-Language entity-header field describes the natural language(s) of the intended audience for the<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * enclosed entity.<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * Note that this might not be equivalent to all the languages used within the entity-body.<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * <p class='bcode'><a name="line.30"></a>
+<span class="sourceLineNo">031</span> * Content-Language = "Content-Language" ":" 1#language-tag<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * </p><a name="line.32"></a>
+<span class="sourceLineNo">033</span> * <p><a name="line.33"></a>
+<span class="sourceLineNo">034</span> * Language tags are defined in section 3.10.<a name="line.34"></a>
+<span class="sourceLineNo">035</span> * The primary purpose of Content-Language is to allow a user to identify and differentiate entities according to the<a name="line.35"></a>
+<span class="sourceLineNo">036</span> * user's own preferred language.<a name="line.36"></a>
+<span class="sourceLineNo">037</span> * Thus, if the body content is intended only for a Danish-literate audience, the appropriate field is...<a name="line.37"></a>
+<span class="sourceLineNo">038</span> * <p class='bcode'><a name="line.38"></a>
+<span class="sourceLineNo">039</span> * Content-Language: da<a name="line.39"></a>
+<span class="sourceLineNo">040</span> * </p><a name="line.40"></a>
+<span class="sourceLineNo">041</span> * <p><a name="line.41"></a>
+<span class="sourceLineNo">042</span> * If no Content-Language is specified, the default is that the content is intended for all language audiences.<a name="line.42"></a>
+<span class="sourceLineNo">043</span> * This might mean that the sender does not consider it to be specific to any natural language, or that the sender<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * does not know for which language it is intended.<a name="line.44"></a>
+<span class="sourceLineNo">045</span> * <p><a name="line.45"></a>
+<span class="sourceLineNo">046</span> * Multiple languages MAY be listed for content that is intended for multiple audiences.<a name="line.46"></a>
+<span class="sourceLineNo">047</span> * For example, a rendition of the "Treaty of Waitangi," presented simultaneously in the original Maori and English<a name="line.47"></a>
+<span class="sourceLineNo">048</span> * versions, would call for...<a name="line.48"></a>
+<span class="sourceLineNo">049</span> * <p class='bcode'><a name="line.49"></a>
+<span class="sourceLineNo">050</span> * Content-Language: mi, en<a name="line.50"></a>
+<span class="sourceLineNo">051</span> * </p><a name="line.51"></a>
+<span class="sourceLineNo">052</span> * <p><a name="line.52"></a>
+<span class="sourceLineNo">053</span> * However, just because multiple languages are present within an entity does not mean that it is intended for<a name="line.53"></a>
+<span class="sourceLineNo">054</span> * multiple linguistic audiences.<a name="line.54"></a>
+<span class="sourceLineNo">055</span> * An example would be a beginner's language primer, such as "A First Lesson in Latin," which is clearly intended to<a name="line.55"></a>
+<span class="sourceLineNo">056</span> * be used by an English-literate audience.<a name="line.56"></a>
+<span class="sourceLineNo">057</span> * In this case, the Content-Language would properly only include "en".<a name="line.57"></a>
+<span class="sourceLineNo">058</span> * <p><a name="line.58"></a>
+<span class="sourceLineNo">059</span> * Content-Language MAY be applied to any media type -- it is not limited to textual documents.<a name="line.59"></a>
+<span class="sourceLineNo">060</span> */<a name="line.60"></a>
+<span class="sourceLineNo">061</span>public final class ContentLanguage extends HeaderStringArray {<a name="line.61"></a>
+<span class="sourceLineNo">062</span><a name="line.62"></a>
+<span class="sourceLineNo">063</span> /**<a name="line.63"></a>
+<span class="sourceLineNo">064</span> * Returns a parsed <code>Content-Language</code> header.<a name="line.64"></a>
+<span class="sourceLineNo">065</span> *<a name="line.65"></a>
+<span class="sourceLineNo">066</span> * @param value The <code>Content-Language</code> header string.<a name="line.66"></a>
+<span class="sourceLineNo">067</span> * @return The parsed <code>Content-Language</code> header, or <jk>null</jk> if the string was null.<a name="line.67"></a>
+<span class="sourceLineNo">068</span> */<a name="line.68"></a>
+<span class="sourceLineNo">069</span> public static ContentLanguage forString(String value) {<a name="line.69"></a>
+<span class="sourceLineNo">070</span> if (value == null)<a name="line.70"></a>
+<span class="sourceLineNo">071</span> return null;<a name="line.71"></a>
+<span class="sourceLineNo">072</span> return new ContentLanguage(value);<a name="line.72"></a>
+<span class="sourceLineNo">073</span> }<a name="line.73"></a>
+<span class="sourceLineNo">074</span><a name="line.74"></a>
+<span class="sourceLineNo">075</span> private ContentLanguage(String value) {<a name="line.75"></a>
+<span class="sourceLineNo">076</span> super(value);<a name="line.76"></a>
+<span class="sourceLineNo">077</span> }<a name="line.77"></a>
+<span class="sourceLineNo">078</span>}<a name="line.78"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/ContentLength.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/ContentLength.html b/content/site/apidocs/src-html/org/apache/juneau/http/ContentLength.html
new file mode 100644
index 0000000..2ae0176
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/ContentLength.html
@@ -0,0 +1,139 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Represents a parsed <l>Content-Length</l> HTTP request/response header.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * <p><a name="line.17"></a>
+<span class="sourceLineNo">018</span> * The length of the response body in octets (8-bit bytes).<a name="line.18"></a>
+<span class="sourceLineNo">019</span> *<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * <h6 class='figure'>Example</h6><a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p class='bcode'><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * Content-Length: 348<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * </p><a name="line.23"></a>
+<span class="sourceLineNo">024</span> *<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * <h6 class='topic'>RFC2616 Specification</h6><a name="line.25"></a>
+<span class="sourceLineNo">026</span> *<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * The Content-Length entity-header field indicates the size of the entity-body, in decimal number of OCTETs, sent to<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * the recipient or, in the case of the HEAD method, the size of the entity-body that would have been sent had the<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * request been a GET.<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * <p class='bcode'><a name="line.30"></a>
+<span class="sourceLineNo">031</span> * Content-Length = "Content-Length" ":" 1*DIGIT<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * </p><a name="line.32"></a>
+<span class="sourceLineNo">033</span> * <p><a name="line.33"></a>
+<span class="sourceLineNo">034</span> * An example is...<a name="line.34"></a>
+<span class="sourceLineNo">035</span> * <p class='bcode'><a name="line.35"></a>
+<span class="sourceLineNo">036</span> * Content-Length: 3495<a name="line.36"></a>
+<span class="sourceLineNo">037</span> * </p><a name="line.37"></a>
+<span class="sourceLineNo">038</span> * <p><a name="line.38"></a>
+<span class="sourceLineNo">039</span> * Applications SHOULD use this field to indicate the transfer-length of the message-body, unless this is prohibited by<a name="line.39"></a>
+<span class="sourceLineNo">040</span> * the rules in section 4.4.<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * <p><a name="line.41"></a>
+<span class="sourceLineNo">042</span> * Any Content-Length greater than or equal to zero is a valid value.<a name="line.42"></a>
+<span class="sourceLineNo">043</span> * Section 4.4 describes how to determine the length of a message-body if a Content-Length is not given.<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * <p><a name="line.44"></a>
+<span class="sourceLineNo">045</span> * Note that the meaning of this field is significantly different from the corresponding definition in MIME, where it is<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * an optional field used within the "message/external-body" content-type.<a name="line.46"></a>
+<span class="sourceLineNo">047</span> * In HTTP, it SHOULD be sent whenever the message's length can be determined prior to being transferred, unless this is<a name="line.47"></a>
+<span class="sourceLineNo">048</span> * prohibited by the rules in section 4.4.<a name="line.48"></a>
+<span class="sourceLineNo">049</span> */<a name="line.49"></a>
+<span class="sourceLineNo">050</span>public final class ContentLength extends HeaderInteger {<a name="line.50"></a>
+<span class="sourceLineNo">051</span><a name="line.51"></a>
+<span class="sourceLineNo">052</span> /**<a name="line.52"></a>
+<span class="sourceLineNo">053</span> * Returns a parsed <code>Content-Length</code> header.<a name="line.53"></a>
+<span class="sourceLineNo">054</span> *<a name="line.54"></a>
+<span class="sourceLineNo">055</span> * @param value The <code>Content-Length</code> header string.<a name="line.55"></a>
+<span class="sourceLineNo">056</span> * @return The parsed <code>Content-Length</code> header, or <jk>null</jk> if the string was null.<a name="line.56"></a>
+<span class="sourceLineNo">057</span> */<a name="line.57"></a>
+<span class="sourceLineNo">058</span> public static ContentLength forString(String value) {<a name="line.58"></a>
+<span class="sourceLineNo">059</span> if (value == null)<a name="line.59"></a>
+<span class="sourceLineNo">060</span> return null;<a name="line.60"></a>
+<span class="sourceLineNo">061</span> return new ContentLength(value);<a name="line.61"></a>
+<span class="sourceLineNo">062</span> }<a name="line.62"></a>
+<span class="sourceLineNo">063</span><a name="line.63"></a>
+<span class="sourceLineNo">064</span> private ContentLength(String value) {<a name="line.64"></a>
+<span class="sourceLineNo">065</span> super(value);<a name="line.65"></a>
+<span class="sourceLineNo">066</span> }<a name="line.66"></a>
+<span class="sourceLineNo">067</span>}<a name="line.67"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/ContentLocation.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/ContentLocation.html b/content/site/apidocs/src-html/org/apache/juneau/http/ContentLocation.html
new file mode 100644
index 0000000..8a54670
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/ContentLocation.html
@@ -0,0 +1,144 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Represents a parsed <l>Content-Location</l> HTTP response header.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * <p><a name="line.17"></a>
+<span class="sourceLineNo">018</span> * An alternate location for the returned data.<a name="line.18"></a>
+<span class="sourceLineNo">019</span> *<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * <h6 class='figure'>Example</h6><a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p class='bcode'><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * Content-Location: /index.htm<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * </p><a name="line.23"></a>
+<span class="sourceLineNo">024</span> *<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * <h6 class='topic'>RFC2616 Specification</h6><a name="line.25"></a>
+<span class="sourceLineNo">026</span> *<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * The Content-Location entity-header field MAY be used to supply the resource location for the entity enclosed in the<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * message when that entity is accessible from a location separate from the requested resource's URI.<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * A server SHOULD provide a Content-Location for the variant corresponding to the response entity; especially in the<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * case where a resource has multiple entities associated with it, and those entities actually have separate locations<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * by which they might be individually accessed, the server SHOULD provide a Content-Location for the particular variant<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * which is returned.<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * <p class='bcode'><a name="line.33"></a>
+<span class="sourceLineNo">034</span> * Content-Location = "Content-Location" ":"<a name="line.34"></a>
+<span class="sourceLineNo">035</span> * ( absoluteURI | relativeURI )<a name="line.35"></a>
+<span class="sourceLineNo">036</span> * </p><a name="line.36"></a>
+<span class="sourceLineNo">037</span> * <p><a name="line.37"></a>
+<span class="sourceLineNo">038</span> * The value of Content-Location also defines the base URI for the entity.<a name="line.38"></a>
+<span class="sourceLineNo">039</span> * <p><a name="line.39"></a>
+<span class="sourceLineNo">040</span> * The Content-Location value is not a replacement for the original requested URI; it is only a statement of the<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * location of the resource corresponding to this particular entity at the time of the request.<a name="line.41"></a>
+<span class="sourceLineNo">042</span> * Future requests MAY specify the Content-Location URI as the request- URI if the desire is to identify the source of<a name="line.42"></a>
+<span class="sourceLineNo">043</span> * that particular entity.<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * <p><a name="line.44"></a>
+<span class="sourceLineNo">045</span> * A cache cannot assume that an entity with a Content-Location different from the URI used to retrieve it can be used<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * to respond to later requests on that Content-Location URI.<a name="line.46"></a>
+<span class="sourceLineNo">047</span> * However, the Content- Location can be used to differentiate between multiple entities retrieved from a single<a name="line.47"></a>
+<span class="sourceLineNo">048</span> * requested resource, as described in section 13.6.<a name="line.48"></a>
+<span class="sourceLineNo">049</span> * <p><a name="line.49"></a>
+<span class="sourceLineNo">050</span> * If the Content-Location is a relative URI, the relative URI is interpreted relative to the Request-URI.<a name="line.50"></a>
+<span class="sourceLineNo">051</span> * <p><a name="line.51"></a>
+<span class="sourceLineNo">052</span> * The meaning of the Content-Location header in PUT or POST requests is undefined; servers are free to ignore it in<a name="line.52"></a>
+<span class="sourceLineNo">053</span> * those cases.<a name="line.53"></a>
+<span class="sourceLineNo">054</span> */<a name="line.54"></a>
+<span class="sourceLineNo">055</span>public final class ContentLocation extends HeaderUri {<a name="line.55"></a>
+<span class="sourceLineNo">056</span><a name="line.56"></a>
+<span class="sourceLineNo">057</span> /**<a name="line.57"></a>
+<span class="sourceLineNo">058</span> * Returns a parsed <code>Content-Location</code> header.<a name="line.58"></a>
+<span class="sourceLineNo">059</span> *<a name="line.59"></a>
+<span class="sourceLineNo">060</span> * @param value The <code>Content-Location</code> header string.<a name="line.60"></a>
+<span class="sourceLineNo">061</span> * @return The parsed <code>Content-Location</code> header, or <jk>null</jk> if the string was null.<a name="line.61"></a>
+<span class="sourceLineNo">062</span> */<a name="line.62"></a>
+<span class="sourceLineNo">063</span> public static ContentLocation forString(String value) {<a name="line.63"></a>
+<span class="sourceLineNo">064</span> if (value == null)<a name="line.64"></a>
+<span class="sourceLineNo">065</span> return null;<a name="line.65"></a>
+<span class="sourceLineNo">066</span> return new ContentLocation(value);<a name="line.66"></a>
+<span class="sourceLineNo">067</span> }<a name="line.67"></a>
+<span class="sourceLineNo">068</span><a name="line.68"></a>
+<span class="sourceLineNo">069</span> private ContentLocation(String value) {<a name="line.69"></a>
+<span class="sourceLineNo">070</span> super(value);<a name="line.70"></a>
+<span class="sourceLineNo">071</span> }<a name="line.71"></a>
+<span class="sourceLineNo">072</span>}<a name="line.72"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/ContentMD5.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/ContentMD5.html b/content/site/apidocs/src-html/org/apache/juneau/http/ContentMD5.html
new file mode 100644
index 0000000..76fa567
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/ContentMD5.html
@@ -0,0 +1,160 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>import java.util.concurrent.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span><a name="line.16"></a>
+<span class="sourceLineNo">017</span>/**<a name="line.17"></a>
+<span class="sourceLineNo">018</span> * Represents a parsed <code>XXX:</code> HTTP header.<a name="line.18"></a>
+<span class="sourceLineNo">019</span> * <p><a name="line.19"></a>
+<span class="sourceLineNo">020</span> * <h6 class='topic>RFC2616 Specification</h6><a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p class='bcode'><a name="line.21"></a>
+<span class="sourceLineNo">022</span>The Content-MD5 entity-header field, as defined in RFC 1864 [23], is an MD5 digest of the entity-body for the purpose of providing an end-to-end message integrity check (MIC) of the entity-body. (Note: a MIC is good for detecting accidental modification of the entity-body in transit, but is not proof against malicious attacks.)<a name="line.22"></a>
+<span class="sourceLineNo">023</span><a name="line.23"></a>
+<span class="sourceLineNo">024</span> Content-MD5 = "Content-MD5" ":" md5-digest<a name="line.24"></a>
+<span class="sourceLineNo">025</span> md5-digest = <base64 of 128 bit MD5 digest as per RFC 1864><a name="line.25"></a>
+<span class="sourceLineNo">026</span>The Content-MD5 header field MAY be generated by an origin server or client to function as an integrity check of the entity-body. Only origin servers or clients MAY generate the Content-MD5 header field; proxies and gateways MUST NOT generate it, as this would defeat its value as an end-to-end integrity check. Any recipient of the entity- body, including gateways and proxies, MAY check that the digest value in this header field matches that of the entity-body as received.<a name="line.26"></a>
+<span class="sourceLineNo">027</span><a name="line.27"></a>
+<span class="sourceLineNo">028</span>The MD5 digest is computed based on the content of the entity-body, including any content-coding that has been applied, but not including any transfer-encoding applied to the message-body. If the message is received with a transfer-encoding, that encoding MUST be removed prior to checking the Content-MD5 value against the received entity.<a name="line.28"></a>
+<span class="sourceLineNo">029</span><a name="line.29"></a>
+<span class="sourceLineNo">030</span>This has the result that the digest is computed on the octets of the entity-body exactly as, and in the order that, they would be sent if no transfer-encoding were being applied.<a name="line.30"></a>
+<span class="sourceLineNo">031</span><a name="line.31"></a>
+<span class="sourceLineNo">032</span>HTTP extends RFC 1864 to permit the digest to be computed for MIME composite media-types (e.g., multipart/* and message/rfc822), but this does not change how the digest is computed as defined in the preceding paragraph.<a name="line.32"></a>
+<span class="sourceLineNo">033</span><a name="line.33"></a>
+<span class="sourceLineNo">034</span>There are several consequences of this. The entity-body for composite types MAY contain many body-parts, each with its own MIME and HTTP headers (including Content-MD5, Content-Transfer-Encoding, and Content-Encoding headers). If a body-part has a Content-Transfer- Encoding or Content-Encoding header, it is assumed that the content of the body-part has had the encoding applied, and the body-part is included in the Content-MD5 digest as is -- i.e., after the application. The Transfer-Encoding header field is not allowed within body-parts.<a name="line.34"></a>
+<span class="sourceLineNo">035</span><a name="line.35"></a>
+<span class="sourceLineNo">036</span>Conversion of all line breaks to CRLF MUST NOT be done before computing or checking the digest: the line break convention used in the text actually transmitted MUST be left unaltered when computing the digest.<a name="line.36"></a>
+<span class="sourceLineNo">037</span><a name="line.37"></a>
+<span class="sourceLineNo">038</span> Note: while the definition of Content-MD5 is exactly the same for<a name="line.38"></a>
+<span class="sourceLineNo">039</span> HTTP as in RFC 1864 for MIME entity-bodies, there are several ways<a name="line.39"></a>
+<span class="sourceLineNo">040</span> in which the application of Content-MD5 to HTTP entity-bodies<a name="line.40"></a>
+<span class="sourceLineNo">041</span> differs from its application to MIME entity-bodies. One is that<a name="line.41"></a>
+<span class="sourceLineNo">042</span> HTTP, unlike MIME, does not use Content-Transfer-Encoding, and<a name="line.42"></a>
+<span class="sourceLineNo">043</span> does use Transfer-Encoding and Content-Encoding. Another is that<a name="line.43"></a>
+<span class="sourceLineNo">044</span> HTTP more frequently uses binary content types than MIME, so it is<a name="line.44"></a>
+<span class="sourceLineNo">045</span> worth noting that, in such cases, the byte order used to compute<a name="line.45"></a>
+<span class="sourceLineNo">046</span> the digest is the transmission byte order defined for the type.<a name="line.46"></a>
+<span class="sourceLineNo">047</span> Lastly, HTTP allows transmission of text types with any of several<a name="line.47"></a>
+<span class="sourceLineNo">048</span> line break conventions and not just the canonical form using CRLF.<a name="line.48"></a>
+<span class="sourceLineNo">049</span> * </p><a name="line.49"></a>
+<span class="sourceLineNo">050</span> */<a name="line.50"></a>
+<span class="sourceLineNo">051</span>public final class ContentMD5 {<a name="line.51"></a>
+<span class="sourceLineNo">052</span><a name="line.52"></a>
+<span class="sourceLineNo">053</span> private static final boolean nocache = Boolean.getBoolean("juneau.http.Accept.nocache");<a name="line.53"></a>
+<span class="sourceLineNo">054</span> private static final ConcurrentHashMap<String,ContentMD5> cache = new ConcurrentHashMap<String,ContentMD5>();<a name="line.54"></a>
+<span class="sourceLineNo">055</span><a name="line.55"></a>
+<span class="sourceLineNo">056</span> /**<a name="line.56"></a>
+<span class="sourceLineNo">057</span> * Returns a parsed <code>Accept</code> header.<a name="line.57"></a>
+<span class="sourceLineNo">058</span> *<a name="line.58"></a>
+<span class="sourceLineNo">059</span> * @param s The <code>Accept</code> header string.<a name="line.59"></a>
+<span class="sourceLineNo">060</span> * @return The parsed <code>Accept</code> header, or <jk>null</jk> if the string was null.<a name="line.60"></a>
+<span class="sourceLineNo">061</span> */<a name="line.61"></a>
+<span class="sourceLineNo">062</span> public static ContentMD5 forString(String s) {<a name="line.62"></a>
+<span class="sourceLineNo">063</span> if (s == null)<a name="line.63"></a>
+<span class="sourceLineNo">064</span> return null;<a name="line.64"></a>
+<span class="sourceLineNo">065</span><a name="line.65"></a>
+<span class="sourceLineNo">066</span> // Prevent OOM in case of DDOS<a name="line.66"></a>
+<span class="sourceLineNo">067</span> if (cache.size() > 1000)<a name="line.67"></a>
+<span class="sourceLineNo">068</span> cache.clear();<a name="line.68"></a>
+<span class="sourceLineNo">069</span><a name="line.69"></a>
+<span class="sourceLineNo">070</span> while (true) {<a name="line.70"></a>
+<span class="sourceLineNo">071</span> ContentMD5 a = cache.get(s);<a name="line.71"></a>
+<span class="sourceLineNo">072</span> if (a != null)<a name="line.72"></a>
+<span class="sourceLineNo">073</span> return a;<a name="line.73"></a>
+<span class="sourceLineNo">074</span> a = new ContentMD5(s);<a name="line.74"></a>
+<span class="sourceLineNo">075</span> if (nocache)<a name="line.75"></a>
+<span class="sourceLineNo">076</span> return a;<a name="line.76"></a>
+<span class="sourceLineNo">077</span> cache.putIfAbsent(s, a);<a name="line.77"></a>
+<span class="sourceLineNo">078</span> }<a name="line.78"></a>
+<span class="sourceLineNo">079</span> }<a name="line.79"></a>
+<span class="sourceLineNo">080</span><a name="line.80"></a>
+<span class="sourceLineNo">081</span> private ContentMD5(String raw) {<a name="line.81"></a>
+<span class="sourceLineNo">082</span> }<a name="line.82"></a>
+<span class="sourceLineNo">083</span><a name="line.83"></a>
+<span class="sourceLineNo">084</span> @Override /* Object */<a name="line.84"></a>
+<span class="sourceLineNo">085</span> public String toString() {<a name="line.85"></a>
+<span class="sourceLineNo">086</span> return null;<a name="line.86"></a>
+<span class="sourceLineNo">087</span> }<a name="line.87"></a>
+<span class="sourceLineNo">088</span>}<a name="line.88"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
[23/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/overview-tree.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/overview-tree.html b/content/site/apidocs/overview-tree.html
index d04a22f..4151093 100644
--- a/content/site/apidocs/overview-tree.html
+++ b/content/site/apidocs/overview-tree.html
@@ -216,15 +216,22 @@
<li type="circle">org.apache.juneau.utils.<a href="org/apache/juneau/utils/ManifestFile.html" title="class in org.apache.juneau.utils"><span class="typeNameLink">ManifestFile</span></a></li>
</ul>
</li>
+<li type="circle">org.apache.juneau.rest.<a href="org/apache/juneau/rest/RequestFormData.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">RequestFormData</span></a></li>
+<li type="circle">org.apache.juneau.rest.<a href="org/apache/juneau/rest/RequestQuery.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">RequestQuery</span></a></li>
</ul>
</li>
</ul>
</li>
<li type="circle">org.apache.juneau.internal.<a href="org/apache/juneau/internal/SimpleMap.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">SimpleMap</span></a></li>
+<li type="circle">java.util.<a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true" title="class or interface in java.util"><span class="typeNameLink">TreeMap</span></a><K,V> (implements java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</a>, java.util.<a href="http://docs.oracle.com/javase/7/docs/api/java/util/NavigableMap.html?is-external=true" title="class or interface in java.util">NavigableMap</a><K,V>, java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>)
+<ul>
+<li type="circle">org.apache.juneau.rest.<a href="org/apache/juneau/rest/RequestHeaders.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">RequestHeaders</span></a></li>
+<li type="circle">org.apache.juneau.rest.<a href="org/apache/juneau/rest/RequestPathParams.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">RequestPathParams</span></a></li>
+</ul>
+</li>
</ul>
</li>
<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/Accept.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Accept</span></a></li>
-<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/AcceptEncoding.html" title="class in org.apache.juneau.http"><span class="typeNameLink">AcceptEncoding</span></a></li>
<li type="circle">org.apache.juneau.internal.<a href="org/apache/juneau/internal/ArrayUtils.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">ArrayUtils</span></a></li>
<li type="circle">org.apache.juneau.internal.<a href="org/apache/juneau/internal/AsciiSet.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">AsciiSet</span></a></li>
<li type="circle">org.apache.juneau.dto.atom.<a href="org/apache/juneau/dto/atom/AtomBuilder.html" title="class in org.apache.juneau.dto.atom"><span class="typeNameLink">AtomBuilder</span></a></li>
@@ -273,6 +280,7 @@
<li type="circle">org.apache.juneau.<a href="org/apache/juneau/BeanProxyInvocationHandler.html" title="class in org.apache.juneau"><span class="typeNameLink">BeanProxyInvocationHandler</span></a><T> (implements java.lang.reflect.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/InvocationHandler.html?is-external=true" title="class or interface in java.lang.reflect">InvocationHandler</a>)</li>
<li type="circle">org.apache.juneau.<a href="org/apache/juneau/BeanRegistry.html" title="class in org.apache.juneau"><span class="typeNameLink">BeanRegistry</span></a></li>
<li type="circle">org.apache.juneau.internal.<a href="org/apache/juneau/internal/ByteArrayCache.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">ByteArrayCache</span></a></li>
+<li type="circle">org.apache.juneau.internal.<a href="org/apache/juneau/internal/Cache.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Cache</span></a><K,V></li>
<li type="circle">org.apache.juneau.<a href="org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><span class="typeNameLink">ClassMeta</span></a><T> (implements java.lang.reflect.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>)</li>
<li type="circle">org.apache.juneau.<a href="org/apache/juneau/ClassMetaExtended.html" title="class in org.apache.juneau"><span class="typeNameLink">ClassMetaExtended</span></a>
<ul>
@@ -325,6 +333,7 @@
</ul>
</li>
<li type="circle">org.apache.juneau.ini.<a href="org/apache/juneau/ini/ConfigUtils.html" title="class in org.apache.juneau.ini"><span class="typeNameLink">ConfigUtils</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/Constants.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Constants</span></a></li>
<li type="circle">org.apache.juneau.jena.<a href="org/apache/juneau/jena/Constants.html" title="class in org.apache.juneau.jena"><span class="typeNameLink">Constants</span></a></li>
<li type="circle">org.apache.juneau.<a href="org/apache/juneau/Context.html" title="class in org.apache.juneau"><span class="typeNameLink">Context</span></a>
<ul>
@@ -554,6 +563,7 @@
</li>
<li type="circle">org.apache.juneau.dto.cognos.<a href="org/apache/juneau/dto/cognos/DataSet.html" title="class in org.apache.juneau.dto.cognos"><span class="typeNameLink">DataSet</span></a></li>
<li type="circle">org.apache.juneau.dto.cognos.<a href="org/apache/juneau/dto/cognos/DataSet.Row.html" title="class in org.apache.juneau.dto.cognos"><span class="typeNameLink">DataSet.Row</span></a></li>
+<li type="circle">org.apache.juneau.internal.<a href="org/apache/juneau/internal/DateUtils.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">DateUtils</span></a></li>
<li type="circle">org.apache.juneau.rest.response.<a href="org/apache/juneau/rest/response/DefaultHandler.html" title="class in org.apache.juneau.rest.response"><span class="typeNameLink">DefaultHandler</span></a> (implements org.apache.juneau.rest.<a href="org/apache/juneau/rest/ResponseHandler.html" title="interface in org.apache.juneau.rest">ResponseHandler</a>)</li>
<li type="circle">org.apache.http.impl.client.DefaultRedirectStrategy (implements org.apache.http.client.RedirectStrategy)
<ul>
@@ -570,6 +580,7 @@
<li type="circle">org.apache.juneau.encoders.<a href="org/apache/juneau/encoders/EncoderGroup.html" title="class in org.apache.juneau.encoders"><span class="typeNameLink">EncoderGroup</span></a></li>
<li type="circle">org.apache.juneau.encoders.<a href="org/apache/juneau/encoders/EncoderGroupBuilder.html" title="class in org.apache.juneau.encoders"><span class="typeNameLink">EncoderGroupBuilder</span></a></li>
<li type="circle">org.apache.juneau.encoders.<a href="org/apache/juneau/encoders/EncoderMatch.html" title="class in org.apache.juneau.encoders"><span class="typeNameLink">EncoderMatch</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/EntityValidator.html" title="class in org.apache.juneau.http"><span class="typeNameLink">EntityValidator</span></a></li>
<li type="circle">org.apache.juneau.internal.<a href="org/apache/juneau/internal/FileUtils.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">FileUtils</span></a></li>
<li type="circle">java.util.logging.<a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Formatter.html?is-external=true" title="class or interface in java.util.logging"><span class="typeNameLink">Formatter</span></a>
<ul>
@@ -617,6 +628,83 @@
</ul>
</li>
<li type="circle">org.apache.juneau.internal.<a href="org/apache/juneau/internal/HashCode.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">HashCode</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/HeaderDate.html" title="class in org.apache.juneau.http"><span class="typeNameLink">HeaderDate</span></a>
+<ul>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/Date.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Date</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/Expires.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Expires</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/IfModifiedSince.html" title="class in org.apache.juneau.http"><span class="typeNameLink">IfModifiedSince</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/IfUnmodifiedSince.html" title="class in org.apache.juneau.http"><span class="typeNameLink">IfUnmodifiedSince</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/LastModified.html" title="class in org.apache.juneau.http"><span class="typeNameLink">LastModified</span></a></li>
+</ul>
+</li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/HeaderEntityValidator.html" title="class in org.apache.juneau.http"><span class="typeNameLink">HeaderEntityValidator</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/HeaderEntityValidatorArray.html" title="class in org.apache.juneau.http"><span class="typeNameLink">HeaderEntityValidatorArray</span></a>
+<ul>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/IfMatch.html" title="class in org.apache.juneau.http"><span class="typeNameLink">IfMatch</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/IfNoneMatch.html" title="class in org.apache.juneau.http"><span class="typeNameLink">IfNoneMatch</span></a></li>
+</ul>
+</li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/HeaderEnum.html" title="class in org.apache.juneau.http"><span class="typeNameLink">HeaderEnum</span></a><E>
+<ul>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/ContentEncoding.html" title="class in org.apache.juneau.http"><span class="typeNameLink">ContentEncoding</span></a></li>
+</ul>
+</li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/HeaderInteger.html" title="class in org.apache.juneau.http"><span class="typeNameLink">HeaderInteger</span></a>
+<ul>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/Age.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Age</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/ContentLength.html" title="class in org.apache.juneau.http"><span class="typeNameLink">ContentLength</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/MaxForwards.html" title="class in org.apache.juneau.http"><span class="typeNameLink">MaxForwards</span></a></li>
+</ul>
+</li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/HeaderRangeArray.html" title="class in org.apache.juneau.http"><span class="typeNameLink">HeaderRangeArray</span></a>
+<ul>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/AcceptCharset.html" title="class in org.apache.juneau.http"><span class="typeNameLink">AcceptCharset</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/AcceptEncoding.html" title="class in org.apache.juneau.http"><span class="typeNameLink">AcceptEncoding</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/AcceptLanguage.html" title="class in org.apache.juneau.http"><span class="typeNameLink">AcceptLanguage</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/TE.html" title="class in org.apache.juneau.http"><span class="typeNameLink">TE</span></a></li>
+</ul>
+</li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http"><span class="typeNameLink">HeaderString</span></a>
+<ul>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/AcceptRanges.html" title="class in org.apache.juneau.http"><span class="typeNameLink">AcceptRanges</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/Authorization.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Authorization</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/CacheControl.html" title="class in org.apache.juneau.http"><span class="typeNameLink">CacheControl</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/Connection.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Connection</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/ContentRange.html" title="class in org.apache.juneau.http"><span class="typeNameLink">ContentRange</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/ETag.html" title="class in org.apache.juneau.http"><span class="typeNameLink">ETag</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/Expect.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Expect</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/From.html" title="class in org.apache.juneau.http"><span class="typeNameLink">From</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/Host.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Host</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/IfRange.html" title="class in org.apache.juneau.http"><span class="typeNameLink">IfRange</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/Pragma.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Pragma</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/ProxyAuthenticate.html" title="class in org.apache.juneau.http"><span class="typeNameLink">ProxyAuthenticate</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/ProxyAuthorization.html" title="class in org.apache.juneau.http"><span class="typeNameLink">ProxyAuthorization</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/Range.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Range</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/RetryAfter.html" title="class in org.apache.juneau.http"><span class="typeNameLink">RetryAfter</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/Server.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Server</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/Trailer.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Trailer</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/TransferEncoding.html" title="class in org.apache.juneau.http"><span class="typeNameLink">TransferEncoding</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/UserAgent.html" title="class in org.apache.juneau.http"><span class="typeNameLink">UserAgent</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/Vary.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Vary</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/Warning.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Warning</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/WwwAuthenticate.html" title="class in org.apache.juneau.http"><span class="typeNameLink">WwwAuthenticate</span></a></li>
+</ul>
+</li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/HeaderStringArray.html" title="class in org.apache.juneau.http"><span class="typeNameLink">HeaderStringArray</span></a>
+<ul>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/Allow.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Allow</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/ContentLanguage.html" title="class in org.apache.juneau.http"><span class="typeNameLink">ContentLanguage</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/Upgrade.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Upgrade</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/Via.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Via</span></a></li>
+</ul>
+</li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/HeaderUri.html" title="class in org.apache.juneau.http"><span class="typeNameLink">HeaderUri</span></a>
+<ul>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/ContentLocation.html" title="class in org.apache.juneau.http"><span class="typeNameLink">ContentLocation</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/Location.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Location</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/Referer.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Referer</span></a></li>
+</ul>
+</li>
<li type="circle">org.apache.juneau.dto.html5.<a href="org/apache/juneau/dto/html5/HtmlBuilder.html" title="class in org.apache.juneau.dto.html5"><span class="typeNameLink">HtmlBuilder</span></a></li>
<li type="circle">org.apache.juneau.dto.html5.<a href="org/apache/juneau/dto/html5/HtmlElement.html" title="class in org.apache.juneau.dto.html5"><span class="typeNameLink">HtmlElement</span></a>
<ul>
@@ -944,6 +1032,7 @@
<li type="circle">org.apache.juneau.remoteable.<a href="org/apache/juneau/remoteable/RemoteableMethodMeta.html" title="class in org.apache.juneau.remoteable"><span class="typeNameLink">RemoteableMethodMeta</span></a></li>
<li type="circle">org.apache.juneau.rest.remoteable.<a href="org/apache/juneau/rest/remoteable/RemoteableServiceProperties.html" title="class in org.apache.juneau.rest.remoteable"><span class="typeNameLink">RemoteableServiceProperties</span></a></li>
<li type="circle">org.apache.juneau.remoteable.<a href="org/apache/juneau/remoteable/RemoteMethodArg.html" title="class in org.apache.juneau.remoteable"><span class="typeNameLink">RemoteMethodArg</span></a></li>
+<li type="circle">org.apache.juneau.rest.<a href="org/apache/juneau/rest/RequestBody.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">RequestBody</span></a></li>
<li type="circle">java.util.<a href="http://docs.oracle.com/javase/7/docs/api/java/util/ResourceBundle.html?is-external=true" title="class or interface in java.util"><span class="typeNameLink">ResourceBundle</span></a>
<ul>
<li type="circle">org.apache.juneau.utils.<a href="org/apache/juneau/utils/MessageBundle.html" title="class in org.apache.juneau.utils"><span class="typeNameLink">MessageBundle</span></a></li>
@@ -974,6 +1063,7 @@
<li type="circle">org.apache.juneau.rest.matchers.<a href="org/apache/juneau/rest/matchers/UrlEncodedFormMatcher.html" title="class in org.apache.juneau.rest.matchers"><span class="typeNameLink">UrlEncodedFormMatcher</span></a></li>
</ul>
</li>
+<li type="circle">org.apache.juneau.rest.<a href="org/apache/juneau/rest/RestParam.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">RestParam</span></a></li>
<li type="circle">org.apache.juneau.rest.<a href="org/apache/juneau/rest/RestResourceResolver.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">RestResourceResolver</span></a>
<ul>
<li type="circle">org.apache.juneau.rest.<a href="org/apache/juneau/rest/RestResourceResolver.DEFAULT.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">RestResourceResolver.DEFAULT</span></a></li>
@@ -1070,6 +1160,7 @@
<li type="circle">org.apache.juneau.rest.<a href="org/apache/juneau/rest/StreamResource.Builder.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">StreamResource.Builder</span></a></li>
<li type="circle">org.apache.juneau.utils.<a href="org/apache/juneau/utils/StringMessage.html" title="class in org.apache.juneau.utils"><span class="typeNameLink">StringMessage</span></a> (implements java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>, org.apache.juneau.<a href="org/apache/juneau/Writable.html" title="interface in org.apache.juneau">Writable</a>)</li>
<li type="circle">org.apache.juneau.utils.<a href="org/apache/juneau/utils/StringObject.html" title="class in org.apache.juneau.utils"><span class="typeNameLink">StringObject</span></a> (implements java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>, org.apache.juneau.<a href="org/apache/juneau/Writable.html" title="interface in org.apache.juneau">Writable</a>)</li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/StringRange.html" title="class in org.apache.juneau.http"><span class="typeNameLink">StringRange</span></a> (implements java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>)</li>
<li type="circle">org.apache.juneau.internal.<a href="org/apache/juneau/internal/StringUtils.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">StringUtils</span></a></li>
<li type="circle">org.apache.juneau.dto.swagger.<a href="org/apache/juneau/dto/swagger/SwaggerBuilder.html" title="class in org.apache.juneau.dto.swagger"><span class="typeNameLink">SwaggerBuilder</span></a></li>
<li type="circle">org.apache.juneau.dto.swagger.<a href="org/apache/juneau/dto/swagger/SwaggerElement.html" title="class in org.apache.juneau.dto.swagger"><span class="typeNameLink">SwaggerElement</span></a>
@@ -1130,7 +1221,6 @@
</li>
<li type="circle">org.apache.juneau.internal.<a href="org/apache/juneau/internal/ThrowableUtils.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">ThrowableUtils</span></a></li>
<li type="circle">org.apache.juneau.rest.converters.<a href="org/apache/juneau/rest/converters/Traversable.html" title="class in org.apache.juneau.rest.converters"><span class="typeNameLink">Traversable</span></a> (implements org.apache.juneau.rest.<a href="org/apache/juneau/rest/RestConverter.html" title="interface in org.apache.juneau.rest">RestConverter</a>)</li>
-<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/TypeRange.html" title="class in org.apache.juneau.http"><span class="typeNameLink">TypeRange</span></a> (implements java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>)</li>
<li type="circle">org.apache.juneau.uon.<a href="org/apache/juneau/uon/UonUtils.html" title="class in org.apache.juneau.uon"><span class="typeNameLink">UonUtils</span></a></li>
<li type="circle">org.apache.juneau.urlencoding.<a href="org/apache/juneau/urlencoding/UrlEncodingContext.html" title="class in org.apache.juneau.urlencoding"><span class="typeNameLink">UrlEncodingContext</span></a> (implements java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</a>)</li>
<li type="circle">org.apache.juneau.rest.<a href="org/apache/juneau/rest/UrlPathPattern.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">UrlPathPattern</span></a> (implements java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>)</li>
@@ -1177,6 +1267,7 @@
<li type="circle">org.apache.juneau.svl.<a href="org/apache/juneau/svl/VarResolverSession.html" title="class in org.apache.juneau.svl"><span class="typeNameLink">VarResolverSession</span></a></li>
<li type="circle">org.apache.juneau.internal.<a href="org/apache/juneau/internal/Version.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Version</span></a></li>
<li type="circle">org.apache.juneau.internal.<a href="org/apache/juneau/internal/VersionRange.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">VersionRange</span></a></li>
+<li type="circle">org.apache.juneau.internal.<a href="org/apache/juneau/internal/WrappedMap.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">WrappedMap</span></a><K,V> (implements java.util.<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><K,V>)</li>
<li type="circle">org.apache.juneau.rest.response.<a href="org/apache/juneau/rest/response/WritableHandler.html" title="class in org.apache.juneau.rest.response"><span class="typeNameLink">WritableHandler</span></a> (implements org.apache.juneau.rest.<a href="org/apache/juneau/rest/ResponseHandler.html" title="interface in org.apache.juneau.rest">ResponseHandler</a>)</li>
<li type="circle">java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io"><span class="typeNameLink">Writer</span></a> (implements java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Appendable.html?is-external=true" title="class or interface in java.lang">Appendable</a>, java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a>, java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Flushable.html?is-external=true" title="class or interface in java.io">Flushable</a>)
<ul>
@@ -1279,10 +1370,13 @@
<ul>
<li type="circle">org.apache.juneau.<a href="org/apache/juneau/Visibility.html" title="enum in org.apache.juneau"><span class="typeNameLink">Visibility</span></a></li>
<li type="circle">org.apache.juneau.dto.jsonschema.<a href="org/apache/juneau/dto/jsonschema/JsonType.html" title="enum in org.apache.juneau.dto.jsonschema"><span class="typeNameLink">JsonType</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/HttpMethod.html" title="enum in org.apache.juneau.http"><span class="typeNameLink">HttpMethod</span></a></li>
+<li type="circle">org.apache.juneau.http.<a href="org/apache/juneau/http/ContentEncodingEnum.html" title="enum in org.apache.juneau.http"><span class="typeNameLink">ContentEncodingEnum</span></a></li>
<li type="circle">org.apache.juneau.ini.<a href="org/apache/juneau/ini/ConfigFileFormat.html" title="enum in org.apache.juneau.ini"><span class="typeNameLink">ConfigFileFormat</span></a></li>
<li type="circle">org.apache.juneau.xml.annotation.<a href="org/apache/juneau/xml/annotation/XmlFormat.html" title="enum in org.apache.juneau.xml.annotation"><span class="typeNameLink">XmlFormat</span></a></li>
<li type="circle">org.apache.juneau.jena.<a href="org/apache/juneau/jena/RdfCollectionFormat.html" title="enum in org.apache.juneau.jena"><span class="typeNameLink">RdfCollectionFormat</span></a></li>
<li type="circle">org.apache.juneau.rest.annotation.<a href="org/apache/juneau/rest/annotation/Inherit.html" title="enum in org.apache.juneau.rest.annotation"><span class="typeNameLink">Inherit</span></a></li>
+<li type="circle">org.apache.juneau.rest.<a href="org/apache/juneau/rest/RestParamType.html" title="enum in org.apache.juneau.rest"><span class="typeNameLink">RestParamType</span></a></li>
<li type="circle">org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/SSLOpts.CertValidate.html" title="enum in org.apache.juneau.rest.client"><span class="typeNameLink">SSLOpts.CertValidate</span></a></li>
<li type="circle">org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/SSLOpts.HostVerify.html" title="enum in org.apache.juneau.rest.client"><span class="typeNameLink">SSLOpts.HostVerify</span></a></li>
<li type="circle">org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/HttpMethod.html" title="enum in org.apache.juneau.rest.client"><span class="typeNameLink">HttpMethod</span></a></li>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/serialized-form.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/serialized-form.html b/content/site/apidocs/serialized-form.html
index 71977ba..31ca7c2 100644
--- a/content/site/apidocs/serialized-form.html
+++ b/content/site/apidocs/serialized-form.html
@@ -425,6 +425,106 @@
<li class="blockList">
<h2 title="Package">Package org.apache.juneau.rest</h2>
<ul class="blockList">
+<li class="blockList"><a name="org.apache.juneau.rest.RequestFormData">
+<!-- -->
+</a>
+<h3>Class <a href="org/apache/juneau/rest/RequestFormData.html" title="class in org.apache.juneau.rest">org.apache.juneau.rest.RequestFormData</a> extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMap.html?is-external=true" title="class or interface in java.util">LinkedHashMap</a><<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="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]> implements Serializable</h3>
+<dl class="nameValue">
+<dt>serialVersionUID:</dt>
+<dd>1L</dd>
+</dl>
+<ul class="blockList">
+<li class="blockList">
+<h3>Serialized Fields</h3>
+<ul class="blockList">
+<li class="blockList">
+<h4>parser</h4>
+<pre><a href="org/apache/juneau/urlencoding/UrlEncodingParser.html" title="class in org.apache.juneau.urlencoding">UrlEncodingParser</a> parser</pre>
+</li>
+<li class="blockListLast">
+<h4>beanSession</h4>
+<pre><a href="org/apache/juneau/BeanSession.html" title="class in org.apache.juneau">BeanSession</a> beanSession</pre>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+<li class="blockList"><a name="org.apache.juneau.rest.RequestHeaders">
+<!-- -->
+</a>
+<h3>Class <a href="org/apache/juneau/rest/RequestHeaders.html" title="class in org.apache.juneau.rest">org.apache.juneau.rest.RequestHeaders</a> extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true" title="class or interface in java.util">TreeMap</a><<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="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]> implements Serializable</h3>
+<dl class="nameValue">
+<dt>serialVersionUID:</dt>
+<dd>1L</dd>
+</dl>
+<ul class="blockList">
+<li class="blockList">
+<h3>Serialized Fields</h3>
+<ul class="blockList">
+<li class="blockList">
+<h4>parser</h4>
+<pre><a href="org/apache/juneau/urlencoding/UrlEncodingParser.html" title="class in org.apache.juneau.urlencoding">UrlEncodingParser</a> parser</pre>
+</li>
+<li class="blockList">
+<h4>beanSession</h4>
+<pre><a href="org/apache/juneau/BeanSession.html" title="class in org.apache.juneau">BeanSession</a> beanSession</pre>
+</li>
+<li class="blockListLast">
+<h4>queryParams</h4>
+<pre><a href="org/apache/juneau/rest/RequestQuery.html" title="class in org.apache.juneau.rest">RequestQuery</a> queryParams</pre>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+<li class="blockList"><a name="org.apache.juneau.rest.RequestPathParams">
+<!-- -->
+</a>
+<h3>Class <a href="org/apache/juneau/rest/RequestPathParams.html" title="class in org.apache.juneau.rest">org.apache.juneau.rest.RequestPathParams</a> extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html?is-external=true" title="class or interface in java.util">TreeMap</a><<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="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> implements Serializable</h3>
+<dl class="nameValue">
+<dt>serialVersionUID:</dt>
+<dd>1L</dd>
+</dl>
+<ul class="blockList">
+<li class="blockList">
+<h3>Serialized Fields</h3>
+<ul class="blockList">
+<li class="blockList">
+<h4>parser</h4>
+<pre><a href="org/apache/juneau/urlencoding/UrlEncodingParser.html" title="class in org.apache.juneau.urlencoding">UrlEncodingParser</a> parser</pre>
+</li>
+<li class="blockListLast">
+<h4>beanSession</h4>
+<pre><a href="org/apache/juneau/BeanSession.html" title="class in org.apache.juneau">BeanSession</a> beanSession</pre>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+<li class="blockList"><a name="org.apache.juneau.rest.RequestQuery">
+<!-- -->
+</a>
+<h3>Class <a href="org/apache/juneau/rest/RequestQuery.html" title="class in org.apache.juneau.rest">org.apache.juneau.rest.RequestQuery</a> extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMap.html?is-external=true" title="class or interface in java.util">LinkedHashMap</a><<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="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]> implements Serializable</h3>
+<dl class="nameValue">
+<dt>serialVersionUID:</dt>
+<dd>1L</dd>
+</dl>
+<ul class="blockList">
+<li class="blockList">
+<h3>Serialized Fields</h3>
+<ul class="blockList">
+<li class="blockList">
+<h4>parser</h4>
+<pre><a href="org/apache/juneau/urlencoding/UrlEncodingParser.html" title="class in org.apache.juneau.urlencoding">UrlEncodingParser</a> parser</pre>
+</li>
+<li class="blockListLast">
+<h4>beanSession</h4>
+<pre><a href="org/apache/juneau/BeanSession.html" title="class in org.apache.juneau">BeanSession</a> beanSession</pre>
+</li>
+</ul>
+</li>
+</ul>
+</li>
<li class="blockList"><a name="org.apache.juneau.rest.RestException">
<!-- -->
</a>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/BeanContext.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/BeanContext.html b/content/site/apidocs/src-html/org/apache/juneau/BeanContext.html
index b3fde0c..2f0038b 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/BeanContext.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/BeanContext.html
@@ -950,7 +950,7 @@
<span class="sourceLineNo">942</span> * If <jk>null</jk>, the system default locale is assumed.<a name="line.942"></a>
<span class="sourceLineNo">943</span> * @param timeZone The bean session timezone.<a name="line.943"></a>
<span class="sourceLineNo">944</span> * Typically used by time-sensitive {@link PojoSwap PojoSwaps} to provide timezone-specific output.<a name="line.944"></a>
-<span class="sourceLineNo">945</span> * If <jk>null</jk> the system default timezone is assumed on {@link Date} objects, or the<a name="line.945"></a>
+<span class="sourceLineNo">945</span> * If <jk>null</jk> the system default timezone is assumed on {@link java.util.Date} objects, or the<a name="line.945"></a>
<span class="sourceLineNo">946</span> * locale specified on {@link Calendar} objects are used.<a name="line.946"></a>
<span class="sourceLineNo">947</span> * @param mediaType The session media type (e.g. <js>"application/json"</js>).<a name="line.947"></a>
<span class="sourceLineNo">948</span> * @return A new session object.<a name="line.948"></a>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/Accept.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/Accept.html b/content/site/apidocs/src-html/org/apache/juneau/http/Accept.html
index 272770a..3b75b71 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/http/Accept.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/Accept.html
@@ -20,229 +20,223 @@
<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
<span class="sourceLineNo">014</span><a name="line.14"></a>
-<span class="sourceLineNo">015</span>import java.util.*;<a name="line.15"></a>
-<span class="sourceLineNo">016</span>import java.util.concurrent.*;<a name="line.16"></a>
-<span class="sourceLineNo">017</span><a name="line.17"></a>
-<span class="sourceLineNo">018</span>import org.apache.juneau.internal.*;<a name="line.18"></a>
-<span class="sourceLineNo">019</span><a name="line.19"></a>
-<span class="sourceLineNo">020</span>/**<a name="line.20"></a>
-<span class="sourceLineNo">021</span> * Represents a parsed <code>Accept:</code> HTTP header.<a name="line.21"></a>
-<span class="sourceLineNo">022</span> * <p><a name="line.22"></a>
-<span class="sourceLineNo">023</span> * The formal RFC2616 header field definition is as follows:<a name="line.23"></a>
-<span class="sourceLineNo">024</span> * <p class='bcode'><a name="line.24"></a>
-<span class="sourceLineNo">025</span> * 14.1 Accept<a name="line.25"></a>
-<span class="sourceLineNo">026</span> *<a name="line.26"></a>
-<span class="sourceLineNo">027</span> * The Accept request-header field can be used to specify certain media<a name="line.27"></a>
-<span class="sourceLineNo">028</span> * types which are acceptable for the response. Accept headers can be<a name="line.28"></a>
-<span class="sourceLineNo">029</span> * used to indicate that the request is specifically limited to a small<a name="line.29"></a>
-<span class="sourceLineNo">030</span> * set of desired types, as in the case of a request for an in-line<a name="line.30"></a>
-<span class="sourceLineNo">031</span> * image.<a name="line.31"></a>
+<span class="sourceLineNo">015</span>import static org.apache.juneau.http.Constants.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span><a name="line.16"></a>
+<span class="sourceLineNo">017</span>import java.util.*;<a name="line.17"></a>
+<span class="sourceLineNo">018</span><a name="line.18"></a>
+<span class="sourceLineNo">019</span>import org.apache.juneau.internal.*;<a name="line.19"></a>
+<span class="sourceLineNo">020</span><a name="line.20"></a>
+<span class="sourceLineNo">021</span>/**<a name="line.21"></a>
+<span class="sourceLineNo">022</span> * Represents a parsed <l>Accept</l> HTTP request header.<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * <p><a name="line.23"></a>
+<span class="sourceLineNo">024</span> * Content-Types that are acceptable for the response.<a name="line.24"></a>
+<span class="sourceLineNo">025</span> *<a name="line.25"></a>
+<span class="sourceLineNo">026</span> * <h6 class='figure'>Example</h6><a name="line.26"></a>
+<span class="sourceLineNo">027</span> * <p class='bcode'><a name="line.27"></a>
+<span class="sourceLineNo">028</span> * Accept: text/plain<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * </p><a name="line.29"></a>
+<span class="sourceLineNo">030</span> *<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * <h6 class='topic'>RFC2616 Specification</h6><a name="line.31"></a>
<span class="sourceLineNo">032</span> *<a name="line.32"></a>
-<span class="sourceLineNo">033</span> * Accept = "Accept" ":<a name="line.33"></a>
-<span class="sourceLineNo">034</span> * #( media-range [ accept-params ] )<a name="line.34"></a>
-<span class="sourceLineNo">035</span> *<a name="line.35"></a>
-<span class="sourceLineNo">036</span> * media-range = ( "* /*"<a name="line.36"></a>
-<span class="sourceLineNo">037</span> * | ( type "/" "*" )<a name="line.37"></a>
-<span class="sourceLineNo">038</span> * | ( type "/" subtype )<a name="line.38"></a>
-<span class="sourceLineNo">039</span> * ) *( ";" parameter )<a name="line.39"></a>
-<span class="sourceLineNo">040</span> * accept-params = ";" "q" "=" qvalue *( accept-extension )<a name="line.40"></a>
-<span class="sourceLineNo">041</span> * accept-extension = ";" token [ "=" ( token | quoted-string ) ]<a name="line.41"></a>
-<span class="sourceLineNo">042</span> *<a name="line.42"></a>
-<span class="sourceLineNo">043</span> * The asterisk "*" character is used to group media types into ranges,<a name="line.43"></a>
-<span class="sourceLineNo">044</span> * with "* /*" indicating all media types and "type/*" indicating all<a name="line.44"></a>
-<span class="sourceLineNo">045</span> * subtypes of that type. The media-range MAY include media type<a name="line.45"></a>
-<span class="sourceLineNo">046</span> * parameters that are applicable to that range.<a name="line.46"></a>
-<span class="sourceLineNo">047</span> *<a name="line.47"></a>
-<span class="sourceLineNo">048</span> * Each media-range MAY be followed by one or more accept-params,<a name="line.48"></a>
-<span class="sourceLineNo">049</span> * beginning with the "q" parameter for indicating a relative quality<a name="line.49"></a>
-<span class="sourceLineNo">050</span> * factor. The first "q" parameter (if any) separates the media-range<a name="line.50"></a>
-<span class="sourceLineNo">051</span> * parameter(s) from the accept-params. Quality factors allow the user<a name="line.51"></a>
-<span class="sourceLineNo">052</span> * or user agent to indicate the relative degree of preference for that<a name="line.52"></a>
-<span class="sourceLineNo">053</span> * media-range, using the qvalue scale from 0 to 1 (section 3.9). The<a name="line.53"></a>
-<span class="sourceLineNo">054</span> * default value is q=1.<a name="line.54"></a>
-<span class="sourceLineNo">055</span> *<a name="line.55"></a>
-<span class="sourceLineNo">056</span> * Note: Use of the "q" parameter name to separate media type<a name="line.56"></a>
-<span class="sourceLineNo">057</span> * parameters from Accept extension parameters is due to historical<a name="line.57"></a>
-<span class="sourceLineNo">058</span> * practice. Although this prevents any media type parameter named<a name="line.58"></a>
-<span class="sourceLineNo">059</span> * "q" from being used with a media range, such an event is believed<a name="line.59"></a>
-<span class="sourceLineNo">060</span> * to be unlikely given the lack of any "q" parameters in the IANA<a name="line.60"></a>
-<span class="sourceLineNo">061</span> * media type registry and the rare usage of any media type<a name="line.61"></a>
-<span class="sourceLineNo">062</span> * parameters in Accept. Future media types are discouraged from<a name="line.62"></a>
-<span class="sourceLineNo">063</span> * registering any parameter named "q".<a name="line.63"></a>
-<span class="sourceLineNo">064</span> *<a name="line.64"></a>
-<span class="sourceLineNo">065</span> * The example<a name="line.65"></a>
-<span class="sourceLineNo">066</span> *<a name="line.66"></a>
-<span class="sourceLineNo">067</span> * Accept: audio/*; q=0.2, audio/basic<a name="line.67"></a>
-<span class="sourceLineNo">068</span> *<a name="line.68"></a>
-<span class="sourceLineNo">069</span> * SHOULD be interpreted as "I prefer audio/basic, but send me any audio<a name="line.69"></a>
-<span class="sourceLineNo">070</span> * type if it is the best available after an 80% mark-down in quality."<a name="line.70"></a>
-<span class="sourceLineNo">071</span> *<a name="line.71"></a>
-<span class="sourceLineNo">072</span> * If no Accept header field is present, then it is assumed that the<a name="line.72"></a>
-<span class="sourceLineNo">073</span> * client accepts all media types. If an Accept header field is present,<a name="line.73"></a>
-<span class="sourceLineNo">074</span> * and if the server cannot send a response which is acceptable<a name="line.74"></a>
-<span class="sourceLineNo">075</span> * according to the combined Accept field value, then the server SHOULD<a name="line.75"></a>
-<span class="sourceLineNo">076</span> * send a 406 (not acceptable) response.<a name="line.76"></a>
-<span class="sourceLineNo">077</span> *<a name="line.77"></a>
-<span class="sourceLineNo">078</span> * A more elaborate example is<a name="line.78"></a>
-<span class="sourceLineNo">079</span> *<a name="line.79"></a>
-<span class="sourceLineNo">080</span> * Accept: text/plain; q=0.5, text/html,<a name="line.80"></a>
-<span class="sourceLineNo">081</span> * text/x-dvi; q=0.8, text/x-c<a name="line.81"></a>
-<span class="sourceLineNo">082</span> *<a name="line.82"></a>
-<span class="sourceLineNo">083</span> * Verbally, this would be interpreted as "text/html and text/x-c are<a name="line.83"></a>
-<span class="sourceLineNo">084</span> * the preferred media types, but if they do not exist, then send the<a name="line.84"></a>
-<span class="sourceLineNo">085</span> * text/x-dvi entity, and if that does not exist, send the text/plain<a name="line.85"></a>
-<span class="sourceLineNo">086</span> * entity."<a name="line.86"></a>
-<span class="sourceLineNo">087</span> *<a name="line.87"></a>
-<span class="sourceLineNo">088</span> * Media ranges can be overridden by more specific media ranges or<a name="line.88"></a>
-<span class="sourceLineNo">089</span> * specific media types. If more than one media range applies to a given<a name="line.89"></a>
-<span class="sourceLineNo">090</span> * type, the most specific reference has precedence. For example,<a name="line.90"></a>
-<span class="sourceLineNo">091</span> *<a name="line.91"></a>
-<span class="sourceLineNo">092</span> * Accept: text/ *, text/html, text/html;level=1, * /*<a name="line.92"></a>
-<span class="sourceLineNo">093</span> *<a name="line.93"></a>
-<span class="sourceLineNo">094</span> * have the following precedence:<a name="line.94"></a>
-<span class="sourceLineNo">095</span> *<a name="line.95"></a>
-<span class="sourceLineNo">096</span> * 1) text/html;level=1<a name="line.96"></a>
-<span class="sourceLineNo">097</span> * 2) text/html<a name="line.97"></a>
-<span class="sourceLineNo">098</span> * 3) text/*<a name="line.98"></a>
-<span class="sourceLineNo">099</span> * 4) * /*<a name="line.99"></a>
-<span class="sourceLineNo">100</span> *<a name="line.100"></a>
-<span class="sourceLineNo">101</span> * The media type quality factor associated with a given type is<a name="line.101"></a>
-<span class="sourceLineNo">102</span> * determined by finding the media range with the highest precedence<a name="line.102"></a>
-<span class="sourceLineNo">103</span> * which matches that type. For example,<a name="line.103"></a>
-<span class="sourceLineNo">104</span> *<a name="line.104"></a>
-<span class="sourceLineNo">105</span> * Accept: text/*;q=0.3, text/html;q=0.7, text/html;level=1,<a name="line.105"></a>
-<span class="sourceLineNo">106</span> * text/html;level=2;q=0.4, * /*;q=0.5<a name="line.106"></a>
-<span class="sourceLineNo">107</span> *<a name="line.107"></a>
-<span class="sourceLineNo">108</span> * would cause the following values to be associated:<a name="line.108"></a>
-<span class="sourceLineNo">109</span> *<a name="line.109"></a>
-<span class="sourceLineNo">110</span> * text/html;level=1 = 1<a name="line.110"></a>
-<span class="sourceLineNo">111</span> * text/html = 0.7<a name="line.111"></a>
-<span class="sourceLineNo">112</span> * text/plain = 0.3<a name="line.112"></a>
-<span class="sourceLineNo">113</span> * image/jpeg = 0.5<a name="line.113"></a>
-<span class="sourceLineNo">114</span> * text/html;level=2 = 0.4<a name="line.114"></a>
-<span class="sourceLineNo">115</span> * text/html;level=3 = 0.7<a name="line.115"></a>
-<span class="sourceLineNo">116</span> *<a name="line.116"></a>
-<span class="sourceLineNo">117</span> * Note: A user agent might be provided with a default set of quality<a name="line.117"></a>
-<span class="sourceLineNo">118</span> * values for certain media ranges. However, unless the user agent is<a name="line.118"></a>
-<span class="sourceLineNo">119</span> * a closed system which cannot interact with other rendering agents,<a name="line.119"></a>
-<span class="sourceLineNo">120</span> * this default set ought to be configurable by the user.<a name="line.120"></a>
+<span class="sourceLineNo">033</span> * The Accept request-header field can be used to specify certain media types which are acceptable for the response.<a name="line.33"></a>
+<span class="sourceLineNo">034</span> * Accept headers can be used to indicate that the request is specifically limited to a small set of desired types, as<a name="line.34"></a>
+<span class="sourceLineNo">035</span> * in the case of a request for an in-line image.<a name="line.35"></a>
+<span class="sourceLineNo">036</span> *<a name="line.36"></a>
+<span class="sourceLineNo">037</span> * <p class='bcode'><a name="line.37"></a>
+<span class="sourceLineNo">038</span> * Accept = "Accept" ":<a name="line.38"></a>
+<span class="sourceLineNo">039</span> * #( media-range [ accept-params ] )<a name="line.39"></a>
+<span class="sourceLineNo">040</span> *<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * media-range = ( "* /*"<a name="line.41"></a>
+<span class="sourceLineNo">042</span> * | ( type "/" "*" )<a name="line.42"></a>
+<span class="sourceLineNo">043</span> * | ( type "/" subtype )<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * ) *( ";" parameter )<a name="line.44"></a>
+<span class="sourceLineNo">045</span> * accept-params = ";" "q" "=" qvalue *( accept-extension )<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * accept-extension = ";" token [ "=" ( token | quoted-string ) ]<a name="line.46"></a>
+<span class="sourceLineNo">047</span> * </p><a name="line.47"></a>
+<span class="sourceLineNo">048</span> * <p><a name="line.48"></a>
+<span class="sourceLineNo">049</span> * The asterisk "*" character is used to group media types into ranges, with "* /*" indicating all media types and<a name="line.49"></a>
+<span class="sourceLineNo">050</span> * "type/*" indicating all subtypes of that type.<a name="line.50"></a>
+<span class="sourceLineNo">051</span> * The media-range MAY include media type parameters that are applicable to that range.<a name="line.51"></a>
+<span class="sourceLineNo">052</span> * <p><a name="line.52"></a>
+<span class="sourceLineNo">053</span> * Each media-range MAY be followed by one or more accept-params, beginning with the "q" parameter for indicating a<a name="line.53"></a>
+<span class="sourceLineNo">054</span> * relative quality factor.<a name="line.54"></a>
+<span class="sourceLineNo">055</span> * The first "q" parameter (if any) separates the media-range parameter(s) from the accept-params.<a name="line.55"></a>
+<span class="sourceLineNo">056</span> * Quality factors allow the user or user agent to indicate the relative degree of preference for that media-range,<a name="line.56"></a>
+<span class="sourceLineNo">057</span> * using the qvalue scale from 0 to 1 (section 3.9).<a name="line.57"></a>
+<span class="sourceLineNo">058</span> * The default value is q=1.<a name="line.58"></a>
+<span class="sourceLineNo">059</span> * <p><a name="line.59"></a>
+<span class="sourceLineNo">060</span> * Note: Use of the "q" parameter name to separate media type parameters from Accept extension parameters is due to<a name="line.60"></a>
+<span class="sourceLineNo">061</span> * historical practice.<a name="line.61"></a>
+<span class="sourceLineNo">062</span> * Although this prevents any media type parameter named "q" from being used with a media range, such an event is<a name="line.62"></a>
+<span class="sourceLineNo">063</span> * believed to be unlikely given the lack of any "q" parameters in the IANA<a name="line.63"></a>
+<span class="sourceLineNo">064</span> * media type registry and the rare usage of any media type parameters in Accept.<a name="line.64"></a>
+<span class="sourceLineNo">065</span> * Future media types are discouraged from registering any parameter named "q".<a name="line.65"></a>
+<span class="sourceLineNo">066</span> * <p><a name="line.66"></a>
+<span class="sourceLineNo">067</span> * The example<a name="line.67"></a>
+<span class="sourceLineNo">068</span> * <p class='bcode'><a name="line.68"></a>
+<span class="sourceLineNo">069</span> * Accept: audio/*; q=0.2, audio/basic<a name="line.69"></a>
+<span class="sourceLineNo">070</span> * </p><a name="line.70"></a>
+<span class="sourceLineNo">071</span> * <p><a name="line.71"></a>
+<span class="sourceLineNo">072</span> * SHOULD be interpreted as "I prefer audio/basic, but send me any audio type if it is the best available after an 80%<a name="line.72"></a>
+<span class="sourceLineNo">073</span> * mark-down in quality."<a name="line.73"></a>
+<span class="sourceLineNo">074</span> * <p><a name="line.74"></a>
+<span class="sourceLineNo">075</span> * If no Accept header field is present, then it is assumed that the client accepts all media types.<a name="line.75"></a>
+<span class="sourceLineNo">076</span> * <p><a name="line.76"></a>
+<span class="sourceLineNo">077</span> * If an Accept header field is present, and if the server cannot send a response which is acceptable according to the<a name="line.77"></a>
+<span class="sourceLineNo">078</span> * combined Accept field value, then the server SHOULD send a 406 (not acceptable) response.<a name="line.78"></a>
+<span class="sourceLineNo">079</span> * <p><a name="line.79"></a>
+<span class="sourceLineNo">080</span> * A more elaborate example is<a name="line.80"></a>
+<span class="sourceLineNo">081</span> * <p class='bcode'><a name="line.81"></a>
+<span class="sourceLineNo">082</span> * Accept: text/plain; q=0.5, text/html,<a name="line.82"></a>
+<span class="sourceLineNo">083</span> * text/x-dvi; q=0.8, text/x-c<a name="line.83"></a>
+<span class="sourceLineNo">084</span> * </p><a name="line.84"></a>
+<span class="sourceLineNo">085</span> * <p><a name="line.85"></a>
+<span class="sourceLineNo">086</span> * Verbally, this would be interpreted as "text/html and text/x-c are the preferred media types, but if they do not<a name="line.86"></a>
+<span class="sourceLineNo">087</span> * exist, then send the<a name="line.87"></a>
+<span class="sourceLineNo">088</span> * text/x-dvi entity, and if that does not exist, send the text/plain entity."<a name="line.88"></a>
+<span class="sourceLineNo">089</span> * <p><a name="line.89"></a>
+<span class="sourceLineNo">090</span> * Media ranges can be overridden by more specific media ranges or specific media types.<a name="line.90"></a>
+<span class="sourceLineNo">091</span> * If more than one media range applies to a given type, the most specific reference has precedence.<a name="line.91"></a>
+<span class="sourceLineNo">092</span> * For example,<a name="line.92"></a>
+<span class="sourceLineNo">093</span> * <p class='bcode'><a name="line.93"></a>
+<span class="sourceLineNo">094</span> * Accept: text/ *, text/html, text/html;level=1, * /*<a name="line.94"></a>
+<span class="sourceLineNo">095</span> * </p><a name="line.95"></a>
+<span class="sourceLineNo">096</span> * <p><a name="line.96"></a>
+<span class="sourceLineNo">097</span> * have the following precedence:<a name="line.97"></a>
+<span class="sourceLineNo">098</span> * <ol><a name="line.98"></a>
+<span class="sourceLineNo">099</span> * <li>text/html;level=1<a name="line.99"></a>
+<span class="sourceLineNo">100</span> * <li>text/html<a name="line.100"></a>
+<span class="sourceLineNo">101</span> * <li>text/*<a name="line.101"></a>
+<span class="sourceLineNo">102</span> * <li>* /*<a name="line.102"></a>
+<span class="sourceLineNo">103</span> * </ol><a name="line.103"></a>
+<span class="sourceLineNo">104</span> * <p><a name="line.104"></a>
+<span class="sourceLineNo">105</span> * The media type quality factor associated with a given type is determined by finding the media range with the highest<a name="line.105"></a>
+<span class="sourceLineNo">106</span> * precedence which matches that type.<a name="line.106"></a>
+<span class="sourceLineNo">107</span> * For example,<a name="line.107"></a>
+<span class="sourceLineNo">108</span> * <p class='bcode'><a name="line.108"></a>
+<span class="sourceLineNo">109</span> * Accept: text/*;q=0.3, text/html;q=0.7, text/html;level=1,<a name="line.109"></a>
+<span class="sourceLineNo">110</span> * text/html;level=2;q=0.4, * /*;q=0.5<a name="line.110"></a>
+<span class="sourceLineNo">111</span> * </p><a name="line.111"></a>
+<span class="sourceLineNo">112</span> * <p><a name="line.112"></a>
+<span class="sourceLineNo">113</span> * would cause the following values to be associated:<a name="line.113"></a>
+<span class="sourceLineNo">114</span> * <p class='bcode'><a name="line.114"></a>
+<span class="sourceLineNo">115</span> * text/html;level=1 = 1<a name="line.115"></a>
+<span class="sourceLineNo">116</span> * text/html = 0.7<a name="line.116"></a>
+<span class="sourceLineNo">117</span> * text/plain = 0.3<a name="line.117"></a>
+<span class="sourceLineNo">118</span> * image/jpeg = 0.5<a name="line.118"></a>
+<span class="sourceLineNo">119</span> * text/html;level=2 = 0.4<a name="line.119"></a>
+<span class="sourceLineNo">120</span> * text/html;level=3 = 0.7<a name="line.120"></a>
<span class="sourceLineNo">121</span> * </p><a name="line.121"></a>
-<span class="sourceLineNo">122</span> */<a name="line.122"></a>
-<span class="sourceLineNo">123</span>public final class Accept {<a name="line.123"></a>
-<span class="sourceLineNo">124</span><a name="line.124"></a>
-<span class="sourceLineNo">125</span> private static final boolean nocache = Boolean.getBoolean("juneau.http.Accept.nocache");<a name="line.125"></a>
-<span class="sourceLineNo">126</span> private static final ConcurrentHashMap<String,Accept> cache = new ConcurrentHashMap<String,Accept>();<a name="line.126"></a>
-<span class="sourceLineNo">127</span><a name="line.127"></a>
-<span class="sourceLineNo">128</span> private final MediaTypeRange[] mediaRanges;<a name="line.128"></a>
-<span class="sourceLineNo">129</span> private final List<MediaTypeRange> mediaRangesList;<a name="line.129"></a>
+<span class="sourceLineNo">122</span> * <p><a name="line.122"></a>
+<span class="sourceLineNo">123</span> * Note: A user agent might be provided with a default set of quality values for certain media ranges.<a name="line.123"></a>
+<span class="sourceLineNo">124</span> * However, unless the user agent is a closed system which cannot interact with other rendering agents, this default<a name="line.124"></a>
+<span class="sourceLineNo">125</span> * set ought to be configurable by the user.<a name="line.125"></a>
+<span class="sourceLineNo">126</span> */<a name="line.126"></a>
+<span class="sourceLineNo">127</span>public final class Accept {<a name="line.127"></a>
+<span class="sourceLineNo">128</span><a name="line.128"></a>
+<span class="sourceLineNo">129</span> private static final Cache<String,Accept> cache = new Cache<String,Accept>(NOCACHE, CACHE_MAX_SIZE);<a name="line.129"></a>
<span class="sourceLineNo">130</span><a name="line.130"></a>
<span class="sourceLineNo">131</span> /**<a name="line.131"></a>
<span class="sourceLineNo">132</span> * Returns a parsed <code>Accept</code> header.<a name="line.132"></a>
<span class="sourceLineNo">133</span> *<a name="line.133"></a>
-<span class="sourceLineNo">134</span> * @param s The <code>Accept</code> header string.<a name="line.134"></a>
+<span class="sourceLineNo">134</span> * @param value The <code>Accept</code> header string.<a name="line.134"></a>
<span class="sourceLineNo">135</span> * @return The parsed <code>Accept</code> header, or <jk>null</jk> if the string was null.<a name="line.135"></a>
<span class="sourceLineNo">136</span> */<a name="line.136"></a>
-<span class="sourceLineNo">137</span> public static Accept forString(String s) {<a name="line.137"></a>
-<span class="sourceLineNo">138</span> if (s == null)<a name="line.138"></a>
+<span class="sourceLineNo">137</span> public static Accept forString(String value) {<a name="line.137"></a>
+<span class="sourceLineNo">138</span> if (value == null)<a name="line.138"></a>
<span class="sourceLineNo">139</span> return null;<a name="line.139"></a>
-<span class="sourceLineNo">140</span><a name="line.140"></a>
-<span class="sourceLineNo">141</span> // Prevent OOM in case of DDOS<a name="line.141"></a>
-<span class="sourceLineNo">142</span> if (cache.size() > 1000)<a name="line.142"></a>
-<span class="sourceLineNo">143</span> cache.clear();<a name="line.143"></a>
-<span class="sourceLineNo">144</span><a name="line.144"></a>
-<span class="sourceLineNo">145</span> while (true) {<a name="line.145"></a>
-<span class="sourceLineNo">146</span> Accept a = cache.get(s);<a name="line.146"></a>
-<span class="sourceLineNo">147</span> if (a != null)<a name="line.147"></a>
-<span class="sourceLineNo">148</span> return a;<a name="line.148"></a>
-<span class="sourceLineNo">149</span> a = new Accept(s);<a name="line.149"></a>
-<span class="sourceLineNo">150</span> if (nocache)<a name="line.150"></a>
-<span class="sourceLineNo">151</span> return a;<a name="line.151"></a>
-<span class="sourceLineNo">152</span> cache.putIfAbsent(s, a);<a name="line.152"></a>
-<span class="sourceLineNo">153</span> }<a name="line.153"></a>
-<span class="sourceLineNo">154</span> }<a name="line.154"></a>
-<span class="sourceLineNo">155</span><a name="line.155"></a>
-<span class="sourceLineNo">156</span> private Accept(String raw) {<a name="line.156"></a>
-<span class="sourceLineNo">157</span> this.mediaRanges = MediaTypeRange.parse(raw);<a name="line.157"></a>
-<span class="sourceLineNo">158</span> this.mediaRangesList = Collections.unmodifiableList(Arrays.asList(mediaRanges));<a name="line.158"></a>
-<span class="sourceLineNo">159</span> }<a name="line.159"></a>
-<span class="sourceLineNo">160</span><a name="line.160"></a>
-<span class="sourceLineNo">161</span> /**<a name="line.161"></a>
-<span class="sourceLineNo">162</span> * Returns the list of the media ranges that make up this header.<a name="line.162"></a>
-<span class="sourceLineNo">163</span> * <p><a name="line.163"></a>
-<span class="sourceLineNo">164</span> * The media ranges in the list are sorted by their q-value in descending order.<a name="line.164"></a>
-<span class="sourceLineNo">165</span> *<a name="line.165"></a>
-<span class="sourceLineNo">166</span> * @return An unmodifiable list of media ranges.<a name="line.166"></a>
-<span class="sourceLineNo">167</span> */<a name="line.167"></a>
-<span class="sourceLineNo">168</span> public List<MediaTypeRange> getMediaRanges() {<a name="line.168"></a>
-<span class="sourceLineNo">169</span> return mediaRangesList;<a name="line.169"></a>
-<span class="sourceLineNo">170</span> }<a name="line.170"></a>
-<span class="sourceLineNo">171</span><a name="line.171"></a>
-<span class="sourceLineNo">172</span> /**<a name="line.172"></a>
-<span class="sourceLineNo">173</span> * Given a list of media types, returns the best match for this <code>Accept</code> header.<a name="line.173"></a>
-<span class="sourceLineNo">174</span> * <p><a name="line.174"></a>
-<span class="sourceLineNo">175</span> * Note that fuzzy matching is allowed on the media types where the <code>Accept</code> header may<a name="line.175"></a>
-<span class="sourceLineNo">176</span> * contain additional subtype parts.<a name="line.176"></a>
-<span class="sourceLineNo">177</span> * <br>For example, given identical q-values and an <code>Accept</code> value of <js>"text/json+activity"</js>,<a name="line.177"></a>
-<span class="sourceLineNo">178</span> * the media type <js>"text/json"</js> will match if <js>"text/json+activity"</js> or <js>"text/activity+json"</js><a name="line.178"></a>
-<span class="sourceLineNo">179</span> * isn't found.<a name="line.179"></a>
-<span class="sourceLineNo">180</span> * <br>The purpose for this is to allow serializers to match when artifacts such as <code>id</code> properties are present<a name="line.180"></a>
-<span class="sourceLineNo">181</span> * in the header.<a name="line.181"></a>
-<span class="sourceLineNo">182</span> * <p><a name="line.182"></a>
-<span class="sourceLineNo">183</span> * See <a class='doclink' href='https://www.w3.org/TR/activitypub/#retrieving-objects'>ActivityPub / Retrieving Objects</a><a name="line.183"></a>
-<span class="sourceLineNo">184</span> * <p><a name="line.184"></a>
-<span class="sourceLineNo">185</span> *<a name="line.185"></a>
-<span class="sourceLineNo">186</span> * @param mediaTypes The media types to match against.<a name="line.186"></a>
-<span class="sourceLineNo">187</span> * @return The index into the array of the best match, or <code>-1</code> if no suitable matches could be found.<a name="line.187"></a>
-<span class="sourceLineNo">188</span> */<a name="line.188"></a>
-<span class="sourceLineNo">189</span> public int findMatch(MediaType[] mediaTypes) {<a name="line.189"></a>
-<span class="sourceLineNo">190</span> int matchQuant = 0, matchIndex = -1;<a name="line.190"></a>
-<span class="sourceLineNo">191</span> float q = 0f;<a name="line.191"></a>
-<span class="sourceLineNo">192</span><a name="line.192"></a>
-<span class="sourceLineNo">193</span> // Media ranges are ordered by 'q'.<a name="line.193"></a>
-<span class="sourceLineNo">194</span> // So we only need to search until we've found a match.<a name="line.194"></a>
-<span class="sourceLineNo">195</span> for (MediaTypeRange mr : mediaRanges) {<a name="line.195"></a>
-<span class="sourceLineNo">196</span> float q2 = mr.getQValue();<a name="line.196"></a>
-<span class="sourceLineNo">197</span><a name="line.197"></a>
-<span class="sourceLineNo">198</span> if (q2 < q || q2 == 0)<a name="line.198"></a>
-<span class="sourceLineNo">199</span> break;<a name="line.199"></a>
-<span class="sourceLineNo">200</span><a name="line.200"></a>
-<span class="sourceLineNo">201</span> for (int i = 0; i < mediaTypes.length; i++) {<a name="line.201"></a>
-<span class="sourceLineNo">202</span> MediaType mt = mediaTypes[i];<a name="line.202"></a>
-<span class="sourceLineNo">203</span> int matchQuant2 = mt.match(mr.getMediaType());<a name="line.203"></a>
-<span class="sourceLineNo">204</span> if (matchQuant2 > matchQuant) {<a name="line.204"></a>
-<span class="sourceLineNo">205</span> matchIndex = i;<a name="line.205"></a>
-<span class="sourceLineNo">206</span> matchQuant = matchQuant2;<a name="line.206"></a>
-<span class="sourceLineNo">207</span> q = q2;<a name="line.207"></a>
-<span class="sourceLineNo">208</span> }<a name="line.208"></a>
-<span class="sourceLineNo">209</span> }<a name="line.209"></a>
-<span class="sourceLineNo">210</span> }<a name="line.210"></a>
-<span class="sourceLineNo">211</span><a name="line.211"></a>
-<span class="sourceLineNo">212</span> return matchIndex;<a name="line.212"></a>
-<span class="sourceLineNo">213</span> }<a name="line.213"></a>
-<span class="sourceLineNo">214</span><a name="line.214"></a>
-<span class="sourceLineNo">215</span> /**<a name="line.215"></a>
-<span class="sourceLineNo">216</span> * Convenience method for searching through all of the subtypes of all the media ranges in this header<a name="line.216"></a>
-<span class="sourceLineNo">217</span> * for the presence of a subtype fragment.<a name="line.217"></a>
-<span class="sourceLineNo">218</span> * <p><a name="line.218"></a>
-<span class="sourceLineNo">219</span> * For example, given the header <js>"text/json+activity"</js>, calling <code>hasSubtypePart(<js>"activity"</js>)</code> returns <jk>true</jk>.<a name="line.219"></a>
-<span class="sourceLineNo">220</span> *<a name="line.220"></a>
-<span class="sourceLineNo">221</span> * @param part The media type subtype fragment.<a name="line.221"></a>
-<span class="sourceLineNo">222</span> * @return <jk>true</jk> if subtype fragement exists.<a name="line.222"></a>
-<span class="sourceLineNo">223</span> */<a name="line.223"></a>
-<span class="sourceLineNo">224</span> public boolean hasSubtypePart(String part) {<a name="line.224"></a>
-<span class="sourceLineNo">225</span><a name="line.225"></a>
-<span class="sourceLineNo">226</span> for (MediaTypeRange mr : this.mediaRanges)<a name="line.226"></a>
-<span class="sourceLineNo">227</span> if (mr.getQValue() > 0 && mr.getMediaType().getSubTypes().indexOf(part) >= 0)<a name="line.227"></a>
-<span class="sourceLineNo">228</span> return true;<a name="line.228"></a>
-<span class="sourceLineNo">229</span><a name="line.229"></a>
-<span class="sourceLineNo">230</span> return false;<a name="line.230"></a>
-<span class="sourceLineNo">231</span> }<a name="line.231"></a>
-<span class="sourceLineNo">232</span><a name="line.232"></a>
-<span class="sourceLineNo">233</span> @Override /* Object */<a name="line.233"></a>
-<span class="sourceLineNo">234</span> public String toString() {<a name="line.234"></a>
-<span class="sourceLineNo">235</span> return StringUtils.join(mediaRanges, ',');<a name="line.235"></a>
-<span class="sourceLineNo">236</span> }<a name="line.236"></a>
-<span class="sourceLineNo">237</span>}<a name="line.237"></a>
+<span class="sourceLineNo">140</span> Accept a = cache.get(value);<a name="line.140"></a>
+<span class="sourceLineNo">141</span> if (a == null)<a name="line.141"></a>
+<span class="sourceLineNo">142</span> a = cache.put(value, new Accept(value));<a name="line.142"></a>
+<span class="sourceLineNo">143</span> return a;<a name="line.143"></a>
+<span class="sourceLineNo">144</span> }<a name="line.144"></a>
+<span class="sourceLineNo">145</span><a name="line.145"></a>
+<span class="sourceLineNo">146</span><a name="line.146"></a>
+<span class="sourceLineNo">147</span> private final MediaTypeRange[] mediaRanges;<a name="line.147"></a>
+<span class="sourceLineNo">148</span> private final List<MediaTypeRange> mediaRangesList;<a name="line.148"></a>
+<span class="sourceLineNo">149</span><a name="line.149"></a>
+<span class="sourceLineNo">150</span> private Accept(String value) {<a name="line.150"></a>
+<span class="sourceLineNo">151</span> this.mediaRanges = MediaTypeRange.parse(value);<a name="line.151"></a>
+<span class="sourceLineNo">152</span> this.mediaRangesList = Collections.unmodifiableList(Arrays.asList(mediaRanges));<a name="line.152"></a>
+<span class="sourceLineNo">153</span> }<a name="line.153"></a>
+<span class="sourceLineNo">154</span><a name="line.154"></a>
+<span class="sourceLineNo">155</span> /**<a name="line.155"></a>
+<span class="sourceLineNo">156</span> * Returns the list of the media ranges that make up this header.<a name="line.156"></a>
+<span class="sourceLineNo">157</span> * <p><a name="line.157"></a>
+<span class="sourceLineNo">158</span> * The media ranges in the list are sorted by their q-value in descending order.<a name="line.158"></a>
+<span class="sourceLineNo">159</span> *<a name="line.159"></a>
+<span class="sourceLineNo">160</span> * @return An unmodifiable list of media ranges.<a name="line.160"></a>
+<span class="sourceLineNo">161</span> */<a name="line.161"></a>
+<span class="sourceLineNo">162</span> public List<MediaTypeRange> asRanges() {<a name="line.162"></a>
+<span class="sourceLineNo">163</span> return mediaRangesList;<a name="line.163"></a>
+<span class="sourceLineNo">164</span> }<a name="line.164"></a>
+<span class="sourceLineNo">165</span><a name="line.165"></a>
+<span class="sourceLineNo">166</span> /**<a name="line.166"></a>
+<span class="sourceLineNo">167</span> * Given a list of media types, returns the best match for this <code>Accept</code> header.<a name="line.167"></a>
+<span class="sourceLineNo">168</span> * <p><a name="line.168"></a>
+<span class="sourceLineNo">169</span> * Note that fuzzy matching is allowed on the media types where the <code>Accept</code> header may<a name="line.169"></a>
+<span class="sourceLineNo">170</span> * contain additional subtype parts.<a name="line.170"></a>
+<span class="sourceLineNo">171</span> * <br>For example, given identical q-values and an <code>Accept</code> value of <js>"text/json+activity"</js>,<a name="line.171"></a>
+<span class="sourceLineNo">172</span> * the media type <js>"text/json"</js> will match if <js>"text/json+activity"</js> or <js>"text/activity+json"</js><a name="line.172"></a>
+<span class="sourceLineNo">173</span> * isn't found.<a name="line.173"></a>
+<span class="sourceLineNo">174</span> * <br>The purpose for this is to allow serializers to match when artifacts such as <code>id</code> properties are present<a name="line.174"></a>
+<span class="sourceLineNo">175</span> * in the header.<a name="line.175"></a>
+<span class="sourceLineNo">176</span> * <p><a name="line.176"></a>
+<span class="sourceLineNo">177</span> * See <a class='doclink' href='https://www.w3.org/TR/activitypub/#retrieving-objects'>ActivityPub / Retrieving Objects</a><a name="line.177"></a>
+<span class="sourceLineNo">178</span> * <p><a name="line.178"></a>
+<span class="sourceLineNo">179</span> *<a name="line.179"></a>
+<span class="sourceLineNo">180</span> * @param mediaTypes The media types to match against.<a name="line.180"></a>
+<span class="sourceLineNo">181</span> * @return The index into the array of the best match, or <code>-1</code> if no suitable matches could be found.<a name="line.181"></a>
+<span class="sourceLineNo">182</span> */<a name="line.182"></a>
+<span class="sourceLineNo">183</span> public int findMatch(MediaType[] mediaTypes) {<a name="line.183"></a>
+<span class="sourceLineNo">184</span> int matchQuant = 0, matchIndex = -1;<a name="line.184"></a>
+<span class="sourceLineNo">185</span> float q = 0f;<a name="line.185"></a>
+<span class="sourceLineNo">186</span><a name="line.186"></a>
+<span class="sourceLineNo">187</span> // Media ranges are ordered by 'q'.<a name="line.187"></a>
+<span class="sourceLineNo">188</span> // So we only need to search until we've found a match.<a name="line.188"></a>
+<span class="sourceLineNo">189</span> for (MediaTypeRange mr : mediaRanges) {<a name="line.189"></a>
+<span class="sourceLineNo">190</span> float q2 = mr.getQValue();<a name="line.190"></a>
+<span class="sourceLineNo">191</span><a name="line.191"></a>
+<span class="sourceLineNo">192</span> if (q2 < q || q2 == 0)<a name="line.192"></a>
+<span class="sourceLineNo">193</span> break;<a name="line.193"></a>
+<span class="sourceLineNo">194</span><a name="line.194"></a>
+<span class="sourceLineNo">195</span> for (int i = 0; i < mediaTypes.length; i++) {<a name="line.195"></a>
+<span class="sourceLineNo">196</span> MediaType mt = mediaTypes[i];<a name="line.196"></a>
+<span class="sourceLineNo">197</span> int matchQuant2 = mt.match(mr.getMediaType());<a name="line.197"></a>
+<span class="sourceLineNo">198</span> if (matchQuant2 > matchQuant) {<a name="line.198"></a>
+<span class="sourceLineNo">199</span> matchIndex = i;<a name="line.199"></a>
+<span class="sourceLineNo">200</span> matchQuant = matchQuant2;<a name="line.200"></a>
+<span class="sourceLineNo">201</span> q = q2;<a name="line.201"></a>
+<span class="sourceLineNo">202</span> }<a name="line.202"></a>
+<span class="sourceLineNo">203</span> }<a name="line.203"></a>
+<span class="sourceLineNo">204</span> }<a name="line.204"></a>
+<span class="sourceLineNo">205</span><a name="line.205"></a>
+<span class="sourceLineNo">206</span> return matchIndex;<a name="line.206"></a>
+<span class="sourceLineNo">207</span> }<a name="line.207"></a>
+<span class="sourceLineNo">208</span><a name="line.208"></a>
+<span class="sourceLineNo">209</span> /**<a name="line.209"></a>
+<span class="sourceLineNo">210</span> * Convenience method for searching through all of the subtypes of all the media ranges in this header<a name="line.210"></a>
+<span class="sourceLineNo">211</span> * for the presence of a subtype fragment.<a name="line.211"></a>
+<span class="sourceLineNo">212</span> * <p><a name="line.212"></a>
+<span class="sourceLineNo">213</span> * For example, given the header <js>"text/json+activity"</js>, calling <code>hasSubtypePart(<js>"activity"</js>)</code> returns <jk>true</jk>.<a name="line.213"></a>
+<span class="sourceLineNo">214</span> *<a name="line.214"></a>
+<span class="sourceLineNo">215</span> * @param part The media type subtype fragment.<a name="line.215"></a>
+<span class="sourceLineNo">216</span> * @return <jk>true</jk> if subtype fragement exists.<a name="line.216"></a>
+<span class="sourceLineNo">217</span> */<a name="line.217"></a>
+<span class="sourceLineNo">218</span> public boolean hasSubtypePart(String part) {<a name="line.218"></a>
+<span class="sourceLineNo">219</span><a name="line.219"></a>
+<span class="sourceLineNo">220</span> for (MediaTypeRange mr : this.mediaRanges)<a name="line.220"></a>
+<span class="sourceLineNo">221</span> if (mr.getQValue() > 0 && mr.getMediaType().getSubTypes().indexOf(part) >= 0)<a name="line.221"></a>
+<span class="sourceLineNo">222</span> return true;<a name="line.222"></a>
+<span class="sourceLineNo">223</span><a name="line.223"></a>
+<span class="sourceLineNo">224</span> return false;<a name="line.224"></a>
+<span class="sourceLineNo">225</span> }<a name="line.225"></a>
+<span class="sourceLineNo">226</span><a name="line.226"></a>
+<span class="sourceLineNo">227</span> @Override /* Object */<a name="line.227"></a>
+<span class="sourceLineNo">228</span> public String toString() {<a name="line.228"></a>
+<span class="sourceLineNo">229</span> return StringUtils.join(mediaRanges, ',');<a name="line.229"></a>
+<span class="sourceLineNo">230</span> }<a name="line.230"></a>
+<span class="sourceLineNo">231</span>}<a name="line.231"></a>
[33/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/rest/RequestFormData.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/RequestFormData.html b/content/site/apidocs/org/apache/juneau/rest/RequestFormData.html
new file mode 100644
index 0000000..94b1bfe
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/rest/RequestFormData.html
@@ -0,0 +1,626 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>RequestFormData (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="RequestFormData (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10};
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/rest/RequestBody.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/rest/RequestHeaders.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/rest/RequestFormData.html" target="_top">Frames</a></li>
+<li><a href="RequestFormData.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li><a href="#nested.classes.inherited.from.class.java.util.AbstractMap">Nested</a> | </li>
+<li>Field | </li>
+<li><a href="#constructor.summary">Constr</a> | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li><a href="#constructor.detail">Constr</a> | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.rest</div>
+<h2 title="Class RequestFormData" class="title">Class RequestFormData</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.html?is-external=true" title="class or interface in java.util">java.util.AbstractMap</a><K,V></li>
+<li>
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">java.util.HashMap</a><K,V></li>
+<li>
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMap.html?is-external=true" title="class or interface in java.util">java.util.LinkedHashMap</a><<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="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.rest.RequestFormData</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt>All Implemented Interfaces:</dt>
+<dd><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]></dd>
+</dl>
+<hr>
+<br>
+<pre>public class <a href="../../../../src-html/org/apache/juneau/rest/RequestFormData.html#line.27">RequestFormData</a>
+extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMap.html?is-external=true" title="class or interface in java.util">LinkedHashMap</a><<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="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]></pre>
+<div class="block">Represents the parsed form data parameters in an HTTP request.</div>
+<dl>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a href="../../../../serialized-form.html#org.apache.juneau.rest.RequestFormData">Serialized Form</a></dd>
+</dl>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== NESTED CLASS SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="nested.class.summary">
+<!-- -->
+</a>
+<h3>Nested Class Summary</h3>
+<ul class="blockList">
+<li class="blockList"><a name="nested.classes.inherited.from.class.java.util.AbstractMap">
+<!-- -->
+</a>
+<h3>Nested classes/interfaces inherited from class java.util.<a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.html?is-external=true" title="class or interface in java.util">AbstractMap</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.SimpleEntry.html?is-external=true" title="class or interface in java.util">AbstractMap.SimpleEntry</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.SimpleEntry.html?is-external=true" title="class or interface in java.util">K</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.SimpleEntry.html?is-external=true" title="class or interface in java.util">V</a>>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.SimpleImmutableEntry.html?is-external=true" title="class or interface in java.util">AbstractMap.SimpleImmutableEntry</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.SimpleImmutableEntry.html?is-external=true" title="class or interface in java.util">K</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.SimpleImmutableEntry.html?is-external=true" title="class or interface in
java.util">V</a>></code></li>
+</ul>
+</li>
+</ul>
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.summary">
+<!-- -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
+<tr>
+<th class="colOne" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestFormData.html#RequestFormData--">RequestFormData</a></span>()</code> </td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code><T> T</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestFormData.html#get-java.lang.String-java.lang.Class-">get</a></span>(<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> name,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type)</code>
+<div class="block">Returns the specified form data parameter value converted to a POJO using the
+ <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingParser.html" title="class in org.apache.juneau.urlencoding"><code>UrlEncodingParser</code></a> registered with this servlet.</div>
+</td>
+</tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code><T> T</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestFormData.html#get-java.lang.String-T-java.lang.Class-">get</a></span>(<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> name,
+ T def,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type)</code>
+<div class="block">Same as <a href="../../../../org/apache/juneau/rest/RequestFormData.html#get-java.lang.String-java.lang.Class-"><code>get(String, Class)</code></a> except returns a default value if not specified.</div>
+</td>
+</tr>
+<tr id="i2" class="altColor">
+<td class="colFirst"><code><T> T</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestFormData.html#get-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-">get</a></span>(<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> name,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> type,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>... args)</code>
+<div class="block">Returns the specified form data parameter value converted to a POJO using the
+ <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingParser.html" title="class in org.apache.juneau.urlencoding"><code>UrlEncodingParser</code></a> registered with this servlet.</div>
+</td>
+</tr>
+<tr id="i3" class="rowColor">
+<td class="colFirst"><code><T> T</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestFormData.html#getAll-java.lang.String-java.lang.Class-">getAll</a></span>(<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> name,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type)</code>
+<div class="block">Same as <a href="../../../../org/apache/juneau/rest/RequestFormData.html#get-java.lang.String-java.lang.Class-"><code>get(String, Class)</code></a> except for use on multi-part parameters
+ (e.g.</div>
+</td>
+</tr>
+<tr id="i4" class="altColor">
+<td class="colFirst"><code><T> T</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestFormData.html#getAll-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-">getAll</a></span>(<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> name,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> type,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>... args)</code>
+<div class="block">Same as <a href="../../../../org/apache/juneau/rest/RequestFormData.html#get-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>get(String, Type, Type...)</code></a> except for use on multi-part parameters
+ (e.g.</div>
+</td>
+</tr>
+<tr id="i5" class="rowColor">
+<td class="colFirst"><code><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/rest/RequestFormData.html#getFirst-java.lang.String-">getFirst</a></span>(<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> name)</code>
+<div class="block">Returns a form data parameter value.</div>
+</td>
+</tr>
+<tr id="i6" class="altColor">
+<td class="colFirst"><code><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/rest/RequestFormData.html#getFirst-java.lang.String-java.lang.String-">getFirst</a></span>(<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> name,
+ <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> def)</code>
+<div class="block">Same as <a href="../../../../org/apache/juneau/rest/RequestFormData.html#getFirst-java.lang.String-"><code>getFirst(String)</code></a> except returns a default value if <jk>null</jk> or empty.</div>
+</td>
+</tr>
+<tr id="i7" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestFormData.html#put-java.lang.String-java.lang.Object-">put</a></span>(<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> name,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code>
+<div class="block">Sets a request form data parameter value.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.util.LinkedHashMap">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.util.<a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMap.html?is-external=true" title="class or interface in java.util">LinkedHashMap</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMap.html?is-external=true#clear--" title="class or interface in java.util">clear</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMap.html?is-external=true#containsValue-java.lang.Object-" title="class or interface in java.util">containsValue</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMap.html?is-external=true#entrySet--" title="class or interface in java.util">entrySet</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMap.html?is-external=true#forEach-java.util.function.BiConsumer-" title="class or interface in java.util">forEach</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMap.html?is-external=true#get-java.lang.Object-" title="class or interface in java.util">get</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMap.html?is-external=true#getOrDefault-java.lang.Object-V-
" title="class or interface in java.util">getOrDefault</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMap.html?is-external=true#keySet--" title="class or interface in java.util">keySet</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMap.html?is-external=true#removeEldestEntry-java.util.Map.Entry-" title="class or interface in java.util">removeEldestEntry</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMap.html?is-external=true#replaceAll-java.util.function.BiFunction-" title="class or interface in java.util">replaceAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMap.html?is-external=true#values--" title="class or interface in java.util">values</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.util.HashMap">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.util.<a href="http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true#clone--" title="class or interface in java.util">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true#compute-K-java.util.function.BiFunction-" title="class or interface in java.util">compute</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true#computeIfAbsent-K-java.util.function.Function-" title="class or interface in java.util">computeIfAbsent</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true#computeIfPresent-K-java.util.function.BiFunction-" title="class or interface in java.util">computeIfPresent</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true#containsKey-java.lang.Object-" title="class or interface in java.util">containsKey</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-
external=true#isEmpty--" title="class or interface in java.util">isEmpty</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true#merge-K-V-java.util.function.BiFunction-" title="class or interface in java.util">merge</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true#put-K-V-" title="class or interface in java.util">put</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true#putAll-java.util.Map-" title="class or interface in java.util">putAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true#putIfAbsent-K-V-" title="class or interface in java.util">putIfAbsent</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true#remove-java.lang.Object-" title="class or interface in java.util">remove</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true
#remove-java.lang.Object-java.lang.Object-" title="class or interface in java.util">remove</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true#replace-K-V-" title="class or interface in java.util">replace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true#replace-K-V-V-" title="class or interface in java.util">replace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true#size--" title="class or interface in java.util">size</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.util.AbstractMap">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.util.<a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.html?is-external=true" title="class or interface in java.util">AbstractMap</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.util">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.html?is-external=true#hashCode--" title="class or interface in java.util">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.html?is-external=true#toString--" title="class or interface in java.util">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-
external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.util.Map">
+<!-- -->
+</a>
+<h3>Methods inherited from interface java.util.<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#compute-K-java.util.function.BiFunction-" title="class or interface in java.util">compute</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#computeIfAbsent-K-java.util.function.Function-" title="class or interface in java.util">computeIfAbsent</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#computeIfPresent-K-java.util.function.BiFunction-" title="class or interface in java.util">computeIfPresent</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#containsKey-java.lang.Object-" title="class or interface in java.util">containsKey</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.util">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-extern
al=true#hashCode--" title="class or interface in java.util">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#isEmpty--" title="class or interface in java.util">isEmpty</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#merge-K-V-java.util.function.BiFunction-" title="class or interface in java.util">merge</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#put-K-V-" title="class or interface in java.util">put</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#putAll-java.util.Map-" title="class or interface in java.util">putAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#putIfAbsent-K-V-" title="class or interface in java.util">putIfAbsent</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#remove-java.lang.Object-" title="class or
interface in java.util">remove</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#remove-java.lang.Object-java.lang.Object-" title="class or interface in java.util">remove</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#replace-K-V-" title="class or interface in java.util">replace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#replace-K-V-V-" title="class or interface in java.util">replace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#size--" title="class or interface in java.util">size</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.detail">
+<!-- -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="RequestFormData--">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>RequestFormData</h4>
+<pre>public <a href="../../../../src-html/org/apache/juneau/rest/RequestFormData.html#line.27">RequestFormData</a>()</pre>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="put-java.lang.String-java.lang.Object-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>put</h4>
+<pre>public void <a href="../../../../src-html/org/apache/juneau/rest/RequestFormData.html#line.49">put</a>(<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> name,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</pre>
+<div class="block">Sets a request form data parameter value.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>name</code> - The parameter name.</dd>
+<dd><code>value</code> - The parameter value.</dd>
+</dl>
+</li>
+</ul>
+<a name="getFirst-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getFirst</h4>
+<pre>public <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/rest/RequestFormData.html#line.74">getFirst</a>(<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> name)</pre>
+<div class="block">Returns a form data parameter value.
+ <p>
+ Parameter lookup is case-insensitive (consistent with WAS, but differs from Tomcat).
+ <p>
+ <h5 class='section'>Notes:</h5>
+ <ul>
+ <li>Calling this method on URL-Encoded FORM posts causes the body content to be loaded and parsed by the underlying servlet API.
+ <li>This method returns the raw unparsed value, and differs from calling <code>getFormDataParameter(name, String.<jk>class</js>)</code>
+ which will convert the value from UON notation:
+ <ul>
+ <li><js>"null"</js> => <jk>null</jk>
+ <li><js>"'null'"</js> => <js>"null"</js>
+ <li><js>"'foo bar'"</js> => <js>"foo bar"</js>
+ <li><js>"foo~~bar"</js> => <js>"foo~bar"</js>
+ </ul>
+ </ul></div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>name</code> - The form data parameter name.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parameter value, or <jk>null</jk> if parameter does not exist.</dd>
+</dl>
+</li>
+</ul>
+<a name="getFirst-java.lang.String-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getFirst</h4>
+<pre>public <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/rest/RequestFormData.html#line.95">getFirst</a>(<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> name,
+ <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> def)</pre>
+<div class="block">Same as <a href="../../../../org/apache/juneau/rest/RequestFormData.html#getFirst-java.lang.String-"><code>getFirst(String)</code></a> except returns a default value if <jk>null</jk> or empty.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>name</code> - The form data parameter name.</dd>
+<dd><code>def</code> - The default value.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parameter value, or the default value if <jk>null</jk> or empty.</dd>
+</dl>
+</li>
+</ul>
+<a name="get-java.lang.String-java.lang.Class-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>get</h4>
+<pre>public <T> T <a href="../../../../src-html/org/apache/juneau/rest/RequestFormData.html#line.135">get</a>(<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> name,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type)
+ throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
+<div class="block">Returns the specified form data parameter value converted to a POJO using the
+ <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingParser.html" title="class in org.apache.juneau.urlencoding"><code>UrlEncodingParser</code></a> registered with this servlet.
+ <p>
+ <h5 class='section'>Examples:</h5>
+ <p class='bcode'>
+ <jc>// Parse into an integer.</jc>
+ <jk>int</jk> myparam = req.getFormDataParameter(<js>"myparam"</js>, <jk>int</jk>.<jk>class</jk>);
+
+ <jc>// Parse into an int array.</jc>
+ <jk>int</jk>[] myparam = req.getFormDataParameter(<js>"myparam"</js>, <jk>int</jk>[].<jk>class</jk>);
+
+ <jc>// Parse into a bean.</jc>
+ MyBean myparam = req.getFormDataParameter(<js>"myparam"</js>, MyBean.<jk>class</jk>);
+
+ <jc>// Parse into a linked-list of objects.</jc>
+ List myparam = req.getFormDataParameter(<js>"myparam"</js>, LinkedList.<jk>class</jk>);
+
+ <jc>// Parse into a map of object keys/values.</jc>
+ Map myparam = req.getFormDataParameter(<js>"myparam"</js>, TreeMap.<jk>class</jk>);
+ </p>
+ <p>
+ <h5 class='section'>Notes:</h5>
+ <ul>
+ <li>Calling this method on URL-Encoded FORM posts causes the body content to be loaded and parsed by the underlying servlet API.
+ </ul></div>
+<dl>
+<dt><span class="paramLabel">Type Parameters:</span></dt>
+<dd><code>T</code> - The class type to convert the parameter value to.</dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>name</code> - The parameter name.</dd>
+<dd><code>type</code> - The class type to convert the parameter value to.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parameter value converted to the specified class type.</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="get-java.lang.String-java.lang.Object-java.lang.Class-">
+<!-- -->
+</a><a name="get-java.lang.String-T-java.lang.Class-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>get</h4>
+<pre>public <T> T <a href="../../../../src-html/org/apache/juneau/rest/RequestFormData.html#line.149">get</a>(<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> name,
+ T def,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type)
+ throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
+<div class="block">Same as <a href="../../../../org/apache/juneau/rest/RequestFormData.html#get-java.lang.String-java.lang.Class-"><code>get(String, Class)</code></a> except returns a default value if not specified.</div>
+<dl>
+<dt><span class="paramLabel">Type Parameters:</span></dt>
+<dd><code>T</code> - The class type to convert the parameter value to.</dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>name</code> - The parameter name.</dd>
+<dd><code>def</code> - The default value if the parameter was not specified or is <jk>null</jk>.</dd>
+<dd><code>type</code> - The class type to convert the parameter value to.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parameter value converted to the specified class type.</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="getAll-java.lang.String-java.lang.Class-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getAll</h4>
+<pre>public <T> T <a href="../../../../src-html/org/apache/juneau/rest/RequestFormData.html#line.164">getAll</a>(<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> name,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type)
+ throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
+<div class="block">Same as <a href="../../../../org/apache/juneau/rest/RequestFormData.html#get-java.lang.String-java.lang.Class-"><code>get(String, Class)</code></a> except for use on multi-part parameters
+ (e.g. <js>"key=1&key=2&key=3"</js> instead of <js>"key=(1,2,3)"</js>)
+ <p>
+ This method must only be called when parsing into classes of type Collection or array.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>name</code> - The parameter name.</dd>
+<dd><code>type</code> - The class type to convert the parameter value to.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parameter value converted to the specified class type.</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="get-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>get</h4>
+<pre>public <T> T <a href="../../../../src-html/org/apache/juneau/rest/RequestFormData.html#line.202">get</a>(<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> name,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> type,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>... args)
+ throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
+<div class="block">Returns the specified form data parameter value converted to a POJO using the
+ <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingParser.html" title="class in org.apache.juneau.urlencoding"><code>UrlEncodingParser</code></a> registered with this servlet.
+ <p>
+ <h5 class='section'>Notes:</h5>
+ <ul>
+ <li>Calling this method on URL-Encoded FORM posts causes the body content to be loaded and parsed by the underlying servlet API.
+ <li>Use this method if you want to parse into a parameterized <code>Map</code>/<code>Collection</code> object.
+ </ul>
+ <p>
+ <h5 class='section'>Examples:</h5>
+ <p class='bcode'>
+ <jc>// Parse into a linked-list of strings.</jc>
+ List<String> myparam = req.getFormDataParameter(<js>"myparam"</js>, LinkedList.<jk>class</jk>, String.<jk>class</jk>);
+
+ <jc>// Parse into a linked-list of linked-lists of strings.</jc>
+ List<List<String>> myparam = req.getFormDataParameter(<js>"myparam"</js>, LinkedList.<jk>class</jk>, LinkedList.<jk>class</jk>, String.<jk>class</jk>);
+
+ <jc>// Parse into a map of string keys/values.</jc>
+ Map<String,String> myparam = req.getFormDataParameter(<js>"myparam"</js>, TreeMap.<jk>class</jk>, String.<jk>class</jk>, String.<jk>class</jk>);
+
+ <jc>// Parse into a map containing string keys and values of lists containing beans.</jc>
+ Map<String,List<MyBean>> myparam = req.getFormDataParameter(<js>"myparam"</js>, TreeMap.<jk>class</jk>, String.<jk>class</jk>, List.<jk>class</jk>, MyBean.<jk>class</jk>);
+ </p></div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>name</code> - The parameter name.</dd>
+<dd><code>type</code> - The type of object to create.
+ <br>Can be any of the following: <a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/ParameterizedType.html?is-external=true" title="class or interface in java.lang.reflect"><code>ParameterizedType</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/GenericArrayType.html?is-external=true" title="class or interface in java.lang.reflect"><code>GenericArrayType</code></a></dd>
+<dd><code>args</code> - The type arguments of the class if it's a collection or map.
+ <br>Can be any of the following: <a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/ParameterizedType.html?is-external=true" title="class or interface in java.lang.reflect"><code>ParameterizedType</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/GenericArrayType.html?is-external=true" title="class or interface in java.lang.reflect"><code>GenericArrayType</code></a>
+ <br>Ignored if the main type is not a map or collection.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parameter value converted to the specified class type.</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="getAll-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>getAll</h4>
+<pre>public <T> T <a href="../../../../src-html/org/apache/juneau/rest/RequestFormData.html#line.221">getAll</a>(<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> name,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> type,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>... args)
+ throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
+<div class="block">Same as <a href="../../../../org/apache/juneau/rest/RequestFormData.html#get-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>get(String, Type, Type...)</code></a> except for use on multi-part parameters
+ (e.g. <js>"key=1&key=2&key=3"</js> instead of <js>"key=(1,2,3)"</js>)
+ <p>
+ This method must only be called when parsing into classes of type Collection or array.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>name</code> - The parameter name.</dd>
+<dd><code>type</code> - The type of object to create.
+ <br>Can be any of the following: <a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/ParameterizedType.html?is-external=true" title="class or interface in java.lang.reflect"><code>ParameterizedType</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/GenericArrayType.html?is-external=true" title="class or interface in java.lang.reflect"><code>GenericArrayType</code></a></dd>
+<dd><code>args</code> - The type arguments of the class if it's a collection or map.
+ <br>Can be any of the following: <a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/ParameterizedType.html?is-external=true" title="class or interface in java.lang.reflect"><code>ParameterizedType</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/GenericArrayType.html?is-external=true" title="class or interface in java.lang.reflect"><code>GenericArrayType</code></a>
+ <br>Ignored if the main type is not a map or collection.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parameter value converted to the specified class type.</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></code></dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/rest/RequestBody.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/rest/RequestHeaders.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/rest/RequestFormData.html" target="_top">Frames</a></li>
+<li><a href="RequestFormData.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li><a href="#nested.classes.inherited.from.class.java.util.AbstractMap">Nested</a> | </li>
+<li>Field | </li>
+<li><a href="#constructor.summary">Constr</a> | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li><a href="#constructor.detail">Constr</a> | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
[46/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/ContentMD5.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/ContentMD5.html b/content/site/apidocs/org/apache/juneau/http/ContentMD5.html
new file mode 100644
index 0000000..a62326a
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/ContentMD5.html
@@ -0,0 +1,294 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>ContentMD5 (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="ContentMD5 (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":9,"i1":10};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/ContentLocation.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/ContentRange.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/ContentMD5.html" target="_top">Frames</a></li>
+<li><a href="ContentMD5.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class ContentMD5" class="title">Class ContentMD5</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.ContentMD5</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/ContentMD5.html#line.51">ContentMD5</a>
+extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
+<div class="block">Represents a parsed <code>XXX:</code> HTTP header.
+ <p>
+ <h6 class='topic>RFC2616 Specification</h6>
+ <p class='bcode'>
+The Content-MD5 entity-header field, as defined in RFC 1864 [23], is an MD5 digest of the entity-body for the purpose of providing an end-to-end message integrity check (MIC) of the entity-body. (Note: a MIC is good for detecting accidental modification of the entity-body in transit, but is not proof against malicious attacks.)
+
+ Content-MD5 = "Content-MD5" ":" md5-digest
+ md5-digest = <base64 of 128 bit MD5 digest as per RFC 1864>
+The Content-MD5 header field MAY be generated by an origin server or client to function as an integrity check of the entity-body. Only origin servers or clients MAY generate the Content-MD5 header field; proxies and gateways MUST NOT generate it, as this would defeat its value as an end-to-end integrity check. Any recipient of the entity- body, including gateways and proxies, MAY check that the digest value in this header field matches that of the entity-body as received.
+
+The MD5 digest is computed based on the content of the entity-body, including any content-coding that has been applied, but not including any transfer-encoding applied to the message-body. If the message is received with a transfer-encoding, that encoding MUST be removed prior to checking the Content-MD5 value against the received entity.
+
+This has the result that the digest is computed on the octets of the entity-body exactly as, and in the order that, they would be sent if no transfer-encoding were being applied.
+
+HTTP extends RFC 1864 to permit the digest to be computed for MIME composite media-types (e.g., multipart/* and message/rfc822), but this does not change how the digest is computed as defined in the preceding paragraph.
+
+There are several consequences of this. The entity-body for composite types MAY contain many body-parts, each with its own MIME and HTTP headers (including Content-MD5, Content-Transfer-Encoding, and Content-Encoding headers). If a body-part has a Content-Transfer- Encoding or Content-Encoding header, it is assumed that the content of the body-part has had the encoding applied, and the body-part is included in the Content-MD5 digest as is -- i.e., after the application. The Transfer-Encoding header field is not allowed within body-parts.
+
+Conversion of all line breaks to CRLF MUST NOT be done before computing or checking the digest: the line break convention used in the text actually transmitted MUST be left unaltered when computing the digest.
+
+ Note: while the definition of Content-MD5 is exactly the same for
+ HTTP as in RFC 1864 for MIME entity-bodies, there are several ways
+ in which the application of Content-MD5 to HTTP entity-bodies
+ differs from its application to MIME entity-bodies. One is that
+ HTTP, unlike MIME, does not use Content-Transfer-Encoding, and
+ does use Transfer-Encoding and Content-Encoding. Another is that
+ HTTP more frequently uses binary content types than MIME, so it is
+ worth noting that, in such cases, the byte order used to compute
+ the digest is the transmission byte order defined for the type.
+ Lastly, HTTP allows transmission of text types with any of several
+ line break conventions and not just the canonical form using CRLF.
+ </p></div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/ContentMD5.html" title="class in org.apache.juneau.http">ContentMD5</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/ContentMD5.html#forString-java.lang.String-">forString</a></span>(<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> s)</code>
+<div class="block">Returns a parsed <code>Accept</code> header.</div>
+</td>
+</tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code><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/http/ContentMD5.html#toString--">toString</a></span>()</code> </td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="forString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>forString</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/ContentMD5.html" title="class in org.apache.juneau.http">ContentMD5</a> <a href="../../../../src-html/org/apache/juneau/http/ContentMD5.html#line.62">forString</a>(<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> s)</pre>
+<div class="block">Returns a parsed <code>Accept</code> header.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>s</code> - The <code>Accept</code> header string.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Accept</code> header, or <jk>null</jk> if the string was null.</dd>
+</dl>
+</li>
+</ul>
+<a name="toString--">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>toString</h4>
+<pre>public <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/http/ContentMD5.html#line.85">toString</a>()</pre>
+<dl>
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code> in class <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/ContentLocation.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/ContentRange.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/ContentMD5.html" target="_top">Frames</a></li>
+<li><a href="ContentMD5.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/ContentRange.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/ContentRange.html b/content/site/apidocs/org/apache/juneau/http/ContentRange.html
new file mode 100644
index 0000000..c99c7b9
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/ContentRange.html
@@ -0,0 +1,349 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>ContentRange (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="ContentRange (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/ContentLocation.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/ContentType.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/ContentRange.html" target="_top">Frames</a></li>
+<li><a href="ContentRange.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class ContentRange" class="title">Class ContentRange</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">org.apache.juneau.http.HeaderString</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.ContentRange</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/ContentRange.html#line.109">ContentRange</a>
+extends <a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></pre>
+<div class="block">Represents a parsed <l>Content-Range</l> HTTP response header.
+ <p>
+ Where in a full body message this partial message belongs.
+
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ Content-Range: bytes 21010-47021/47022
+ </p>
+
+ <h6 class='topic'>RFC2616 Specification</h6>
+ The Content-Range entity-header is sent with a partial entity-body to specify where in the full entity-body the
+ partial body should be applied.
+ Range units are defined in section 3.12.
+ <p class='bcode'>
+ Content-Range = "Content-Range" ":" content-range-spec
+ content-range-spec = byte-content-range-spec
+ byte-content-range-spec = bytes-unit SP
+ byte-range-resp-spec "/"
+ ( instance-length | "*" )
+ byte-range-resp-spec = (first-byte-pos "-" last-byte-pos)
+ | "*"
+ instance-length = 1*DIGIT
+ </p>
+ <p>
+ The header SHOULD indicate the total length of the full entity-body, unless this length is unknown or difficult to
+ determine.
+ The asterisk "*" character means that the instance-length is unknown at the time when the response was generated.
+ <p>
+ Unlike byte-ranges-specifier values (see section 14.35.1), a byte- range-resp-spec MUST only specify one range, and
+ MUST contain absolute byte positions for both the first and last byte of the range.
+ <p>
+ A byte-content-range-spec with a byte-range-resp-spec whose last- byte-pos value is less than its first-byte-pos
+ value, or whose instance-length value is less than or equal to its last-byte-pos value, is invalid.
+ The recipient of an invalid byte-content-range- spec MUST ignore it and any content transferred along with it.
+ <p>
+ A server sending a response with status code 416 (Requested range not satisfiable) SHOULD include a Content-Range
+ field with a byte-range- resp-spec of "*".
+ The instance-length specifies the current length of the selected resource.
+ A response with status code 206 (Partial Content) MUST NOT include a Content-Range field with a byte-range-resp-spec
+ of "*".
+ <p>
+ Examples of byte-content-range-spec values, assuming that the entity contains a total of 1234 bytes:
+ <p class='bcode'>
+ The first 500 bytes:
+ bytes 0-499/1234
+ The second 500 bytes:
+ bytes 500-999/1234
+ All except for the first 500 bytes:
+ bytes 500-1233/1234
+ The last 500 bytes:
+ bytes 734-1233/1234
+ </p>
+ <p>
+ When an HTTP message includes the content of a single range (for example, a response to a request for a single range,
+ or to a request for a set of ranges that overlap without any holes), this content is transmitted with a Content-Range
+ header, and a Content-Length header showing the number of bytes actually transferred.
+ For example:
+ <p class='bcode'>
+ HTTP/1.1 206 Partial content
+ Date: Wed, 15 Nov 1995 06:25:24 GMT
+ Last-Modified: Wed, 15 Nov 1995 04:58:08 GMT
+ Content-Range: bytes 21010-47021/47022
+ Content-Length: 26012
+ Content-Type: image/gif
+ </p>
+ <p>
+ When an HTTP message includes the content of multiple ranges (for example, a response to a request for multiple
+ non-overlapping ranges), these are transmitted as a multipart message.
+ The multipart media type used for this purpose is "multipart/byteranges" as defined in appendix 19.2.
+ See appendix 19.6.3 for a compatibility issue.
+ <p>
+ A response to a request for a single range MUST NOT be sent using the multipart/byteranges media type.
+ A response to a request for multiple ranges, whose result is a single range, MAY be sent as a multipart/byteranges
+ media type with one part.
+ A client that cannot decode a multipart/byteranges message MUST NOT ask for multiple byte-ranges in a single request.
+ <p>
+ When a client requests multiple byte-ranges in one request, the server SHOULD return them in the order that they
+ appeared in the request.
+ <p>
+ If the server ignores a byte-range-spec because it is syntactically invalid, the server SHOULD treat the request as
+ if the invalid Range header field did not exist.
+ (Normally, this means return a 200 response containing the full entity).
+ <p>
+ If the server receives a request (other than one including an If- Range request-header field) with an unsatisfiable
+ Range request- header field
+ (that is, all of whose byte-range-spec values have a first-byte-pos value greater than the current length of the
+ selected resource),
+ it SHOULD return a response code of 416 (Requested range not satisfiable) (section 10.4.17).
+ <p>
+ Note: clients cannot depend on servers to send a 416 (Requested range not satisfiable) response instead of a 200 (OK)
+ response for
+ an unsatisfiable Range request-header, since not all servers implement this request-header.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/ContentRange.html" title="class in org.apache.juneau.http">ContentRange</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/ContentRange.html#forString-java.lang.String-">forString</a></span>(<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> value)</code>
+<div class="block">Returns a parsed <code>Content-Range</code> header.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.http.HeaderString">
+<!-- -->
+</a>
+<h3>Methods inherited from class org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></h3>
+<code><a href="../../../../org/apache/juneau/http/HeaderString.html#asString--">asString</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#eq-java.lang.String-">eq</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#eqIC-java.lang.String-">eqIC</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#toString--">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="forString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>forString</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/ContentRange.html" title="class in org.apache.juneau.http">ContentRange</a> <a href="../../../../src-html/org/apache/juneau/http/ContentRange.html#line.117">forString</a>(<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> value)</pre>
+<div class="block">Returns a parsed <code>Content-Range</code> header.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The <code>Content-Range</code> header string.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Content-Range</code> header, or <jk>null</jk> if the string was null.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/ContentLocation.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/ContentType.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/ContentRange.html" target="_top">Frames</a></li>
+<li><a href="ContentRange.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/ContentType.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/ContentType.html b/content/site/apidocs/org/apache/juneau/http/ContentType.html
index afc98fe..4b4a176 100644
--- a/content/site/apidocs/org/apache/juneau/http/ContentType.html
+++ b/content/site/apidocs/org/apache/juneau/http/ContentType.html
@@ -48,8 +48,8 @@ var activeTableTab = "activeTableTab";
</div>
<div class="subNav">
<ul class="navList">
-<li><a href="../../../../org/apache/juneau/http/AcceptEncoding.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
-<li><a href="../../../../org/apache/juneau/http/MediaType.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/ContentRange.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/Date.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/juneau/http/ContentType.html" target="_top">Frames</a></li>
@@ -113,22 +113,28 @@ var activeTableTab = "activeTableTab";
<li class="blockList">
<hr>
<br>
-<pre>public class <a href="../../../../src-html/org/apache/juneau/http/ContentType.html#line.35">ContentType</a>
+<pre>public class <a href="../../../../src-html/org/apache/juneau/http/ContentType.html#line.43">ContentType</a>
extends <a href="../../../../org/apache/juneau/http/MediaType.html" title="class in org.apache.juneau.http">MediaType</a></pre>
-<div class="block">Represents a parsed <code>Content-Type:</code> HTTP header.
+<div class="block">Represents a parsed <l>Content-Type</l> HTTP request/response header.
<p>
- The formal RFC2616 header field definition is as follows:
- <p class='bcode'>
- 14.17 Content-Type
-
- The Content-Type entity-header field indicates the media type of the
- entity-body sent to the recipient or, in the case of the HEAD method,
- the media type that would have been sent had the request been a GET.
+ The MIME type of this content.
- Content-Type = "Content-Type" ":" media-type
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ Content-Type: text/html; charset=utf-8
+ </p>
- Media types are defined in section 3.7. An example of the field is
+ <h6 class='topic'>RFC2616 Specification</h6>
+ The Content-Type entity-header field indicates the media type of the entity-body sent to the recipient or, in the
+ case of the HEAD method, the media type that would have been sent had the request been a GET.
+ <p class='bcode'>
+ Content-Type = "Content-Type" ":" media-type
+ </p>
+ <p>
+ Media types are defined in section 3.7.
+ An example of the field is...
+ <p class='bcode'>
Content-Type: text/html; charset=ISO-8859-4
</p></div>
</li>
@@ -172,7 +178,7 @@ extends <a href="../../../../org/apache/juneau/http/MediaType.html" title="class
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/ContentType.html" title="class in org.apache.juneau.http">ContentType</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/ContentType.html#forString-java.lang.String-">forString</a></span>(<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> s)</code>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/ContentType.html#forString-java.lang.String-">forString</a></span>(<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> value)</code>
<div class="block">Returns a parsed <code>Content-Type</code> header.</div>
</td>
</tr>
@@ -211,11 +217,11 @@ extends <a href="../../../../org/apache/juneau/http/MediaType.html" title="class
<ul class="blockList">
<li class="blockList">
<h4>forString</h4>
-<pre>public static <a href="../../../../org/apache/juneau/http/ContentType.html" title="class in org.apache.juneau.http">ContentType</a> <a href="../../../../src-html/org/apache/juneau/http/ContentType.html#line.46">forString</a>(<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> s)</pre>
+<pre>public static <a href="../../../../org/apache/juneau/http/ContentType.html" title="class in org.apache.juneau.http">ContentType</a> <a href="../../../../src-html/org/apache/juneau/http/ContentType.html#line.53">forString</a>(<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> value)</pre>
<div class="block">Returns a parsed <code>Content-Type</code> header.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>s</code> - The <code>Content-Type</code> header string.</dd>
+<dd><code>value</code> - The <code>Content-Type</code> header string.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The parsed <code>Content-Type</code> header, or <jk>null</jk> if the string was null.</dd>
</dl>
@@ -227,7 +233,7 @@ extends <a href="../../../../org/apache/juneau/http/MediaType.html" title="class
<ul class="blockListLast">
<li class="blockList">
<h4>findMatch</h4>
-<pre>public int <a href="../../../../src-html/org/apache/juneau/http/ContentType.html#line.83">findMatch</a>(<a href="../../../../org/apache/juneau/http/MediaType.html" title="class in org.apache.juneau.http">MediaType</a>[] mediaTypes)</pre>
+<pre>public int <a href="../../../../src-html/org/apache/juneau/http/ContentType.html#line.81">findMatch</a>(<a href="../../../../org/apache/juneau/http/MediaType.html" title="class in org.apache.juneau.http">MediaType</a>[] mediaTypes)</pre>
<div class="block">Given a list of media types, returns the best match for this <code>Content-Type</code> header.
<p>
Note that fuzzy matching is allowed on the media types where the <code>Content-Types</code> header may
@@ -272,8 +278,8 @@ extends <a href="../../../../org/apache/juneau/http/MediaType.html" title="class
</div>
<div class="subNav">
<ul class="navList">
-<li><a href="../../../../org/apache/juneau/http/AcceptEncoding.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
-<li><a href="../../../../org/apache/juneau/http/MediaType.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/ContentRange.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/Date.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/juneau/http/ContentType.html" target="_top">Frames</a></li>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/Date.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/Date.html b/content/site/apidocs/org/apache/juneau/http/Date.html
new file mode 100644
index 0000000..00a6058
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/Date.html
@@ -0,0 +1,306 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Date (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="Date (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/ContentType.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/EntityValidator.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/Date.html" target="_top">Frames</a></li>
+<li><a href="Date.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class Date" class="title">Class Date</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../org/apache/juneau/http/HeaderDate.html" title="class in org.apache.juneau.http">org.apache.juneau.http.HeaderDate</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.Date</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/Date.html#line.66">Date</a>
+extends <a href="../../../../org/apache/juneau/http/HeaderDate.html" title="class in org.apache.juneau.http">HeaderDate</a></pre>
+<div class="block">Represents a parsed <l>Date</l> HTTP request/response header.
+ <p>
+ The date and time that the message was sent (in "HTTP-date" format as defined by RFC 7231).
+
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ Date: Tue, 15 Nov 1994 08:12:31 GMT
+ </p>
+
+ <h6 class='topic'>RFC2616 Specification</h6>
+
+ The Date general-header field represents the date and time at which the message was originated, having the same
+ semantics as orig-date in RFC 822.
+ The field value is an HTTP-date, as described in section 3.3.1; it MUST be sent in RFC 1123 [8]-date format.
+ <p class='bcode'>
+ Date = "Date" ":" HTTP-date
+ </p>
+ <p>
+ An example is...
+ <p class='bcode'>
+ Date: Tue, 15 Nov 1994 08:12:31 GMT
+ </p>
+ <p>
+ Origin servers MUST include a Date header field in all responses, except in these cases:
+ <ol>
+ <li>If the response status code is 100 (Continue) or 101 (Switching Protocols), the response MAY include a Date
+ header field, at the server's option.
+ <li>If the response status code conveys a server error, e.g. 500 (Internal Server Error) or 503 (Service
+ Unavailable), and it is inconvenient or impossible to generate a valid Date.
+ <li>If the server does not have a clock that can provide a reasonable approximation of the current time, its
+ responses MUST NOT include a Date header field.
+ In this case, the rules in section 14.18.1 MUST be followed.
+ </ol>
+ A received message that does not have a Date header field MUST be assigned one by the recipient if the message will
+ be cached by that recipient or gatewayed via a protocol which requires a Date.
+ An HTTP implementation without a clock MUST NOT cache responses without revalidating them on every use.
+ An HTTP cache, especially a shared cache, SHOULD use a mechanism, such as NTP, to synchronize its clock with a
+ reliable external standard.
+ <p>
+ Clients SHOULD only send a Date header field in messages that include an entity-body, as in the case of the PUT and
+ POST requests, and even then it is optional.
+ A client without a clock MUST NOT send a Date header field in a request.
+ <p>
+ The HTTP-date sent in a Date header SHOULD NOT represent a date and time subsequent to the generation of the message.
+ It SHOULD represent the best available approximation of the date and time of message generation, unless the
+ implementation has no means of generating a reasonably accurate date and time.
+ In theory, the date ought to represent the moment just before the entity is generated.
+ In practice, the date can be generated at any time during the message origination without affecting its semantic
+ value.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/Date.html" title="class in org.apache.juneau.http">Date</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/Date.html#forString-java.lang.String-">forString</a></span>(<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> value)</code>
+<div class="block">Returns a parsed <code>Date</code> header.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.http.HeaderDate">
+<!-- -->
+</a>
+<h3>Methods inherited from class org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderDate.html" title="class in org.apache.juneau.http">HeaderDate</a></h3>
+<code><a href="../../../../org/apache/juneau/http/HeaderDate.html#asDate--">asDate</a>, <a href="../../../../org/apache/juneau/http/HeaderDate.html#toString--">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="forString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>forString</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/Date.html" title="class in org.apache.juneau.http">Date</a> <a href="../../../../src-html/org/apache/juneau/http/Date.html#line.74">forString</a>(<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> value)</pre>
+<div class="block">Returns a parsed <code>Date</code> header.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The <code>Date</code> header string.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Date</code> header, or <jk>null</jk> if the string was null.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/ContentType.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/EntityValidator.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/Date.html" target="_top">Frames</a></li>
+<li><a href="Date.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/ETag.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/ETag.html b/content/site/apidocs/org/apache/juneau/http/ETag.html
new file mode 100644
index 0000000..d5d0ca0
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/ETag.html
@@ -0,0 +1,281 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>ETag (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="ETag (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/EntityValidator.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/Expect.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/ETag.html" target="_top">Frames</a></li>
+<li><a href="ETag.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class ETag" class="title">Class ETag</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">org.apache.juneau.http.HeaderString</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.ETag</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/ETag.html#line.41">ETag</a>
+extends <a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></pre>
+<div class="block">Represents a parsed <l>ETag</l> HTTP response header.
+ <p>
+ An identifier for a specific version of a resource, often a message digest.
+
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ ETag: "737060cd8c284d8af7ad3082f209582d"
+ </p>
+
+ <h6 class='topic'>RFC2616 Specification</h6>
+
+ The ETag response-header field provides the current value of the entity tag for the requested variant.
+ The headers used with entity tags are described in sections 14.24, 14.26 and 14.44.
+ The entity tag MAY be used for comparison with other entities from the same resource (see section 13.3.3).
+ <p class='bcode'>
+ ETag = "ETag" ":" entity-tag
+ </p>
+ <p>
+ Examples:
+ <p class='bcode'>
+ ETag: "xyzzy"
+ ETag: W/"xyzzy"
+ ETag: ""
+ </p></div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/ETag.html" title="class in org.apache.juneau.http">ETag</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/ETag.html#forString-java.lang.String-">forString</a></span>(<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> value)</code>
+<div class="block">Returns a parsed <code>ETag</code> header.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.http.HeaderString">
+<!-- -->
+</a>
+<h3>Methods inherited from class org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></h3>
+<code><a href="../../../../org/apache/juneau/http/HeaderString.html#asString--">asString</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#eq-java.lang.String-">eq</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#eqIC-java.lang.String-">eqIC</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#toString--">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="forString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>forString</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/ETag.html" title="class in org.apache.juneau.http">ETag</a> <a href="../../../../src-html/org/apache/juneau/http/ETag.html#line.49">forString</a>(<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> value)</pre>
+<div class="block">Returns a parsed <code>ETag</code> header.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The <code>ETag</code> header string.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>ETag</code> header, or <jk>null</jk> if the string was null.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/EntityValidator.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/Expect.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/ETag.html" target="_top">Frames</a></li>
+<li><a href="ETag.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/EntityValidator.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/EntityValidator.html b/content/site/apidocs/org/apache/juneau/http/EntityValidator.html
new file mode 100644
index 0000000..dad92ec
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/EntityValidator.html
@@ -0,0 +1,350 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>EntityValidator (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="EntityValidator (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":10,"i1":10,"i2":10,"i3":10};
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/Date.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/ETag.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/EntityValidator.html" target="_top">Frames</a></li>
+<li><a href="EntityValidator.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li><a href="#constructor.summary">Constr</a> | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li><a href="#constructor.detail">Constr</a> | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class EntityValidator" class="title">Class EntityValidator</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.EntityValidator</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public class <a href="../../../../src-html/org/apache/juneau/http/EntityValidator.html#line.24">EntityValidator</a>
+extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
+<div class="block">Represents a validator value.
+ <p>
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ ETag: "123456789" – A strong ETag validator
+ ETag: W/"123456789" – A weak ETag validator
+ </p></div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.summary">
+<!-- -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier</th>
+<th class="colLast" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>protected </code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/EntityValidator.html#EntityValidator-java.lang.String-">EntityValidator</a></span>(<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> value)</code>
+<div class="block">Constructor.</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code><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/http/EntityValidator.html#asString--">asString</a></span>()</code>
+<div class="block">Returns the validator value stripped of quotes and weak tag.</div>
+</td>
+</tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/EntityValidator.html#isAny--">isAny</a></span>()</code>
+<div class="block">Returns <jk>true</jk> if the validator string value is <code>*</code>.</div>
+</td>
+</tr>
+<tr id="i2" class="altColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/EntityValidator.html#isWeak--">isWeak</a></span>()</code>
+<div class="block">Returns <jk>true</jk> if the weak flag is present in the value.</div>
+</td>
+</tr>
+<tr id="i3" class="rowColor">
+<td class="colFirst"><code><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/http/EntityValidator.html#toString--">toString</a></span>()</code> </td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.detail">
+<!-- -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="EntityValidator-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>EntityValidator</h4>
+<pre>protected <a href="../../../../src-html/org/apache/juneau/http/EntityValidator.html#line.34">EntityValidator</a>(<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> value)</pre>
+<div class="block">Constructor.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The validator string value.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="asString--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>asString</h4>
+<pre>public <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/http/EntityValidator.html#line.48">asString</a>()</pre>
+<div class="block">Returns the validator value stripped of quotes and weak tag.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The validator value.</dd>
+</dl>
+</li>
+</ul>
+<a name="isWeak--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>isWeak</h4>
+<pre>public boolean <a href="../../../../src-html/org/apache/juneau/http/EntityValidator.html#line.56">isWeak</a>()</pre>
+<div class="block">Returns <jk>true</jk> if the weak flag is present in the value.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd><jk>true</jk> if the weak flag is present in the value.</dd>
+</dl>
+</li>
+</ul>
+<a name="isAny--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>isAny</h4>
+<pre>public boolean <a href="../../../../src-html/org/apache/juneau/http/EntityValidator.html#line.64">isAny</a>()</pre>
+<div class="block">Returns <jk>true</jk> if the validator string value is <code>*</code>.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd><jk>true</jk> if the validator string value is <code>*</code>.</dd>
+</dl>
+</li>
+</ul>
+<a name="toString--">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>toString</h4>
+<pre>public <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/http/EntityValidator.html#line.69">toString</a>()</pre>
+<dl>
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code> in class <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/Date.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/ETag.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/EntityValidator.html" target="_top">Frames</a></li>
+<li><a href="EntityValidator.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li><a href="#constructor.summary">Constr</a> | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li><a href="#constructor.detail">Constr</a> | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
[30/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/rest/ResponseHandler.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/ResponseHandler.html b/content/site/apidocs/org/apache/juneau/rest/ResponseHandler.html
index f57a235..557d802 100644
--- a/content/site/apidocs/org/apache/juneau/rest/ResponseHandler.html
+++ b/content/site/apidocs/org/apache/juneau/rest/ResponseHandler.html
@@ -48,7 +48,7 @@ var activeTableTab = "activeTableTab";
</div>
<div class="subNav">
<ul class="navList">
-<li><a href="../../../../org/apache/juneau/rest/Redirect.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/rest/RequestQuery.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">Prev Class</span></a></li>
<li><a href="../../../../org/apache/juneau/rest/RestCallHandler.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">Next Class</span></a></li>
</ul>
<ul class="navList">
@@ -254,7 +254,7 @@ var activeTableTab = "activeTableTab";
</div>
<div class="subNav">
<ul class="navList">
-<li><a href="../../../../org/apache/juneau/rest/Redirect.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/rest/RequestQuery.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">Prev Class</span></a></li>
<li><a href="../../../../org/apache/juneau/rest/RestCallHandler.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">Next Class</span></a></li>
</ul>
<ul class="navList">
[34/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/internal/package-tree.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/internal/package-tree.html b/content/site/apidocs/org/apache/juneau/internal/package-tree.html
index e64c13d..e627f19 100644
--- a/content/site/apidocs/org/apache/juneau/internal/package-tree.html
+++ b/content/site/apidocs/org/apache/juneau/internal/package-tree.html
@@ -134,10 +134,12 @@
<li type="circle">org.apache.juneau.internal.<a href="../../../../org/apache/juneau/internal/ArrayUtils.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">ArrayUtils</span></a></li>
<li type="circle">org.apache.juneau.internal.<a href="../../../../org/apache/juneau/internal/AsciiSet.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">AsciiSet</span></a></li>
<li type="circle">org.apache.juneau.internal.<a href="../../../../org/apache/juneau/internal/ByteArrayCache.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">ByteArrayCache</span></a></li>
+<li type="circle">org.apache.juneau.internal.<a href="../../../../org/apache/juneau/internal/Cache.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Cache</span></a><K,V></li>
<li type="circle">org.apache.juneau.internal.<a href="../../../../org/apache/juneau/internal/ClassUtils.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">ClassUtils</span></a></li>
<li type="circle">org.apache.juneau.internal.<a href="../../../../org/apache/juneau/internal/ClassUtils.ClassComparator.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">ClassUtils.ClassComparator</span></a> (implements java.util.<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util">Comparator</a><T>, java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>)</li>
<li type="circle">org.apache.juneau.internal.<a href="../../../../org/apache/juneau/internal/ClassUtils.MethodInfo.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">ClassUtils.MethodInfo</span></a></li>
<li type="circle">org.apache.juneau.internal.<a href="../../../../org/apache/juneau/internal/CollectionUtils.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">CollectionUtils</span></a></li>
+<li type="circle">org.apache.juneau.internal.<a href="../../../../org/apache/juneau/internal/DateUtils.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">DateUtils</span></a></li>
<li type="circle">org.apache.juneau.internal.<a href="../../../../org/apache/juneau/internal/FileUtils.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">FileUtils</span></a></li>
<li type="circle">org.apache.juneau.internal.<a href="../../../../org/apache/juneau/internal/HashCode.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">HashCode</span></a></li>
<li type="circle">org.apache.juneau.internal.<a href="../../../../org/apache/juneau/internal/IOUtils.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">IOUtils</span></a></li>
@@ -175,6 +177,7 @@
<li type="circle">org.apache.juneau.internal.<a href="../../../../org/apache/juneau/internal/Utils.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Utils</span></a></li>
<li type="circle">org.apache.juneau.internal.<a href="../../../../org/apache/juneau/internal/Version.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Version</span></a></li>
<li type="circle">org.apache.juneau.internal.<a href="../../../../org/apache/juneau/internal/VersionRange.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">VersionRange</span></a></li>
+<li type="circle">org.apache.juneau.internal.<a href="../../../../org/apache/juneau/internal/WrappedMap.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">WrappedMap</span></a><K,V> (implements java.util.<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><K,V>)</li>
<li type="circle">java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io"><span class="typeNameLink">Writer</span></a> (implements java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Appendable.html?is-external=true" title="class or interface in java.lang">Appendable</a>, java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a>, java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Flushable.html?is-external=true" title="class or interface in java.io">Flushable</a>)
<ul>
<li type="circle">org.apache.juneau.internal.<a href="../../../../org/apache/juneau/internal/StringBuilderWriter.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">StringBuilderWriter</span></a></li>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/microservice/package-summary.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/microservice/package-summary.html b/content/site/apidocs/org/apache/juneau/microservice/package-summary.html
index 0377cbb..591c791 100644
--- a/content/site/apidocs/org/apache/juneau/microservice/package-summary.html
+++ b/content/site/apidocs/org/apache/juneau/microservice/package-summary.html
@@ -739,14 +739,14 @@
<ul>
<li><l>$R{attribute.X}</l> - Value returned by <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletRequestWrapper.html?is-external=true#getAttribute-java.lang.String-" title="class or interface in javax.servlet"><code>ServletRequestWrapper.getAttribute(String)</code></a> converted to a string.
<li><l>$R{contextPath}</l> - Value returned by <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletRequestWrapper.html?is-external=true#getContextPath--" title="class or interface in javax.servlet.http"><code>HttpServletRequestWrapper.getContextPath()</code></a>.
- <li><l>$R{formData.X}</l> - Value returned by <a href="../../../../org/apache/juneau/rest/RestRequest.html#getFormDataParameter-java.lang.String-"><code>RestRequest.getFormDataParameter(String)</code></a>.
+ <li><l>$R{formData.X}</l> - Value returned by <a href="../../../../org/apache/juneau/rest/RestRequest.html#getFormData-java.lang.String-"><code>RestRequest.getFormData(String)</code></a>.
<li><l>$R{header.X}</l> - Value returned by <a href="../../../../org/apache/juneau/rest/RestRequest.html#getHeader-java.lang.String-"><code>RestRequest.getHeader(String)</code></a>.
<li><l>$R{method}</l> - Value returned by <a href="../../../../org/apache/juneau/rest/RestRequest.html#getMethod--"><code>RestRequest.getMethod()</code></a>.
<li><l>$R{methodSummary}</l> - Value returned by <a href="../../../../org/apache/juneau/rest/RestRequest.html#getMethodSummary--"><code>RestRequest.getMethodSummary()</code></a>.
<li><l>$R{methodDescription}</l> - Value returned by <a href="../../../../org/apache/juneau/rest/RestRequest.html#getMethodDescription--"><code>RestRequest.getMethodDescription()</code></a>.
<li><l>$R{path.X}</l> - Value returned by <a href="../../../../org/apache/juneau/rest/RestRequest.html#getPathParameter-java.lang.String-"><code>RestRequest.getPathParameter(String)</code></a>.
<li><l>$R{pathInfo}</l> - Value returned by <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletRequestWrapper.html?is-external=true#getPathInfo--" title="class or interface in javax.servlet.http"><code>HttpServletRequestWrapper.getPathInfo()</code></a>.
- <li><l>$R{query.X}</l> - Value returned by <a href="../../../../org/apache/juneau/rest/RestRequest.html#getQueryParameter-java.lang.String-"><code>RestRequest.getQueryParameter(String)</code></a>.
+ <li><l>$R{query.X}</l> - Value returned by <a href="../../../../org/apache/juneau/rest/RestRequest.html#getQuery-java.lang.String-"><code>RestRequest.getQuery(String)</code></a>.
<li><l>$R{requestParentURI}</l> - Value returned by <a href="../../../../org/apache/juneau/rest/RestRequest.html#getRequestParentURI--"><code>RestRequest.getRequestParentURI()</code></a>.
<li><l>$R{requestURI}</l> - Value returned by <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletRequestWrapper.html?is-external=true#getRequestURI--" title="class or interface in javax.servlet.http"><code>HttpServletRequestWrapper.getRequestURI()</code></a>.
<li><l>$R{servletDescription}</l> - Value returned by <a href="../../../../org/apache/juneau/rest/RestRequest.html#getServletDescription--"><code>RestRequest.getServletDescription()</code></a>.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/rest/Redirect.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/Redirect.html b/content/site/apidocs/org/apache/juneau/rest/Redirect.html
index 02ce7e6..95dee04 100644
--- a/content/site/apidocs/org/apache/juneau/rest/Redirect.html
+++ b/content/site/apidocs/org/apache/juneau/rest/Redirect.html
@@ -49,7 +49,7 @@ var activeTableTab = "activeTableTab";
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/juneau/rest/ReaderResource.Builder.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">Prev Class</span></a></li>
-<li><a href="../../../../org/apache/juneau/rest/ResponseHandler.html" title="interface in org.apache.juneau.rest"><span class="typeNameLink">Next Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/rest/RequestBody.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/juneau/rest/Redirect.html" target="_top">Frames</a></li>
@@ -388,7 +388,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/juneau/rest/ReaderResource.Builder.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">Prev Class</span></a></li>
-<li><a href="../../../../org/apache/juneau/rest/ResponseHandler.html" title="interface in org.apache.juneau.rest"><span class="typeNameLink">Next Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/rest/RequestBody.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/juneau/rest/Redirect.html" target="_top">Frames</a></li>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/rest/RequestBody.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/RequestBody.html b/content/site/apidocs/org/apache/juneau/rest/RequestBody.html
new file mode 100644
index 0000000..ccb5625
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/rest/RequestBody.html
@@ -0,0 +1,577 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>RequestBody (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="RequestBody (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10};
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/rest/Redirect.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/rest/RequestFormData.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/rest/RequestBody.html" target="_top">Frames</a></li>
+<li><a href="RequestBody.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.rest</div>
+<h2 title="Class RequestBody" class="title">Class RequestBody</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.rest.RequestBody</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public class <a href="../../../../src-html/org/apache/juneau/rest/RequestBody.html#line.34">RequestBody</a>
+extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
+<div class="block">Contains the body of the HTTP request.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code><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/rest/RequestBody.html#asHex--">asHex</a></span>()</code>
+<div class="block">Returns the HTTP body content as a simple hexadecimal character string.</div>
+</td>
+</tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code><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/rest/RequestBody.html#asString--">asString</a></span>()</code>
+<div class="block">Returns the HTTP body content as a plain string.</div>
+</td>
+</tr>
+<tr id="i2" class="altColor">
+<td class="colFirst"><code><T> T</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestBody.html#asType-java.lang.Class-">asType</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type)</code>
+<div class="block">Reads the input from the HTTP request as JSON, XML, or HTML and converts the input to a POJO.</div>
+</td>
+</tr>
+<tr id="i3" class="rowColor">
+<td class="colFirst"><code><T> T</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestBody.html#asType-java.lang.reflect.Type-java.lang.reflect.Type...-">asType</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> type,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>... args)</code>
+<div class="block">Reads the input from the HTTP request as JSON, XML, or HTML and converts the input to a POJO.</div>
+</td>
+</tr>
+<tr id="i4" class="altColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestBody.html#getContentLength--">getContentLength</a></span>()</code>
+<div class="block">Returns the content length of the body.</div>
+</td>
+</tr>
+<tr id="i5" class="rowColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletInputStream.html?is-external=true" title="class or interface in javax.servlet">ServletInputStream</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestBody.html#getInputStream--">getInputStream</a></span>()</code>
+<div class="block">Returns the HTTP body content as an <a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a>.</div>
+</td>
+</tr>
+<tr id="i6" class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/parser/Parser.html" title="class in org.apache.juneau.parser">Parser</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestBody.html#getParser--">getParser</a></span>()</code>
+<div class="block">Returns the parser matching the request <code>Content-Type</code> header.</div>
+</td>
+</tr>
+<tr id="i7" class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/parser/ParserMatch.html" title="class in org.apache.juneau.parser">ParserMatch</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestBody.html#getParserMatch--">getParserMatch</a></span>()</code>
+<div class="block">Returns the parser and media type matching the request <code>Content-Type</code> header.</div>
+</td>
+</tr>
+<tr id="i8" class="altColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/BufferedReader.html?is-external=true" title="class or interface in java.io">BufferedReader</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestBody.html#getReader--">getReader</a></span>()</code>
+<div class="block">Returns the HTTP body content as a <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io"><code>Reader</code></a>.</div>
+</td>
+</tr>
+<tr id="i9" class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/parser/ReaderParser.html" title="class in org.apache.juneau.parser">ReaderParser</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestBody.html#getReaderParser--">getReaderParser</a></span>()</code>
+<div class="block">Returns the reader parser matching the request <code>Content-Type</code> header.</div>
+</td>
+</tr>
+<tr id="i10" class="altColor">
+<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RequestBody.html#getUnbufferedReader--">getUnbufferedReader</a></span>()</code>
+<div class="block">Same as <a href="../../../../org/apache/juneau/rest/RequestBody.html#getReader--"><code>getReader()</code></a>, but doesn't encapsulate the result in a <a href="http://docs.oracle.com/javase/7/docs/api/java/io/BufferedReader.html?is-external=true" title="class or interface in java.io"><code>BufferedReader</code></a>;</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="asType-java.lang.Class-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>asType</h4>
+<pre>public <T> T <a href="../../../../src-html/org/apache/juneau/rest/RequestBody.html#line.161">asType</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type)
+ throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
+ <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
+<div class="block">Reads the input from the HTTP request as JSON, XML, or HTML and converts the input to a POJO.
+ <p>
+ If <code>allowHeaderParams</code> init parameter is <jk>true</jk>, then first looks for <code>&body=xxx</code> in the URL
+ query string.
+ <p>
+ If type is <jk>null</jk> or <code>Object.<jk>class</jk></code>, then the actual type will be determined
+ automatically based on the following input:
+ <table class='styled'>
+ <tr><th>Type</th><th>JSON input</th><th>XML input</th><th>Return type</th></tr>
+ <tr>
+ <td>object</td>
+ <td><js>"{...}"</js></td>
+ <td><code><xt><object></xt>...<xt></object></xt></code><br><code><xt><x</xt> <xa>type</xa>=<xs>'object'</xs><xt>></xt>...<xt></x></xt></code></td>
+ <td><a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau"><code>ObjectMap</code></a></td>
+ </tr>
+ <tr>
+ <td>array</td>
+ <td><js>"[...]"</js></td>
+ <td><code><xt><array></xt>...<xt></array></xt></code><br><code><xt><x</xt> <xa>type</xa>=<xs>'array'</xs><xt>></xt>...<xt></x></xt></code></td>
+ <td><a href="../../../../org/apache/juneau/ObjectList.html" title="class in org.apache.juneau"><code>ObjectList</code></a></td>
+ </tr>
+ <tr>
+ <td>string</td>
+ <td><js>"'...'"</js></td>
+ <td><code><xt><string></xt>...<xt></string></xt></code><br><code><xt><x</xt> <xa>type</xa>=<xs>'string'</xs><xt>></xt>...<xt></x></xt></code></td>
+ <td><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang"><code>String</code></a></td>
+ </tr>
+ <tr>
+ <td>number</td>
+ <td><code>123</code></td>
+ <td><code><xt><number></xt>123<xt></number></xt></code><br><code><xt><x</xt> <xa>type</xa>=<xs>'number'</xs><xt>></xt>...<xt></x></xt></code></td>
+ <td><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang"><code>Number</code></a></td>
+ </tr>
+ <tr>
+ <td>boolean</td>
+ <td><jk>true</jk></td>
+ <td><code><xt><boolean></xt>true<xt></boolean></xt></code><br><code><xt><x</xt> <xa>type</xa>=<xs>'boolean'</xs><xt>></xt>...<xt></x></xt></code></td>
+ <td><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang"><code>Boolean</code></a></td>
+ </tr>
+ <tr>
+ <td>null</td>
+ <td><jk>null</jk> or blank</td>
+ <td><code><xt><null/></xt></code> or blank<br><code><xt><x</xt> <xa>type</xa>=<xs>'null'</xs><xt>/></xt></code></td>
+ <td><jk>null</jk></td>
+ </tr>
+ </table>
+ <p>
+ Refer to <a class="doclink" href="../../../../overview-summary.html#Core.PojoCategories">POJO Categories</a> for
+ a complete definition of supported POJOs.
+ <p>
+ <h5 class='section'>Examples:</h5>
+ <p class='bcode'>
+ <jc>// Parse into an integer.</jc>
+ <jk>int</jk> body = req.getBody(<jk>int</jk>.<jk>class</jk>);
+
+ <jc>// Parse into an int array.</jc>
+ <jk>int</jk>[] body = req.getBody(<jk>int</jk>[].<jk>class</jk>);
+
+ <jc>// Parse into a bean.</jc>
+ MyBean body = req.getBody(MyBean.<jk>class</jk>);
+
+ <jc>// Parse into a linked-list of objects.</jc>
+ List body = req.getBody(LinkedList.<jk>class</jk>);
+
+ <jc>// Parse into a map of object keys/values.</jc>
+ Map body = req.getBody(TreeMap.<jk>class</jk>);
+ </p></div>
+<dl>
+<dt><span class="paramLabel">Type Parameters:</span></dt>
+<dd><code>T</code> - The class type to instantiate.</dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>type</code> - The class type to instantiate.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The input parsed to a POJO.</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - If a problem occurred trying to read from the reader.</dd>
+<dd><code><a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></code> - If the input contains a syntax error or is malformed for the requested <code>Accept</code>
+ header or is not valid for the specified type.</dd>
+</dl>
+</li>
+</ul>
+<a name="asType-java.lang.reflect.Type-java.lang.reflect.Type...-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>asType</h4>
+<pre>public <T> T <a href="../../../../src-html/org/apache/juneau/rest/RequestBody.html#line.193">asType</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> type,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>... args)</pre>
+<div class="block">Reads the input from the HTTP request as JSON, XML, or HTML and converts the input to a POJO.
+ <p>
+ <h5 class='section'>Examples:</h5>
+ <p class='bcode'>
+ <jc>// Parse into a linked-list of strings.</jc>
+ List<String> body = req.getBody(LinkedList.<jk>class</jk>, String.<jk>class</jk>);
+
+ <jc>// Parse into a linked-list of linked-lists of strings.</jc>
+ List<List<String>> body = req.getBody(LinkedList.<jk>class</jk>, LinkedList.<jk>class</jk>, String.<jk>class</jk>);
+
+ <jc>// Parse into a map of string keys/values.</jc>
+ Map<String,String> body = req.getBody(TreeMap.<jk>class</jk>, String.<jk>class</jk>, String.<jk>class</jk>);
+
+ <jc>// Parse into a map containing string keys and values of lists containing beans.</jc>
+ Map<String,List<MyBean>> body = req.getBody(TreeMap.<jk>class</jk>, String.<jk>class</jk>, List.<jk>class</jk>, MyBean.<jk>class</jk>);
+ </p></div>
+<dl>
+<dt><span class="paramLabel">Type Parameters:</span></dt>
+<dd><code>T</code> - The class type to instantiate.</dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>type</code> - The type of object to create.
+ <br>Can be any of the following: <a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/ParameterizedType.html?is-external=true" title="class or interface in java.lang.reflect"><code>ParameterizedType</code></a>,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/GenericArrayType.html?is-external=true" title="class or interface in java.lang.reflect"><code>GenericArrayType</code></a></dd>
+<dd><code>args</code> - The type arguments of the class if it's a collection or map.
+ <br>Can be any of the following: <a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/ParameterizedType.html?is-external=true" title="class or interface in java.lang.reflect"><code>ParameterizedType</code></a>,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/GenericArrayType.html?is-external=true" title="class or interface in java.lang.reflect"><code>GenericArrayType</code></a>
+ <br>Ignored if the main type is not a map or collection.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The input parsed to a POJO.</dd>
+</dl>
+</li>
+</ul>
+<a name="asString--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>asString</h4>
+<pre>public <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/rest/RequestBody.html#line.206">asString</a>()
+ throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<div class="block">Returns the HTTP body content as a plain string.
+ <p>
+ If <code>allowHeaderParams</code> init parameter is true, then first looks for <code>&body=xxx</code> in the URL query
+ string.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The incoming input from the connection as a plain string.</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - If a problem occurred trying to read from the reader.</dd>
+</dl>
+</li>
+</ul>
+<a name="asHex--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>asHex</h4>
+<pre>public <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/rest/RequestBody.html#line.218">asHex</a>()
+ throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<div class="block">Returns the HTTP body content as a simple hexadecimal character string.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The incoming input from the connection as a plain string.</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - If a problem occurred trying to read from the reader.</dd>
+</dl>
+</li>
+</ul>
+<a name="getReader--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getReader</h4>
+<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/io/BufferedReader.html?is-external=true" title="class or interface in java.io">BufferedReader</a> <a href="../../../../src-html/org/apache/juneau/rest/RequestBody.html#line.234">getReader</a>()
+ throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<div class="block">Returns the HTTP body content as a <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io"><code>Reader</code></a>.
+ <p>
+ If <code>allowHeaderParams</code> init parameter is true, then first looks for <code>&body=xxx</code> in the URL query
+ string.
+ <p>
+ Automatically handles GZipped input streams.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The body contents as a reader.</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="getUnbufferedReader--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getUnbufferedReader</h4>
+<pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</a> <a href="../../../../src-html/org/apache/juneau/rest/RequestBody.html#line.249">getUnbufferedReader</a>()
+ throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<div class="block">Same as <a href="../../../../org/apache/juneau/rest/RequestBody.html#getReader--"><code>getReader()</code></a>, but doesn't encapsulate the result in a <a href="http://docs.oracle.com/javase/7/docs/api/java/io/BufferedReader.html?is-external=true" title="class or interface in java.io"><code>BufferedReader</code></a>;</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>An unbuffered reader.</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="getInputStream--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getInputStream</h4>
+<pre>public <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletInputStream.html?is-external=true" title="class or interface in javax.servlet">ServletInputStream</a> <a href="../../../../src-html/org/apache/juneau/rest/RequestBody.html#line.264">getInputStream</a>()
+ throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<div class="block">Returns the HTTP body content as an <a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a>.
+ <p>
+ Automatically handles GZipped input streams.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The negotiated input stream.</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - If any error occurred while trying to get the input stream or wrap it
+ in the GZIP wrapper.</dd>
+</dl>
+</li>
+</ul>
+<a name="getParserMatch--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getParserMatch</h4>
+<pre>public <a href="../../../../org/apache/juneau/parser/ParserMatch.html" title="class in org.apache.juneau.parser">ParserMatch</a> <a href="../../../../src-html/org/apache/juneau/rest/RequestBody.html#line.286">getParserMatch</a>()</pre>
+<div class="block">Returns the parser and media type matching the request <code>Content-Type</code> header.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parser matching the request <code>Content-Type</code> header, or <jk>null</jk>
+ if no matching parser was found.
+ Includes the matching media type.</dd>
+</dl>
+</li>
+</ul>
+<a name="getParser--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getParser</h4>
+<pre>public <a href="../../../../org/apache/juneau/parser/Parser.html" title="class in org.apache.juneau.parser">Parser</a> <a href="../../../../src-html/org/apache/juneau/rest/RequestBody.html#line.309">getParser</a>()</pre>
+<div class="block">Returns the parser matching the request <code>Content-Type</code> header.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parser matching the request <code>Content-Type</code> header, or <jk>null</jk>
+ if no matching parser was found.</dd>
+</dl>
+</li>
+</ul>
+<a name="getReaderParser--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getReaderParser</h4>
+<pre>public <a href="../../../../org/apache/juneau/parser/ReaderParser.html" title="class in org.apache.juneau.parser">ReaderParser</a> <a href="../../../../src-html/org/apache/juneau/rest/RequestBody.html#line.320">getReaderParser</a>()</pre>
+<div class="block">Returns the reader parser matching the request <code>Content-Type</code> header.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The reader parser matching the request <code>Content-Type</code> header, or <jk>null</jk>
+ if no matching reader parser was found, or the matching parser was an input stream parser.</dd>
+</dl>
+</li>
+</ul>
+<a name="getContentLength--">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>getContentLength</h4>
+<pre>public int <a href="../../../../src-html/org/apache/juneau/rest/RequestBody.html#line.402">getContentLength</a>()</pre>
+<div class="block">Returns the content length of the body.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The content length of the body in bytes.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/rest/Redirect.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/rest/RequestFormData.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/rest/RequestBody.html" target="_top">Frames</a></li>
+<li><a href="RequestBody.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
[16/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/Server.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/Server.html b/content/site/apidocs/src-html/org/apache/juneau/http/Server.html
new file mode 100644
index 0000000..1ab49c0
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/Server.html
@@ -0,0 +1,137 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Represents a parsed <l>Server</l> HTTP response header.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * <p><a name="line.17"></a>
+<span class="sourceLineNo">018</span> * A name for the server.<a name="line.18"></a>
+<span class="sourceLineNo">019</span> *<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * <h6 class='figure'>Example</h6><a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p class='bcode'><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * Server: Apache/2.4.1 (Unix)<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * </p><a name="line.23"></a>
+<span class="sourceLineNo">024</span> *<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * <h6 class='topic'>RFC2616 Specification</h6><a name="line.25"></a>
+<span class="sourceLineNo">026</span> *<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * The Server response-header field contains information about the software used by the origin server to handle the<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * request.<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * The field can contain multiple product tokens (section 3.8) and comments identifying the server and any significant<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * subproducts.<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * The product tokens are listed in order of their significance for identifying the application.<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * <p class='bcode'><a name="line.32"></a>
+<span class="sourceLineNo">033</span> * Server = "Server" ":" 1*( product | comment )<a name="line.33"></a>
+<span class="sourceLineNo">034</span> * </p><a name="line.34"></a>
+<span class="sourceLineNo">035</span> * <p><a name="line.35"></a>
+<span class="sourceLineNo">036</span> * Example:<a name="line.36"></a>
+<span class="sourceLineNo">037</span> * <p class='bcode'><a name="line.37"></a>
+<span class="sourceLineNo">038</span> * Server: CERN/3.0 libwww/2.17<a name="line.38"></a>
+<span class="sourceLineNo">039</span> * </p><a name="line.39"></a>
+<span class="sourceLineNo">040</span> * <p><a name="line.40"></a>
+<span class="sourceLineNo">041</span> * If the response is being forwarded through a proxy, the proxy application MUST NOT modify the Server response-header.<a name="line.41"></a>
+<span class="sourceLineNo">042</span> * Instead, it SHOULD include a Via field (as described in section 14.45).<a name="line.42"></a>
+<span class="sourceLineNo">043</span> * <p><a name="line.43"></a>
+<span class="sourceLineNo">044</span> * Note: Revealing the specific software version of the server might allow the server machine to become more vulnerable<a name="line.44"></a>
+<span class="sourceLineNo">045</span> * to attacks against software that is known to contain security holes.<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * Server implementors are encouraged to make this field a configurable option.<a name="line.46"></a>
+<span class="sourceLineNo">047</span> */<a name="line.47"></a>
+<span class="sourceLineNo">048</span>public final class Server extends HeaderString {<a name="line.48"></a>
+<span class="sourceLineNo">049</span><a name="line.49"></a>
+<span class="sourceLineNo">050</span> /**<a name="line.50"></a>
+<span class="sourceLineNo">051</span> * Returns a parsed <code>Server</code> header.<a name="line.51"></a>
+<span class="sourceLineNo">052</span> *<a name="line.52"></a>
+<span class="sourceLineNo">053</span> * @param value The <code>Server</code> header string.<a name="line.53"></a>
+<span class="sourceLineNo">054</span> * @return The parsed <code>Server</code> header, or <jk>null</jk> if the string was null.<a name="line.54"></a>
+<span class="sourceLineNo">055</span> */<a name="line.55"></a>
+<span class="sourceLineNo">056</span> public static Server forString(String value) {<a name="line.56"></a>
+<span class="sourceLineNo">057</span> if (value == null)<a name="line.57"></a>
+<span class="sourceLineNo">058</span> return null;<a name="line.58"></a>
+<span class="sourceLineNo">059</span> return new Server(value);<a name="line.59"></a>
+<span class="sourceLineNo">060</span> }<a name="line.60"></a>
+<span class="sourceLineNo">061</span><a name="line.61"></a>
+<span class="sourceLineNo">062</span> private Server(String value) {<a name="line.62"></a>
+<span class="sourceLineNo">063</span> super(value);<a name="line.63"></a>
+<span class="sourceLineNo">064</span> }<a name="line.64"></a>
+<span class="sourceLineNo">065</span>}<a name="line.65"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/SimpleRange.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/SimpleRange.html b/content/site/apidocs/src-html/org/apache/juneau/http/SimpleRange.html
new file mode 100644
index 0000000..e373356
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/SimpleRange.html
@@ -0,0 +1,348 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>import java.util.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span>import java.util.Map.*;<a name="line.16"></a>
+<span class="sourceLineNo">017</span><a name="line.17"></a>
+<span class="sourceLineNo">018</span>import org.apache.juneau.annotation.*;<a name="line.18"></a>
+<span class="sourceLineNo">019</span>import org.apache.juneau.internal.*;<a name="line.19"></a>
+<span class="sourceLineNo">020</span><a name="line.20"></a>
+<span class="sourceLineNo">021</span>/**<a name="line.21"></a>
+<span class="sourceLineNo">022</span> * Represents a single value in a comma-delimited header value that optionally contains a quality<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * metric for comparison and extension parameters.<a name="line.23"></a>
+<span class="sourceLineNo">024</span> * <p><a name="line.24"></a>
+<span class="sourceLineNo">025</span> * Similar in concept to {@link MediaTypeRange} except instead of media types (e.g. <js>"text/json"</js>),<a name="line.25"></a>
+<span class="sourceLineNo">026</span> * it's a simple type (e.g. <js>"iso-8601"</js>).<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * <p><a name="line.27"></a>
+<span class="sourceLineNo">028</span> * An example of a type range is a value in an <code>Accept-Encoding</code> header.<a name="line.28"></a>
+<span class="sourceLineNo">029</span> */<a name="line.29"></a>
+<span class="sourceLineNo">030</span>@BeanIgnore<a name="line.30"></a>
+<span class="sourceLineNo">031</span>public final class SimpleRange implements Comparable<SimpleRange> {<a name="line.31"></a>
+<span class="sourceLineNo">032</span><a name="line.32"></a>
+<span class="sourceLineNo">033</span> private static final SimpleRange[] DEFAULT = new SimpleRange[]{new SimpleRange("*")};<a name="line.33"></a>
+<span class="sourceLineNo">034</span><a name="line.34"></a>
+<span class="sourceLineNo">035</span> private final String type;<a name="line.35"></a>
+<span class="sourceLineNo">036</span> private final Float qValue;<a name="line.36"></a>
+<span class="sourceLineNo">037</span> private final Map<String,Set<String>> extensions;<a name="line.37"></a>
+<span class="sourceLineNo">038</span><a name="line.38"></a>
+<span class="sourceLineNo">039</span> /**<a name="line.39"></a>
+<span class="sourceLineNo">040</span> * Parses a header such as an <code>Accept-Encoding</code> header value into an array of type ranges.<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * <p><a name="line.41"></a>
+<span class="sourceLineNo">042</span> * The syntax expected to be found in the referenced <code>value</code> complies with the syntax described in RFC2616, Section 14.1, as described below:<a name="line.42"></a>
+<span class="sourceLineNo">043</span> * <p class='bcode'><a name="line.43"></a>
+<span class="sourceLineNo">044</span> * Accept-Encoding = "Accept-Encoding" ":"<a name="line.44"></a>
+<span class="sourceLineNo">045</span> * 1#( codings [ ";" "q" "=" qvalue ] )<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * codings = ( content-coding | "*" )<a name="line.46"></a>
+<span class="sourceLineNo">047</span> * </p><a name="line.47"></a>
+<span class="sourceLineNo">048</span> * <p><a name="line.48"></a>
+<span class="sourceLineNo">049</span> * Examples of its use are:<a name="line.49"></a>
+<span class="sourceLineNo">050</span> * <p class='bcode'><a name="line.50"></a>
+<span class="sourceLineNo">051</span> * Accept-Encoding: compress, gzip<a name="line.51"></a>
+<span class="sourceLineNo">052</span> * Accept-Encoding:<a name="line.52"></a>
+<span class="sourceLineNo">053</span> * Accept-Encoding: *<a name="line.53"></a>
+<span class="sourceLineNo">054</span> * Accept-Encoding: compress;q=0.5, gzip;q=1.0<a name="line.54"></a>
+<span class="sourceLineNo">055</span> * Accept-Encoding: gzip;q=1.0, identity; q=0.5, *;q=0<a name="line.55"></a>
+<span class="sourceLineNo">056</span> * </p><a name="line.56"></a>
+<span class="sourceLineNo">057</span> *<a name="line.57"></a>
+<span class="sourceLineNo">058</span> * @param value The value to parse. If <jk>null</jk> or empty, returns a single <code>TypeRange</code> is returned that represents all types.<a name="line.58"></a>
+<span class="sourceLineNo">059</span> * @return The type ranges described by the string.<a name="line.59"></a>
+<span class="sourceLineNo">060</span> * <br>The ranges are sorted such that the most acceptable type is available at ordinal position <js>'0'</js>, and the least acceptable at position n-1.<a name="line.60"></a>
+<span class="sourceLineNo">061</span> */<a name="line.61"></a>
+<span class="sourceLineNo">062</span> public static SimpleRange[] parse(String value) {<a name="line.62"></a>
+<span class="sourceLineNo">063</span><a name="line.63"></a>
+<span class="sourceLineNo">064</span> if (value == null || value.length() == 0)<a name="line.64"></a>
+<span class="sourceLineNo">065</span> return DEFAULT;<a name="line.65"></a>
+<span class="sourceLineNo">066</span><a name="line.66"></a>
+<span class="sourceLineNo">067</span> if (value.indexOf(',') == -1)<a name="line.67"></a>
+<span class="sourceLineNo">068</span> return new SimpleRange[]{new SimpleRange(value)};<a name="line.68"></a>
+<span class="sourceLineNo">069</span><a name="line.69"></a>
+<span class="sourceLineNo">070</span> Set<SimpleRange> ranges = new TreeSet<SimpleRange>();<a name="line.70"></a>
+<span class="sourceLineNo">071</span><a name="line.71"></a>
+<span class="sourceLineNo">072</span> for (String r : StringUtils.split(value, ',')) {<a name="line.72"></a>
+<span class="sourceLineNo">073</span> r = r.trim();<a name="line.73"></a>
+<span class="sourceLineNo">074</span><a name="line.74"></a>
+<span class="sourceLineNo">075</span> if (r.isEmpty())<a name="line.75"></a>
+<span class="sourceLineNo">076</span> continue;<a name="line.76"></a>
+<span class="sourceLineNo">077</span><a name="line.77"></a>
+<span class="sourceLineNo">078</span> ranges.add(new SimpleRange(r));<a name="line.78"></a>
+<span class="sourceLineNo">079</span> }<a name="line.79"></a>
+<span class="sourceLineNo">080</span><a name="line.80"></a>
+<span class="sourceLineNo">081</span> return ranges.toArray(new SimpleRange[ranges.size()]);<a name="line.81"></a>
+<span class="sourceLineNo">082</span> }<a name="line.82"></a>
+<span class="sourceLineNo">083</span><a name="line.83"></a>
+<span class="sourceLineNo">084</span> @SuppressWarnings("unchecked")<a name="line.84"></a>
+<span class="sourceLineNo">085</span> private SimpleRange(String token) {<a name="line.85"></a>
+<span class="sourceLineNo">086</span> Builder b = new Builder(token);<a name="line.86"></a>
+<span class="sourceLineNo">087</span> this.type = b.type;<a name="line.87"></a>
+<span class="sourceLineNo">088</span> this.qValue = b.qValue;<a name="line.88"></a>
+<span class="sourceLineNo">089</span> this.extensions = (b.extensions == null ? Collections.EMPTY_MAP : Collections.unmodifiableMap(b.extensions));<a name="line.89"></a>
+<span class="sourceLineNo">090</span> }<a name="line.90"></a>
+<span class="sourceLineNo">091</span><a name="line.91"></a>
+<span class="sourceLineNo">092</span> private static class Builder {<a name="line.92"></a>
+<span class="sourceLineNo">093</span> private String type;<a name="line.93"></a>
+<span class="sourceLineNo">094</span> private Float qValue = 1f;<a name="line.94"></a>
+<span class="sourceLineNo">095</span> private Map<String,Set<String>> extensions;<a name="line.95"></a>
+<span class="sourceLineNo">096</span><a name="line.96"></a>
+<span class="sourceLineNo">097</span> private Builder(String token) {<a name="line.97"></a>
+<span class="sourceLineNo">098</span><a name="line.98"></a>
+<span class="sourceLineNo">099</span> token = token.trim();<a name="line.99"></a>
+<span class="sourceLineNo">100</span><a name="line.100"></a>
+<span class="sourceLineNo">101</span> int i = token.indexOf(";q=");<a name="line.101"></a>
+<span class="sourceLineNo">102</span><a name="line.102"></a>
+<span class="sourceLineNo">103</span> if (i == -1) {<a name="line.103"></a>
+<span class="sourceLineNo">104</span> type = token;<a name="line.104"></a>
+<span class="sourceLineNo">105</span> return;<a name="line.105"></a>
+<span class="sourceLineNo">106</span> }<a name="line.106"></a>
+<span class="sourceLineNo">107</span><a name="line.107"></a>
+<span class="sourceLineNo">108</span> type = token.substring(0, i);<a name="line.108"></a>
+<span class="sourceLineNo">109</span><a name="line.109"></a>
+<span class="sourceLineNo">110</span> String[] tokens = token.substring(i+1).split(";");<a name="line.110"></a>
+<span class="sourceLineNo">111</span><a name="line.111"></a>
+<span class="sourceLineNo">112</span> // Only the type of the range is specified<a name="line.112"></a>
+<span class="sourceLineNo">113</span> if (tokens.length > 0) {<a name="line.113"></a>
+<span class="sourceLineNo">114</span> boolean isInExtensions = false;<a name="line.114"></a>
+<span class="sourceLineNo">115</span> for (int j = 0; j < tokens.length; j++) {<a name="line.115"></a>
+<span class="sourceLineNo">116</span> String[] parm = tokens[j].split("=");<a name="line.116"></a>
+<span class="sourceLineNo">117</span> if (parm.length == 2) {<a name="line.117"></a>
+<span class="sourceLineNo">118</span> String k = parm[0], v = parm[1];<a name="line.118"></a>
+<span class="sourceLineNo">119</span> if (isInExtensions) {<a name="line.119"></a>
+<span class="sourceLineNo">120</span> if (extensions == null)<a name="line.120"></a>
+<span class="sourceLineNo">121</span> extensions = new TreeMap<String,Set<String>>();<a name="line.121"></a>
+<span class="sourceLineNo">122</span> if (! extensions.containsKey(k))<a name="line.122"></a>
+<span class="sourceLineNo">123</span> extensions.put(k, new TreeSet<String>());<a name="line.123"></a>
+<span class="sourceLineNo">124</span> extensions.get(k).add(v);<a name="line.124"></a>
+<span class="sourceLineNo">125</span> } else if (k.equals("q")) {<a name="line.125"></a>
+<span class="sourceLineNo">126</span> qValue = new Float(v);<a name="line.126"></a>
+<span class="sourceLineNo">127</span> isInExtensions = true;<a name="line.127"></a>
+<span class="sourceLineNo">128</span> }<a name="line.128"></a>
+<span class="sourceLineNo">129</span> }<a name="line.129"></a>
+<span class="sourceLineNo">130</span> }<a name="line.130"></a>
+<span class="sourceLineNo">131</span> }<a name="line.131"></a>
+<span class="sourceLineNo">132</span> }<a name="line.132"></a>
+<span class="sourceLineNo">133</span> }<a name="line.133"></a>
+<span class="sourceLineNo">134</span><a name="line.134"></a>
+<span class="sourceLineNo">135</span> /**<a name="line.135"></a>
+<span class="sourceLineNo">136</span> * Returns the type enclosed by this type range.<a name="line.136"></a>
+<span class="sourceLineNo">137</span> *<a name="line.137"></a>
+<span class="sourceLineNo">138</span> * <h5 class='section'>Examples:</h5><a name="line.138"></a>
+<span class="sourceLineNo">139</span> * <ul><a name="line.139"></a>
+<span class="sourceLineNo">140</span> * <li><js>"compress"</js><a name="line.140"></a>
+<span class="sourceLineNo">141</span> * <li><js>"gzip"</js><a name="line.141"></a>
+<span class="sourceLineNo">142</span> * <li><js>"*"</js><a name="line.142"></a>
+<span class="sourceLineNo">143</span> * </ul><a name="line.143"></a>
+<span class="sourceLineNo">144</span> *<a name="line.144"></a>
+<span class="sourceLineNo">145</span> * @return The type of this type range, lowercased, never <jk>null</jk>.<a name="line.145"></a>
+<span class="sourceLineNo">146</span> */<a name="line.146"></a>
+<span class="sourceLineNo">147</span> public String getType() {<a name="line.147"></a>
+<span class="sourceLineNo">148</span> return type;<a name="line.148"></a>
+<span class="sourceLineNo">149</span> }<a name="line.149"></a>
+<span class="sourceLineNo">150</span><a name="line.150"></a>
+<span class="sourceLineNo">151</span> /**<a name="line.151"></a>
+<span class="sourceLineNo">152</span> * Returns the <js>'q'</js> (quality) value for this type, as described in Section 3.9 of RFC2616.<a name="line.152"></a>
+<span class="sourceLineNo">153</span> * <p><a name="line.153"></a>
+<span class="sourceLineNo">154</span> * The quality value is a float between <code>0.0</code> (unacceptable) and <code>1.0</code> (most acceptable).<a name="line.154"></a>
+<span class="sourceLineNo">155</span> * <p><a name="line.155"></a>
+<span class="sourceLineNo">156</span> * If 'q' value doesn't make sense for the context (e.g. this range was extracted from a <js>"content-*"</js> header, as opposed to <js>"accept-*"</js><a name="line.156"></a>
+<span class="sourceLineNo">157</span> * header, its value will always be <js>"1"</js>.<a name="line.157"></a>
+<span class="sourceLineNo">158</span> *<a name="line.158"></a>
+<span class="sourceLineNo">159</span> * @return The 'q' value for this type, never <jk>null</jk>.<a name="line.159"></a>
+<span class="sourceLineNo">160</span> */<a name="line.160"></a>
+<span class="sourceLineNo">161</span> public Float getQValue() {<a name="line.161"></a>
+<span class="sourceLineNo">162</span> return qValue;<a name="line.162"></a>
+<span class="sourceLineNo">163</span> }<a name="line.163"></a>
+<span class="sourceLineNo">164</span><a name="line.164"></a>
+<span class="sourceLineNo">165</span> /**<a name="line.165"></a>
+<span class="sourceLineNo">166</span> * Returns the optional set of custom extensions defined for this type.<a name="line.166"></a>
+<span class="sourceLineNo">167</span> * <p><a name="line.167"></a>
+<span class="sourceLineNo">168</span> * Values are lowercase and never <jk>null</jk>.<a name="line.168"></a>
+<span class="sourceLineNo">169</span> *<a name="line.169"></a>
+<span class="sourceLineNo">170</span> * @return The optional list of extensions, never <jk>null</jk>.<a name="line.170"></a>
+<span class="sourceLineNo">171</span> */<a name="line.171"></a>
+<span class="sourceLineNo">172</span> public Map<String,Set<String>> getExtensions() {<a name="line.172"></a>
+<span class="sourceLineNo">173</span> return extensions;<a name="line.173"></a>
+<span class="sourceLineNo">174</span> }<a name="line.174"></a>
+<span class="sourceLineNo">175</span><a name="line.175"></a>
+<span class="sourceLineNo">176</span> /**<a name="line.176"></a>
+<span class="sourceLineNo">177</span> * Provides a string representation of this media range, suitable for use as an <code>Accept</code> header value.<a name="line.177"></a>
+<span class="sourceLineNo">178</span> * <p><a name="line.178"></a>
+<span class="sourceLineNo">179</span> * The literal text generated will be all lowercase.<a name="line.179"></a>
+<span class="sourceLineNo">180</span> *<a name="line.180"></a>
+<span class="sourceLineNo">181</span> * @return A media range suitable for use as an Accept header value, never <code>null</code>.<a name="line.181"></a>
+<span class="sourceLineNo">182</span> */<a name="line.182"></a>
+<span class="sourceLineNo">183</span> @Override /* Object */<a name="line.183"></a>
+<span class="sourceLineNo">184</span> public String toString() {<a name="line.184"></a>
+<span class="sourceLineNo">185</span> StringBuffer sb = new StringBuffer().append(type);<a name="line.185"></a>
+<span class="sourceLineNo">186</span><a name="line.186"></a>
+<span class="sourceLineNo">187</span> // '1' is equivalent to specifying no qValue. If there's no extensions, then we won't include a qValue.<a name="line.187"></a>
+<span class="sourceLineNo">188</span> if (qValue.floatValue() == 1.0) {<a name="line.188"></a>
+<span class="sourceLineNo">189</span> if (! extensions.isEmpty()) {<a name="line.189"></a>
+<span class="sourceLineNo">190</span> sb.append(";q=").append(qValue);<a name="line.190"></a>
+<span class="sourceLineNo">191</span> for (Entry<String,Set<String>> e : extensions.entrySet()) {<a name="line.191"></a>
+<span class="sourceLineNo">192</span> String k = e.getKey();<a name="line.192"></a>
+<span class="sourceLineNo">193</span> for (String v : e.getValue())<a name="line.193"></a>
+<span class="sourceLineNo">194</span> sb.append(';').append(k).append('=').append(v);<a name="line.194"></a>
+<span class="sourceLineNo">195</span> }<a name="line.195"></a>
+<span class="sourceLineNo">196</span> }<a name="line.196"></a>
+<span class="sourceLineNo">197</span> } else {<a name="line.197"></a>
+<span class="sourceLineNo">198</span> sb.append(";q=").append(qValue);<a name="line.198"></a>
+<span class="sourceLineNo">199</span> for (Entry<String,Set<String>> e : extensions.entrySet()) {<a name="line.199"></a>
+<span class="sourceLineNo">200</span> String k = e.getKey();<a name="line.200"></a>
+<span class="sourceLineNo">201</span> for (String v : e.getValue())<a name="line.201"></a>
+<span class="sourceLineNo">202</span> sb.append(';').append(k).append('=').append(v);<a name="line.202"></a>
+<span class="sourceLineNo">203</span> }<a name="line.203"></a>
+<span class="sourceLineNo">204</span> }<a name="line.204"></a>
+<span class="sourceLineNo">205</span> return sb.toString();<a name="line.205"></a>
+<span class="sourceLineNo">206</span> }<a name="line.206"></a>
+<span class="sourceLineNo">207</span><a name="line.207"></a>
+<span class="sourceLineNo">208</span> /**<a name="line.208"></a>
+<span class="sourceLineNo">209</span> * Returns <jk>true</jk> if the specified object is also a <code>MediaType</code>, and has the same qValue, type, parameters, and extensions.<a name="line.209"></a>
+<span class="sourceLineNo">210</span> *<a name="line.210"></a>
+<span class="sourceLineNo">211</span> * @return <jk>true</jk> if object is equivalent.<a name="line.211"></a>
+<span class="sourceLineNo">212</span> */<a name="line.212"></a>
+<span class="sourceLineNo">213</span> @Override /* Object */<a name="line.213"></a>
+<span class="sourceLineNo">214</span> public boolean equals(Object o) {<a name="line.214"></a>
+<span class="sourceLineNo">215</span><a name="line.215"></a>
+<span class="sourceLineNo">216</span> if (o == null || !(o instanceof SimpleRange))<a name="line.216"></a>
+<span class="sourceLineNo">217</span> return false;<a name="line.217"></a>
+<span class="sourceLineNo">218</span><a name="line.218"></a>
+<span class="sourceLineNo">219</span> if (this == o)<a name="line.219"></a>
+<span class="sourceLineNo">220</span> return true;<a name="line.220"></a>
+<span class="sourceLineNo">221</span><a name="line.221"></a>
+<span class="sourceLineNo">222</span> SimpleRange o2 = (SimpleRange) o;<a name="line.222"></a>
+<span class="sourceLineNo">223</span> return qValue.equals(o2.qValue)<a name="line.223"></a>
+<span class="sourceLineNo">224</span> && type.equals(o2.type)<a name="line.224"></a>
+<span class="sourceLineNo">225</span> && extensions.equals(o2.extensions);<a name="line.225"></a>
+<span class="sourceLineNo">226</span> }<a name="line.226"></a>
+<span class="sourceLineNo">227</span><a name="line.227"></a>
+<span class="sourceLineNo">228</span> /**<a name="line.228"></a>
+<span class="sourceLineNo">229</span> * Returns a hash based on this instance's <code>media-type</code>.<a name="line.229"></a>
+<span class="sourceLineNo">230</span> *<a name="line.230"></a>
+<span class="sourceLineNo">231</span> * @return A hash based on this instance's <code>media-type</code>.<a name="line.231"></a>
+<span class="sourceLineNo">232</span> */<a name="line.232"></a>
+<span class="sourceLineNo">233</span> @Override /* Object */<a name="line.233"></a>
+<span class="sourceLineNo">234</span> public int hashCode() {<a name="line.234"></a>
+<span class="sourceLineNo">235</span> return type.hashCode();<a name="line.235"></a>
+<span class="sourceLineNo">236</span> }<a name="line.236"></a>
+<span class="sourceLineNo">237</span><a name="line.237"></a>
+<span class="sourceLineNo">238</span> /**<a name="line.238"></a>
+<span class="sourceLineNo">239</span> * Compares two MediaRanges for equality.<a name="line.239"></a>
+<span class="sourceLineNo">240</span> * <p><a name="line.240"></a>
+<span class="sourceLineNo">241</span> * The values are first compared according to <code>qValue</code> values.<a name="line.241"></a>
+<span class="sourceLineNo">242</span> * Should those values be equal, the <code>type</code> is then lexicographically compared (case-insensitive) in ascending order,<a name="line.242"></a>
+<span class="sourceLineNo">243</span> * with the <js>"*"</js> type demoted last in that order.<a name="line.243"></a>
+<span class="sourceLineNo">244</span> * <code>TypeRanges</code> with the same types but with extensions are promoted over those same types with no extensions.<a name="line.244"></a>
+<span class="sourceLineNo">245</span> *<a name="line.245"></a>
+<span class="sourceLineNo">246</span> * @param o The range to compare to. Never <jk>null</jk>.<a name="line.246"></a>
+<span class="sourceLineNo">247</span> */<a name="line.247"></a>
+<span class="sourceLineNo">248</span> @Override /* Comparable */<a name="line.248"></a>
+<span class="sourceLineNo">249</span> public int compareTo(SimpleRange o) {<a name="line.249"></a>
+<span class="sourceLineNo">250</span><a name="line.250"></a>
+<span class="sourceLineNo">251</span> // Compare q-values.<a name="line.251"></a>
+<span class="sourceLineNo">252</span> int qCompare = Float.compare(o.qValue, qValue);<a name="line.252"></a>
+<span class="sourceLineNo">253</span> if (qCompare != 0)<a name="line.253"></a>
+<span class="sourceLineNo">254</span> return qCompare;<a name="line.254"></a>
+<span class="sourceLineNo">255</span><a name="line.255"></a>
+<span class="sourceLineNo">256</span> // Compare media-types.<a name="line.256"></a>
+<span class="sourceLineNo">257</span> // Note that '*' comes alphabetically before letters, so just do a reverse-alphabetical comparison.<a name="line.257"></a>
+<span class="sourceLineNo">258</span> int i = o.type.toString().compareTo(type.toString());<a name="line.258"></a>
+<span class="sourceLineNo">259</span> return i;<a name="line.259"></a>
+<span class="sourceLineNo">260</span> }<a name="line.260"></a>
+<span class="sourceLineNo">261</span><a name="line.261"></a>
+<span class="sourceLineNo">262</span> /**<a name="line.262"></a>
+<span class="sourceLineNo">263</span> * Checks if the specified type matches this range.<a name="line.263"></a>
+<span class="sourceLineNo">264</span> * <p><a name="line.264"></a>
+<span class="sourceLineNo">265</span> * The type will match this range if the range type string is the same or <js>"*"</js>.<a name="line.265"></a>
+<span class="sourceLineNo">266</span> *<a name="line.266"></a>
+<span class="sourceLineNo">267</span> * @param type The type to match against this range.<a name="line.267"></a>
+<span class="sourceLineNo">268</span> * @return <jk>true</jk> if the specified type matches this range.<a name="line.268"></a>
+<span class="sourceLineNo">269</span> */<a name="line.269"></a>
+<span class="sourceLineNo">270</span> @SuppressWarnings("hiding")<a name="line.270"></a>
+<span class="sourceLineNo">271</span> public boolean matches(String type) {<a name="line.271"></a>
+<span class="sourceLineNo">272</span> if (qValue == 0)<a name="line.272"></a>
+<span class="sourceLineNo">273</span> return false;<a name="line.273"></a>
+<span class="sourceLineNo">274</span> return this.type.equals(type) || this.type.equals("*");<a name="line.274"></a>
+<span class="sourceLineNo">275</span> }<a name="line.275"></a>
+<span class="sourceLineNo">276</span>}<a name="line.276"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/StringRange.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/StringRange.html b/content/site/apidocs/src-html/org/apache/juneau/http/StringRange.html
new file mode 100644
index 0000000..4759b1b
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/StringRange.html
@@ -0,0 +1,348 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>import java.util.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span>import java.util.Map.*;<a name="line.16"></a>
+<span class="sourceLineNo">017</span><a name="line.17"></a>
+<span class="sourceLineNo">018</span>import org.apache.juneau.annotation.*;<a name="line.18"></a>
+<span class="sourceLineNo">019</span>import org.apache.juneau.internal.*;<a name="line.19"></a>
+<span class="sourceLineNo">020</span><a name="line.20"></a>
+<span class="sourceLineNo">021</span>/**<a name="line.21"></a>
+<span class="sourceLineNo">022</span> * Represents a single value in a comma-delimited header value that optionally contains a quality<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * metric for comparison and extension parameters.<a name="line.23"></a>
+<span class="sourceLineNo">024</span> * <p><a name="line.24"></a>
+<span class="sourceLineNo">025</span> * Similar in concept to {@link MediaTypeRange} except instead of media types (e.g. <js>"text/json"</js>),<a name="line.25"></a>
+<span class="sourceLineNo">026</span> * it's a simple type (e.g. <js>"iso-8601"</js>).<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * <p><a name="line.27"></a>
+<span class="sourceLineNo">028</span> * An example of a type range is a value in an <code>Accept-Encoding</code> header.<a name="line.28"></a>
+<span class="sourceLineNo">029</span> */<a name="line.29"></a>
+<span class="sourceLineNo">030</span>@BeanIgnore<a name="line.30"></a>
+<span class="sourceLineNo">031</span>public final class StringRange implements Comparable<StringRange> {<a name="line.31"></a>
+<span class="sourceLineNo">032</span><a name="line.32"></a>
+<span class="sourceLineNo">033</span> private static final StringRange[] DEFAULT = new StringRange[]{new StringRange("*")};<a name="line.33"></a>
+<span class="sourceLineNo">034</span><a name="line.34"></a>
+<span class="sourceLineNo">035</span> private final String type;<a name="line.35"></a>
+<span class="sourceLineNo">036</span> private final Float qValue;<a name="line.36"></a>
+<span class="sourceLineNo">037</span> private final Map<String,Set<String>> extensions;<a name="line.37"></a>
+<span class="sourceLineNo">038</span><a name="line.38"></a>
+<span class="sourceLineNo">039</span> /**<a name="line.39"></a>
+<span class="sourceLineNo">040</span> * Parses a header such as an <code>Accept-Encoding</code> header value into an array of type ranges.<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * <p><a name="line.41"></a>
+<span class="sourceLineNo">042</span> * The syntax expected to be found in the referenced <code>value</code> complies with the syntax described in RFC2616, Section 14.1, as described below:<a name="line.42"></a>
+<span class="sourceLineNo">043</span> * <p class='bcode'><a name="line.43"></a>
+<span class="sourceLineNo">044</span> * Accept-Encoding = "Accept-Encoding" ":"<a name="line.44"></a>
+<span class="sourceLineNo">045</span> * 1#( codings [ ";" "q" "=" qvalue ] )<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * codings = ( content-coding | "*" )<a name="line.46"></a>
+<span class="sourceLineNo">047</span> * </p><a name="line.47"></a>
+<span class="sourceLineNo">048</span> * <p><a name="line.48"></a>
+<span class="sourceLineNo">049</span> * Examples of its use are:<a name="line.49"></a>
+<span class="sourceLineNo">050</span> * <p class='bcode'><a name="line.50"></a>
+<span class="sourceLineNo">051</span> * Accept-Encoding: compress, gzip<a name="line.51"></a>
+<span class="sourceLineNo">052</span> * Accept-Encoding:<a name="line.52"></a>
+<span class="sourceLineNo">053</span> * Accept-Encoding: *<a name="line.53"></a>
+<span class="sourceLineNo">054</span> * Accept-Encoding: compress;q=0.5, gzip;q=1.0<a name="line.54"></a>
+<span class="sourceLineNo">055</span> * Accept-Encoding: gzip;q=1.0, identity; q=0.5, *;q=0<a name="line.55"></a>
+<span class="sourceLineNo">056</span> * </p><a name="line.56"></a>
+<span class="sourceLineNo">057</span> *<a name="line.57"></a>
+<span class="sourceLineNo">058</span> * @param value The value to parse. If <jk>null</jk> or empty, returns a single <code>TypeRange</code> is returned that represents all types.<a name="line.58"></a>
+<span class="sourceLineNo">059</span> * @return The type ranges described by the string.<a name="line.59"></a>
+<span class="sourceLineNo">060</span> * <br>The ranges are sorted such that the most acceptable type is available at ordinal position <js>'0'</js>, and the least acceptable at position n-1.<a name="line.60"></a>
+<span class="sourceLineNo">061</span> */<a name="line.61"></a>
+<span class="sourceLineNo">062</span> public static StringRange[] parse(String value) {<a name="line.62"></a>
+<span class="sourceLineNo">063</span><a name="line.63"></a>
+<span class="sourceLineNo">064</span> if (value == null || value.length() == 0)<a name="line.64"></a>
+<span class="sourceLineNo">065</span> return DEFAULT;<a name="line.65"></a>
+<span class="sourceLineNo">066</span><a name="line.66"></a>
+<span class="sourceLineNo">067</span> if (value.indexOf(',') == -1)<a name="line.67"></a>
+<span class="sourceLineNo">068</span> return new StringRange[]{new StringRange(value)};<a name="line.68"></a>
+<span class="sourceLineNo">069</span><a name="line.69"></a>
+<span class="sourceLineNo">070</span> Set<StringRange> ranges = new TreeSet<StringRange>();<a name="line.70"></a>
+<span class="sourceLineNo">071</span><a name="line.71"></a>
+<span class="sourceLineNo">072</span> for (String r : StringUtils.split(value, ',')) {<a name="line.72"></a>
+<span class="sourceLineNo">073</span> r = r.trim();<a name="line.73"></a>
+<span class="sourceLineNo">074</span><a name="line.74"></a>
+<span class="sourceLineNo">075</span> if (r.isEmpty())<a name="line.75"></a>
+<span class="sourceLineNo">076</span> continue;<a name="line.76"></a>
+<span class="sourceLineNo">077</span><a name="line.77"></a>
+<span class="sourceLineNo">078</span> ranges.add(new StringRange(r));<a name="line.78"></a>
+<span class="sourceLineNo">079</span> }<a name="line.79"></a>
+<span class="sourceLineNo">080</span><a name="line.80"></a>
+<span class="sourceLineNo">081</span> return ranges.toArray(new StringRange[ranges.size()]);<a name="line.81"></a>
+<span class="sourceLineNo">082</span> }<a name="line.82"></a>
+<span class="sourceLineNo">083</span><a name="line.83"></a>
+<span class="sourceLineNo">084</span> @SuppressWarnings("unchecked")<a name="line.84"></a>
+<span class="sourceLineNo">085</span> private StringRange(String token) {<a name="line.85"></a>
+<span class="sourceLineNo">086</span> Builder b = new Builder(token);<a name="line.86"></a>
+<span class="sourceLineNo">087</span> this.type = b.type;<a name="line.87"></a>
+<span class="sourceLineNo">088</span> this.qValue = b.qValue;<a name="line.88"></a>
+<span class="sourceLineNo">089</span> this.extensions = (b.extensions == null ? Collections.EMPTY_MAP : Collections.unmodifiableMap(b.extensions));<a name="line.89"></a>
+<span class="sourceLineNo">090</span> }<a name="line.90"></a>
+<span class="sourceLineNo">091</span><a name="line.91"></a>
+<span class="sourceLineNo">092</span> private static class Builder {<a name="line.92"></a>
+<span class="sourceLineNo">093</span> private String type;<a name="line.93"></a>
+<span class="sourceLineNo">094</span> private Float qValue = 1f;<a name="line.94"></a>
+<span class="sourceLineNo">095</span> private Map<String,Set<String>> extensions;<a name="line.95"></a>
+<span class="sourceLineNo">096</span><a name="line.96"></a>
+<span class="sourceLineNo">097</span> private Builder(String token) {<a name="line.97"></a>
+<span class="sourceLineNo">098</span><a name="line.98"></a>
+<span class="sourceLineNo">099</span> token = token.trim();<a name="line.99"></a>
+<span class="sourceLineNo">100</span><a name="line.100"></a>
+<span class="sourceLineNo">101</span> int i = token.indexOf(";q=");<a name="line.101"></a>
+<span class="sourceLineNo">102</span><a name="line.102"></a>
+<span class="sourceLineNo">103</span> if (i == -1) {<a name="line.103"></a>
+<span class="sourceLineNo">104</span> type = token;<a name="line.104"></a>
+<span class="sourceLineNo">105</span> return;<a name="line.105"></a>
+<span class="sourceLineNo">106</span> }<a name="line.106"></a>
+<span class="sourceLineNo">107</span><a name="line.107"></a>
+<span class="sourceLineNo">108</span> type = token.substring(0, i);<a name="line.108"></a>
+<span class="sourceLineNo">109</span><a name="line.109"></a>
+<span class="sourceLineNo">110</span> String[] tokens = token.substring(i+1).split(";");<a name="line.110"></a>
+<span class="sourceLineNo">111</span><a name="line.111"></a>
+<span class="sourceLineNo">112</span> // Only the type of the range is specified<a name="line.112"></a>
+<span class="sourceLineNo">113</span> if (tokens.length > 0) {<a name="line.113"></a>
+<span class="sourceLineNo">114</span> boolean isInExtensions = false;<a name="line.114"></a>
+<span class="sourceLineNo">115</span> for (int j = 0; j < tokens.length; j++) {<a name="line.115"></a>
+<span class="sourceLineNo">116</span> String[] parm = tokens[j].split("=");<a name="line.116"></a>
+<span class="sourceLineNo">117</span> if (parm.length == 2) {<a name="line.117"></a>
+<span class="sourceLineNo">118</span> String k = parm[0], v = parm[1];<a name="line.118"></a>
+<span class="sourceLineNo">119</span> if (isInExtensions) {<a name="line.119"></a>
+<span class="sourceLineNo">120</span> if (extensions == null)<a name="line.120"></a>
+<span class="sourceLineNo">121</span> extensions = new TreeMap<String,Set<String>>();<a name="line.121"></a>
+<span class="sourceLineNo">122</span> if (! extensions.containsKey(k))<a name="line.122"></a>
+<span class="sourceLineNo">123</span> extensions.put(k, new TreeSet<String>());<a name="line.123"></a>
+<span class="sourceLineNo">124</span> extensions.get(k).add(v);<a name="line.124"></a>
+<span class="sourceLineNo">125</span> } else if (k.equals("q")) {<a name="line.125"></a>
+<span class="sourceLineNo">126</span> qValue = new Float(v);<a name="line.126"></a>
+<span class="sourceLineNo">127</span> isInExtensions = true;<a name="line.127"></a>
+<span class="sourceLineNo">128</span> }<a name="line.128"></a>
+<span class="sourceLineNo">129</span> }<a name="line.129"></a>
+<span class="sourceLineNo">130</span> }<a name="line.130"></a>
+<span class="sourceLineNo">131</span> }<a name="line.131"></a>
+<span class="sourceLineNo">132</span> }<a name="line.132"></a>
+<span class="sourceLineNo">133</span> }<a name="line.133"></a>
+<span class="sourceLineNo">134</span><a name="line.134"></a>
+<span class="sourceLineNo">135</span> /**<a name="line.135"></a>
+<span class="sourceLineNo">136</span> * Returns the type enclosed by this type range.<a name="line.136"></a>
+<span class="sourceLineNo">137</span> *<a name="line.137"></a>
+<span class="sourceLineNo">138</span> * <h5 class='section'>Examples:</h5><a name="line.138"></a>
+<span class="sourceLineNo">139</span> * <ul><a name="line.139"></a>
+<span class="sourceLineNo">140</span> * <li><js>"compress"</js><a name="line.140"></a>
+<span class="sourceLineNo">141</span> * <li><js>"gzip"</js><a name="line.141"></a>
+<span class="sourceLineNo">142</span> * <li><js>"*"</js><a name="line.142"></a>
+<span class="sourceLineNo">143</span> * </ul><a name="line.143"></a>
+<span class="sourceLineNo">144</span> *<a name="line.144"></a>
+<span class="sourceLineNo">145</span> * @return The type of this type range, lowercased, never <jk>null</jk>.<a name="line.145"></a>
+<span class="sourceLineNo">146</span> */<a name="line.146"></a>
+<span class="sourceLineNo">147</span> public String getType() {<a name="line.147"></a>
+<span class="sourceLineNo">148</span> return type;<a name="line.148"></a>
+<span class="sourceLineNo">149</span> }<a name="line.149"></a>
+<span class="sourceLineNo">150</span><a name="line.150"></a>
+<span class="sourceLineNo">151</span> /**<a name="line.151"></a>
+<span class="sourceLineNo">152</span> * Returns the <js>'q'</js> (quality) value for this type, as described in Section 3.9 of RFC2616.<a name="line.152"></a>
+<span class="sourceLineNo">153</span> * <p><a name="line.153"></a>
+<span class="sourceLineNo">154</span> * The quality value is a float between <code>0.0</code> (unacceptable) and <code>1.0</code> (most acceptable).<a name="line.154"></a>
+<span class="sourceLineNo">155</span> * <p><a name="line.155"></a>
+<span class="sourceLineNo">156</span> * If 'q' value doesn't make sense for the context (e.g. this range was extracted from a <js>"content-*"</js> header, as opposed to <js>"accept-*"</js><a name="line.156"></a>
+<span class="sourceLineNo">157</span> * header, its value will always be <js>"1"</js>.<a name="line.157"></a>
+<span class="sourceLineNo">158</span> *<a name="line.158"></a>
+<span class="sourceLineNo">159</span> * @return The 'q' value for this type, never <jk>null</jk>.<a name="line.159"></a>
+<span class="sourceLineNo">160</span> */<a name="line.160"></a>
+<span class="sourceLineNo">161</span> public Float getQValue() {<a name="line.161"></a>
+<span class="sourceLineNo">162</span> return qValue;<a name="line.162"></a>
+<span class="sourceLineNo">163</span> }<a name="line.163"></a>
+<span class="sourceLineNo">164</span><a name="line.164"></a>
+<span class="sourceLineNo">165</span> /**<a name="line.165"></a>
+<span class="sourceLineNo">166</span> * Returns the optional set of custom extensions defined for this type.<a name="line.166"></a>
+<span class="sourceLineNo">167</span> * <p><a name="line.167"></a>
+<span class="sourceLineNo">168</span> * Values are lowercase and never <jk>null</jk>.<a name="line.168"></a>
+<span class="sourceLineNo">169</span> *<a name="line.169"></a>
+<span class="sourceLineNo">170</span> * @return The optional list of extensions, never <jk>null</jk>.<a name="line.170"></a>
+<span class="sourceLineNo">171</span> */<a name="line.171"></a>
+<span class="sourceLineNo">172</span> public Map<String,Set<String>> getExtensions() {<a name="line.172"></a>
+<span class="sourceLineNo">173</span> return extensions;<a name="line.173"></a>
+<span class="sourceLineNo">174</span> }<a name="line.174"></a>
+<span class="sourceLineNo">175</span><a name="line.175"></a>
+<span class="sourceLineNo">176</span> /**<a name="line.176"></a>
+<span class="sourceLineNo">177</span> * Provides a string representation of this media range, suitable for use as an <code>Accept</code> header value.<a name="line.177"></a>
+<span class="sourceLineNo">178</span> * <p><a name="line.178"></a>
+<span class="sourceLineNo">179</span> * The literal text generated will be all lowercase.<a name="line.179"></a>
+<span class="sourceLineNo">180</span> *<a name="line.180"></a>
+<span class="sourceLineNo">181</span> * @return A media range suitable for use as an Accept header value, never <code>null</code>.<a name="line.181"></a>
+<span class="sourceLineNo">182</span> */<a name="line.182"></a>
+<span class="sourceLineNo">183</span> @Override /* Object */<a name="line.183"></a>
+<span class="sourceLineNo">184</span> public String toString() {<a name="line.184"></a>
+<span class="sourceLineNo">185</span> StringBuffer sb = new StringBuffer().append(type);<a name="line.185"></a>
+<span class="sourceLineNo">186</span><a name="line.186"></a>
+<span class="sourceLineNo">187</span> // '1' is equivalent to specifying no qValue. If there's no extensions, then we won't include a qValue.<a name="line.187"></a>
+<span class="sourceLineNo">188</span> if (qValue.floatValue() == 1.0) {<a name="line.188"></a>
+<span class="sourceLineNo">189</span> if (! extensions.isEmpty()) {<a name="line.189"></a>
+<span class="sourceLineNo">190</span> sb.append(";q=").append(qValue);<a name="line.190"></a>
+<span class="sourceLineNo">191</span> for (Entry<String,Set<String>> e : extensions.entrySet()) {<a name="line.191"></a>
+<span class="sourceLineNo">192</span> String k = e.getKey();<a name="line.192"></a>
+<span class="sourceLineNo">193</span> for (String v : e.getValue())<a name="line.193"></a>
+<span class="sourceLineNo">194</span> sb.append(';').append(k).append('=').append(v);<a name="line.194"></a>
+<span class="sourceLineNo">195</span> }<a name="line.195"></a>
+<span class="sourceLineNo">196</span> }<a name="line.196"></a>
+<span class="sourceLineNo">197</span> } else {<a name="line.197"></a>
+<span class="sourceLineNo">198</span> sb.append(";q=").append(qValue);<a name="line.198"></a>
+<span class="sourceLineNo">199</span> for (Entry<String,Set<String>> e : extensions.entrySet()) {<a name="line.199"></a>
+<span class="sourceLineNo">200</span> String k = e.getKey();<a name="line.200"></a>
+<span class="sourceLineNo">201</span> for (String v : e.getValue())<a name="line.201"></a>
+<span class="sourceLineNo">202</span> sb.append(';').append(k).append('=').append(v);<a name="line.202"></a>
+<span class="sourceLineNo">203</span> }<a name="line.203"></a>
+<span class="sourceLineNo">204</span> }<a name="line.204"></a>
+<span class="sourceLineNo">205</span> return sb.toString();<a name="line.205"></a>
+<span class="sourceLineNo">206</span> }<a name="line.206"></a>
+<span class="sourceLineNo">207</span><a name="line.207"></a>
+<span class="sourceLineNo">208</span> /**<a name="line.208"></a>
+<span class="sourceLineNo">209</span> * Returns <jk>true</jk> if the specified object is also a <code>MediaType</code>, and has the same qValue, type, parameters, and extensions.<a name="line.209"></a>
+<span class="sourceLineNo">210</span> *<a name="line.210"></a>
+<span class="sourceLineNo">211</span> * @return <jk>true</jk> if object is equivalent.<a name="line.211"></a>
+<span class="sourceLineNo">212</span> */<a name="line.212"></a>
+<span class="sourceLineNo">213</span> @Override /* Object */<a name="line.213"></a>
+<span class="sourceLineNo">214</span> public boolean equals(Object o) {<a name="line.214"></a>
+<span class="sourceLineNo">215</span><a name="line.215"></a>
+<span class="sourceLineNo">216</span> if (o == null || !(o instanceof StringRange))<a name="line.216"></a>
+<span class="sourceLineNo">217</span> return false;<a name="line.217"></a>
+<span class="sourceLineNo">218</span><a name="line.218"></a>
+<span class="sourceLineNo">219</span> if (this == o)<a name="line.219"></a>
+<span class="sourceLineNo">220</span> return true;<a name="line.220"></a>
+<span class="sourceLineNo">221</span><a name="line.221"></a>
+<span class="sourceLineNo">222</span> StringRange o2 = (StringRange) o;<a name="line.222"></a>
+<span class="sourceLineNo">223</span> return qValue.equals(o2.qValue)<a name="line.223"></a>
+<span class="sourceLineNo">224</span> && type.equals(o2.type)<a name="line.224"></a>
+<span class="sourceLineNo">225</span> && extensions.equals(o2.extensions);<a name="line.225"></a>
+<span class="sourceLineNo">226</span> }<a name="line.226"></a>
+<span class="sourceLineNo">227</span><a name="line.227"></a>
+<span class="sourceLineNo">228</span> /**<a name="line.228"></a>
+<span class="sourceLineNo">229</span> * Returns a hash based on this instance's <code>media-type</code>.<a name="line.229"></a>
+<span class="sourceLineNo">230</span> *<a name="line.230"></a>
+<span class="sourceLineNo">231</span> * @return A hash based on this instance's <code>media-type</code>.<a name="line.231"></a>
+<span class="sourceLineNo">232</span> */<a name="line.232"></a>
+<span class="sourceLineNo">233</span> @Override /* Object */<a name="line.233"></a>
+<span class="sourceLineNo">234</span> public int hashCode() {<a name="line.234"></a>
+<span class="sourceLineNo">235</span> return type.hashCode();<a name="line.235"></a>
+<span class="sourceLineNo">236</span> }<a name="line.236"></a>
+<span class="sourceLineNo">237</span><a name="line.237"></a>
+<span class="sourceLineNo">238</span> /**<a name="line.238"></a>
+<span class="sourceLineNo">239</span> * Compares two MediaRanges for equality.<a name="line.239"></a>
+<span class="sourceLineNo">240</span> * <p><a name="line.240"></a>
+<span class="sourceLineNo">241</span> * The values are first compared according to <code>qValue</code> values.<a name="line.241"></a>
+<span class="sourceLineNo">242</span> * Should those values be equal, the <code>type</code> is then lexicographically compared (case-insensitive) in ascending order,<a name="line.242"></a>
+<span class="sourceLineNo">243</span> * with the <js>"*"</js> type demoted last in that order.<a name="line.243"></a>
+<span class="sourceLineNo">244</span> * <code>TypeRanges</code> with the same types but with extensions are promoted over those same types with no extensions.<a name="line.244"></a>
+<span class="sourceLineNo">245</span> *<a name="line.245"></a>
+<span class="sourceLineNo">246</span> * @param o The range to compare to. Never <jk>null</jk>.<a name="line.246"></a>
+<span class="sourceLineNo">247</span> */<a name="line.247"></a>
+<span class="sourceLineNo">248</span> @Override /* Comparable */<a name="line.248"></a>
+<span class="sourceLineNo">249</span> public int compareTo(StringRange o) {<a name="line.249"></a>
+<span class="sourceLineNo">250</span><a name="line.250"></a>
+<span class="sourceLineNo">251</span> // Compare q-values.<a name="line.251"></a>
+<span class="sourceLineNo">252</span> int qCompare = Float.compare(o.qValue, qValue);<a name="line.252"></a>
+<span class="sourceLineNo">253</span> if (qCompare != 0)<a name="line.253"></a>
+<span class="sourceLineNo">254</span> return qCompare;<a name="line.254"></a>
+<span class="sourceLineNo">255</span><a name="line.255"></a>
+<span class="sourceLineNo">256</span> // Compare media-types.<a name="line.256"></a>
+<span class="sourceLineNo">257</span> // Note that '*' comes alphabetically before letters, so just do a reverse-alphabetical comparison.<a name="line.257"></a>
+<span class="sourceLineNo">258</span> int i = o.type.toString().compareTo(type.toString());<a name="line.258"></a>
+<span class="sourceLineNo">259</span> return i;<a name="line.259"></a>
+<span class="sourceLineNo">260</span> }<a name="line.260"></a>
+<span class="sourceLineNo">261</span><a name="line.261"></a>
+<span class="sourceLineNo">262</span> /**<a name="line.262"></a>
+<span class="sourceLineNo">263</span> * Checks if the specified type matches this range.<a name="line.263"></a>
+<span class="sourceLineNo">264</span> * <p><a name="line.264"></a>
+<span class="sourceLineNo">265</span> * The type will match this range if the range type string is the same or <js>"*"</js>.<a name="line.265"></a>
+<span class="sourceLineNo">266</span> *<a name="line.266"></a>
+<span class="sourceLineNo">267</span> * @param type The type to match against this range.<a name="line.267"></a>
+<span class="sourceLineNo">268</span> * @return <jk>true</jk> if the specified type matches this range.<a name="line.268"></a>
+<span class="sourceLineNo">269</span> */<a name="line.269"></a>
+<span class="sourceLineNo">270</span> @SuppressWarnings("hiding")<a name="line.270"></a>
+<span class="sourceLineNo">271</span> public boolean matches(String type) {<a name="line.271"></a>
+<span class="sourceLineNo">272</span> if (qValue == 0)<a name="line.272"></a>
+<span class="sourceLineNo">273</span> return false;<a name="line.273"></a>
+<span class="sourceLineNo">274</span> return this.type.equals(type) || this.type.equals("*");<a name="line.274"></a>
+<span class="sourceLineNo">275</span> }<a name="line.275"></a>
+<span class="sourceLineNo">276</span>}<a name="line.276"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/TE.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/TE.html b/content/site/apidocs/src-html/org/apache/juneau/http/TE.html
new file mode 100644
index 0000000..5e74119
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/TE.html
@@ -0,0 +1,169 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>import static org.apache.juneau.http.Constants.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span><a name="line.16"></a>
+<span class="sourceLineNo">017</span>import org.apache.juneau.internal.*;<a name="line.17"></a>
+<span class="sourceLineNo">018</span><a name="line.18"></a>
+<span class="sourceLineNo">019</span>/**<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * Represents a parsed <l>TE</l> HTTP request header.<a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * The transfer encodings the user agent is willing to accept: the same values as for the response header field<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * Transfer-Encoding can be used, plus the "trailers" value (related to the "chunked" transfer method) to notify the<a name="line.23"></a>
+<span class="sourceLineNo">024</span> * server it expects to receive additional fields in the trailer after the last, zero-sized, chunk.<a name="line.24"></a>
+<span class="sourceLineNo">025</span> *<a name="line.25"></a>
+<span class="sourceLineNo">026</span> * <h6 class='figure'>Example</h6><a name="line.26"></a>
+<span class="sourceLineNo">027</span> * <p class='bcode'><a name="line.27"></a>
+<span class="sourceLineNo">028</span> * TE: trailers, deflate<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * </p><a name="line.29"></a>
+<span class="sourceLineNo">030</span> *<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * <h6 class='topic'>RFC2616 Specification</h6><a name="line.31"></a>
+<span class="sourceLineNo">032</span> *<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * The TE request-header field indicates what extension transfer-codings it is willing to accept in the response and<a name="line.33"></a>
+<span class="sourceLineNo">034</span> * whether or not it is willing to accept trailer fields in a chunked transfer-coding.<a name="line.34"></a>
+<span class="sourceLineNo">035</span> * Its value may consist of the keyword "trailers" and/or a comma-separated list of extension transfer-coding names<a name="line.35"></a>
+<span class="sourceLineNo">036</span> * with optional accept parameters (as described in section 3.6).<a name="line.36"></a>
+<span class="sourceLineNo">037</span> * <p class='bcode'><a name="line.37"></a>
+<span class="sourceLineNo">038</span> * TE = "TE" ":" #( t-codings )<a name="line.38"></a>
+<span class="sourceLineNo">039</span> * t-codings = "trailers" | ( transfer-extension [ accept-params ] )<a name="line.39"></a>
+<span class="sourceLineNo">040</span> * </p><a name="line.40"></a>
+<span class="sourceLineNo">041</span> * The presence of the keyword "trailers" indicates that the client is willing to accept trailer fields in a chunked<a name="line.41"></a>
+<span class="sourceLineNo">042</span> * transfer-coding, as defined in section 3.6.1.<a name="line.42"></a>
+<span class="sourceLineNo">043</span> * This keyword is reserved for use with transfer-coding values even though it does not itself represent a transfer-coding.<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * <p><a name="line.44"></a>
+<span class="sourceLineNo">045</span> * Examples of its use are:<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * <p class='bcode'><a name="line.46"></a>
+<span class="sourceLineNo">047</span> * TE: deflate<a name="line.47"></a>
+<span class="sourceLineNo">048</span> * TE:<a name="line.48"></a>
+<span class="sourceLineNo">049</span> * TE: trailers, deflate;q=0.5<a name="line.49"></a>
+<span class="sourceLineNo">050</span> * </p><a name="line.50"></a>
+<span class="sourceLineNo">051</span> * <p><a name="line.51"></a>
+<span class="sourceLineNo">052</span> * The TE header field only applies to the immediate connection.<a name="line.52"></a>
+<span class="sourceLineNo">053</span> * Therefore, the keyword MUST be supplied within a Connection header field (section 14.10) whenever TE is present in<a name="line.53"></a>
+<span class="sourceLineNo">054</span> * an HTTP/1.1 message.<a name="line.54"></a>
+<span class="sourceLineNo">055</span> * <p><a name="line.55"></a>
+<span class="sourceLineNo">056</span> * A server tests whether a transfer-coding is acceptable, according to a TE field, using these rules:<a name="line.56"></a>
+<span class="sourceLineNo">057</span> * <ol><a name="line.57"></a>
+<span class="sourceLineNo">058</span> * <li>The "chunked" transfer-coding is always acceptable.<a name="line.58"></a>
+<span class="sourceLineNo">059</span> * If the keyword "trailers" is listed, the client indicates that it is willing to accept trailer fields in the<a name="line.59"></a>
+<span class="sourceLineNo">060</span> * chunked response on behalf of itself and any downstream clients.<a name="line.60"></a>
+<span class="sourceLineNo">061</span> * The implication is that, if given, the client is stating that either all downstream clients are willing to accept<a name="line.61"></a>
+<span class="sourceLineNo">062</span> * trailer fields in the forwarded response, or that it will attempt to buffer the response on behalf of downstream<a name="line.62"></a>
+<span class="sourceLineNo">063</span> * recipients.<a name="line.63"></a>
+<span class="sourceLineNo">064</span> * Note: HTTP/1.1 does not define any means to limit the size of a chunked response such that a client can be assured<a name="line.64"></a>
+<span class="sourceLineNo">065</span> * of buffering the entire response.<a name="line.65"></a>
+<span class="sourceLineNo">066</span> * <li>If the transfer-coding being tested is one of the transfer-codings listed in the TE field, then it is acceptable<a name="line.66"></a>
+<span class="sourceLineNo">067</span> * unless it is accompanied by a qvalue of 0. (As defined in section 3.9, a qvalue of 0 means "not acceptable.")<a name="line.67"></a>
+<span class="sourceLineNo">068</span> * <li>If multiple transfer-codings are acceptable, then the acceptable transfer-coding with the highest non-zero<a name="line.68"></a>
+<span class="sourceLineNo">069</span> * qvalue is preferred.<a name="line.69"></a>
+<span class="sourceLineNo">070</span> * The "chunked" transfer-coding always has a qvalue of 1.<a name="line.70"></a>
+<span class="sourceLineNo">071</span> * </ol><a name="line.71"></a>
+<span class="sourceLineNo">072</span> * If the TE field-value is empty or if no TE field is present, the only transfer-coding is "chunked".<a name="line.72"></a>
+<span class="sourceLineNo">073</span> * A message with no transfer-coding is always acceptable.<a name="line.73"></a>
+<span class="sourceLineNo">074</span> */<a name="line.74"></a>
+<span class="sourceLineNo">075</span>public final class TE extends HeaderRangeArray {<a name="line.75"></a>
+<span class="sourceLineNo">076</span><a name="line.76"></a>
+<span class="sourceLineNo">077</span> private static final Cache<String,TE> cache = new Cache<String,TE>(NOCACHE, CACHE_MAX_SIZE);<a name="line.77"></a>
+<span class="sourceLineNo">078</span><a name="line.78"></a>
+<span class="sourceLineNo">079</span> /**<a name="line.79"></a>
+<span class="sourceLineNo">080</span> * Returns a parsed <code>Accept</code> header.<a name="line.80"></a>
+<span class="sourceLineNo">081</span> *<a name="line.81"></a>
+<span class="sourceLineNo">082</span> * @param value The <code>Accept</code> header string.<a name="line.82"></a>
+<span class="sourceLineNo">083</span> * @return The parsed <code>Accept</code> header, or <jk>null</jk> if the string was null.<a name="line.83"></a>
+<span class="sourceLineNo">084</span> */<a name="line.84"></a>
+<span class="sourceLineNo">085</span> public static TE forString(String value) {<a name="line.85"></a>
+<span class="sourceLineNo">086</span> if (value == null)<a name="line.86"></a>
+<span class="sourceLineNo">087</span> return null;<a name="line.87"></a>
+<span class="sourceLineNo">088</span> TE te = cache.get(value);<a name="line.88"></a>
+<span class="sourceLineNo">089</span> if (te == null)<a name="line.89"></a>
+<span class="sourceLineNo">090</span> te = cache.put(value, new TE(value));<a name="line.90"></a>
+<span class="sourceLineNo">091</span> return te;<a name="line.91"></a>
+<span class="sourceLineNo">092</span> }<a name="line.92"></a>
+<span class="sourceLineNo">093</span><a name="line.93"></a>
+<span class="sourceLineNo">094</span> private TE(String value) {<a name="line.94"></a>
+<span class="sourceLineNo">095</span> super(value);<a name="line.95"></a>
+<span class="sourceLineNo">096</span> }<a name="line.96"></a>
+<span class="sourceLineNo">097</span>}<a name="line.97"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/Trailer.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/Trailer.html b/content/site/apidocs/src-html/org/apache/juneau/http/Trailer.html
new file mode 100644
index 0000000..433b092
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/Trailer.html
@@ -0,0 +1,137 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Represents a parsed <l>Trailer</l> HTTP response header.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * <p><a name="line.17"></a>
+<span class="sourceLineNo">018</span> * The Trailer general field value indicates that the given set of header fields is present in the trailer of a message<a name="line.18"></a>
+<span class="sourceLineNo">019</span> * encoded with chunked transfer coding.<a name="line.19"></a>
+<span class="sourceLineNo">020</span> *<a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <h6 class='figure'>Example</h6><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * <p class='bcode'><a name="line.22"></a>
+<span class="sourceLineNo">023</span> * Trailer: Max-Forwards<a name="line.23"></a>
+<span class="sourceLineNo">024</span> * </p><a name="line.24"></a>
+<span class="sourceLineNo">025</span> *<a name="line.25"></a>
+<span class="sourceLineNo">026</span> * <h6 class='topic'>RFC2616 Specification</h6><a name="line.26"></a>
+<span class="sourceLineNo">027</span> *<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * The Trailer general field value indicates that the given set of header fields is present in the trailer of a message<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * encoded with chunked transfer-coding.<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * <p class='bcode'><a name="line.30"></a>
+<span class="sourceLineNo">031</span> * Trailer = "Trailer" ":" 1#field-name<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * </p><a name="line.32"></a>
+<span class="sourceLineNo">033</span> * <p><a name="line.33"></a>
+<span class="sourceLineNo">034</span> * An HTTP/1.1 message SHOULD include a Trailer header field in a message using chunked transfer-coding with a non-empty<a name="line.34"></a>
+<span class="sourceLineNo">035</span> * trailer.<a name="line.35"></a>
+<span class="sourceLineNo">036</span> * Doing so allows the recipient to know which header fields to expect in the trailer.<a name="line.36"></a>
+<span class="sourceLineNo">037</span> * <p><a name="line.37"></a>
+<span class="sourceLineNo">038</span> * If no Trailer header field is present, the trailer SHOULD NOT include any header fields.<a name="line.38"></a>
+<span class="sourceLineNo">039</span> * See section 3.6.1 for restrictions on the use of trailer fields in a "chunked" transfer-coding.<a name="line.39"></a>
+<span class="sourceLineNo">040</span> * <p><a name="line.40"></a>
+<span class="sourceLineNo">041</span> * Message header fields listed in the Trailer header field MUST NOT include the following header fields:<a name="line.41"></a>
+<span class="sourceLineNo">042</span> * <ul><a name="line.42"></a>
+<span class="sourceLineNo">043</span> * <li>Transfer-Encoding<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * <li>Content-Length<a name="line.44"></a>
+<span class="sourceLineNo">045</span> * <li>Trailer<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * </ul><a name="line.46"></a>
+<span class="sourceLineNo">047</span> */<a name="line.47"></a>
+<span class="sourceLineNo">048</span>public final class Trailer extends HeaderString {<a name="line.48"></a>
+<span class="sourceLineNo">049</span><a name="line.49"></a>
+<span class="sourceLineNo">050</span> /**<a name="line.50"></a>
+<span class="sourceLineNo">051</span> * Returns a parsed <code>Trailer</code> header.<a name="line.51"></a>
+<span class="sourceLineNo">052</span> *<a name="line.52"></a>
+<span class="sourceLineNo">053</span> * @param value The <code>Trailer</code> header string.<a name="line.53"></a>
+<span class="sourceLineNo">054</span> * @return The parsed <code>Trailer</code> header, or <jk>null</jk> if the string was null.<a name="line.54"></a>
+<span class="sourceLineNo">055</span> */<a name="line.55"></a>
+<span class="sourceLineNo">056</span> public static Trailer forString(String value) {<a name="line.56"></a>
+<span class="sourceLineNo">057</span> if (value == null)<a name="line.57"></a>
+<span class="sourceLineNo">058</span> return null;<a name="line.58"></a>
+<span class="sourceLineNo">059</span> return new Trailer(value);<a name="line.59"></a>
+<span class="sourceLineNo">060</span> }<a name="line.60"></a>
+<span class="sourceLineNo">061</span><a name="line.61"></a>
+<span class="sourceLineNo">062</span> private Trailer(String value) {<a name="line.62"></a>
+<span class="sourceLineNo">063</span> super(value);<a name="line.63"></a>
+<span class="sourceLineNo">064</span> }<a name="line.64"></a>
+<span class="sourceLineNo">065</span>}<a name="line.65"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
[39/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/RetryAfter.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/RetryAfter.html b/content/site/apidocs/org/apache/juneau/http/RetryAfter.html
new file mode 100644
index 0000000..12309ac
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/RetryAfter.html
@@ -0,0 +1,326 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>RetryAfter (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="RetryAfter (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":10,"i1":10,"i2":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/Referer.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/Server.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/RetryAfter.html" target="_top">Frames</a></li>
+<li><a href="RetryAfter.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class RetryAfter" class="title">Class RetryAfter</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">org.apache.juneau.http.HeaderString</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.RetryAfter</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/RetryAfter.html#line.50">RetryAfter</a>
+extends <a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></pre>
+<div class="block">Represents a parsed <l>Retry-After</l> HTTP response header.
+ <p>
+ If an entity is temporarily unavailable, this instructs the client to try again later.
+ Value could be a specified period of time (in seconds) or a HTTP-date.
+
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ Retry-After: 120
+ Retry-After: Fri, 07 Nov 2014 23:59:59 GMT
+ </p>
+
+ <h6 class='topic'>RFC2616 Specification</h6>
+ The Retry-After response-header field can be used with a 503 (Service Unavailable) response to indicate how long the
+ service is expected to be unavailable to the requesting client.
+ This field MAY also be used with any 3xx (Redirection) response to indicate the minimum time the user-agent is asked
+ wait before issuing the redirected request.
+ The value of this field can be either an HTTP-date or an integer number of seconds (in decimal) after the time of the
+ response.
+ <p class='bcode'>
+ Retry-After = "Retry-After" ":" ( HTTP-date | delta-seconds )
+ </p>
+ <p>
+ Two examples of its use are
+ <p class='bcode'>
+ Retry-After: Fri, 31 Dec 1999 23:59:59 GMT
+ Retry-After: 120
+ </p>
+ <p>
+ In the latter example, the delay is 2 minutes.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/RetryAfter.html#asDate--">asDate</a></span>()</code>
+<div class="block">Returns this header value as a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util"><code>Date</code></a> object.</div>
+</td>
+</tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/RetryAfter.html#asInt--">asInt</a></span>()</code>
+<div class="block">Returns this header value as an integer.</div>
+</td>
+</tr>
+<tr id="i2" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/RetryAfter.html" title="class in org.apache.juneau.http">RetryAfter</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/RetryAfter.html#forString-java.lang.String-">forString</a></span>(<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> value)</code>
+<div class="block">Returns a parsed <code>Retry-After</code> header.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.http.HeaderString">
+<!-- -->
+</a>
+<h3>Methods inherited from class org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></h3>
+<code><a href="../../../../org/apache/juneau/http/HeaderString.html#asString--">asString</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#eq-java.lang.String-">eq</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#eqIC-java.lang.String-">eqIC</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#toString--">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="forString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>forString</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/RetryAfter.html" title="class in org.apache.juneau.http">RetryAfter</a> <a href="../../../../src-html/org/apache/juneau/http/RetryAfter.html#line.58">forString</a>(<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> value)</pre>
+<div class="block">Returns a parsed <code>Retry-After</code> header.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The <code>Retry-After</code> header string.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Retry-After</code> header, or <jk>null</jk> if the string was null.</dd>
+</dl>
+</li>
+</ul>
+<a name="asDate--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>asDate</h4>
+<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a> <a href="../../../../src-html/org/apache/juneau/http/RetryAfter.html#line.72">asDate</a>()</pre>
+<div class="block">Returns this header value as a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util"><code>Date</code></a> object.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>This header value as a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util"><code>Date</code></a> object, or <jk>null</jk> if the value is not a date.</dd>
+</dl>
+</li>
+</ul>
+<a name="asInt--">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>asInt</h4>
+<pre>public int <a href="../../../../src-html/org/apache/juneau/http/RetryAfter.html#line.83">asInt</a>()</pre>
+<div class="block">Returns this header value as an integer.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>This header value as a integer, or <code>-1</code> if the value is not an integer.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/Referer.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/Server.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/RetryAfter.html" target="_top">Frames</a></li>
+<li><a href="RetryAfter.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/Server.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/Server.html b/content/site/apidocs/org/apache/juneau/http/Server.html
new file mode 100644
index 0000000..2f1aa6f
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/Server.html
@@ -0,0 +1,288 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Server (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="Server (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/RetryAfter.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/StringRange.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/Server.html" target="_top">Frames</a></li>
+<li><a href="Server.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class Server" class="title">Class Server</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">org.apache.juneau.http.HeaderString</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.Server</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/Server.html#line.48">Server</a>
+extends <a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></pre>
+<div class="block">Represents a parsed <l>Server</l> HTTP response header.
+ <p>
+ A name for the server.
+
+ <h6 class='figure'>Example</h6>
+ <p class='bcode'>
+ Server: Apache/2.4.1 (Unix)
+ </p>
+
+ <h6 class='topic'>RFC2616 Specification</h6>
+
+ The Server response-header field contains information about the software used by the origin server to handle the
+ request.
+ The field can contain multiple product tokens (section 3.8) and comments identifying the server and any significant
+ subproducts.
+ The product tokens are listed in order of their significance for identifying the application.
+ <p class='bcode'>
+ Server = "Server" ":" 1*( product | comment )
+ </p>
+ <p>
+ Example:
+ <p class='bcode'>
+ Server: CERN/3.0 libwww/2.17
+ </p>
+ <p>
+ If the response is being forwarded through a proxy, the proxy application MUST NOT modify the Server response-header.
+ Instead, it SHOULD include a Via field (as described in section 14.45).
+ <p>
+ Note: Revealing the specific software version of the server might allow the server machine to become more vulnerable
+ to attacks against software that is known to contain security holes.
+ Server implementors are encouraged to make this field a configurable option.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/Server.html" title="class in org.apache.juneau.http">Server</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/Server.html#forString-java.lang.String-">forString</a></span>(<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> value)</code>
+<div class="block">Returns a parsed <code>Server</code> header.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.http.HeaderString">
+<!-- -->
+</a>
+<h3>Methods inherited from class org.apache.juneau.http.<a href="../../../../org/apache/juneau/http/HeaderString.html" title="class in org.apache.juneau.http">HeaderString</a></h3>
+<code><a href="../../../../org/apache/juneau/http/HeaderString.html#asString--">asString</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#eq-java.lang.String-">eq</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#eqIC-java.lang.String-">eqIC</a>, <a href="../../../../org/apache/juneau/http/HeaderString.html#toString--">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="forString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>forString</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/Server.html" title="class in org.apache.juneau.http">Server</a> <a href="../../../../src-html/org/apache/juneau/http/Server.html#line.56">forString</a>(<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> value)</pre>
+<div class="block">Returns a parsed <code>Server</code> header.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The <code>Server</code> header string.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The parsed <code>Server</code> header, or <jk>null</jk> if the string was null.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/RetryAfter.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/StringRange.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/Server.html" target="_top">Frames</a></li>
+<li><a href="Server.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/SimpleRange.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/SimpleRange.html b/content/site/apidocs/org/apache/juneau/http/SimpleRange.html
new file mode 100644
index 0000000..da8d40e
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/SimpleRange.html
@@ -0,0 +1,468 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>SimpleRange (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="SimpleRange (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":9,"i8":10};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/Server.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/TE.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/SimpleRange.html" target="_top">Frames</a></li>
+<li><a href="SimpleRange.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class SimpleRange" class="title">Class SimpleRange</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.SimpleRange</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt>All Implemented Interfaces:</dt>
+<dd><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><<a href="../../../../org/apache/juneau/http/SimpleRange.html" title="class in org.apache.juneau.http">SimpleRange</a>></dd>
+</dl>
+<hr>
+<br>
+<pre><a href="../../../../org/apache/juneau/annotation/BeanIgnore.html" title="annotation in org.apache.juneau.annotation">@BeanIgnore</a>
+public final class <a href="../../../../src-html/org/apache/juneau/http/SimpleRange.html#line.31">SimpleRange</a>
+extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
+implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><<a href="../../../../org/apache/juneau/http/SimpleRange.html" title="class in org.apache.juneau.http">SimpleRange</a>></pre>
+<div class="block">Represents a single value in a comma-delimited header value that optionally contains a quality
+ metric for comparison and extension parameters.
+ <p>
+ Similar in concept to <a href="../../../../org/apache/juneau/http/MediaTypeRange.html" title="class in org.apache.juneau.http"><code>MediaTypeRange</code></a> except instead of media types (e.g. <js>"text/json"</js>),
+ it's a simple type (e.g. <js>"iso-8601"</js>).
+ <p>
+ An example of a type range is a value in an <code>Accept-Encoding</code> header.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/SimpleRange.html#compareTo-org.apache.juneau.http.SimpleRange-">compareTo</a></span>(<a href="../../../../org/apache/juneau/http/SimpleRange.html" title="class in org.apache.juneau.http">SimpleRange</a> o)</code>
+<div class="block">Compares two MediaRanges for equality.</div>
+</td>
+</tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/SimpleRange.html#equals-java.lang.Object-">equals</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</code>
+<div class="block">Returns <jk>true</jk> if the specified object is also a <code>MediaType</code>, and has the same qValue, type, parameters, and extensions.</div>
+</td>
+</tr>
+<tr id="i2" class="altColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<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/http/SimpleRange.html#getExtensions--">getExtensions</a></span>()</code>
+<div class="block">Returns the optional set of custom extensions defined for this type.</div>
+</td>
+</tr>
+<tr id="i3" class="rowColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang">Float</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/SimpleRange.html#getQValue--">getQValue</a></span>()</code>
+<div class="block">Returns the <js>'q'</js> (quality) value for this type, as described in Section 3.9 of RFC2616.</div>
+</td>
+</tr>
+<tr id="i4" class="altColor">
+<td class="colFirst"><code><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/http/SimpleRange.html#getType--">getType</a></span>()</code>
+<div class="block">Returns the type enclosed by this type range.</div>
+</td>
+</tr>
+<tr id="i5" class="rowColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/SimpleRange.html#hashCode--">hashCode</a></span>()</code>
+<div class="block">Returns a hash based on this instance's <code>media-type</code>.</div>
+</td>
+</tr>
+<tr id="i6" class="altColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/SimpleRange.html#matches-java.lang.String-">matches</a></span>(<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> type)</code>
+<div class="block">Checks if the specified type matches this range.</div>
+</td>
+</tr>
+<tr id="i7" class="rowColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/SimpleRange.html" title="class in org.apache.juneau.http">SimpleRange</a>[]</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/SimpleRange.html#parse-java.lang.String-">parse</a></span>(<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> value)</code>
+<div class="block">Parses a header such as an <code>Accept-Encoding</code> header value into an array of type ranges.</div>
+</td>
+</tr>
+<tr id="i8" class="altColor">
+<td class="colFirst"><code><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/http/SimpleRange.html#toString--">toString</a></span>()</code>
+<div class="block">Provides a string representation of this media range, suitable for use as an <code>Accept</code> header value.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-ex
ternal=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="parse-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>parse</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/SimpleRange.html" title="class in org.apache.juneau.http">SimpleRange</a>[] <a href="../../../../src-html/org/apache/juneau/http/SimpleRange.html#line.62">parse</a>(<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> value)</pre>
+<div class="block">Parses a header such as an <code>Accept-Encoding</code> header value into an array of type ranges.
+ <p>
+ The syntax expected to be found in the referenced <code>value</code> complies with the syntax described in RFC2616, Section 14.1, as described below:
+ <p class='bcode'>
+ Accept-Encoding = "Accept-Encoding" ":"
+ 1#( codings [ ";" "q" "=" qvalue ] )
+ codings = ( content-coding | "*" )
+ </p>
+ <p>
+ Examples of its use are:
+ <p class='bcode'>
+ Accept-Encoding: compress, gzip
+ Accept-Encoding:
+ Accept-Encoding: *
+ Accept-Encoding: compress;q=0.5, gzip;q=1.0
+ Accept-Encoding: gzip;q=1.0, identity; q=0.5, *;q=0
+ </p></div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The value to parse. If <jk>null</jk> or empty, returns a single <code>TypeRange</code> is returned that represents all types.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The type ranges described by the string.
+ <br>The ranges are sorted such that the most acceptable type is available at ordinal position <js>'0'</js>, and the least acceptable at position n-1.</dd>
+</dl>
+</li>
+</ul>
+<a name="getType--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getType</h4>
+<pre>public <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/http/SimpleRange.html#line.147">getType</a>()</pre>
+<div class="block">Returns the type enclosed by this type range.
+
+ <h5 class='section'>Examples:</h5>
+ <ul>
+ <li><js>"compress"</js>
+ <li><js>"gzip"</js>
+ <li><js>"*"</js>
+ </ul></div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The type of this type range, lowercased, never <jk>null</jk>.</dd>
+</dl>
+</li>
+</ul>
+<a name="getQValue--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getQValue</h4>
+<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang">Float</a> <a href="../../../../src-html/org/apache/juneau/http/SimpleRange.html#line.161">getQValue</a>()</pre>
+<div class="block">Returns the <js>'q'</js> (quality) value for this type, as described in Section 3.9 of RFC2616.
+ <p>
+ The quality value is a float between <code>0.0</code> (unacceptable) and <code>1.0</code> (most acceptable).
+ <p>
+ If 'q' value doesn't make sense for the context (e.g. this range was extracted from a <js>"content-*"</js> header, as opposed to <js>"accept-*"</js>
+ header, its value will always be <js>"1"</js>.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The 'q' value for this type, never <jk>null</jk>.</dd>
+</dl>
+</li>
+</ul>
+<a name="getExtensions--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getExtensions</h4>
+<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<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/http/SimpleRange.html#line.172">getExtensions</a>()</pre>
+<div class="block">Returns the optional set of custom extensions defined for this type.
+ <p>
+ Values are lowercase and never <jk>null</jk>.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The optional list of extensions, never <jk>null</jk>.</dd>
+</dl>
+</li>
+</ul>
+<a name="toString--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>toString</h4>
+<pre>public <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/http/SimpleRange.html#line.184">toString</a>()</pre>
+<div class="block">Provides a string representation of this media range, suitable for use as an <code>Accept</code> header value.
+ <p>
+ The literal text generated will be all lowercase.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code> in class <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>A media range suitable for use as an Accept header value, never <code>null</code>.</dd>
+</dl>
+</li>
+</ul>
+<a name="equals-java.lang.Object-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>equals</h4>
+<pre>public boolean <a href="../../../../src-html/org/apache/juneau/http/SimpleRange.html#line.214">equals</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</pre>
+<div class="block">Returns <jk>true</jk> if the specified object is also a <code>MediaType</code>, and has the same qValue, type, parameters, and extensions.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a></code> in class <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd><jk>true</jk> if object is equivalent.</dd>
+</dl>
+</li>
+</ul>
+<a name="hashCode--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>hashCode</h4>
+<pre>public int <a href="../../../../src-html/org/apache/juneau/http/SimpleRange.html#line.234">hashCode</a>()</pre>
+<div class="block">Returns a hash based on this instance's <code>media-type</code>.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a></code> in class <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>A hash based on this instance's <code>media-type</code>.</dd>
+</dl>
+</li>
+</ul>
+<a name="compareTo-org.apache.juneau.http.SimpleRange-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>compareTo</h4>
+<pre>public int <a href="../../../../src-html/org/apache/juneau/http/SimpleRange.html#line.249">compareTo</a>(<a href="../../../../org/apache/juneau/http/SimpleRange.html" title="class in org.apache.juneau.http">SimpleRange</a> o)</pre>
+<div class="block">Compares two MediaRanges for equality.
+ <p>
+ The values are first compared according to <code>qValue</code> values.
+ Should those values be equal, the <code>type</code> is then lexicographically compared (case-insensitive) in ascending order,
+ with the <js>"*"</js> type demoted last in that order.
+ <code>TypeRanges</code> with the same types but with extensions are promoted over those same types with no extensions.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true#compareTo-T-" title="class or interface in java.lang">compareTo</a></code> in interface <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><<a href="../../../../org/apache/juneau/http/SimpleRange.html" title="class in org.apache.juneau.http">SimpleRange</a>></code></dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>o</code> - The range to compare to. Never <jk>null</jk>.</dd>
+</dl>
+</li>
+</ul>
+<a name="matches-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>matches</h4>
+<pre>public boolean <a href="../../../../src-html/org/apache/juneau/http/SimpleRange.html#line.271">matches</a>(<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> type)</pre>
+<div class="block">Checks if the specified type matches this range.
+ <p>
+ The type will match this range if the range type string is the same or <js>"*"</js>.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>type</code> - The type to match against this range.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd><jk>true</jk> if the specified type matches this range.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/Server.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/TE.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/SimpleRange.html" target="_top">Frames</a></li>
+<li><a href="SimpleRange.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/org/apache/juneau/http/StringRange.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/http/StringRange.html b/content/site/apidocs/org/apache/juneau/http/StringRange.html
new file mode 100644
index 0000000..4ce54dc
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/http/StringRange.html
@@ -0,0 +1,468 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>StringRange (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="StringRange (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":9,"i8":10};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/Server.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/TE.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/StringRange.html" target="_top">Frames</a></li>
+<li><a href="StringRange.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.http</div>
+<h2 title="Class StringRange" class="title">Class StringRange</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.http.StringRange</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt>All Implemented Interfaces:</dt>
+<dd><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><<a href="../../../../org/apache/juneau/http/StringRange.html" title="class in org.apache.juneau.http">StringRange</a>></dd>
+</dl>
+<hr>
+<br>
+<pre><a href="../../../../org/apache/juneau/annotation/BeanIgnore.html" title="annotation in org.apache.juneau.annotation">@BeanIgnore</a>
+public final class <a href="../../../../src-html/org/apache/juneau/http/StringRange.html#line.31">StringRange</a>
+extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
+implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><<a href="../../../../org/apache/juneau/http/StringRange.html" title="class in org.apache.juneau.http">StringRange</a>></pre>
+<div class="block">Represents a single value in a comma-delimited header value that optionally contains a quality
+ metric for comparison and extension parameters.
+ <p>
+ Similar in concept to <a href="../../../../org/apache/juneau/http/MediaTypeRange.html" title="class in org.apache.juneau.http"><code>MediaTypeRange</code></a> except instead of media types (e.g. <js>"text/json"</js>),
+ it's a simple type (e.g. <js>"iso-8601"</js>).
+ <p>
+ An example of a type range is a value in an <code>Accept-Encoding</code> header.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/StringRange.html#compareTo-org.apache.juneau.http.StringRange-">compareTo</a></span>(<a href="../../../../org/apache/juneau/http/StringRange.html" title="class in org.apache.juneau.http">StringRange</a> o)</code>
+<div class="block">Compares two MediaRanges for equality.</div>
+</td>
+</tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/StringRange.html#equals-java.lang.Object-">equals</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</code>
+<div class="block">Returns <jk>true</jk> if the specified object is also a <code>MediaType</code>, and has the same qValue, type, parameters, and extensions.</div>
+</td>
+</tr>
+<tr id="i2" class="altColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<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/http/StringRange.html#getExtensions--">getExtensions</a></span>()</code>
+<div class="block">Returns the optional set of custom extensions defined for this type.</div>
+</td>
+</tr>
+<tr id="i3" class="rowColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang">Float</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/StringRange.html#getQValue--">getQValue</a></span>()</code>
+<div class="block">Returns the <js>'q'</js> (quality) value for this type, as described in Section 3.9 of RFC2616.</div>
+</td>
+</tr>
+<tr id="i4" class="altColor">
+<td class="colFirst"><code><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/http/StringRange.html#getType--">getType</a></span>()</code>
+<div class="block">Returns the type enclosed by this type range.</div>
+</td>
+</tr>
+<tr id="i5" class="rowColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/StringRange.html#hashCode--">hashCode</a></span>()</code>
+<div class="block">Returns a hash based on this instance's <code>media-type</code>.</div>
+</td>
+</tr>
+<tr id="i6" class="altColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/StringRange.html#matches-java.lang.String-">matches</a></span>(<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> type)</code>
+<div class="block">Checks if the specified type matches this range.</div>
+</td>
+</tr>
+<tr id="i7" class="rowColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/StringRange.html" title="class in org.apache.juneau.http">StringRange</a>[]</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/StringRange.html#parse-java.lang.String-">parse</a></span>(<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> value)</code>
+<div class="block">Parses a header such as an <code>Accept-Encoding</code> header value into an array of type ranges.</div>
+</td>
+</tr>
+<tr id="i8" class="altColor">
+<td class="colFirst"><code><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/http/StringRange.html#toString--">toString</a></span>()</code>
+<div class="block">Provides a string representation of this media range, suitable for use as an <code>Accept</code> header value.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-ex
ternal=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="parse-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>parse</h4>
+<pre>public static <a href="../../../../org/apache/juneau/http/StringRange.html" title="class in org.apache.juneau.http">StringRange</a>[] <a href="../../../../src-html/org/apache/juneau/http/StringRange.html#line.62">parse</a>(<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> value)</pre>
+<div class="block">Parses a header such as an <code>Accept-Encoding</code> header value into an array of type ranges.
+ <p>
+ The syntax expected to be found in the referenced <code>value</code> complies with the syntax described in RFC2616, Section 14.1, as described below:
+ <p class='bcode'>
+ Accept-Encoding = "Accept-Encoding" ":"
+ 1#( codings [ ";" "q" "=" qvalue ] )
+ codings = ( content-coding | "*" )
+ </p>
+ <p>
+ Examples of its use are:
+ <p class='bcode'>
+ Accept-Encoding: compress, gzip
+ Accept-Encoding:
+ Accept-Encoding: *
+ Accept-Encoding: compress;q=0.5, gzip;q=1.0
+ Accept-Encoding: gzip;q=1.0, identity; q=0.5, *;q=0
+ </p></div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The value to parse. If <jk>null</jk> or empty, returns a single <code>TypeRange</code> is returned that represents all types.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The type ranges described by the string.
+ <br>The ranges are sorted such that the most acceptable type is available at ordinal position <js>'0'</js>, and the least acceptable at position n-1.</dd>
+</dl>
+</li>
+</ul>
+<a name="getType--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getType</h4>
+<pre>public <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/http/StringRange.html#line.147">getType</a>()</pre>
+<div class="block">Returns the type enclosed by this type range.
+
+ <h5 class='section'>Examples:</h5>
+ <ul>
+ <li><js>"compress"</js>
+ <li><js>"gzip"</js>
+ <li><js>"*"</js>
+ </ul></div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The type of this type range, lowercased, never <jk>null</jk>.</dd>
+</dl>
+</li>
+</ul>
+<a name="getQValue--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getQValue</h4>
+<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang">Float</a> <a href="../../../../src-html/org/apache/juneau/http/StringRange.html#line.161">getQValue</a>()</pre>
+<div class="block">Returns the <js>'q'</js> (quality) value for this type, as described in Section 3.9 of RFC2616.
+ <p>
+ The quality value is a float between <code>0.0</code> (unacceptable) and <code>1.0</code> (most acceptable).
+ <p>
+ If 'q' value doesn't make sense for the context (e.g. this range was extracted from a <js>"content-*"</js> header, as opposed to <js>"accept-*"</js>
+ header, its value will always be <js>"1"</js>.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The 'q' value for this type, never <jk>null</jk>.</dd>
+</dl>
+</li>
+</ul>
+<a name="getExtensions--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getExtensions</h4>
+<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<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/http/StringRange.html#line.172">getExtensions</a>()</pre>
+<div class="block">Returns the optional set of custom extensions defined for this type.
+ <p>
+ Values are lowercase and never <jk>null</jk>.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The optional list of extensions, never <jk>null</jk>.</dd>
+</dl>
+</li>
+</ul>
+<a name="toString--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>toString</h4>
+<pre>public <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/http/StringRange.html#line.184">toString</a>()</pre>
+<div class="block">Provides a string representation of this media range, suitable for use as an <code>Accept</code> header value.
+ <p>
+ The literal text generated will be all lowercase.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code> in class <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>A media range suitable for use as an Accept header value, never <code>null</code>.</dd>
+</dl>
+</li>
+</ul>
+<a name="equals-java.lang.Object-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>equals</h4>
+<pre>public boolean <a href="../../../../src-html/org/apache/juneau/http/StringRange.html#line.214">equals</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</pre>
+<div class="block">Returns <jk>true</jk> if the specified object is also a <code>MediaType</code>, and has the same qValue, type, parameters, and extensions.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a></code> in class <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd><jk>true</jk> if object is equivalent.</dd>
+</dl>
+</li>
+</ul>
+<a name="hashCode--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>hashCode</h4>
+<pre>public int <a href="../../../../src-html/org/apache/juneau/http/StringRange.html#line.234">hashCode</a>()</pre>
+<div class="block">Returns a hash based on this instance's <code>media-type</code>.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a></code> in class <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>A hash based on this instance's <code>media-type</code>.</dd>
+</dl>
+</li>
+</ul>
+<a name="compareTo-org.apache.juneau.http.StringRange-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>compareTo</h4>
+<pre>public int <a href="../../../../src-html/org/apache/juneau/http/StringRange.html#line.249">compareTo</a>(<a href="../../../../org/apache/juneau/http/StringRange.html" title="class in org.apache.juneau.http">StringRange</a> o)</pre>
+<div class="block">Compares two MediaRanges for equality.
+ <p>
+ The values are first compared according to <code>qValue</code> values.
+ Should those values be equal, the <code>type</code> is then lexicographically compared (case-insensitive) in ascending order,
+ with the <js>"*"</js> type demoted last in that order.
+ <code>TypeRanges</code> with the same types but with extensions are promoted over those same types with no extensions.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true#compareTo-T-" title="class or interface in java.lang">compareTo</a></code> in interface <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><<a href="../../../../org/apache/juneau/http/StringRange.html" title="class in org.apache.juneau.http">StringRange</a>></code></dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>o</code> - The range to compare to. Never <jk>null</jk>.</dd>
+</dl>
+</li>
+</ul>
+<a name="matches-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>matches</h4>
+<pre>public boolean <a href="../../../../src-html/org/apache/juneau/http/StringRange.html#line.271">matches</a>(<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> type)</pre>
+<div class="block">Checks if the specified type matches this range.
+ <p>
+ The type will match this range if the range type string is the same or <js>"*"</js>.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>type</code> - The type to match against this range.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd><jk>true</jk> if the specified type matches this range.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/http/Server.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/http/TE.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/http/StringRange.html" target="_top">Frames</a></li>
+<li><a href="StringRange.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li>Constr | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>
[20/51] [partial] incubator-juneau-website git commit: Support for
passing in more class types to REST methods.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/ContentRange.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/ContentRange.html b/content/site/apidocs/src-html/org/apache/juneau/http/ContentRange.html
new file mode 100644
index 0000000..1586ea6
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/ContentRange.html
@@ -0,0 +1,198 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Represents a parsed <l>Content-Range</l> HTTP response header.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * <p><a name="line.17"></a>
+<span class="sourceLineNo">018</span> * Where in a full body message this partial message belongs.<a name="line.18"></a>
+<span class="sourceLineNo">019</span> *<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * <h6 class='figure'>Example</h6><a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p class='bcode'><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * Content-Range: bytes 21010-47021/47022<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * </p><a name="line.23"></a>
+<span class="sourceLineNo">024</span> *<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * <h6 class='topic'>RFC2616 Specification</h6><a name="line.25"></a>
+<span class="sourceLineNo">026</span> * The Content-Range entity-header is sent with a partial entity-body to specify where in the full entity-body the<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * partial body should be applied.<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * Range units are defined in section 3.12.<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * <p class='bcode'><a name="line.29"></a>
+<span class="sourceLineNo">030</span> * Content-Range = "Content-Range" ":" content-range-spec<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * content-range-spec = byte-content-range-spec<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * byte-content-range-spec = bytes-unit SP<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * byte-range-resp-spec "/"<a name="line.33"></a>
+<span class="sourceLineNo">034</span> * ( instance-length | "*" )<a name="line.34"></a>
+<span class="sourceLineNo">035</span> * byte-range-resp-spec = (first-byte-pos "-" last-byte-pos)<a name="line.35"></a>
+<span class="sourceLineNo">036</span> * | "*"<a name="line.36"></a>
+<span class="sourceLineNo">037</span> * instance-length = 1*DIGIT<a name="line.37"></a>
+<span class="sourceLineNo">038</span> * </p><a name="line.38"></a>
+<span class="sourceLineNo">039</span> * <p><a name="line.39"></a>
+<span class="sourceLineNo">040</span> * The header SHOULD indicate the total length of the full entity-body, unless this length is unknown or difficult to<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * determine.<a name="line.41"></a>
+<span class="sourceLineNo">042</span> * The asterisk "*" character means that the instance-length is unknown at the time when the response was generated.<a name="line.42"></a>
+<span class="sourceLineNo">043</span> * <p><a name="line.43"></a>
+<span class="sourceLineNo">044</span> * Unlike byte-ranges-specifier values (see section 14.35.1), a byte- range-resp-spec MUST only specify one range, and<a name="line.44"></a>
+<span class="sourceLineNo">045</span> * MUST contain absolute byte positions for both the first and last byte of the range.<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * <p><a name="line.46"></a>
+<span class="sourceLineNo">047</span> * A byte-content-range-spec with a byte-range-resp-spec whose last- byte-pos value is less than its first-byte-pos<a name="line.47"></a>
+<span class="sourceLineNo">048</span> * value, or whose instance-length value is less than or equal to its last-byte-pos value, is invalid.<a name="line.48"></a>
+<span class="sourceLineNo">049</span> * The recipient of an invalid byte-content-range- spec MUST ignore it and any content transferred along with it.<a name="line.49"></a>
+<span class="sourceLineNo">050</span> * <p><a name="line.50"></a>
+<span class="sourceLineNo">051</span> * A server sending a response with status code 416 (Requested range not satisfiable) SHOULD include a Content-Range<a name="line.51"></a>
+<span class="sourceLineNo">052</span> * field with a byte-range- resp-spec of "*".<a name="line.52"></a>
+<span class="sourceLineNo">053</span> * The instance-length specifies the current length of the selected resource.<a name="line.53"></a>
+<span class="sourceLineNo">054</span> * A response with status code 206 (Partial Content) MUST NOT include a Content-Range field with a byte-range-resp-spec<a name="line.54"></a>
+<span class="sourceLineNo">055</span> * of "*".<a name="line.55"></a>
+<span class="sourceLineNo">056</span> * <p><a name="line.56"></a>
+<span class="sourceLineNo">057</span> * Examples of byte-content-range-spec values, assuming that the entity contains a total of 1234 bytes:<a name="line.57"></a>
+<span class="sourceLineNo">058</span> * <p class='bcode'><a name="line.58"></a>
+<span class="sourceLineNo">059</span> * The first 500 bytes:<a name="line.59"></a>
+<span class="sourceLineNo">060</span> * bytes 0-499/1234<a name="line.60"></a>
+<span class="sourceLineNo">061</span> * The second 500 bytes:<a name="line.61"></a>
+<span class="sourceLineNo">062</span> * bytes 500-999/1234<a name="line.62"></a>
+<span class="sourceLineNo">063</span> * All except for the first 500 bytes:<a name="line.63"></a>
+<span class="sourceLineNo">064</span> * bytes 500-1233/1234<a name="line.64"></a>
+<span class="sourceLineNo">065</span> * The last 500 bytes:<a name="line.65"></a>
+<span class="sourceLineNo">066</span> * bytes 734-1233/1234<a name="line.66"></a>
+<span class="sourceLineNo">067</span> * </p><a name="line.67"></a>
+<span class="sourceLineNo">068</span> * <p><a name="line.68"></a>
+<span class="sourceLineNo">069</span> * When an HTTP message includes the content of a single range (for example, a response to a request for a single range,<a name="line.69"></a>
+<span class="sourceLineNo">070</span> * or to a request for a set of ranges that overlap without any holes), this content is transmitted with a Content-Range<a name="line.70"></a>
+<span class="sourceLineNo">071</span> * header, and a Content-Length header showing the number of bytes actually transferred.<a name="line.71"></a>
+<span class="sourceLineNo">072</span> * For example:<a name="line.72"></a>
+<span class="sourceLineNo">073</span> * <p class='bcode'><a name="line.73"></a>
+<span class="sourceLineNo">074</span> * HTTP/1.1 206 Partial content<a name="line.74"></a>
+<span class="sourceLineNo">075</span> * Date: Wed, 15 Nov 1995 06:25:24 GMT<a name="line.75"></a>
+<span class="sourceLineNo">076</span> * Last-Modified: Wed, 15 Nov 1995 04:58:08 GMT<a name="line.76"></a>
+<span class="sourceLineNo">077</span> * Content-Range: bytes 21010-47021/47022<a name="line.77"></a>
+<span class="sourceLineNo">078</span> * Content-Length: 26012<a name="line.78"></a>
+<span class="sourceLineNo">079</span> * Content-Type: image/gif<a name="line.79"></a>
+<span class="sourceLineNo">080</span> * </p><a name="line.80"></a>
+<span class="sourceLineNo">081</span> * <p><a name="line.81"></a>
+<span class="sourceLineNo">082</span> * When an HTTP message includes the content of multiple ranges (for example, a response to a request for multiple<a name="line.82"></a>
+<span class="sourceLineNo">083</span> * non-overlapping ranges), these are transmitted as a multipart message.<a name="line.83"></a>
+<span class="sourceLineNo">084</span> * The multipart media type used for this purpose is "multipart/byteranges" as defined in appendix 19.2.<a name="line.84"></a>
+<span class="sourceLineNo">085</span> * See appendix 19.6.3 for a compatibility issue.<a name="line.85"></a>
+<span class="sourceLineNo">086</span> * <p><a name="line.86"></a>
+<span class="sourceLineNo">087</span> * A response to a request for a single range MUST NOT be sent using the multipart/byteranges media type.<a name="line.87"></a>
+<span class="sourceLineNo">088</span> * A response to a request for multiple ranges, whose result is a single range, MAY be sent as a multipart/byteranges<a name="line.88"></a>
+<span class="sourceLineNo">089</span> * media type with one part.<a name="line.89"></a>
+<span class="sourceLineNo">090</span> * A client that cannot decode a multipart/byteranges message MUST NOT ask for multiple byte-ranges in a single request.<a name="line.90"></a>
+<span class="sourceLineNo">091</span> * <p><a name="line.91"></a>
+<span class="sourceLineNo">092</span> * When a client requests multiple byte-ranges in one request, the server SHOULD return them in the order that they<a name="line.92"></a>
+<span class="sourceLineNo">093</span> * appeared in the request.<a name="line.93"></a>
+<span class="sourceLineNo">094</span> * <p><a name="line.94"></a>
+<span class="sourceLineNo">095</span> * If the server ignores a byte-range-spec because it is syntactically invalid, the server SHOULD treat the request as<a name="line.95"></a>
+<span class="sourceLineNo">096</span> * if the invalid Range header field did not exist.<a name="line.96"></a>
+<span class="sourceLineNo">097</span> * (Normally, this means return a 200 response containing the full entity).<a name="line.97"></a>
+<span class="sourceLineNo">098</span> * <p><a name="line.98"></a>
+<span class="sourceLineNo">099</span> * If the server receives a request (other than one including an If- Range request-header field) with an unsatisfiable<a name="line.99"></a>
+<span class="sourceLineNo">100</span> * Range request- header field<a name="line.100"></a>
+<span class="sourceLineNo">101</span> * (that is, all of whose byte-range-spec values have a first-byte-pos value greater than the current length of the<a name="line.101"></a>
+<span class="sourceLineNo">102</span> * selected resource),<a name="line.102"></a>
+<span class="sourceLineNo">103</span> * it SHOULD return a response code of 416 (Requested range not satisfiable) (section 10.4.17).<a name="line.103"></a>
+<span class="sourceLineNo">104</span> * <p><a name="line.104"></a>
+<span class="sourceLineNo">105</span> * Note: clients cannot depend on servers to send a 416 (Requested range not satisfiable) response instead of a 200 (OK)<a name="line.105"></a>
+<span class="sourceLineNo">106</span> * response for<a name="line.106"></a>
+<span class="sourceLineNo">107</span> * an unsatisfiable Range request-header, since not all servers implement this request-header.<a name="line.107"></a>
+<span class="sourceLineNo">108</span> */<a name="line.108"></a>
+<span class="sourceLineNo">109</span>public final class ContentRange extends HeaderString {<a name="line.109"></a>
+<span class="sourceLineNo">110</span><a name="line.110"></a>
+<span class="sourceLineNo">111</span> /**<a name="line.111"></a>
+<span class="sourceLineNo">112</span> * Returns a parsed <code>Content-Range</code> header.<a name="line.112"></a>
+<span class="sourceLineNo">113</span> *<a name="line.113"></a>
+<span class="sourceLineNo">114</span> * @param value The <code>Content-Range</code> header string.<a name="line.114"></a>
+<span class="sourceLineNo">115</span> * @return The parsed <code>Content-Range</code> header, or <jk>null</jk> if the string was null.<a name="line.115"></a>
+<span class="sourceLineNo">116</span> */<a name="line.116"></a>
+<span class="sourceLineNo">117</span> public static ContentRange forString(String value) {<a name="line.117"></a>
+<span class="sourceLineNo">118</span> if (value == null)<a name="line.118"></a>
+<span class="sourceLineNo">119</span> return null;<a name="line.119"></a>
+<span class="sourceLineNo">120</span> return new ContentRange(value);<a name="line.120"></a>
+<span class="sourceLineNo">121</span> }<a name="line.121"></a>
+<span class="sourceLineNo">122</span><a name="line.122"></a>
+<span class="sourceLineNo">123</span> private ContentRange(String value) {<a name="line.123"></a>
+<span class="sourceLineNo">124</span> super(value);<a name="line.124"></a>
+<span class="sourceLineNo">125</span> }<a name="line.125"></a>
+<span class="sourceLineNo">126</span>}<a name="line.126"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/ContentType.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/ContentType.html b/content/site/apidocs/src-html/org/apache/juneau/http/ContentType.html
index 36dcfa2..676e664 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/http/ContentType.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/ContentType.html
@@ -20,88 +20,86 @@
<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
<span class="sourceLineNo">014</span><a name="line.14"></a>
-<span class="sourceLineNo">015</span>import java.util.concurrent.*;<a name="line.15"></a>
+<span class="sourceLineNo">015</span>import static org.apache.juneau.http.Constants.*;<a name="line.15"></a>
<span class="sourceLineNo">016</span><a name="line.16"></a>
-<span class="sourceLineNo">017</span>/**<a name="line.17"></a>
-<span class="sourceLineNo">018</span> * Represents a parsed <code>Content-Type:</code> HTTP header.<a name="line.18"></a>
-<span class="sourceLineNo">019</span> * <p><a name="line.19"></a>
-<span class="sourceLineNo">020</span> * The formal RFC2616 header field definition is as follows:<a name="line.20"></a>
-<span class="sourceLineNo">021</span> * <p class='bcode'><a name="line.21"></a>
-<span class="sourceLineNo">022</span> * 14.17 Content-Type<a name="line.22"></a>
+<span class="sourceLineNo">017</span>import org.apache.juneau.internal.*;<a name="line.17"></a>
+<span class="sourceLineNo">018</span><a name="line.18"></a>
+<span class="sourceLineNo">019</span>/**<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * Represents a parsed <l>Content-Type</l> HTTP request/response header.<a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * The MIME type of this content.<a name="line.22"></a>
<span class="sourceLineNo">023</span> *<a name="line.23"></a>
-<span class="sourceLineNo">024</span> * The Content-Type entity-header field indicates the media type of the<a name="line.24"></a>
-<span class="sourceLineNo">025</span> * entity-body sent to the recipient or, in the case of the HEAD method,<a name="line.25"></a>
-<span class="sourceLineNo">026</span> * the media type that would have been sent had the request been a GET.<a name="line.26"></a>
-<span class="sourceLineNo">027</span> *<a name="line.27"></a>
-<span class="sourceLineNo">028</span> * Content-Type = "Content-Type" ":" media-type<a name="line.28"></a>
-<span class="sourceLineNo">029</span> *<a name="line.29"></a>
-<span class="sourceLineNo">030</span> * Media types are defined in section 3.7. An example of the field is<a name="line.30"></a>
-<span class="sourceLineNo">031</span> *<a name="line.31"></a>
-<span class="sourceLineNo">032</span> * Content-Type: text/html; charset=ISO-8859-4<a name="line.32"></a>
-<span class="sourceLineNo">033</span> * </p><a name="line.33"></a>
-<span class="sourceLineNo">034</span> */<a name="line.34"></a>
-<span class="sourceLineNo">035</span>public class ContentType extends MediaType {<a name="line.35"></a>
-<span class="sourceLineNo">036</span><a name="line.36"></a>
-<span class="sourceLineNo">037</span> private static final boolean nocache = Boolean.getBoolean("juneau.http.ContentType.nocache");<a name="line.37"></a>
-<span class="sourceLineNo">038</span> private static final ConcurrentHashMap<String,ContentType> cache = new ConcurrentHashMap<String,ContentType>();<a name="line.38"></a>
-<span class="sourceLineNo">039</span><a name="line.39"></a>
-<span class="sourceLineNo">040</span> /**<a name="line.40"></a>
-<span class="sourceLineNo">041</span> * Returns a parsed <code>Content-Type</code> header.<a name="line.41"></a>
-<span class="sourceLineNo">042</span> *<a name="line.42"></a>
-<span class="sourceLineNo">043</span> * @param s The <code>Content-Type</code> header string.<a name="line.43"></a>
-<span class="sourceLineNo">044</span> * @return The parsed <code>Content-Type</code> header, or <jk>null</jk> if the string was null.<a name="line.44"></a>
-<span class="sourceLineNo">045</span> */<a name="line.45"></a>
-<span class="sourceLineNo">046</span> public static ContentType forString(String s) {<a name="line.46"></a>
-<span class="sourceLineNo">047</span> if (s == null)<a name="line.47"></a>
-<span class="sourceLineNo">048</span> return null;<a name="line.48"></a>
-<span class="sourceLineNo">049</span><a name="line.49"></a>
-<span class="sourceLineNo">050</span> // Prevent OOM in case of DDOS<a name="line.50"></a>
-<span class="sourceLineNo">051</span> if (cache.size() > 1000)<a name="line.51"></a>
-<span class="sourceLineNo">052</span> cache.clear();<a name="line.52"></a>
-<span class="sourceLineNo">053</span><a name="line.53"></a>
-<span class="sourceLineNo">054</span> while (true) {<a name="line.54"></a>
-<span class="sourceLineNo">055</span> ContentType mt = cache.get(s);<a name="line.55"></a>
-<span class="sourceLineNo">056</span> if (mt != null)<a name="line.56"></a>
-<span class="sourceLineNo">057</span> return mt;<a name="line.57"></a>
-<span class="sourceLineNo">058</span> mt = new ContentType(s);<a name="line.58"></a>
-<span class="sourceLineNo">059</span> if (nocache)<a name="line.59"></a>
-<span class="sourceLineNo">060</span> return mt;<a name="line.60"></a>
-<span class="sourceLineNo">061</span> cache.putIfAbsent(s, mt);<a name="line.61"></a>
-<span class="sourceLineNo">062</span> }<a name="line.62"></a>
-<span class="sourceLineNo">063</span> }<a name="line.63"></a>
-<span class="sourceLineNo">064</span><a name="line.64"></a>
-<span class="sourceLineNo">065</span> private ContentType(String s) {<a name="line.65"></a>
-<span class="sourceLineNo">066</span> super(s);<a name="line.66"></a>
-<span class="sourceLineNo">067</span> }<a name="line.67"></a>
-<span class="sourceLineNo">068</span><a name="line.68"></a>
-<span class="sourceLineNo">069</span> /**<a name="line.69"></a>
-<span class="sourceLineNo">070</span> * Given a list of media types, returns the best match for this <code>Content-Type</code> header.<a name="line.70"></a>
-<span class="sourceLineNo">071</span> * <p><a name="line.71"></a>
-<span class="sourceLineNo">072</span> * Note that fuzzy matching is allowed on the media types where the <code>Content-Types</code> header may<a name="line.72"></a>
-<span class="sourceLineNo">073</span> * contain additional subtype parts.<a name="line.73"></a>
-<span class="sourceLineNo">074</span> * <br>For example, given a <code>Content-Type</code> value of <js>"text/json+activity"</js>,<a name="line.74"></a>
-<span class="sourceLineNo">075</span> * the media type <js>"text/json"</js> will match if <js>"text/json+activity"</js> or <js>"text/activity+json"</js><a name="line.75"></a>
-<span class="sourceLineNo">076</span> * isn't found.<a name="line.76"></a>
-<span class="sourceLineNo">077</span> * <br>The purpose for this is to allow parsers to match when artifacts such as <code>id</code> properties are present<a name="line.77"></a>
-<span class="sourceLineNo">078</span> * in the header.<a name="line.78"></a>
-<span class="sourceLineNo">079</span> *<a name="line.79"></a>
-<span class="sourceLineNo">080</span> * @param mediaTypes The media types to match against.<a name="line.80"></a>
-<span class="sourceLineNo">081</span> * @return The index into the array of the best match, or <code>-1</code> if no suitable matches could be found.<a name="line.81"></a>
-<span class="sourceLineNo">082</span> */<a name="line.82"></a>
-<span class="sourceLineNo">083</span> public int findMatch(MediaType[] mediaTypes) {<a name="line.83"></a>
-<span class="sourceLineNo">084</span> int matchQuant = 0, matchIndex = -1;<a name="line.84"></a>
-<span class="sourceLineNo">085</span><a name="line.85"></a>
-<span class="sourceLineNo">086</span> for (int i = 0; i < mediaTypes.length; i++) {<a name="line.86"></a>
-<span class="sourceLineNo">087</span> MediaType mt = mediaTypes[i];<a name="line.87"></a>
-<span class="sourceLineNo">088</span> int matchQuant2 = mt.match(this);<a name="line.88"></a>
-<span class="sourceLineNo">089</span> if (matchQuant2 > matchQuant) {<a name="line.89"></a>
-<span class="sourceLineNo">090</span> matchIndex = i;<a name="line.90"></a>
-<span class="sourceLineNo">091</span> }<a name="line.91"></a>
-<span class="sourceLineNo">092</span> }<a name="line.92"></a>
-<span class="sourceLineNo">093</span><a name="line.93"></a>
-<span class="sourceLineNo">094</span> return matchIndex;<a name="line.94"></a>
-<span class="sourceLineNo">095</span> }<a name="line.95"></a>
-<span class="sourceLineNo">096</span>}<a name="line.96"></a>
+<span class="sourceLineNo">024</span> * <h6 class='figure'>Example</h6><a name="line.24"></a>
+<span class="sourceLineNo">025</span> * <p class='bcode'><a name="line.25"></a>
+<span class="sourceLineNo">026</span> * Content-Type: text/html; charset=utf-8<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * </p><a name="line.27"></a>
+<span class="sourceLineNo">028</span> *<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * <h6 class='topic'>RFC2616 Specification</h6><a name="line.29"></a>
+<span class="sourceLineNo">030</span> *<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * The Content-Type entity-header field indicates the media type of the entity-body sent to the recipient or, in the<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * case of the HEAD method, the media type that would have been sent had the request been a GET.<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * <p class='bcode'><a name="line.33"></a>
+<span class="sourceLineNo">034</span> * Content-Type = "Content-Type" ":" media-type<a name="line.34"></a>
+<span class="sourceLineNo">035</span> * </p><a name="line.35"></a>
+<span class="sourceLineNo">036</span> * <p><a name="line.36"></a>
+<span class="sourceLineNo">037</span> * Media types are defined in section 3.7.<a name="line.37"></a>
+<span class="sourceLineNo">038</span> * An example of the field is...<a name="line.38"></a>
+<span class="sourceLineNo">039</span> * <p class='bcode'><a name="line.39"></a>
+<span class="sourceLineNo">040</span> * Content-Type: text/html; charset=ISO-8859-4<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * </p><a name="line.41"></a>
+<span class="sourceLineNo">042</span> */<a name="line.42"></a>
+<span class="sourceLineNo">043</span>public class ContentType extends MediaType {<a name="line.43"></a>
+<span class="sourceLineNo">044</span><a name="line.44"></a>
+<span class="sourceLineNo">045</span> private static Cache<String,ContentType> cache = new Cache<String,ContentType>(NOCACHE, CACHE_MAX_SIZE);<a name="line.45"></a>
+<span class="sourceLineNo">046</span><a name="line.46"></a>
+<span class="sourceLineNo">047</span> /**<a name="line.47"></a>
+<span class="sourceLineNo">048</span> * Returns a parsed <code>Content-Type</code> header.<a name="line.48"></a>
+<span class="sourceLineNo">049</span> *<a name="line.49"></a>
+<span class="sourceLineNo">050</span> * @param value The <code>Content-Type</code> header string.<a name="line.50"></a>
+<span class="sourceLineNo">051</span> * @return The parsed <code>Content-Type</code> header, or <jk>null</jk> if the string was null.<a name="line.51"></a>
+<span class="sourceLineNo">052</span> */<a name="line.52"></a>
+<span class="sourceLineNo">053</span> public static ContentType forString(String value) {<a name="line.53"></a>
+<span class="sourceLineNo">054</span> if (value == null)<a name="line.54"></a>
+<span class="sourceLineNo">055</span> return null;<a name="line.55"></a>
+<span class="sourceLineNo">056</span> ContentType ct = cache.get(value);<a name="line.56"></a>
+<span class="sourceLineNo">057</span> if (ct == null)<a name="line.57"></a>
+<span class="sourceLineNo">058</span> ct = cache.put(value, new ContentType(value));<a name="line.58"></a>
+<span class="sourceLineNo">059</span> return ct;<a name="line.59"></a>
+<span class="sourceLineNo">060</span> }<a name="line.60"></a>
+<span class="sourceLineNo">061</span><a name="line.61"></a>
+<span class="sourceLineNo">062</span><a name="line.62"></a>
+<span class="sourceLineNo">063</span> private ContentType(String s) {<a name="line.63"></a>
+<span class="sourceLineNo">064</span> super(s);<a name="line.64"></a>
+<span class="sourceLineNo">065</span> }<a name="line.65"></a>
+<span class="sourceLineNo">066</span><a name="line.66"></a>
+<span class="sourceLineNo">067</span> /**<a name="line.67"></a>
+<span class="sourceLineNo">068</span> * Given a list of media types, returns the best match for this <code>Content-Type</code> header.<a name="line.68"></a>
+<span class="sourceLineNo">069</span> * <p><a name="line.69"></a>
+<span class="sourceLineNo">070</span> * Note that fuzzy matching is allowed on the media types where the <code>Content-Types</code> header may<a name="line.70"></a>
+<span class="sourceLineNo">071</span> * contain additional subtype parts.<a name="line.71"></a>
+<span class="sourceLineNo">072</span> * <br>For example, given a <code>Content-Type</code> value of <js>"text/json+activity"</js>,<a name="line.72"></a>
+<span class="sourceLineNo">073</span> * the media type <js>"text/json"</js> will match if <js>"text/json+activity"</js> or <js>"text/activity+json"</js><a name="line.73"></a>
+<span class="sourceLineNo">074</span> * isn't found.<a name="line.74"></a>
+<span class="sourceLineNo">075</span> * <br>The purpose for this is to allow parsers to match when artifacts such as <code>id</code> properties are present<a name="line.75"></a>
+<span class="sourceLineNo">076</span> * in the header.<a name="line.76"></a>
+<span class="sourceLineNo">077</span> *<a name="line.77"></a>
+<span class="sourceLineNo">078</span> * @param mediaTypes The media types to match against.<a name="line.78"></a>
+<span class="sourceLineNo">079</span> * @return The index into the array of the best match, or <code>-1</code> if no suitable matches could be found.<a name="line.79"></a>
+<span class="sourceLineNo">080</span> */<a name="line.80"></a>
+<span class="sourceLineNo">081</span> public int findMatch(MediaType[] mediaTypes) {<a name="line.81"></a>
+<span class="sourceLineNo">082</span> int matchQuant = 0, matchIndex = -1;<a name="line.82"></a>
+<span class="sourceLineNo">083</span><a name="line.83"></a>
+<span class="sourceLineNo">084</span> for (int i = 0; i < mediaTypes.length; i++) {<a name="line.84"></a>
+<span class="sourceLineNo">085</span> MediaType mt = mediaTypes[i];<a name="line.85"></a>
+<span class="sourceLineNo">086</span> int matchQuant2 = mt.match(this);<a name="line.86"></a>
+<span class="sourceLineNo">087</span> if (matchQuant2 > matchQuant) {<a name="line.87"></a>
+<span class="sourceLineNo">088</span> matchIndex = i;<a name="line.88"></a>
+<span class="sourceLineNo">089</span> }<a name="line.89"></a>
+<span class="sourceLineNo">090</span> }<a name="line.90"></a>
+<span class="sourceLineNo">091</span><a name="line.91"></a>
+<span class="sourceLineNo">092</span> return matchIndex;<a name="line.92"></a>
+<span class="sourceLineNo">093</span> }<a name="line.93"></a>
+<span class="sourceLineNo">094</span>}<a name="line.94"></a>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/Date.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/Date.html b/content/site/apidocs/src-html/org/apache/juneau/http/Date.html
new file mode 100644
index 0000000..5053380
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/Date.html
@@ -0,0 +1,155 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Represents a parsed <l>Date</l> HTTP request/response header.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * <p><a name="line.17"></a>
+<span class="sourceLineNo">018</span> * The date and time that the message was sent (in "HTTP-date" format as defined by RFC 7231).<a name="line.18"></a>
+<span class="sourceLineNo">019</span> *<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * <h6 class='figure'>Example</h6><a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p class='bcode'><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * Date: Tue, 15 Nov 1994 08:12:31 GMT<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * </p><a name="line.23"></a>
+<span class="sourceLineNo">024</span> *<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * <h6 class='topic'>RFC2616 Specification</h6><a name="line.25"></a>
+<span class="sourceLineNo">026</span> *<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * The Date general-header field represents the date and time at which the message was originated, having the same<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * semantics as orig-date in RFC 822.<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * The field value is an HTTP-date, as described in section 3.3.1; it MUST be sent in RFC 1123 [8]-date format.<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * <p class='bcode'><a name="line.30"></a>
+<span class="sourceLineNo">031</span> * Date = "Date" ":" HTTP-date<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * </p><a name="line.32"></a>
+<span class="sourceLineNo">033</span> * <p><a name="line.33"></a>
+<span class="sourceLineNo">034</span> * An example is...<a name="line.34"></a>
+<span class="sourceLineNo">035</span> * <p class='bcode'><a name="line.35"></a>
+<span class="sourceLineNo">036</span> * Date: Tue, 15 Nov 1994 08:12:31 GMT<a name="line.36"></a>
+<span class="sourceLineNo">037</span> * </p><a name="line.37"></a>
+<span class="sourceLineNo">038</span> * <p><a name="line.38"></a>
+<span class="sourceLineNo">039</span> * Origin servers MUST include a Date header field in all responses, except in these cases:<a name="line.39"></a>
+<span class="sourceLineNo">040</span> * <ol><a name="line.40"></a>
+<span class="sourceLineNo">041</span> * <li>If the response status code is 100 (Continue) or 101 (Switching Protocols), the response MAY include a Date<a name="line.41"></a>
+<span class="sourceLineNo">042</span> * header field, at the server's option.<a name="line.42"></a>
+<span class="sourceLineNo">043</span> * <li>If the response status code conveys a server error, e.g. 500 (Internal Server Error) or 503 (Service<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * Unavailable), and it is inconvenient or impossible to generate a valid Date.<a name="line.44"></a>
+<span class="sourceLineNo">045</span> * <li>If the server does not have a clock that can provide a reasonable approximation of the current time, its<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * responses MUST NOT include a Date header field.<a name="line.46"></a>
+<span class="sourceLineNo">047</span> * In this case, the rules in section 14.18.1 MUST be followed.<a name="line.47"></a>
+<span class="sourceLineNo">048</span> * </ol><a name="line.48"></a>
+<span class="sourceLineNo">049</span> * A received message that does not have a Date header field MUST be assigned one by the recipient if the message will<a name="line.49"></a>
+<span class="sourceLineNo">050</span> * be cached by that recipient or gatewayed via a protocol which requires a Date.<a name="line.50"></a>
+<span class="sourceLineNo">051</span> * An HTTP implementation without a clock MUST NOT cache responses without revalidating them on every use.<a name="line.51"></a>
+<span class="sourceLineNo">052</span> * An HTTP cache, especially a shared cache, SHOULD use a mechanism, such as NTP, to synchronize its clock with a<a name="line.52"></a>
+<span class="sourceLineNo">053</span> * reliable external standard.<a name="line.53"></a>
+<span class="sourceLineNo">054</span> * <p><a name="line.54"></a>
+<span class="sourceLineNo">055</span> * Clients SHOULD only send a Date header field in messages that include an entity-body, as in the case of the PUT and<a name="line.55"></a>
+<span class="sourceLineNo">056</span> * POST requests, and even then it is optional.<a name="line.56"></a>
+<span class="sourceLineNo">057</span> * A client without a clock MUST NOT send a Date header field in a request.<a name="line.57"></a>
+<span class="sourceLineNo">058</span> * <p><a name="line.58"></a>
+<span class="sourceLineNo">059</span> * The HTTP-date sent in a Date header SHOULD NOT represent a date and time subsequent to the generation of the message.<a name="line.59"></a>
+<span class="sourceLineNo">060</span> * It SHOULD represent the best available approximation of the date and time of message generation, unless the<a name="line.60"></a>
+<span class="sourceLineNo">061</span> * implementation has no means of generating a reasonably accurate date and time.<a name="line.61"></a>
+<span class="sourceLineNo">062</span> * In theory, the date ought to represent the moment just before the entity is generated.<a name="line.62"></a>
+<span class="sourceLineNo">063</span> * In practice, the date can be generated at any time during the message origination without affecting its semantic<a name="line.63"></a>
+<span class="sourceLineNo">064</span> * value.<a name="line.64"></a>
+<span class="sourceLineNo">065</span> */<a name="line.65"></a>
+<span class="sourceLineNo">066</span>public final class Date extends HeaderDate {<a name="line.66"></a>
+<span class="sourceLineNo">067</span><a name="line.67"></a>
+<span class="sourceLineNo">068</span> /**<a name="line.68"></a>
+<span class="sourceLineNo">069</span> * Returns a parsed <code>Date</code> header.<a name="line.69"></a>
+<span class="sourceLineNo">070</span> *<a name="line.70"></a>
+<span class="sourceLineNo">071</span> * @param value The <code>Date</code> header string.<a name="line.71"></a>
+<span class="sourceLineNo">072</span> * @return The parsed <code>Date</code> header, or <jk>null</jk> if the string was null.<a name="line.72"></a>
+<span class="sourceLineNo">073</span> */<a name="line.73"></a>
+<span class="sourceLineNo">074</span> public static Date forString(String value) {<a name="line.74"></a>
+<span class="sourceLineNo">075</span> if (value == null)<a name="line.75"></a>
+<span class="sourceLineNo">076</span> return null;<a name="line.76"></a>
+<span class="sourceLineNo">077</span> return new Date(value);<a name="line.77"></a>
+<span class="sourceLineNo">078</span> }<a name="line.78"></a>
+<span class="sourceLineNo">079</span><a name="line.79"></a>
+<span class="sourceLineNo">080</span> private Date(String value) {<a name="line.80"></a>
+<span class="sourceLineNo">081</span> super(value);<a name="line.81"></a>
+<span class="sourceLineNo">082</span> }<a name="line.82"></a>
+<span class="sourceLineNo">083</span>}<a name="line.83"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/ETag.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/ETag.html b/content/site/apidocs/src-html/org/apache/juneau/http/ETag.html
new file mode 100644
index 0000000..15d4ac4
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/ETag.html
@@ -0,0 +1,130 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Represents a parsed <l>ETag</l> HTTP response header.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * <p><a name="line.17"></a>
+<span class="sourceLineNo">018</span> * An identifier for a specific version of a resource, often a message digest.<a name="line.18"></a>
+<span class="sourceLineNo">019</span> *<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * <h6 class='figure'>Example</h6><a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p class='bcode'><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * ETag: "737060cd8c284d8af7ad3082f209582d"<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * </p><a name="line.23"></a>
+<span class="sourceLineNo">024</span> *<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * <h6 class='topic'>RFC2616 Specification</h6><a name="line.25"></a>
+<span class="sourceLineNo">026</span> *<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * The ETag response-header field provides the current value of the entity tag for the requested variant.<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * The headers used with entity tags are described in sections 14.24, 14.26 and 14.44.<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * The entity tag MAY be used for comparison with other entities from the same resource (see section 13.3.3).<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * <p class='bcode'><a name="line.30"></a>
+<span class="sourceLineNo">031</span> * ETag = "ETag" ":" entity-tag<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * </p><a name="line.32"></a>
+<span class="sourceLineNo">033</span> * <p><a name="line.33"></a>
+<span class="sourceLineNo">034</span> * Examples:<a name="line.34"></a>
+<span class="sourceLineNo">035</span> * <p class='bcode'><a name="line.35"></a>
+<span class="sourceLineNo">036</span> * ETag: "xyzzy"<a name="line.36"></a>
+<span class="sourceLineNo">037</span> * ETag: W/"xyzzy"<a name="line.37"></a>
+<span class="sourceLineNo">038</span> * ETag: ""<a name="line.38"></a>
+<span class="sourceLineNo">039</span> * </p><a name="line.39"></a>
+<span class="sourceLineNo">040</span> */<a name="line.40"></a>
+<span class="sourceLineNo">041</span>public final class ETag extends HeaderString {<a name="line.41"></a>
+<span class="sourceLineNo">042</span><a name="line.42"></a>
+<span class="sourceLineNo">043</span> /**<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * Returns a parsed <code>ETag</code> header.<a name="line.44"></a>
+<span class="sourceLineNo">045</span> *<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * @param value The <code>ETag</code> header string.<a name="line.46"></a>
+<span class="sourceLineNo">047</span> * @return The parsed <code>ETag</code> header, or <jk>null</jk> if the string was null.<a name="line.47"></a>
+<span class="sourceLineNo">048</span> */<a name="line.48"></a>
+<span class="sourceLineNo">049</span> public static ETag forString(String value) {<a name="line.49"></a>
+<span class="sourceLineNo">050</span> if (value == null)<a name="line.50"></a>
+<span class="sourceLineNo">051</span> return null;<a name="line.51"></a>
+<span class="sourceLineNo">052</span> return new ETag(value);<a name="line.52"></a>
+<span class="sourceLineNo">053</span> }<a name="line.53"></a>
+<span class="sourceLineNo">054</span><a name="line.54"></a>
+<span class="sourceLineNo">055</span> private ETag(String value) {<a name="line.55"></a>
+<span class="sourceLineNo">056</span> super(value);<a name="line.56"></a>
+<span class="sourceLineNo">057</span> }<a name="line.57"></a>
+<span class="sourceLineNo">058</span>}<a name="line.58"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/EntityValidator.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/EntityValidator.html b/content/site/apidocs/src-html/org/apache/juneau/http/EntityValidator.html
new file mode 100644
index 0000000..c566240
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/EntityValidator.html
@@ -0,0 +1,144 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Represents a validator value.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * <p><a name="line.17"></a>
+<span class="sourceLineNo">018</span> * <h6 class='figure'>Example</h6><a name="line.18"></a>
+<span class="sourceLineNo">019</span> * <p class='bcode'><a name="line.19"></a>
+<span class="sourceLineNo">020</span> * ETag: "123456789" – A strong ETag validator<a name="line.20"></a>
+<span class="sourceLineNo">021</span> * ETag: W/"123456789" – A weak ETag validator<a name="line.21"></a>
+<span class="sourceLineNo">022</span> * </p><a name="line.22"></a>
+<span class="sourceLineNo">023</span> */<a name="line.23"></a>
+<span class="sourceLineNo">024</span>public class EntityValidator {<a name="line.24"></a>
+<span class="sourceLineNo">025</span><a name="line.25"></a>
+<span class="sourceLineNo">026</span> private final String value;<a name="line.26"></a>
+<span class="sourceLineNo">027</span> private final boolean isWeak;<a name="line.27"></a>
+<span class="sourceLineNo">028</span><a name="line.28"></a>
+<span class="sourceLineNo">029</span> /**<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * Constructor.<a name="line.30"></a>
+<span class="sourceLineNo">031</span> *<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * @param value The validator string value.<a name="line.32"></a>
+<span class="sourceLineNo">033</span> */<a name="line.33"></a>
+<span class="sourceLineNo">034</span> protected EntityValidator(String value) {<a name="line.34"></a>
+<span class="sourceLineNo">035</span> value = value.trim();<a name="line.35"></a>
+<span class="sourceLineNo">036</span> isWeak = value.startsWith("W/");<a name="line.36"></a>
+<span class="sourceLineNo">037</span> if (isWeak)<a name="line.37"></a>
+<span class="sourceLineNo">038</span> value = value.substring(2);<a name="line.38"></a>
+<span class="sourceLineNo">039</span> if (value.length() > 1 && value.charAt(0) == '"' && value.charAt(value.length()-1) == '"')<a name="line.39"></a>
+<span class="sourceLineNo">040</span> value = value.substring(1, value.length()-1);<a name="line.40"></a>
+<span class="sourceLineNo">041</span> this.value = value;<a name="line.41"></a>
+<span class="sourceLineNo">042</span> }<a name="line.42"></a>
+<span class="sourceLineNo">043</span><a name="line.43"></a>
+<span class="sourceLineNo">044</span> /**<a name="line.44"></a>
+<span class="sourceLineNo">045</span> * Returns the validator value stripped of quotes and weak tag.<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * @return The validator value.<a name="line.46"></a>
+<span class="sourceLineNo">047</span> */<a name="line.47"></a>
+<span class="sourceLineNo">048</span> public String asString() {<a name="line.48"></a>
+<span class="sourceLineNo">049</span> return value;<a name="line.49"></a>
+<span class="sourceLineNo">050</span> }<a name="line.50"></a>
+<span class="sourceLineNo">051</span><a name="line.51"></a>
+<span class="sourceLineNo">052</span> /**<a name="line.52"></a>
+<span class="sourceLineNo">053</span> * Returns <jk>true</jk> if the weak flag is present in the value.<a name="line.53"></a>
+<span class="sourceLineNo">054</span> * @return <jk>true</jk> if the weak flag is present in the value.<a name="line.54"></a>
+<span class="sourceLineNo">055</span> */<a name="line.55"></a>
+<span class="sourceLineNo">056</span> public boolean isWeak() {<a name="line.56"></a>
+<span class="sourceLineNo">057</span> return isWeak;<a name="line.57"></a>
+<span class="sourceLineNo">058</span> }<a name="line.58"></a>
+<span class="sourceLineNo">059</span><a name="line.59"></a>
+<span class="sourceLineNo">060</span> /**<a name="line.60"></a>
+<span class="sourceLineNo">061</span> * Returns <jk>true</jk> if the validator string value is <code>*</code>.<a name="line.61"></a>
+<span class="sourceLineNo">062</span> * @return <jk>true</jk> if the validator string value is <code>*</code>.<a name="line.62"></a>
+<span class="sourceLineNo">063</span> */<a name="line.63"></a>
+<span class="sourceLineNo">064</span> public boolean isAny() {<a name="line.64"></a>
+<span class="sourceLineNo">065</span> return "*".equals(value);<a name="line.65"></a>
+<span class="sourceLineNo">066</span> }<a name="line.66"></a>
+<span class="sourceLineNo">067</span><a name="line.67"></a>
+<span class="sourceLineNo">068</span> @Override<a name="line.68"></a>
+<span class="sourceLineNo">069</span> public String toString() {<a name="line.69"></a>
+<span class="sourceLineNo">070</span> return (isWeak ? "W/" : "") + (isAny() ? "*" : ('"' + value + '"'));<a name="line.70"></a>
+<span class="sourceLineNo">071</span> }<a name="line.71"></a>
+<span class="sourceLineNo">072</span>}<a name="line.72"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/Expect.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/Expect.html b/content/site/apidocs/src-html/org/apache/juneau/http/Expect.html
new file mode 100644
index 0000000..b5974e7
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/Expect.html
@@ -0,0 +1,145 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Represents a parsed <l>Expect</l> HTTP request header.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * <p><a name="line.17"></a>
+<span class="sourceLineNo">018</span> * Indicates that particular server behaviors are required by the client.<a name="line.18"></a>
+<span class="sourceLineNo">019</span> *<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * <h6 class='figure'>Example</h6><a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p class='bcode'><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * Expect: 100-continue<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * </p><a name="line.23"></a>
+<span class="sourceLineNo">024</span> *<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * <h6 class='topic'>RFC2616 Specification</h6><a name="line.25"></a>
+<span class="sourceLineNo">026</span> *<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * The Expect request-header field is used to indicate that particular server behaviors are required by the client.<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * <p class='bcode'><a name="line.28"></a>
+<span class="sourceLineNo">029</span> * Expect = "Expect" ":" 1#expectation<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * expectation = "100-continue" | expectation-extension<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * expectation-extension = token [ "=" ( token | quoted-string )<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * *expect-params ]<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * expect-params = ";" token [ "=" ( token | quoted-string ) ]<a name="line.33"></a>
+<span class="sourceLineNo">034</span> * </p><a name="line.34"></a>
+<span class="sourceLineNo">035</span> * <p><a name="line.35"></a>
+<span class="sourceLineNo">036</span> * A server that does not understand or is unable to comply with any of the expectation values in the Expect field of a<a name="line.36"></a>
+<span class="sourceLineNo">037</span> * request MUST respond with appropriate error status.<a name="line.37"></a>
+<span class="sourceLineNo">038</span> * The server MUST respond with a 417 (Expectation Failed) status if any of the expectations cannot be met or, if there<a name="line.38"></a>
+<span class="sourceLineNo">039</span> * are other problems with the request, some other 4xx status.<a name="line.39"></a>
+<span class="sourceLineNo">040</span> * <p><a name="line.40"></a>
+<span class="sourceLineNo">041</span> * This header field is defined with extensible syntax to allow for future extensions.<a name="line.41"></a>
+<span class="sourceLineNo">042</span> * If a server receives a request containing an Expect field that includes an expectation-extension that it does not<a name="line.42"></a>
+<span class="sourceLineNo">043</span> * support, it MUST respond with a 417 (Expectation Failed) status.<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * <p><a name="line.44"></a>
+<span class="sourceLineNo">045</span> * Comparison of expectation values is case-insensitive for unquoted tokens (including the 100-continue token), and is<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * case-sensitive for quoted-string expectation-extensions.<a name="line.46"></a>
+<span class="sourceLineNo">047</span> * <p><a name="line.47"></a>
+<span class="sourceLineNo">048</span> * The Expect mechanism is hop-by-hop: that is, an HTTP/1.1 proxy MUST return a 417 (Expectation Failed) status if it<a name="line.48"></a>
+<span class="sourceLineNo">049</span> * receives a request with an expectation that it cannot meet.<a name="line.49"></a>
+<span class="sourceLineNo">050</span> * However, the Expect request-header itself is end-to-end; it MUST be forwarded if the request is forwarded.<a name="line.50"></a>
+<span class="sourceLineNo">051</span> * <p><a name="line.51"></a>
+<span class="sourceLineNo">052</span> * Many older HTTP/1.0 and HTTP/1.1 applications do not understand the Expect header.<a name="line.52"></a>
+<span class="sourceLineNo">053</span> * <p><a name="line.53"></a>
+<span class="sourceLineNo">054</span> * See section 8.2.3 for the use of the 100 (continue) status.<a name="line.54"></a>
+<span class="sourceLineNo">055</span> */<a name="line.55"></a>
+<span class="sourceLineNo">056</span>public final class Expect extends HeaderString {<a name="line.56"></a>
+<span class="sourceLineNo">057</span><a name="line.57"></a>
+<span class="sourceLineNo">058</span> /**<a name="line.58"></a>
+<span class="sourceLineNo">059</span> * Returns a parsed <code>Expect</code> header.<a name="line.59"></a>
+<span class="sourceLineNo">060</span> *<a name="line.60"></a>
+<span class="sourceLineNo">061</span> * @param value The <code>Expect</code> header string.<a name="line.61"></a>
+<span class="sourceLineNo">062</span> * @return The parsed <code>Expect</code> header, or <jk>null</jk> if the string was null.<a name="line.62"></a>
+<span class="sourceLineNo">063</span> */<a name="line.63"></a>
+<span class="sourceLineNo">064</span> public static Expect forString(String value) {<a name="line.64"></a>
+<span class="sourceLineNo">065</span> if (value == null)<a name="line.65"></a>
+<span class="sourceLineNo">066</span> return null;<a name="line.66"></a>
+<span class="sourceLineNo">067</span> return new Expect(value);<a name="line.67"></a>
+<span class="sourceLineNo">068</span> }<a name="line.68"></a>
+<span class="sourceLineNo">069</span><a name="line.69"></a>
+<span class="sourceLineNo">070</span> private Expect(String value) {<a name="line.70"></a>
+<span class="sourceLineNo">071</span> super(value);<a name="line.71"></a>
+<span class="sourceLineNo">072</span> }<a name="line.72"></a>
+<span class="sourceLineNo">073</span>}<a name="line.73"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/Expires.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/Expires.html b/content/site/apidocs/src-html/org/apache/juneau/http/Expires.html
new file mode 100644
index 0000000..9384909
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/Expires.html
@@ -0,0 +1,152 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Represents a parsed <l>Expires</l> HTTP response header.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * <p><a name="line.17"></a>
+<span class="sourceLineNo">018</span> * Gives the date/time after which the response is considered stale (in "HTTP-date" format as defined by RFC 7231).<a name="line.18"></a>
+<span class="sourceLineNo">019</span> *<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * <h6 class='figure'>Example</h6><a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p class='bcode'><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * Expires: Thu, 01 Dec 1994 16:00:00 GMT<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * </p><a name="line.23"></a>
+<span class="sourceLineNo">024</span> *<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * <h6 class='topic'>RFC2616 Specification</h6><a name="line.25"></a>
+<span class="sourceLineNo">026</span> * The Expires entity-header field gives the date/time after which the response is considered stale.<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * A stale cache entry may not normally be returned by a cache (either a proxy cache or a user agent cache) unless it is<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * first validated with the origin server<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * (or with an intermediate cache that has a fresh copy of the entity).<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * See section 13.2 for further discussion of the expiration model.<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * <p><a name="line.31"></a>
+<span class="sourceLineNo">032</span> * The presence of an Expires field does not imply that the original resource will change or cease to exist at, before,<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * or after that time.<a name="line.33"></a>
+<span class="sourceLineNo">034</span> * <p><a name="line.34"></a>
+<span class="sourceLineNo">035</span> * The format is an absolute date and time as defined by HTTP-date in section 3.3.1; it MUST be in RFC 1123 date format:<a name="line.35"></a>
+<span class="sourceLineNo">036</span> * <p class='bcode'><a name="line.36"></a>
+<span class="sourceLineNo">037</span> * Expires = "Expires" ":" HTTP-date<a name="line.37"></a>
+<span class="sourceLineNo">038</span> * </p><a name="line.38"></a>
+<span class="sourceLineNo">039</span> * <p><a name="line.39"></a>
+<span class="sourceLineNo">040</span> * An example of its use is...<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * <p class='bcode'><a name="line.41"></a>
+<span class="sourceLineNo">042</span> * Expires: Thu, 01 Dec 1994 16:00:00 GMT<a name="line.42"></a>
+<span class="sourceLineNo">043</span> * </p><a name="line.43"></a>
+<span class="sourceLineNo">044</span> * <p><a name="line.44"></a>
+<span class="sourceLineNo">045</span> * Note: if a response includes a Cache-Control field with the max-age directive (see section 14.9.3), that directive<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * overrides the Expires field.<a name="line.46"></a>
+<span class="sourceLineNo">047</span> * <p><a name="line.47"></a>
+<span class="sourceLineNo">048</span> * HTTP/1.1 clients and caches MUST treat other invalid date formats, especially including the value "0", as in the past<a name="line.48"></a>
+<span class="sourceLineNo">049</span> * (i.e., "already expired").<a name="line.49"></a>
+<span class="sourceLineNo">050</span> * <p><a name="line.50"></a>
+<span class="sourceLineNo">051</span> * To mark a response as "already expired," an origin server sends an Expires date that is equal to the Date header<a name="line.51"></a>
+<span class="sourceLineNo">052</span> * value.<a name="line.52"></a>
+<span class="sourceLineNo">053</span> * (See the rules for expiration calculations in section 13.2.4.)<a name="line.53"></a>
+<span class="sourceLineNo">054</span> * <p><a name="line.54"></a>
+<span class="sourceLineNo">055</span> * To mark a response as "never expires," an origin server sends an Expires date approximately one year from the time<a name="line.55"></a>
+<span class="sourceLineNo">056</span> * the response is sent.<a name="line.56"></a>
+<span class="sourceLineNo">057</span> * HTTP/1.1 servers SHOULD NOT send Expires dates more than one year in the future.<a name="line.57"></a>
+<span class="sourceLineNo">058</span> * <p><a name="line.58"></a>
+<span class="sourceLineNo">059</span> * The presence of an Expires header field with a date value of some time in the future on a response that otherwise<a name="line.59"></a>
+<span class="sourceLineNo">060</span> * would by default be non-cacheable indicates that the response is cacheable, unless indicated otherwise by a<a name="line.60"></a>
+<span class="sourceLineNo">061</span> * Cache-Control header field (section 14.9).<a name="line.61"></a>
+<span class="sourceLineNo">062</span> */<a name="line.62"></a>
+<span class="sourceLineNo">063</span>public final class Expires extends HeaderDate {<a name="line.63"></a>
+<span class="sourceLineNo">064</span><a name="line.64"></a>
+<span class="sourceLineNo">065</span> /**<a name="line.65"></a>
+<span class="sourceLineNo">066</span> * Returns a parsed <code>Expires</code> header.<a name="line.66"></a>
+<span class="sourceLineNo">067</span> *<a name="line.67"></a>
+<span class="sourceLineNo">068</span> * @param value The <code>Expires</code> header string.<a name="line.68"></a>
+<span class="sourceLineNo">069</span> * @return The parsed <code>Expires</code> header, or <jk>null</jk> if the string was null.<a name="line.69"></a>
+<span class="sourceLineNo">070</span> */<a name="line.70"></a>
+<span class="sourceLineNo">071</span> public static Expires forString(String value) {<a name="line.71"></a>
+<span class="sourceLineNo">072</span> if (value == null)<a name="line.72"></a>
+<span class="sourceLineNo">073</span> return null;<a name="line.73"></a>
+<span class="sourceLineNo">074</span> return new Expires(value);<a name="line.74"></a>
+<span class="sourceLineNo">075</span> }<a name="line.75"></a>
+<span class="sourceLineNo">076</span><a name="line.76"></a>
+<span class="sourceLineNo">077</span> private Expires(String value) {<a name="line.77"></a>
+<span class="sourceLineNo">078</span> super(value);<a name="line.78"></a>
+<span class="sourceLineNo">079</span> }<a name="line.79"></a>
+<span class="sourceLineNo">080</span>}<a name="line.80"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/f1f17bc3/content/site/apidocs/src-html/org/apache/juneau/http/From.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/http/From.html b/content/site/apidocs/src-html/org/apache/juneau/http/From.html
new file mode 100644
index 0000000..24cd86e
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/http/From.html
@@ -0,0 +1,144 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License. You may obtain a copy of the License at *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// * *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// * http://www.apache.org/licenses/LICENSE-2.0 *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// * *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License. *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.http;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Represents a parsed <l>From</l> HTTP request header.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * <p><a name="line.17"></a>
+<span class="sourceLineNo">018</span> * The email address of the user making the request.<a name="line.18"></a>
+<span class="sourceLineNo">019</span> *<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * <h6 class='figure'>Example</h6><a name="line.20"></a>
+<span class="sourceLineNo">021</span> * <p class='bcode'><a name="line.21"></a>
+<span class="sourceLineNo">022</span> * From: user@example.com<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * </p><a name="line.23"></a>
+<span class="sourceLineNo">024</span> *<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * <h6 class='topic'>RFC2616 Specification</h6><a name="line.25"></a>
+<span class="sourceLineNo">026</span> *<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * The From request-header field, if given, SHOULD contain an Internet e-mail address for the human user who controls<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * the requesting user agent.<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * The address SHOULD be machine-usable, as defined by "mailbox" in RFC 822 [9] as updated by RFC 1123 [8]:<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * <p class='bcode'><a name="line.30"></a>
+<span class="sourceLineNo">031</span> * From = "From" ":" mailbox<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * </p><a name="line.32"></a>
+<span class="sourceLineNo">033</span> * <p><a name="line.33"></a>
+<span class="sourceLineNo">034</span> * An example is:<a name="line.34"></a>
+<span class="sourceLineNo">035</span> * <p class='bcode'><a name="line.35"></a>
+<span class="sourceLineNo">036</span> * From: webmaster@w3.org<a name="line.36"></a>
+<span class="sourceLineNo">037</span> * </p><a name="line.37"></a>
+<span class="sourceLineNo">038</span> * <p><a name="line.38"></a>
+<span class="sourceLineNo">039</span> * This header field MAY be used for logging purposes and as a means for identifying the source of invalid or unwanted<a name="line.39"></a>
+<span class="sourceLineNo">040</span> * requests.<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * It SHOULD NOT be used as an insecure form of access protection.<a name="line.41"></a>
+<span class="sourceLineNo">042</span> * The interpretation of this field is that the request is being performed on behalf of the person given, who accepts<a name="line.42"></a>
+<span class="sourceLineNo">043</span> * responsibility for the method performed.<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * In particular, robot agents SHOULD include this header so that the person responsible for running the robot can be<a name="line.44"></a>
+<span class="sourceLineNo">045</span> * contacted if problems occur on the receiving end.<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * <p><a name="line.46"></a>
+<span class="sourceLineNo">047</span> * The Internet e-mail address in this field MAY be separate from the Internet host which issued the request.<a name="line.47"></a>
+<span class="sourceLineNo">048</span> * For example, when a request is passed through a proxy the original issuer's address SHOULD be used.<a name="line.48"></a>
+<span class="sourceLineNo">049</span> * <p><a name="line.49"></a>
+<span class="sourceLineNo">050</span> * The client SHOULD NOT send the From header field without the user's approval, as it might conflict with the user's<a name="line.50"></a>
+<span class="sourceLineNo">051</span> * privacy interests or their site's security policy.<a name="line.51"></a>
+<span class="sourceLineNo">052</span> * It is strongly recommended that the user be able to disable, enable, and modify the value of this field at any time<a name="line.52"></a>
+<span class="sourceLineNo">053</span> * prior to a request.<a name="line.53"></a>
+<span class="sourceLineNo">054</span> */<a name="line.54"></a>
+<span class="sourceLineNo">055</span>public final class From extends HeaderString {<a name="line.55"></a>
+<span class="sourceLineNo">056</span><a name="line.56"></a>
+<span class="sourceLineNo">057</span> /**<a name="line.57"></a>
+<span class="sourceLineNo">058</span> * Returns a parsed <code>From</code> header.<a name="line.58"></a>
+<span class="sourceLineNo">059</span> *<a name="line.59"></a>
+<span class="sourceLineNo">060</span> * @param value The <code>From</code> header string.<a name="line.60"></a>
+<span class="sourceLineNo">061</span> * @return The parsed <code>From</code> header, or <jk>null</jk> if the string was null.<a name="line.61"></a>
+<span class="sourceLineNo">062</span> */<a name="line.62"></a>
+<span class="sourceLineNo">063</span> public static From forString(String value) {<a name="line.63"></a>
+<span class="sourceLineNo">064</span> if (value == null)<a name="line.64"></a>
+<span class="sourceLineNo">065</span> return null;<a name="line.65"></a>
+<span class="sourceLineNo">066</span> return new From(value);<a name="line.66"></a>
+<span class="sourceLineNo">067</span> }<a name="line.67"></a>
+<span class="sourceLineNo">068</span><a name="line.68"></a>
+<span class="sourceLineNo">069</span> private From(String value) {<a name="line.69"></a>
+<span class="sourceLineNo">070</span> super(value);<a name="line.70"></a>
+<span class="sourceLineNo">071</span> }<a name="line.71"></a>
+<span class="sourceLineNo">072</span>}<a name="line.72"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>