http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/9b48e212/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 67a2f55..ee39b57 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,"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 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}; 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.56">RestContext</a> +<pre>public final class <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.57">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. @@ -163,34 +163,10 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org </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/rest/RestContext.html#REST_method">REST_method</a></span></code> -<div class="block">The request method.</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/rest/RestContext.html#REST_methodDescription">REST_methodDescription</a></span></code> -<div class="block">The localized method description.</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/rest/RestContext.html#REST_methodSummary">REST_methodSummary</a></span></code> -<div class="block">The localized method summary.</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/rest/RestContext.html#REST_paramFormat">REST_paramFormat</a></span></code> <div class="block"><b>Configuration property:</b> Expected format of request parameters.</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/rest/RestContext.html#REST_pathInfo">REST_pathInfo</a></span></code> -<div class="block">The request URI path info.</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/rest/RestContext.html#REST_renderResponseStackTraces">REST_renderResponseStackTraces</a></span></code> @@ -199,36 +175,6 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org </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/rest/RestContext.html#REST_requestURI">REST_requestURI</a></span></code> -<div class="block">The request URI.</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/rest/RestContext.html#REST_servletDescription">REST_servletDescription</a></span></code> -<div class="block">The localized servlet description.</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/rest/RestContext.html#REST_servletPath">REST_servletPath</a></span></code> -<div class="block">The request servlet path.</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/rest/RestContext.html#REST_servletTitle">REST_servletTitle</a></span></code> -<div class="block">The localized servlet title.</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/rest/RestContext.html#REST_servletURI">REST_servletURI</a></span></code> -<div class="block">The request servlet URI.</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/rest/RestContext.html#REST_useStackTraceHashes">REST_useStackTraceHashes</a></span></code> <div class="block"><b>Configuration property:</b> Use stack trace hashes.</div> </td> @@ -399,150 +345,138 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org </tr> <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/RestContext.html#getHtmlBranding--">getHtmlBranding</a></span>()</code> -<div class="block">The HTML page branding.</div> -</td> -</tr> -<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/RestContext.html#getHtmlDescription--">getHtmlDescription</a></span>()</code> -<div class="block">The HTML page description.</div> -</td> -</tr> -<tr id="i23" 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#getHtmlFooter--">getHtmlFooter</a></span>()</code> <div class="block">The HTML page footer section contents.</div> </td> </tr> -<tr id="i24" class="altColor"> +<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/RestContext.html#getHtmlHeader--">getHtmlHeader</a></span>()</code> <div class="block">The HTML page header contents.</div> </td> </tr> -<tr id="i25" class="rowColor"> +<tr id="i23" 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#getHtmlLinks--">getHtmlLinks</a></span>()</code> <div class="block">The HTML page nav section links.</div> </td> </tr> -<tr id="i26" class="altColor"> +<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#getHtmlNav--">getHtmlNav</a></span>()</code> <div class="block">The HTML page nav section contents.</div> </td> </tr> -<tr id="i27" class="rowColor"> +<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#getHtmlNoResultsMessage--">getHtmlNoResultsMessage</a></span>()</code> <div class="block">The HTML page no-results message.</div> </td> </tr> -<tr id="i28" class="altColor"> +<tr id="i26" class="altColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestContext.html#getHtmlNoWrap--">getHtmlNoWrap</a></span>()</code> <div class="block">The HTML page nowrap setting.</div> </td> </tr> -<tr id="i29" class="rowColor"> +<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/RestContext.html#getHtmlScript--">getHtmlScript</a></span>()</code> <div class="block">The HTML page Javascript contents.</div> </td> </tr> -<tr id="i30" class="altColor"> +<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/RestContext.html#getHtmlStyle--">getHtmlStyle</a></span>()</code> <div class="block">The HTML page CSS contents.</div> </td> </tr> -<tr id="i31" class="rowColor"> +<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/RestContext.html#getHtmlStylesheet--">getHtmlStylesheet</a></span>()</code> <div class="block">The HTML page stylesheet URL.</div> </td> </tr> -<tr id="i32" class="altColor"> +<tr id="i30" class="altColor"> <td class="colFirst"><code><a href="../../../../org/apache/juneau/html/HtmlDocTemplate.html" title="interface in org.apache.juneau.html">HtmlDocTemplate</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestContext.html#getHtmlTemplate--">getHtmlTemplate</a></span>()</code> <div class="block">The HTML page template.</div> </td> </tr> -<tr id="i33" 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#getHtmlTitle--">getHtmlTitle</a></span>()</code> -<div class="block">The HTML page title.</div> +<tr id="i31" 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="../../../../org/apache/juneau/rest/widget/Widget.html" title="class in org.apache.juneau.rest.widget">Widget</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestContext.html#getHtmlWidgets--">getHtmlWidgets</a></span>()</code> +<div class="block">The widgets used for resolving <js>"$W{...}"<js> variables.</div> </td> </tr> -<tr id="i34" class="altColor"> +<tr id="i32" 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="i35" class="rowColor"> +<tr id="i33" 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="i36" class="altColor"> +<tr id="i34" 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="i37" class="rowColor"> +<tr id="i35" 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="i38" class="altColor"> +<tr id="i36" 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#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="i39" class="rowColor"> +<tr id="i37" 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/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="i40" class="altColor"> +<tr id="i38" 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/RestContext.html#getParsers--">getParsers</a></span>()</code> <div class="block">Returns the parsers registered with this resource.</div> </td> </tr> -<tr id="i41" class="rowColor"> +<tr id="i39" 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#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="i42" class="altColor"> +<tr id="i40" 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/RestContext.html#getPojoSwaps--">getPojoSwaps</a></span>()</code> <div class="block">Returns the POJO swaps associated with this resource.</div> </td> </tr> -<tr id="i43" class="rowColor"> +<tr id="i41" 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/RestContext.html#getProperties--">getProperties</a></span>()</code> <div class="block">Returns the class-level properties associated with this servlet.</div> </td> </tr> -<tr id="i44" class="altColor"> +<tr id="i42" class="altColor"> <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="i45" class="rowColor"> +<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/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, @@ -552,7 +486,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org matched by the specified media type.</div> </td> </tr> -<tr id="i46" class="altColor"> +<tr id="i44" class="altColor"> <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> @@ -560,110 +494,104 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org up the parent hierarchy chain.</div> </td> </tr> -<tr id="i47" class="rowColor"> +<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/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="i48" class="altColor"> +<tr id="i46" class="altColor"> <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="i49" class="rowColor"> +<tr id="i47" class="rowColor"> <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="i50" class="altColor"> +<tr id="i48" 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/RestContext.html#getSerializers--">getSerializers</a></span>()</code> <div class="block">Returns the serializers registered with this resource.</div> </td> </tr> -<tr id="i51" class="rowColor"> +<tr id="i49" 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#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="i52" class="altColor"> +<tr id="i50" class="altColor"> <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="i53" class="rowColor"> +<tr id="i51" 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="i54" class="altColor"> +<tr id="i52" 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="i55" class="rowColor"> +<tr id="i53" 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="i56" class="altColor"> +<tr id="i54" 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="i57" class="rowColor"> +<tr id="i55" 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="i58" 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/widget/Widget.html" title="class in org.apache.juneau.rest.widget">Widget</a>></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestContext.html#getWidgets--">getWidgets</a></span>()</code> -<div class="block">The widgets used for resolving <js>"$W{...}"<js> variables.</div> -</td> -</tr> -<tr id="i59" class="rowColor"> +<tr id="i56" 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="i60" class="altColor"> +<tr id="i57" 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="i61" class="rowColor"> +<tr id="i58" 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="i62" class="altColor"> +<tr id="i59" 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="i63" class="rowColor"> +<tr id="i60" 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="i64" class="altColor"> +<tr id="i61" 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> @@ -704,7 +632,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.81">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.82">REST_allowHeaderParams</a></pre> <div class="block"><b>Configuration property:</b> Enable header URL parameters. <ul> @@ -738,7 +666,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.114">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.115">REST_allowMethodParam</a></pre> <div class="block"><b>Configuration property:</b> Enable <js>"method"</js> URL parameter for specific HTTP methods. <ul> @@ -780,7 +708,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.139">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.140">REST_allowBodyParam</a></pre> <div class="block"><b>Configuration property:</b> Enable <js>"body"</js> URL parameter. <ul> @@ -814,7 +742,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.160">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.161">REST_renderResponseStackTraces</a></pre> <div class="block"><b>Configuration property:</b> Render stack traces. <ul> @@ -844,7 +772,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.178">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.179">REST_useStackTraceHashes</a></pre> <div class="block"><b>Configuration property:</b> Use stack trace hashes. <ul> @@ -871,7 +799,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.195">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.196">REST_defaultCharset</a></pre> <div class="block"><b>Configuration property:</b> Default character encoding. <ul> @@ -894,10 +822,10 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org <a name="REST_paramFormat"> <!-- --> </a> -<ul class="blockList"> +<ul class="blockListLast"> <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.229">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.230">REST_paramFormat</a></pre> <div class="block"><b>Configuration property:</b> Expected format of request parameters. <ul> @@ -934,191 +862,6 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org </dl> </li> </ul> -<a name="REST_servletPath"> -<!-- --> -</a> -<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.246">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#getProperty-java.lang.String-"><code>Session.getProperty(String)</code></a> and - <a href="../../../../org/apache/juneau/Session.html#getProperty-java.lang.String-"><code>Session.getProperty(String)</code></a>. - - <p> - Equivalent to the value returned by <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletRequestWrapper.html?is-external=true#getServletPath--" title="class or interface in javax.servlet.http"><code>HttpServletRequestWrapper.getServletPath()</code></a></div> -<dl> -<dt><span class="seeLabel">See Also:</span></dt> -<dd><a href="../../../../constant-values.html#org.apache.juneau.rest.RestContext.REST_servletPath">Constant Field Values</a></dd> -</dl> -</li> -</ul> -<a name="REST_servletURI"> -<!-- --> -</a> -<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.254">REST_servletURI</a></pre> -<div class="block">The request servlet URI. - - <p> - Equivalent to the value returned by <a href="../../../../org/apache/juneau/UriContext.html#getRootRelativeServletPath--"><code>UriContext.getRootRelativeServletPath()</code></a></div> -<dl> -<dt><span class="seeLabel">See Also:</span></dt> -<dd><a href="../../../../constant-values.html#org.apache.juneau.rest.RestContext.REST_servletURI">Constant Field Values</a></dd> -</dl> -</li> -</ul> -<a name="REST_pathInfo"> -<!-- --> -</a> -<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.266">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#getProperty-java.lang.String-"><code>Session.getProperty(String)</code></a> and - <a href="../../../../org/apache/juneau/Session.html#getProperty-java.lang.String-"><code>Session.getProperty(String)</code></a>. - - <p> - Equivalent to the 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></div> -<dl> -<dt><span class="seeLabel">See Also:</span></dt> -<dd><a href="../../../../constant-values.html#org.apache.juneau.rest.RestContext.REST_pathInfo">Constant Field Values</a></dd> -</dl> -</li> -</ul> -<a name="REST_requestURI"> -<!-- --> -</a> -<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.278">REST_requestURI</a></pre> -<div class="block">The request URI. - - <p> - Automatically added to properties returned by <a href="../../../../org/apache/juneau/Session.html#getProperty-java.lang.String-"><code>Session.getProperty(String)</code></a> and - <a href="../../../../org/apache/juneau/Session.html#getProperty-java.lang.String-"><code>Session.getProperty(String)</code></a>. - - <p> - Equivalent to the 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></div> -<dl> -<dt><span class="seeLabel">See Also:</span></dt> -<dd><a href="../../../../constant-values.html#org.apache.juneau.rest.RestContext.REST_requestURI">Constant Field Values</a></dd> -</dl> -</li> -</ul> -<a name="REST_method"> -<!-- --> -</a> -<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.290">REST_method</a></pre> -<div class="block">The request method. - - <p> - Automatically added to properties returned by <a href="../../../../org/apache/juneau/Session.html#getProperty-java.lang.String-"><code>Session.getProperty(String)</code></a> and - <a href="../../../../org/apache/juneau/Session.html#getProperty-java.lang.String-"><code>Session.getProperty(String)</code></a>. - - <p> - Equivalent to the value returned by <a href="../../../../org/apache/juneau/rest/RestRequest.html#getMethod--"><code>RestRequest.getMethod()</code></a></div> -<dl> -<dt><span class="seeLabel">See Also:</span></dt> -<dd><a href="../../../../constant-values.html#org.apache.juneau.rest.RestContext.REST_method">Constant Field Values</a></dd> -</dl> -</li> -</ul> -<a name="REST_servletTitle"> -<!-- --> -</a> -<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.302">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#getProperty-java.lang.String-"><code>Session.getProperty(String)</code></a> and - <a href="../../../../org/apache/juneau/Session.html#getProperty-java.lang.String-"><code>Session.getProperty(String)</code></a>. - - <p> - Equivalent to the value returned by <a href="../../../../org/apache/juneau/rest/RestRequest.html#getServletTitle--"><code>RestRequest.getServletTitle()</code></a></div> -<dl> -<dt><span class="seeLabel">See Also:</span></dt> -<dd><a href="../../../../constant-values.html#org.apache.juneau.rest.RestContext.REST_servletTitle">Constant Field Values</a></dd> -</dl> -</li> -</ul> -<a name="REST_servletDescription"> -<!-- --> -</a> -<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.314">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#getProperty-java.lang.String-"><code>Session.getProperty(String)</code></a> and - <a href="../../../../org/apache/juneau/Session.html#getProperty-java.lang.String-"><code>Session.getProperty(String)</code></a>. - - <p> - Equivalent to the value returned by <a href="../../../../org/apache/juneau/rest/RestRequest.html#getServletDescription--"><code>RestRequest.getServletDescription()</code></a></div> -<dl> -<dt><span class="seeLabel">See Also:</span></dt> -<dd><a href="../../../../constant-values.html#org.apache.juneau.rest.RestContext.REST_servletDescription">Constant Field Values</a></dd> -</dl> -</li> -</ul> -<a name="REST_methodSummary"> -<!-- --> -</a> -<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.326">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#getProperty-java.lang.String-"><code>Session.getProperty(String)</code></a> and - <a href="../../../../org/apache/juneau/Session.html#getProperty-java.lang.String-"><code>Session.getProperty(String)</code></a>. - - <p> - Equivalent to the value returned by <a href="../../../../org/apache/juneau/rest/RestRequest.html#getMethodSummary--"><code>RestRequest.getMethodSummary()</code></a></div> -<dl> -<dt><span class="seeLabel">See Also:</span></dt> -<dd><a href="../../../../constant-values.html#org.apache.juneau.rest.RestContext.REST_methodSummary">Constant Field Values</a></dd> -</dl> -</li> -</ul> -<a name="REST_methodDescription"> -<!-- --> -</a> -<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.338">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#getProperty-java.lang.String-"><code>Session.getProperty(String)</code></a> and - <a href="../../../../org/apache/juneau/Session.html#getProperty-java.lang.String-"><code>Session.getProperty(String)</code></a>. - - <p> - Equivalent to the value returned by <a href="../../../../org/apache/juneau/rest/RestRequest.html#getMethodDescription--"><code>RestRequest.getMethodDescription()</code></a></div> -<dl> -<dt><span class="seeLabel">See Also:</span></dt> -<dd><a href="../../../../constant-values.html#org.apache.juneau.rest.RestContext.REST_methodDescription">Constant Field Values</a></dd> -</dl> -</li> -</ul> </li> </ul> <!-- ========= CONSTRUCTOR DETAIL ======== --> @@ -1133,7 +876,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.422">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.312">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> @@ -1160,11 +903,13 @@ 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.850">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.762">getVarResolver</a>()</pre> <div class="block">Returns the variable resolver for this servlet. <p> Variable resolvers are used to replace variables in property values. + They can be nested arbitrarily deep. + They can also return values that themselves contain other variables. <h6 class='figure'>Example:</h6> <p class='bcode'> @@ -1175,7 +920,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org <ja>@Property</ja>(name=<js>"javaVendor"</js>,value=<js>"$S{java.vendor,Oracle}"</js>), <jc>// System property with default value</jc> <ja>@Property</ja>(name=<js>"foo"</js>,value=<js>"bar"</js>), <ja>@Property</ja>(name=<js>"bar"</js>,value=<js>"baz"</js>), - <ja>@Property</ja>(name=<js>"v1"</js>,value=<js>"$R{foo}"</js>), <jc>// Request variable. value="bar"</jc> + <ja>@Property</ja>(name=<js>"v1"</js>,value=<js>"$R{foo}"</js>), <jc>// Request variable. value="bar"</jc> <ja>@Property</ja>(name=<js>"v2"</js>,value=<js>"$R{$R{foo}}"</js>) <jc>// Nested request variable. value="baz"</jc> } ) @@ -1183,22 +928,49 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org </p> <p> - A typical usage pattern is using variables for resolving URL links when rendering HTML: + A typical usage pattern involves using variables inside the <a href="../../../../org/apache/juneau/rest/annotation/HtmlDoc.html" title="annotation in org.apache.juneau.rest.annotation"><code>HtmlDoc</code></a> annotation: <p class='bcode'> <ja>@RestMethod</ja>( name=<js>"GET"</js>, path=<js>"/{name}/*"</js>, - properties={ - <ja>@Property</ja>( - name=<jsf>HTMLDOC_links</jsf>, - value=<js>"{up:'$R{requestParentURI}', options:'servlet:/?method=OPTIONS', editLevel:'servlet:/editLevel?logger=$R{attribute.name}'}"</js> - ) - } + htmldoc=@HtmlDoc( + links={ + <js>"up: $R{requestParentURI}"</js>, + <js>"options: servlet:/?method=OPTIONS"</js>, + <js>"editLevel: servlet:/editLevel?logger=$A{attribute.name, OFF}"</js> + } + header={ + "<h1>$L{MyLocalizedPageTitle}"</js> + }, + aside={ + <js>"$F{resources/AsideText.html}"</js> + } + ) ) <jk>public</jk> LoggerEntry getLogger(RestRequest req, <ja>@Path</ja> String name) <jk>throws</jk> Exception { </p> <p> - Calls to <code>req.getProperties().getString(<js>"key"</js>)</code> returns strings with variables resolved.</div> + The following is the default list of supported variables: + <ul> + <li><code>$S{systemProperty[,defaultValue]}</code> - System property. See <a href="../../../../org/apache/juneau/svl/vars/SystemPropertiesVar.html" title="class in org.apache.juneau.svl.vars"><code>SystemPropertiesVar</code></a>. + <li><code>$E{envVar[,defaultValue]}</code> - Environment variable. See <a href="../../../../org/apache/juneau/svl/vars/EnvVariablesVar.html" title="class in org.apache.juneau.svl.vars"><code>EnvVariablesVar</code></a>. + <li><code>$C{key[,defaultValue]}</code> - Config file entry. See <a href="../../../../org/apache/juneau/svl/vars/ConfigFileVar.html" title="class in org.apache.juneau.svl.vars"><code>ConfigFileVar</code></a>. + <li><code>$F{key[,defaultValue]}</code> - File resource. See <a href="../../../../org/apache/juneau/rest/vars/FileVar.html" title="class in org.apache.juneau.rest.vars"><code>FileVar</code></a>. + <li><code>$L{key[,args...]}</code> - Localized message. See <a href="../../../../org/apache/juneau/rest/vars/LocalizationVar.html" title="class in org.apache.juneau.rest.vars"><code>LocalizationVar</code></a>. + <li><code>$R{key[,args...]}</code> - Request variable. See <a href="../../../../org/apache/juneau/rest/vars/RequestVar.html" title="class in org.apache.juneau.rest.vars"><code>RequestVar</code></a>. + <li><code>$SA{contentType,key[,defaultValue]}</code> - Serialized request attribute. See <a href="../../../../org/apache/juneau/rest/vars/SerializedRequestAttrVar.html" title="class in org.apache.juneau.rest.vars"><code>SerializedRequestAttrVar</code></a>. + <li><code>$I{key[,defaultValue]}</code> - Servlet init parameter. See <a href="../../../../org/apache/juneau/rest/vars/ServletInitParamVar.html" title="class in org.apache.juneau.rest.vars"><code>ServletInitParamVar</code></a>. + <li><code>$U{uri}</code> - URI resolver. See <a href="../../../../org/apache/juneau/rest/vars/UrlVar.html" title="class in org.apache.juneau.rest.vars"><code>UrlVar</code></a>. + <li><code>$UE{uriPart}</code> - URL-Encoder. See <a href="../../../../org/apache/juneau/rest/vars/UrlEncodeVar.html" title="class in org.apache.juneau.rest.vars"><code>UrlEncodeVar</code></a>. + <li><code>$W{widgetName}</code> - HTML widget variable. See <a href="../../../../org/apache/juneau/rest/vars/WidgetVar.html" title="class in org.apache.juneau.rest.vars"><code>WidgetVar</code></a>. + <li><code>$IF{booleanArg,thenValue[,elseValue]}</code> - If/else variable. See <a href="../../../../org/apache/juneau/svl/vars/IfVar.html" title="class in org.apache.juneau.svl.vars"><code>IfVar</code></a>. + <li><code>$SW{stringArg(,pattern,thenValue)+[,elseValue]}</code> - Switch variable. See <a href="../../../../org/apache/juneau/svl/vars/SwitchVar.html" title="class in org.apache.juneau.svl.vars"><code>SwitchVar</code></a>. + <p> + + <p> + The list of variables can be extended using the <a href="../../../../org/apache/juneau/rest/RestConfig.html#addVars-java.lang.Class...-"><code>RestConfig.addVars(Class...)</code></a> method. + For example, this is used to add support for the Args and Manifest-File variables in the microservice + <code>Resource</code> class.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>The var resolver in use by this resource.</dd> @@ -1211,7 +983,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.866">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.778">getConfigFile</a>()</pre> <div class="block">Returns the config file associated with this servlet. <p> @@ -1232,7 +1004,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.884">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.796">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. @@ -1258,7 +1030,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.937">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.849">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 on this class, searches @@ -1293,7 +1065,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.949">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.861">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> @@ -1314,7 +1086,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.968">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.880">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) @@ -1345,7 +1117,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.1001">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.913">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. @@ -1360,64 +1132,13 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org </dl> </li> </ul> -<a name="getHtmlTitle--"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getHtmlTitle</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.1013">getHtmlTitle</a>()</pre> -<div class="block">The HTML page title. - - <p> - Defined by the <a href="../../../../org/apache/juneau/rest/annotation/HtmlDoc.html#title--"><code>HtmlDoc.title()</code></a> annotation or <a href="../../../../org/apache/juneau/rest/RestConfig.html#setHtmlTitle-java.lang.String-"><code>RestConfig.setHtmlTitle(String)</code></a> method.</div> -<dl> -<dt><span class="returnLabel">Returns:</span></dt> -<dd>The HTML page title.</dd> -</dl> -</li> -</ul> -<a name="getHtmlDescription--"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getHtmlDescription</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.1025">getHtmlDescription</a>()</pre> -<div class="block">The HTML page description. - - <p> - Defined by the <a href="../../../../org/apache/juneau/rest/annotation/HtmlDoc.html#description--"><code>HtmlDoc.description()</code></a> annotation or <a href="../../../../org/apache/juneau/rest/RestConfig.html#setHtmlDescription-java.lang.String-"><code>RestConfig.setHtmlDescription(String)</code></a> method.</div> -<dl> -<dt><span class="returnLabel">Returns:</span></dt> -<dd>The HTML page description.</dd> -</dl> -</li> -</ul> -<a name="getHtmlBranding--"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getHtmlBranding</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.1037">getHtmlBranding</a>()</pre> -<div class="block">The HTML page branding. - - <p> - Defined by the <a href="../../../../org/apache/juneau/rest/annotation/HtmlDoc.html#branding--"><code>HtmlDoc.branding()</code></a> annotation or <a href="../../../../org/apache/juneau/rest/RestConfig.html#setHtmlBranding-java.lang.String-"><code>RestConfig.setHtmlBranding(String)</code></a> method.</div> -<dl> -<dt><span class="returnLabel">Returns:</span></dt> -<dd>The HTML page description.</dd> -</dl> -</li> -</ul> <a name="getHtmlHeader--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getHtmlHeader</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.1049">getHtmlHeader</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.925">getHtmlHeader</a>()</pre> <div class="block">The HTML page header contents. <p> @@ -1434,7 +1155,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org <ul class="blockList"> <li class="blockList"> <h4>getHtmlLinks</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.1061">getHtmlLinks</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.937">getHtmlLinks</a>()</pre> <div class="block">The HTML page nav section links. <p> @@ -1451,7 +1172,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org <ul class="blockList"> <li class="blockList"> <h4>getHtmlNav</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.1073">getHtmlNav</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.949">getHtmlNav</a>()</pre> <div class="block">The HTML page nav section contents. <p> @@ -1468,7 +1189,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org <ul class="blockList"> <li class="blockList"> <h4>getHtmlAside</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.1085">getHtmlAside</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.961">getHtmlAside</a>()</pre> <div class="block">The HTML page aside section contents. <p> @@ -1485,7 +1206,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org <ul class="blockList"> <li class="blockList"> <h4>getHtmlFooter</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.1097">getHtmlFooter</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.973">getHtmlFooter</a>()</pre> <div class="block">The HTML page footer section contents. <p> @@ -1502,7 +1223,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org <ul class="blockList"> <li class="blockList"> <h4>getHtmlStylesheet</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.1109">getHtmlStylesheet</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.985">getHtmlStylesheet</a>()</pre> <div class="block">The HTML page stylesheet URL. <p> @@ -1519,7 +1240,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org <ul class="blockList"> <li class="blockList"> <h4>getHtmlStyle</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.1121">getHtmlStyle</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.997">getHtmlStyle</a>()</pre> <div class="block">The HTML page CSS contents. <p> @@ -1536,7 +1257,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org <ul class="blockList"> <li class="blockList"> <h4>getHtmlScript</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.1133">getHtmlScript</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.1009">getHtmlScript</a>()</pre> <div class="block">The HTML page Javascript contents. <p> @@ -1553,7 +1274,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org <ul class="blockList"> <li class="blockList"> <h4>getHtmlNoWrap</h4> -<pre>public boolean <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1145">getHtmlNoWrap</a>()</pre> +<pre>public boolean <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1021">getHtmlNoWrap</a>()</pre> <div class="block">The HTML page nowrap setting. <p> @@ -1570,7 +1291,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org <ul class="blockList"> <li class="blockList"> <h4>getHtmlTemplate</h4> -<pre>public <a href="../../../../org/apache/juneau/html/HtmlDocTemplate.html" title="interface in org.apache.juneau.html">HtmlDocTemplate</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1157">getHtmlTemplate</a>()</pre> +<pre>public <a href="../../../../org/apache/juneau/html/HtmlDocTemplate.html" title="interface in org.apache.juneau.html">HtmlDocTemplate</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1033">getHtmlTemplate</a>()</pre> <div class="block">The HTML page template. <p> @@ -1587,7 +1308,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org <ul class="blockList"> <li class="blockList"> <h4>getHtmlNoResultsMessage</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.1170">getHtmlNoResultsMessage</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.1046">getHtmlNoResultsMessage</a>()</pre> <div class="block">The HTML page no-results message. <p> @@ -1599,17 +1320,17 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org </dl> </li> </ul> -<a name="getWidgets--"> +<a name="getHtmlWidgets--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> -<h4>getWidgets</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/widget/Widget.html" title="class in org.apache.juneau.rest.widget">Widget</a>> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1182">getWidgets</a>()</pre> +<h4>getHtmlWidgets</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/widget/Widget.html" title="class in org.apache.juneau.rest.widget">Widget</a>> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1058">getHtmlWidgets</a>()</pre> <div class="block">The widgets used for resolving <js>"$W{...}"<js> variables. <p> - Defined by the <a href="../../../../org/apache/juneau/rest/annotation/RestResource.html#widgets--"><code>RestResource.widgets()</code></a> annotation or <a href="../../../../org/apache/juneau/rest/RestConfig.html#addWidget-java.lang.Class-"><code>RestConfig.addWidget(Class)</code></a> method.</div> + Defined by the <a href="../../../../org/apache/juneau/rest/annotation/HtmlDoc.html#widgets--"><code>HtmlDoc.widgets()</code></a> annotation or <a href="../../../../org/apache/juneau/rest/RestConfig.html#addHtmlWidget-java.lang.Class-"><code>RestConfig.addHtmlWidget(Class)</code></a> method.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>The var resolver widgets as a map with keys being the name returned by <a href="../../../../org/apache/juneau/rest/widget/Widget.html#getName--"><code>Widget.getName()</code></a>.</dd> @@ -1622,7 +1343,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.1198">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.1074">getLogger</a>()</pre> <div class="block">Returns the logger to use for this resource. <p> @@ -1643,7 +1364,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.1213">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.1089">getMessages</a>()</pre> <div class="block">Returns the resource bundle used by this resource. <p> @@ -1663,7 +1384,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.1229">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.1105">getInfoProvider</a>()</pre> <div class="block">Returns the REST information provider used by this resource. <p> @@ -1684,7 +1405,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.1245">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.1121">getCallHandler</a>()</pre> <div class="block">Returns the REST call handler used by this resource. <p> @@ -1705,7 +1426,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.1254">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.1130">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> @@ -1719,7 +1440,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.1267">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.1143">getResource</a>()</pre> <div class="block">Returns the resource object. <p> @@ -1737,7 +1458,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.1278">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.1154">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> @@ -1752,7 +1473,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.1287">checkForInitException</a>() +<pre>protected void <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1163">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> @@ -1767,7 +1488,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.1301">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.1177">getParentContext</a>()</pre> <div class="block">Returns the parent resource context (if this resource was initialized from a parent). <p> @@ -1785,7 +1506,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.1310">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.1186">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> @@ -1799,7 +1520,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.1332">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.1208">getProperties</a>()</pre> <div class="block">Returns the class-level properties associated with this servlet. <p> @@ -1826,7 +1547,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.1348">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.1224">getSerializers</a>()</pre> <div class="block">Returns the serializers registered with this resource. <p> @@ -1847,7 +1568,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.1364">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.1240">getParsers</a>()</pre> <div class="block">Returns the parsers registered with this reso
<TRUNCATED>
