http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/5aed2f48/content/site/apidocs/org/apache/juneau/json/JsonSerializerSession.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/json/JsonSerializerSession.html b/content/site/apidocs/org/apache/juneau/json/JsonSerializerSession.html index b5cf134..7bc1075 100644 --- a/content/site/apidocs/org/apache/juneau/json/JsonSerializerSession.html +++ b/content/site/apidocs/org/apache/juneau/json/JsonSerializerSession.html @@ -225,7 +225,7 @@ extends <a href="../../../../org/apache/juneau/serializer/SerializerSession.html <!-- --> </a> <h3>Methods inherited from class org.apache.juneau.<a href="../../../../org/apache/juneau/BeanSession.html" title="class in org.apache.juneau">BeanSession</a></h3> -<code><a href="../../../../org/apache/juneau/BeanSession.html#Z:Z_class--">_class</a>, <a href="../../../../org/apache/juneau/BeanSession.html#asMap--">asMap</a>, <a href="../../../../org/apache/juneau/BeanSession.html#convertToType-java.lang.Object-java.lang.Class-">convertToType</a>, <a href="../../../../org/apache/juneau/BeanSession.html#convertToType-java.lang.Object-org.apache.juneau.ClassMeta-">convertToType</a>, <a href="../../../../org/apache/juneau/BeanSession.html#convertToType-java.lang.Object-java.lang.Object-java.lang.Class-">convertToType</a>, <a href="../../../../org/apache/juneau/BeanSession.html#convertToType-java.lang.Object-java.lang.Object-org.apache.juneau.ClassMeta-">convertToType</a>, <a href="../../../../org/apache/juneau/BeanSession.html#getBeanMeta-java.lang.Class-">getBeanMeta</a>, <a href="../../../../org/apache/juneau/BeanSession.html#getBeanRegistry--">getBeanRegistry</a>, <a href="../../../../org/apache/juneau/BeanSession.html#getBeanTypePropertyName-- ">getBeanTypePropertyName</a>, <a href="../../../../org/apache/juneau/BeanSession.html#getClassLoader--">getClassLoader</a>, <a href="../../../../org/apache/juneau/BeanSession.html#getClassMeta-java.lang.Class-">getClassMeta</a>, <a href="../../../../org/apache/juneau/BeanSession.html#getClassMeta-java.lang.reflect.Type-java.lang.reflect.Type...-">getClassMeta</a>, <a href="../../../../org/apache/juneau/BeanSession.html#getClassMetaForObject-T-">getClassMetaForObject</a>, <a href="../../../../org/apache/juneau/BeanSession.html#getClassMetas-java.lang.reflect.Type:A-">getClassMetas</a>, <a href="../../../../org/apache/juneau/BeanSession.html#getLocale--">getLocale</a>, <a href="../../../../org/apache/juneau/BeanSession.html#getMediaType--">getMediaType</a>, <a href="../../../../org/apache/juneau/BeanSession.html#getStringBuilder--">getStringBuilder</a>, <a href="../../../../org/apache/juneau/BeanSession.html#getTimeZone--">getTimeZone</a>, <a href="../../../../org/apache/juneau/BeanS ession.html#isBean-java.lang.Class-">isBean</a>, <a href="../../../../org/apache/juneau/BeanSession.html#isBean-java.lang.Object-">isBean</a>, <a href="../../../../org/apache/juneau/BeanSession.html#isDebug--">isDebug</a>, <a href="../../../../org/apache/juneau/BeanSession.html#isIgnoreUnknownBeanProperties--">isIgnoreUnknownBeanProperties</a>, <a href="../../../../org/apache/juneau/BeanSession.html#newBean-java.lang.Class-">newBean</a>, <a href="../../../../org/apache/juneau/BeanSession.html#newBean-java.lang.Object-java.lang.Class-">newBean</a>, <a href="../../../../org/apache/juneau/BeanSession.html#newBeanMap-java.lang.Class-">newBeanMap</a>, <a href="../../../../org/apache/juneau/BeanSession.html#newBeanMap-java.lang.Object-java.lang.Class-">newBeanMap</a>, <a href="../../../../org/apache/juneau/BeanSession.html#object--">object</a>, <a href="../../../../org/apache/juneau/BeanSession.html#returnStringBuilder-java.lang.StringBuilder-">returnStringBuilder</a>, <a href="../../../. ./org/apache/juneau/BeanSession.html#string--">string</a>, <a href="../../../../org/apache/juneau/BeanSession.html#toArray-org.apache.juneau.ClassMeta-java.util.Collection-">toArray</a>, <a href="../../../../org/apache/juneau/BeanSession.html#toBeanMap-T-">toBeanMap</a>, <a href="../../../../org/apache/juneau/BeanSession.html#toBeanMap-T-java.lang.Class-">toBeanMap</a></code></li> +<code><a href="../../../../org/apache/juneau/BeanSession.html#Z:Z_class--">_class</a>, <a href="../../../../org/apache/juneau/BeanSession.html#asMap--">asMap</a>, <a href="../../../../org/apache/juneau/BeanSession.html#convertToType-java.lang.Object-java.lang.Class-">convertToType</a>, <a href="../../../../org/apache/juneau/BeanSession.html#convertToType-java.lang.Object-org.apache.juneau.ClassMeta-">convertToType</a>, <a href="../../../../org/apache/juneau/BeanSession.html#convertToType-java.lang.Object-java.lang.Object-java.lang.Class-">convertToType</a>, <a href="../../../../org/apache/juneau/BeanSession.html#convertToType-java.lang.Object-java.lang.Object-org.apache.juneau.ClassMeta-">convertToType</a>, <a href="../../../../org/apache/juneau/BeanSession.html#getArgsClassMeta-java.lang.reflect.Type:A-">getArgsClassMeta</a>, <a href="../../../../org/apache/juneau/BeanSession.html#getBeanMeta-java.lang.Class-">getBeanMeta</a>, <a href="../../../../org/apache/juneau/BeanSession.html #getBeanRegistry--">getBeanRegistry</a>, <a href="../../../../org/apache/juneau/BeanSession.html#getBeanTypePropertyName--">getBeanTypePropertyName</a>, <a href="../../../../org/apache/juneau/BeanSession.html#getClassLoader--">getClassLoader</a>, <a href="../../../../org/apache/juneau/BeanSession.html#getClassMeta-java.lang.Class-">getClassMeta</a>, <a href="../../../../org/apache/juneau/BeanSession.html#getClassMeta-java.lang.reflect.Type-java.lang.reflect.Type...-">getClassMeta</a>, <a href="../../../../org/apache/juneau/BeanSession.html#getClassMetaForObject-T-">getClassMetaForObject</a>, <a href="../../../../org/apache/juneau/BeanSession.html#getLocale--">getLocale</a>, <a href="../../../../org/apache/juneau/BeanSession.html#getMediaType--">getMediaType</a>, <a href="../../../../org/apache/juneau/BeanSession.html#getStringBuilder--">getStringBuilder</a>, <a href="../../../../org/apache/juneau/BeanSession.html#getTimeZone--">getTimeZone</a>, <a href="../../../../org/apache/juneau /BeanSession.html#isBean-java.lang.Class-">isBean</a>, <a href="../../../../org/apache/juneau/BeanSession.html#isBean-java.lang.Object-">isBean</a>, <a href="../../../../org/apache/juneau/BeanSession.html#isDebug--">isDebug</a>, <a href="../../../../org/apache/juneau/BeanSession.html#isIgnoreUnknownBeanProperties--">isIgnoreUnknownBeanProperties</a>, <a href="../../../../org/apache/juneau/BeanSession.html#newBean-java.lang.Class-">newBean</a>, <a href="../../../../org/apache/juneau/BeanSession.html#newBean-java.lang.Object-java.lang.Class-">newBean</a>, <a href="../../../../org/apache/juneau/BeanSession.html#newBeanMap-java.lang.Class-">newBeanMap</a>, <a href="../../../../org/apache/juneau/BeanSession.html#newBeanMap-java.lang.Object-java.lang.Class-">newBeanMap</a>, <a href="../../../../org/apache/juneau/BeanSession.html#object--">object</a>, <a href="../../../../org/apache/juneau/BeanSession.html#returnStringBuilder-java.lang.StringBuilder-">returnStringBuilder</a>, <a href="../. ./../../org/apache/juneau/BeanSession.html#string--">string</a>, <a href="../../../../org/apache/juneau/BeanSession.html#toArray-org.apache.juneau.ClassMeta-java.util.Collection-">toArray</a>, <a href="../../../../org/apache/juneau/BeanSession.html#toBeanMap-T-">toBeanMap</a>, <a href="../../../../org/apache/juneau/BeanSession.html#toBeanMap-T-java.lang.Class-">toBeanMap</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.Session">
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/5aed2f48/content/site/apidocs/org/apache/juneau/json/package-summary.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/json/package-summary.html b/content/site/apidocs/org/apache/juneau/json/package-summary.html index f70c984..dbc766f 100644 --- a/content/site/apidocs/org/apache/juneau/json/package-summary.html +++ b/content/site/apidocs/org/apache/juneau/json/package-summary.html @@ -1161,12 +1161,12 @@ // Consists of an in-memory address book repository.</jc> <ja>@RestResource</ja>( messages=<js>"nls/AddressBookResource"</js>, + title=<js>"$L{title}"</js>, + description=<js>"$L{description}"</js>, + pageLinks=<js>"{options:'?method=OPTIONS',doc:'doc'}"</js>, properties={ <ja>@Property</ja>(name=SerializerContext.<jsf>SERIALIZER_quoteChar</jsf>, value=<js>"'"</js>), - <ja>@Property</ja>(name=HtmlSerializerContext.<jsf>HTML_uriAnchorText</jsf>, value=<jsf>TO_STRING</jsf>), - <ja>@Property</ja>(name=HtmlDocSerializerContext.<jsf>HTMLDOC_title</jsf>, value=<js>"$L{title}"</js>), - <ja>@Property</ja>(name=HtmlDocSerializerContext.<jsf>HTMLDOC_description</jsf>, value=<js>"$L{description}"</js>), - <ja>@Property</ja>(name=HtmlDocSerializerContext.<jsf>HTMLDOC_links</jsf>, value=<js>"{options:'?method=OPTIONS',doc:'doc'}"</js>) + <ja>@Property</ja>(name=HtmlSerializerContext.<jsf>HTML_uriAnchorText</jsf>, value=<jsf>TO_STRING</jsf>) }, encoders=GzipEncoder.<jk>class</jk> ) @@ -1195,8 +1195,8 @@ <p class='bcode'> <jc>// GET person request handler</jc> <ja>@RestMethod</ja>(name=<js>"GET"</js>, path=<js>"/people/{id}/*"</js>, rc={200,404}) - <jk>public</jk> Person getPerson(RestRequest req, <ja>@Path</ja> <jk>int</jk> id) throws Exception { - properties.put(HtmlDocSerializerContext.<jsf>HTMLDOC_title</jsf>, req.getPathInfo()); + <jk>public</jk> Person getPerson(RestRequest req, RestResponse res, <ja>@Path</ja> <jk>int</jk> id) throws Exception { + res.setPageTitle(req.getPathInfo()); <jk>return</jk> findPerson(id); } @@ -1255,8 +1255,8 @@ <ja>@Property</ja>(name=SerializerContext.<jsf>SERIALIZER_quoteChar</jsf>, value=<js>"'"</js>) } ) - <jk>public</jk> Person getPerson(RestRequest req, <ja>@Path</ja> <jk>int</jk> id) throws Exception { - properties.put(HtmlDocSerializerContext.<jsf>HTMLDOC_title</jsf>, req.getPathInfo()); + <jk>public</jk> Person getPerson(RestRequest req, RestResponse res, <ja>@Path</ja> <jk>int</jk> id) throws Exception { + res.setPageTitle(req.getPathInfo()); <jk>return</jk> findPerson(id); } </p> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/5aed2f48/content/site/apidocs/org/apache/juneau/microservice/Microservice.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/microservice/Microservice.html b/content/site/apidocs/org/apache/juneau/microservice/Microservice.html index e0778d9..91b4240 100644 --- a/content/site/apidocs/org/apache/juneau/microservice/Microservice.html +++ b/content/site/apidocs/org/apache/juneau/microservice/Microservice.html @@ -725,7 +725,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>join</h4> -<pre>public <a href="../../../../org/apache/juneau/microservice/Microservice.html" title="class in org.apache.juneau.microservice">Microservice</a> <a href="../../../../src-html/org/apache/juneau/microservice/Microservice.html#line.534">join</a>() +<pre>public <a href="../../../../org/apache/juneau/microservice/Microservice.html" title="class in org.apache.juneau.microservice">Microservice</a> <a href="../../../../src-html/org/apache/juneau/microservice/Microservice.html#line.535">join</a>() 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">Joins the application with the current thread. <p> @@ -744,7 +744,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>stop</h4> -<pre>public <a href="../../../../org/apache/juneau/microservice/Microservice.html" title="class in org.apache.juneau.microservice">Microservice</a> <a href="../../../../src-html/org/apache/juneau/microservice/Microservice.html#line.547">stop</a>()</pre> +<pre>public <a href="../../../../org/apache/juneau/microservice/Microservice.html" title="class in org.apache.juneau.microservice">Microservice</a> <a href="../../../../src-html/org/apache/juneau/microservice/Microservice.html#line.548">stop</a>()</pre> <div class="block">Stop this application. <p> Default implementation simply calls <a href="../../../../org/apache/juneau/microservice/Microservice.html#onStop--"><code>onStop()</code></a>. @@ -762,7 +762,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>kill</h4> -<pre>public void <a href="../../../../src-html/org/apache/juneau/microservice/Microservice.html#line.555">kill</a>()</pre> +<pre>public void <a href="../../../../src-html/org/apache/juneau/microservice/Microservice.html#line.556">kill</a>()</pre> <div class="block">Kill the JVM by calling <code>System.exit(2);</code>.</div> </li> </ul> @@ -772,7 +772,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>onStart</h4> -<pre>protected void <a href="../../../../src-html/org/apache/juneau/microservice/Microservice.html#line.571">onStart</a>()</pre> +<pre>protected void <a href="../../../../src-html/org/apache/juneau/microservice/Microservice.html#line.572">onStart</a>()</pre> <div class="block">Called at the beginning of the <a href="../../../../org/apache/juneau/microservice/Microservice.html#start--"><code>start()</code></a> call. <p> Subclasses can override this method to hook into the lifecycle of this application.</div> @@ -784,7 +784,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>onStop</h4> -<pre>protected void <a href="../../../../src-html/org/apache/juneau/microservice/Microservice.html#line.578">onStop</a>()</pre> +<pre>protected void <a href="../../../../src-html/org/apache/juneau/microservice/Microservice.html#line.579">onStop</a>()</pre> <div class="block">Called at the end of the <a href="../../../../org/apache/juneau/microservice/Microservice.html#stop--"><code>stop()</code></a> call. <p> Subclasses can override this method to hook into the lifecycle of this application.</div> @@ -796,7 +796,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>onConfigSave</h4> -<pre>protected void <a href="../../../../src-html/org/apache/juneau/microservice/Microservice.html#line.587">onConfigSave</a>(<a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a> cf)</pre> +<pre>protected void <a href="../../../../src-html/org/apache/juneau/microservice/Microservice.html#line.588">onConfigSave</a>(<a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a> cf)</pre> <div class="block">Called if the <a href="../../../../org/apache/juneau/ini/ConfigFile.html#save--"><code>ConfigFile.save()</code></a> is called on the config file. <p> Subclasses can override this method to listen for config file changes.</div> @@ -812,7 +812,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockListLast"> <li class="blockList"> <h4>onConfigChange</h4> -<pre>protected void <a href="../../../../src-html/org/apache/juneau/microservice/Microservice.html#line.597">onConfigChange</a>(<a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a> cf, +<pre>protected void <a href="../../../../src-html/org/apache/juneau/microservice/Microservice.html#line.598">onConfigChange</a>(<a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a> cf, <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>> changes)</pre> <div class="block">Called if one or more changes occur in the config file. <p> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/5aed2f48/content/site/apidocs/org/apache/juneau/microservice/Resource.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/microservice/Resource.html b/content/site/apidocs/org/apache/juneau/microservice/Resource.html index f1e62b9..3d88c29 100644 --- a/content/site/apidocs/org/apache/juneau/microservice/Resource.html +++ b/content/site/apidocs/org/apache/juneau/microservice/Resource.html @@ -136,7 +136,7 @@ var activeTableTab = "activeTableTab"; </dl> <hr> <br> -<pre><a href="../../../../org/apache/juneau/rest/annotation/RestResource.html" title="annotation in org.apache.juneau.rest.annotation">@RestResource</a>(<a href="../../../../org/apache/juneau/rest/annotation/RestResource.html#properties--">properties</a>=<a href="../../../../org/apache/juneau/rest/annotation/Property.html" title="annotation in org.apache.juneau.rest.annotation">@Property</a>(<a href="../../../../org/apache/juneau/rest/annotation/Property.html#name--">name</a>="HtmlDocSerializer.links.map",<a href="../../../../org/apache/juneau/rest/annotation/Property.html#value--">value</a>="{up:\'$R{requestParentURI}\',options:\'$R{servletURI}?method=OPTIONS\'}"), +<pre><a href="../../../../org/apache/juneau/rest/annotation/RestResource.html" title="annotation in org.apache.juneau.rest.annotation">@RestResource</a>(<a href="../../../../org/apache/juneau/rest/annotation/RestResource.html#properties--">properties</a>=<a href="../../../../org/apache/juneau/rest/annotation/Property.html" title="annotation in org.apache.juneau.rest.annotation">@Property</a>(<a href="../../../../org/apache/juneau/rest/annotation/Property.html#name--">name</a>="HtmlDocSerializer.links.map",<a href="../../../../org/apache/juneau/rest/annotation/Property.html#value--">value</a>="{up:\'$R{requestParentURI}\',options:\'?method=OPTIONS\'}"), <a href="../../../../org/apache/juneau/rest/annotation/RestResource.html#config--">config</a>="$S{juneau.configFile}", <a href="../../../../org/apache/juneau/rest/annotation/RestResource.html#stylesheet--">stylesheet</a>="$C{REST/stylesheet,styles/juneau.css}") public abstract class <a href="../../../../src-html/org/apache/juneau/microservice/Resource.html#line.48">Resource</a> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/5aed2f48/content/site/apidocs/org/apache/juneau/microservice/ResourceGroup.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/microservice/ResourceGroup.html b/content/site/apidocs/org/apache/juneau/microservice/ResourceGroup.html index 040f4de..a140a39 100644 --- a/content/site/apidocs/org/apache/juneau/microservice/ResourceGroup.html +++ b/content/site/apidocs/org/apache/juneau/microservice/ResourceGroup.html @@ -141,10 +141,10 @@ var activeTableTab = "activeTableTab"; </dl> <hr> <br> -<pre><a href="../../../../org/apache/juneau/rest/annotation/RestResource.html" title="annotation in org.apache.juneau.rest.annotation">@RestResource</a>(<a href="../../../../org/apache/juneau/rest/annotation/RestResource.html#properties--">properties</a>=<a href="../../../../org/apache/juneau/rest/annotation/Property.html" title="annotation in org.apache.juneau.rest.annotation">@Property</a>(<a href="../../../../org/apache/juneau/rest/annotation/Property.html#name--">name</a>="HtmlDocSerializer.links.map",<a href="../../../../org/apache/juneau/rest/annotation/Property.html#value--">value</a>="{up:\'$R{requestParentURI}\',options:\'$R{servletURI}?method=OPTIONS\'}"), +<pre><a href="../../../../org/apache/juneau/rest/annotation/RestResource.html" title="annotation in org.apache.juneau.rest.annotation">@RestResource</a>(<a href="../../../../org/apache/juneau/rest/annotation/RestResource.html#pageLinks--">pageLinks</a>="{up:\'$R{requestParentURI}\',options:\'?method=OPTIONS\'}", <a href="../../../../org/apache/juneau/rest/annotation/RestResource.html#config--">config</a>="$S{juneau.configFile}", <a href="../../../../org/apache/juneau/rest/annotation/RestResource.html#stylesheet--">stylesheet</a>="$C{REST/stylesheet,styles/juneau.css}") -public abstract class <a href="../../../../src-html/org/apache/juneau/microservice/ResourceGroup.html#line.49">ResourceGroup</a> +public abstract class <a href="../../../../src-html/org/apache/juneau/microservice/ResourceGroup.html#line.45">ResourceGroup</a> extends <a href="../../../../org/apache/juneau/rest/RestServletGroupDefault.html" title="class in org.apache.juneau.rest">RestServletGroupDefault</a></pre> <div class="block">Superclass for all REST resource groups. <p> @@ -272,7 +272,7 @@ extends <a href="../../../../org/apache/juneau/rest/RestServletGroupDefault.html <ul class="blockListLast"> <li class="blockList"> <h4>ResourceGroup</h4> -<pre>public <a href="../../../../src-html/org/apache/juneau/microservice/ResourceGroup.html#line.49">ResourceGroup</a>()</pre> +<pre>public <a href="../../../../src-html/org/apache/juneau/microservice/ResourceGroup.html#line.45">ResourceGroup</a>()</pre> </li> </ul> </li> @@ -289,7 +289,7 @@ extends <a href="../../../../org/apache/juneau/rest/RestServletGroupDefault.html <ul class="blockListLast"> <li class="blockList"> <h4>init</h4> -<pre>public void <a href="../../../../src-html/org/apache/juneau/microservice/ResourceGroup.html#line.52">init</a>(<a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a> config) +<pre>public void <a href="../../../../src-html/org/apache/juneau/microservice/ResourceGroup.html#line.48">init</a>(<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"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/juneau/rest/RestServlet.html#init-org.apache.juneau.rest.RestConfig-">RestServlet</a></code></span></div> <div class="block">Resource initialization method. http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/5aed2f48/content/site/apidocs/org/apache/juneau/microservice/ResourceJena.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/microservice/ResourceJena.html b/content/site/apidocs/org/apache/juneau/microservice/ResourceJena.html index 8d84f53..f5642a3 100644 --- a/content/site/apidocs/org/apache/juneau/microservice/ResourceJena.html +++ b/content/site/apidocs/org/apache/juneau/microservice/ResourceJena.html @@ -126,10 +126,10 @@ </dl> <hr> <br> -<pre><a href="../../../../org/apache/juneau/rest/annotation/RestResource.html" title="annotation in org.apache.juneau.rest.annotation">@RestResource</a>(<a href="../../../../org/apache/juneau/rest/annotation/RestResource.html#properties--">properties</a>=<a href="../../../../org/apache/juneau/rest/annotation/Property.html" title="annotation in org.apache.juneau.rest.annotation">@Property</a>(<a href="../../../../org/apache/juneau/rest/annotation/Property.html#name--">name</a>="HtmlDocSerializer.links.map",<a href="../../../../org/apache/juneau/rest/annotation/Property.html#value--">value</a>="{up:\'$R{requestParentURI}\',options:\'$R{servletURI}?method=OPTIONS\'}"), +<pre><a href="../../../../org/apache/juneau/rest/annotation/RestResource.html" title="annotation in org.apache.juneau.rest.annotation">@RestResource</a>(<a href="../../../../org/apache/juneau/rest/annotation/RestResource.html#pageLinks--">pageLinks</a>="{up:\'$R{requestParentURI}\',options:\'?method=OPTIONS\'}", <a href="../../../../org/apache/juneau/rest/annotation/RestResource.html#config--">config</a>="$S{juneau.configFile}", <a href="../../../../org/apache/juneau/rest/annotation/RestResource.html#stylesheet--">stylesheet</a>="$C{REST/stylesheet,styles/juneau.css}") -public abstract class <a href="../../../../src-html/org/apache/juneau/microservice/ResourceJena.html#line.31">ResourceJena</a> +public abstract class <a href="../../../../src-html/org/apache/juneau/microservice/ResourceJena.html#line.27">ResourceJena</a> extends <a href="../../../../org/apache/juneau/rest/jena/RestServletJenaDefault.html" title="class in org.apache.juneau.rest.jena">RestServletJenaDefault</a></pre> <div class="block">Superclass for all REST resources with RDF support.</div> <dl> @@ -220,7 +220,7 @@ extends <a href="../../../../org/apache/juneau/rest/jena/RestServletJenaDefault. <ul class="blockListLast"> <li class="blockList"> <h4>ResourceJena</h4> -<pre>public <a href="../../../../src-html/org/apache/juneau/microservice/ResourceJena.html#line.31">ResourceJena</a>()</pre> +<pre>public <a href="../../../../src-html/org/apache/juneau/microservice/ResourceJena.html#line.27">ResourceJena</a>()</pre> </li> </ul> </li> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/5aed2f48/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 faa3da8..663fc7d 100644 --- a/content/site/apidocs/org/apache/juneau/microservice/package-summary.html +++ b/content/site/apidocs/org/apache/juneau/microservice/package-summary.html @@ -253,7 +253,7 @@ title=<js>"Juneau Microservice Template"</js>, description=<js>"Template for creating REST microservices"</js>, properties={ - <ja>@Property</ja>(name=<jsf>HTMLDOC_links</jsf>, value=<js>"{options:'$R{servletURI}?method=OPTIONS'}"</js>) + <ja>@Property</ja>(name=<jsf>HTMLDOC_links</jsf>, value=<js>"{options:'?method=OPTIONS'}"</js>) }, children={ HelloWorldResource.<jk>class</jk>, @@ -842,7 +842,7 @@ title=<js>"Juneau Microservice Template"</js>, description=<js>"Template for creating REST microservices"</js>, properties={ - <ja>@Property</ja>(name=<jsf>HTMLDOC_links</jsf>, value=<js>"{options:'$R{servletURI}?method=OPTIONS'}"</js>) + <ja>@Property</ja>(name=<jsf>HTMLDOC_links</jsf>, value=<js>"{options:'?method=OPTIONS'}"</js>) }, children={ HelloWorldResource.<jk>class</jk>, http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/5aed2f48/content/site/apidocs/org/apache/juneau/microservice/resources/ConfigResource.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/microservice/resources/ConfigResource.html b/content/site/apidocs/org/apache/juneau/microservice/resources/ConfigResource.html index 482666d..0395548 100644 --- a/content/site/apidocs/org/apache/juneau/microservice/resources/ConfigResource.html +++ b/content/site/apidocs/org/apache/juneau/microservice/resources/ConfigResource.html @@ -140,8 +140,8 @@ var activeTableTab = "activeTableTab"; <pre><a href="../../../../../org/apache/juneau/rest/annotation/RestResource.html" title="annotation in org.apache.juneau.rest.annotation">@RestResource</a>(<a href="../../../../../org/apache/juneau/rest/annotation/RestResource.html#path--">path</a>="/config", <a href="../../../../../org/apache/juneau/rest/annotation/RestResource.html#title--">title</a>="Configuration", <a href="../../../../../org/apache/juneau/rest/annotation/RestResource.html#description--">description</a>="Contents of configuration file.", - <a href="../../../../../org/apache/juneau/rest/annotation/RestResource.html#properties--">properties</a>=<a href="../../../../../org/apache/juneau/rest/annotation/Property.html" title="annotation in org.apache.juneau.rest.annotation">@Property</a>(<a href="../../../../../org/apache/juneau/rest/annotation/Property.html#name--">name</a>="HtmlDocSerializer.links.map",<a href="../../../../../org/apache/juneau/rest/annotation/Property.html#value--">value</a>="{up:\'$R{requestParentURI}\',options:\'$R{servletURI}?method=OPTIONS\',edit:\'$R{servletURI}/edit\'}")) -public class <a href="../../../../../src-html/org/apache/juneau/microservice/resources/ConfigResource.html#line.41">ConfigResource</a> + <a href="../../../../../org/apache/juneau/rest/annotation/RestResource.html#pageLinks--">pageLinks</a>="{up:\'$R{requestParentURI}\',options:\'?method=OPTIONS\',edit:\'edit\'}") +public class <a href="../../../../../src-html/org/apache/juneau/microservice/resources/ConfigResource.html#line.38">ConfigResource</a> extends <a href="../../../../../org/apache/juneau/microservice/Resource.html" title="class in org.apache.juneau.microservice">Resource</a></pre> <div class="block">Shows contents of the microservice configuration file.</div> <dl> @@ -298,7 +298,7 @@ extends <a href="../../../../../org/apache/juneau/microservice/Resource.html" ti <ul class="blockListLast"> <li class="blockList"> <h4>ConfigResource</h4> -<pre>public <a href="../../../../../src-html/org/apache/juneau/microservice/resources/ConfigResource.html#line.41">ConfigResource</a>()</pre> +<pre>public <a href="../../../../../src-html/org/apache/juneau/microservice/resources/ConfigResource.html#line.38">ConfigResource</a>()</pre> </li> </ul> </li> @@ -318,7 +318,7 @@ extends <a href="../../../../../org/apache/juneau/microservice/Resource.html" ti <pre><a href="../../../../../org/apache/juneau/rest/annotation/RestMethod.html" title="annotation in org.apache.juneau.rest.annotation">@RestMethod</a>(<a href="../../../../../org/apache/juneau/rest/annotation/RestMethod.html#name--">name</a>="GET", <a href="../../../../../org/apache/juneau/rest/annotation/RestMethod.html#path--">path</a>="/", <a href="../../../../../org/apache/juneau/rest/annotation/RestMethod.html#description--">description</a>="Show contents of config file.") -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/microservice/resources/ConfigResource.html#line.51">getConfigContents</a>() +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/microservice/resources/ConfigResource.html#line.48">getConfigContents</a>() 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">[GET /] - Show contents of config file.</div> <dl> @@ -338,7 +338,7 @@ public <a href="../../../../../org/apache/juneau/ini/ConfigFile.html" title <pre><a href="../../../../../org/apache/juneau/rest/annotation/RestMethod.html" title="annotation in org.apache.juneau.rest.annotation">@RestMethod</a>(<a href="../../../../../org/apache/juneau/rest/annotation/RestMethod.html#name--">name</a>="GET", <a href="../../../../../org/apache/juneau/rest/annotation/RestMethod.html#path--">path</a>="/edit", <a href="../../../../../org/apache/juneau/rest/annotation/RestMethod.html#description--">description</a>="Edit config file.") -public <a href="../../../../../org/apache/juneau/dto/html5/Form.html" title="class in org.apache.juneau.dto.html5">Form</a> <a href="../../../../../src-html/org/apache/juneau/microservice/resources/ConfigResource.html#line.63">getConfigEditForm</a>(<a href="../../../../../org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest">RestRequest</a> req) +public <a href="../../../../../org/apache/juneau/dto/html5/Form.html" title="class in org.apache.juneau.dto.html5">Form</a> <a href="../../../../../src-html/org/apache/juneau/microservice/resources/ConfigResource.html#line.60">getConfigEditForm</a>(<a href="../../../../../org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest">RestRequest</a> req) 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">[GET /edit] - Show config file edit page.</div> <dl> @@ -361,7 +361,7 @@ public <a href="../../../../../org/apache/juneau/dto/html5/Form.html" title <a href="../../../../../org/apache/juneau/rest/annotation/RestMethod.html#path--">path</a>="/{section}", <a href="../../../../../org/apache/juneau/rest/annotation/RestMethod.html#description--">description</a>="Show config file section.", <a href="../../../../../org/apache/juneau/rest/annotation/RestMethod.html#parameters--">parameters</a>=<a href="../../../../../org/apache/juneau/rest/annotation/Parameter.html" title="annotation in org.apache.juneau.rest.annotation">@Parameter</a>(<a href="../../../../../org/apache/juneau/rest/annotation/Parameter.html#in--">in</a>="path",<a href="../../../../../org/apache/juneau/rest/annotation/Parameter.html#name--">name</a>="section",<a href="../../../../../org/apache/juneau/rest/annotation/Parameter.html#description--">description</a>="Section name.")) -public <a href="../../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a> <a href="../../../../../src-html/org/apache/juneau/microservice/resources/ConfigResource.html#line.91">getConfigSection</a>(<a href="../../../../../org/apache/juneau/rest/annotation/Path.html" title="annotation in org.apache.juneau.rest.annotation">@Path</a>(<a href="../../../../../org/apache/juneau/rest/annotation/Path.html#value--">value</a>="section") +public <a href="../../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a> <a href="../../../../../src-html/org/apache/juneau/microservice/resources/ConfigResource.html#line.88">getConfigSection</a>(<a href="../../../../../org/apache/juneau/rest/annotation/Path.html" title="annotation in org.apache.juneau.rest.annotation">@Path</a>(<a href="../../../../../org/apache/juneau/rest/annotation/Path.html#value--">value</a>="section") <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> section) 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">[GET /{section}] - Show config file section.</div> @@ -382,7 +382,7 @@ public <a href="../../../../../org/apache/juneau/ObjectMap.html" title="cla <li class="blockList"> <h4>getConfigEntry</h4> <pre><a href="../../../../../org/apache/juneau/rest/annotation/RestMethod.html" title="annotation in org.apache.juneau.rest.annotation">@RestMethod</a>(<a href="../../../../../org/apache/juneau/rest/annotation/RestMethod.html#name--">name</a>="GET",<a href="../../../../../org/apache/juneau/rest/annotation/RestMethod.html#path--">path</a>="/{section}/{key}",<a href="../../../../../org/apache/juneau/rest/annotation/RestMethod.html#description--">description</a>="Show config file entry.",<a href="../../../../../org/apache/juneau/rest/annotation/RestMethod.html#parameters--">parameters</a>={<a href="../../../../../org/apache/juneau/rest/annotation/Parameter.html" title="annotation in org.apache.juneau.rest.annotation">@Parameter</a>(<a href="../../../../../org/apache/juneau/rest/annotation/Parameter.html#in--">in</a>="path",<a href="../../../../../org/apache/juneau/rest/annotation/Parameter.html#name--">name</a>="section",<a href="../../../../../org/apache/juneau/rest/annotation/Paramet er.html#description--">description</a>="Section name."),<a href="../../../../../org/apache/juneau/rest/annotation/Parameter.html" title="annotation in org.apache.juneau.rest.annotation">@Parameter</a>(<a href="../../../../../org/apache/juneau/rest/annotation/Parameter.html#in--">in</a>="path",<a href="../../../../../org/apache/juneau/rest/annotation/Parameter.html#name--">name</a>="key",<a href="../../../../../org/apache/juneau/rest/annotation/Parameter.html#description--">description</a>="Entry name.")}) -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/microservice/resources/ConfigResource.html#line.110">getConfigEntry</a>(<a href="../../../../../org/apache/juneau/rest/annotation/Path.html" title="annotation in org.apache.juneau.rest.annotation">@Path</a>(<a href="../../../../../org/apache/juneau/rest/annotation/Path.html#value--">value</a>="section") +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/microservice/resources/ConfigResource.html#line.107">getConfigEntry</a>(<a href="../../../../../org/apache/juneau/rest/annotation/Path.html" title="annotation in org.apache.juneau.rest.annotation">@Path</a>(<a href="../../../../../org/apache/juneau/rest/annotation/Path.html#value--">value</a>="section") <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> section, <a href="../../../../../org/apache/juneau/rest/annotation/Path.html" title="annotation in org.apache.juneau.rest.annotation">@Path</a>(<a href="../../../../../org/apache/juneau/rest/annotation/Path.html#value--">value</a>="key") <a href="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) @@ -409,7 +409,7 @@ public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.h <a href="../../../../../org/apache/juneau/rest/annotation/RestMethod.html#path--">path</a>="/", <a href="../../../../../org/apache/juneau/rest/annotation/RestMethod.html#description--">description</a>="Sets contents of config file from a FORM post.", <a href="../../../../../org/apache/juneau/rest/annotation/RestMethod.html#parameters--">parameters</a>=<a href="../../../../../org/apache/juneau/rest/annotation/Parameter.html" title="annotation in org.apache.juneau.rest.annotation">@Parameter</a>(<a href="../../../../../org/apache/juneau/rest/annotation/Parameter.html#in--">in</a>="formData",<a href="../../../../../org/apache/juneau/rest/annotation/Parameter.html#name--">name</a>="contents",<a href="../../../../../org/apache/juneau/rest/annotation/Parameter.html#description--">description</a>="New contents in INI file format.")) -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/microservice/resources/ConfigResource.html#line.127">setConfigContentsFormPost</a>(<a href="../../../../../org/apache/juneau/rest/annotation/FormData.html" title="annotation in org.apache.juneau.rest.annotation">@FormData</a>(<a href="../../../../../org/apache/juneau/rest/annotation/FormData.html#value--">value</a>="contents") +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/microservice/resources/ConfigResource.html#line.124">setConfigContentsFormPost</a>(<a href="../../../../../org/apache/juneau/rest/annotation/FormData.html" title="annotation in org.apache.juneau.rest.annotation">@FormData</a>(<a href="../../../../../org/apache/juneau/rest/annotation/FormData.html#value--">value</a>="contents") <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> contents) 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">[POST /] - Sets contents of config file from a FORM post.</div> @@ -433,7 +433,7 @@ public <a href="../../../../../org/apache/juneau/ini/ConfigFile.html" title <a href="../../../../../org/apache/juneau/rest/annotation/RestMethod.html#path--">path</a>="/", <a href="../../../../../org/apache/juneau/rest/annotation/RestMethod.html#description--">description</a>="Sets contents of config file.", <a href="../../../../../org/apache/juneau/rest/annotation/RestMethod.html#parameters--">parameters</a>=<a href="../../../../../org/apache/juneau/rest/annotation/Parameter.html" title="annotation in org.apache.juneau.rest.annotation">@Parameter</a>(<a href="../../../../../org/apache/juneau/rest/annotation/Parameter.html#in--">in</a>="body",<a href="../../../../../org/apache/juneau/rest/annotation/Parameter.html#description--">description</a>="New contents in INI file format.")) -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/microservice/resources/ConfigResource.html#line.144">setConfigContents</a>(<a href="../../../../../org/apache/juneau/rest/annotation/Body.html" title="annotation in org.apache.juneau.rest.annotation">@Body</a> +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/microservice/resources/ConfigResource.html#line.141">setConfigContents</a>(<a href="../../../../../org/apache/juneau/rest/annotation/Body.html" title="annotation in org.apache.juneau.rest.annotation">@Body</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">Reader</a> contents) 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">[PUT /] - Sets contents of config file.</div> @@ -454,7 +454,7 @@ public <a href="../../../../../org/apache/juneau/ini/ConfigFile.html" title <li class="blockList"> <h4>setConfigSection</h4> <pre><a href="../../../../../org/apache/juneau/rest/annotation/RestMethod.html" title="annotation in org.apache.juneau.rest.annotation">@RestMethod</a>(<a href="../../../../../org/apache/juneau/rest/annotation/RestMethod.html#name--">name</a>="PUT",<a href="../../../../../org/apache/juneau/rest/annotation/RestMethod.html#path--">path</a>="/{section}",<a href="../../../../../org/apache/juneau/rest/annotation/RestMethod.html#description--">description</a>="Add or overwrite a config file section.",<a href="../../../../../org/apache/juneau/rest/annotation/RestMethod.html#parameters--">parameters</a>={<a href="../../../../../org/apache/juneau/rest/annotation/Parameter.html" title="annotation in org.apache.juneau.rest.annotation">@Parameter</a>(<a href="../../../../../org/apache/juneau/rest/annotation/Parameter.html#in--">in</a>="path",<a href="../../../../../org/apache/juneau/rest/annotation/Parameter.html#name--">name</a>="section",<a href="../../../../../org/apache/juneau/rest/annotati on/Parameter.html#description--">description</a>="Section name."),<a href="../../../../../org/apache/juneau/rest/annotation/Parameter.html" title="annotation in org.apache.juneau.rest.annotation">@Parameter</a>(<a href="../../../../../org/apache/juneau/rest/annotation/Parameter.html#in--">in</a>="body",<a href="../../../../../org/apache/juneau/rest/annotation/Parameter.html#description--">description</a>="New contents for section as a simple map with string keys and values.")}) -public <a href="../../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a> <a href="../../../../../src-html/org/apache/juneau/microservice/resources/ConfigResource.html#line.164">setConfigSection</a>(<a href="../../../../../org/apache/juneau/rest/annotation/Path.html" title="annotation in org.apache.juneau.rest.annotation">@Path</a>(<a href="../../../../../org/apache/juneau/rest/annotation/Path.html#value--">value</a>="section") +public <a href="../../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a> <a href="../../../../../src-html/org/apache/juneau/microservice/resources/ConfigResource.html#line.161">setConfigSection</a>(<a href="../../../../../org/apache/juneau/rest/annotation/Path.html" title="annotation in org.apache.juneau.rest.annotation">@Path</a>(<a href="../../../../../org/apache/juneau/rest/annotation/Path.html#value--">value</a>="section") <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> section, <a href="../../../../../org/apache/juneau/rest/annotation/Body.html" title="annotation in org.apache.juneau.rest.annotation">@Body</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>> contents) @@ -478,7 +478,7 @@ public <a href="../../../../../org/apache/juneau/ObjectMap.html" title="cla <li class="blockList"> <h4>setConfigSection</h4> <pre><a href="../../../../../org/apache/juneau/rest/annotation/RestMethod.html" title="annotation in org.apache.juneau.rest.annotation">@RestMethod</a>(<a href="../../../../../org/apache/juneau/rest/annotation/RestMethod.html#name--">name</a>="PUT",<a href="../../../../../org/apache/juneau/rest/annotation/RestMethod.html#path--">path</a>="/{section}/{key}",<a href="../../../../../org/apache/juneau/rest/annotation/RestMethod.html#description--">description</a>="Add or overwrite a config file entry.",<a href="../../../../../org/apache/juneau/rest/annotation/RestMethod.html#parameters--">parameters</a>={<a href="../../../../../org/apache/juneau/rest/annotation/Parameter.html" title="annotation in org.apache.juneau.rest.annotation">@Parameter</a>(<a href="../../../../../org/apache/juneau/rest/annotation/Parameter.html#in--">in</a>="path",<a href="../../../../../org/apache/juneau/rest/annotation/Parameter.html#name--">name</a>="section",<a href="../../../../../org/apache/juneau/rest/anno tation/Parameter.html#description--">description</a>="Section name."),<a href="../../../../../org/apache/juneau/rest/annotation/Parameter.html" title="annotation in org.apache.juneau.rest.annotation">@Parameter</a>(<a href="../../../../../org/apache/juneau/rest/annotation/Parameter.html#in--">in</a>="path",<a href="../../../../../org/apache/juneau/rest/annotation/Parameter.html#name--">name</a>="key",<a href="../../../../../org/apache/juneau/rest/annotation/Parameter.html#description--">description</a>="Entry name."),<a href="../../../../../org/apache/juneau/rest/annotation/Parameter.html" title="annotation in org.apache.juneau.rest.annotation">@Parameter</a>(<a href="../../../../../org/apache/juneau/rest/annotation/Parameter.html#in--">in</a>="body",<a href="../../../../../org/apache/juneau/rest/annotation/Parameter.html#description--">description</a>="New value as a string.")}) -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/microservice/resources/ConfigResource.html#line.186">setConfigSection</a>(<a href="../../../../../org/apache/juneau/rest/annotation/Path.html" title="annotation in org.apache.juneau.rest.annotation">@Path</a>(<a href="../../../../../org/apache/juneau/rest/annotation/Path.html#value--">value</a>="section") +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/microservice/resources/ConfigResource.html#line.183">setConfigSection</a>(<a href="../../../../../org/apache/juneau/rest/annotation/Path.html" title="annotation in org.apache.juneau.rest.annotation">@Path</a>(<a href="../../../../../org/apache/juneau/rest/annotation/Path.html#value--">value</a>="section") <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> section, <a href="../../../../../org/apache/juneau/rest/annotation/Path.html" title="annotation in org.apache.juneau.rest.annotation">@Path</a>(<a href="../../../../../org/apache/juneau/rest/annotation/Path.html#value--">value</a>="key") <a href="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, http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/5aed2f48/content/site/apidocs/org/apache/juneau/microservice/resources/DirectoryResource.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/microservice/resources/DirectoryResource.html b/content/site/apidocs/org/apache/juneau/microservice/resources/DirectoryResource.html index a6b18f4..6540ddb 100644 --- a/content/site/apidocs/org/apache/juneau/microservice/resources/DirectoryResource.html +++ b/content/site/apidocs/org/apache/juneau/microservice/resources/DirectoryResource.html @@ -137,7 +137,7 @@ var activeTableTab = "activeTableTab"; </dl> <hr> <br> -<pre><a href="../../../../../org/apache/juneau/rest/annotation/RestResource.html" title="annotation in org.apache.juneau.rest.annotation">@RestResource</a>(<a href="../../../../../org/apache/juneau/rest/annotation/RestResource.html#title--">title</a>="File System Explorer",<a href="../../../../../org/apache/juneau/rest/annotation/RestResource.html#description--">description</a>="Contents of $R{attribute.path}",<a href="../../../../../org/apache/juneau/rest/annotation/RestResource.html#messages--">messages</a>="nls/DirectoryResource",<a href="../../../../../org/apache/juneau/rest/annotation/RestResource.html#properties--">properties</a>={<a href="../../../../../org/apache/juneau/rest/annotation/Property.html" title="annotation in org.apache.juneau.rest.annotation">@Property</a>(<a href="../../../../../org/apache/juneau/rest/annotation/Property.html#name--">name</a>="HtmlSerializer.uriAnchorText",<a href="../../../../../org/apache/juneau/rest/annotation/Property.html#value--">value</a >="PROPERTY_NAME"),<a >href="../../../../../org/apache/juneau/rest/annotation/Property.html" >title="annotation in org.apache.juneau.rest.annotation">@Property</a>(<a >href="../../../../../org/apache/juneau/rest/annotation/Property.html#name--">name</a>="HtmlDocSerializer.links.map",<a > >href="../../../../../org/apache/juneau/rest/annotation/Property.html#value--">value</a>="{up:\'$R{requestParentURI}\',options:\'?method=OPTIONS\',source:\'$R{servletParentURI}/source?classes=(org.apache.juneau.rest.samples.DirectoryResource)\'}"),<a > href="../../../../../org/apache/juneau/rest/annotation/Property.html" >title="annotation in org.apache.juneau.rest.annotation">@Property</a>(<a >href="../../../../../org/apache/juneau/rest/annotation/Property.html#name--">name</a>="RestServlet.allowMethodParam",<a > >href="../../../../../org/apache/juneau/rest/annotation/Property.html#value--">value</a>="*"),<a > href="../../../../../org/apache/juneau/rest/annotation/Property.html" >title="annotation in org.apache.ju neau.rest.annotation">@Property</a>(<a href="../../../../../org/apache/juneau/rest/annotation/Property.html#name--">name</a>="DirectoryResource.rootDir",<a href="../../../../../org/apache/juneau/rest/annotation/Property.html#value--">value</a>=""),<a href="../../../../../org/apache/juneau/rest/annotation/Property.html" title="annotation in org.apache.juneau.rest.annotation">@Property</a>(<a href="../../../../../org/apache/juneau/rest/annotation/Property.html#name--">name</a>="DirectoryResource.allowViews",<a href="../../../../../org/apache/juneau/rest/annotation/Property.html#value--">value</a>="false"),<a href="../../../../../org/apache/juneau/rest/annotation/Property.html" title="annotation in org.apache.juneau.rest.annotation">@Property</a>(<a href="../../../../../org/apache/juneau/rest/annotation/Property.html#name--">name</a>="DirectoryResource.allowDeletes",<a href="../../../../../org/apache/juneau/rest/annotation/Property.html#value--">value</a>="false"),<a href="../../../../ ../org/apache/juneau/rest/annotation/Property.html" title="annotation in org.apache.juneau.rest.annotation">@Property</a>(<a href="../../../../../org/apache/juneau/rest/annotation/Property.html#name--">name</a>="DirectoryResource.allowPuts",<a href="../../../../../org/apache/juneau/rest/annotation/Property.html#value--">value</a>="false")}) +<pre><a href="../../../../../org/apache/juneau/rest/annotation/RestResource.html" title="annotation in org.apache.juneau.rest.annotation">@RestResource</a>(<a href="../../../../../org/apache/juneau/rest/annotation/RestResource.html#title--">title</a>="File System Explorer",<a href="../../../../../org/apache/juneau/rest/annotation/RestResource.html#description--">description</a>="Contents of $R{attribute.path}",<a href="../../../../../org/apache/juneau/rest/annotation/RestResource.html#messages--">messages</a>="nls/DirectoryResource",<a href="../../../../../org/apache/juneau/rest/annotation/RestResource.html#pageLinks--">pageLinks</a>="{up:\'$R{requestParentURI}\',options:\'?method=OPTIONS\'}",<a href="../../../../../org/apache/juneau/rest/annotation/RestResource.html#properties--">properties</a>={<a href="../../../../../org/apache/juneau/rest/annotation/Property.html" title="annotation in org.apache.juneau.rest.annotation">@Property</a>(<a href="../../../../../org/apache/juneau/rest /annotation/Property.html#name--">name</a>="HtmlSerializer.uriAnchorText",<a href="../../../../../org/apache/juneau/rest/annotation/Property.html#value--">value</a>="PROPERTY_NAME"),<a href="../../../../../org/apache/juneau/rest/annotation/Property.html" title="annotation in org.apache.juneau.rest.annotation">@Property</a>(<a href="../../../../../org/apache/juneau/rest/annotation/Property.html#name--">name</a>="RestServlet.allowMethodParam",<a href="../../../../../org/apache/juneau/rest/annotation/Property.html#value--">value</a>="*"),<a href="../../../../../org/apache/juneau/rest/annotation/Property.html" title="annotation in org.apache.juneau.rest.annotation">@Property</a>(<a href="../../../../../org/apache/juneau/rest/annotation/Property.html#name--">name</a>="DirectoryResource.rootDir",<a href="../../../../../org/apache/juneau/rest/annotation/Property.html#value--">value</a>=""),<a href="../../../../../org/apache/juneau/rest/annotation/Property.html" title="annotation in org.apa che.juneau.rest.annotation">@Property</a>(<a href="../../../../../org/apache/juneau/rest/annotation/Property.html#name--">name</a>="DirectoryResource.allowViews",<a href="../../../../../org/apache/juneau/rest/annotation/Property.html#value--">value</a>="false"),<a href="../../../../../org/apache/juneau/rest/annotation/Property.html" title="annotation in org.apache.juneau.rest.annotation">@Property</a>(<a href="../../../../../org/apache/juneau/rest/annotation/Property.html#name--">name</a>="DirectoryResource.allowDeletes",<a href="../../../../../org/apache/juneau/rest/annotation/Property.html#value--">value</a>="false"),<a href="../../../../../org/apache/juneau/rest/annotation/Property.html" title="annotation in org.apache.juneau.rest.annotation">@Property</a>(<a href="../../../../../org/apache/juneau/rest/annotation/Property.html#name--">name</a>="DirectoryResource.allowPuts",<a href="../../../../../org/apache/juneau/rest/annotation/Property.html#value--">value</a>="false")}) public class <a href="../../../../../src-html/org/apache/juneau/microservice/resources/DirectoryResource.html#line.70">DirectoryResource</a> extends <a href="../../../../../org/apache/juneau/microservice/Resource.html" title="class in org.apache.juneau.microservice">Resource</a></pre> <div class="block">REST resource that allows access to a file system directory. http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/5aed2f48/content/site/apidocs/org/apache/juneau/microservice/resources/LogsResource.FileResource.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/microservice/resources/LogsResource.FileResource.html b/content/site/apidocs/org/apache/juneau/microservice/resources/LogsResource.FileResource.html index 40d29e4..2a9de2a 100644 --- a/content/site/apidocs/org/apache/juneau/microservice/resources/LogsResource.FileResource.html +++ b/content/site/apidocs/org/apache/juneau/microservice/resources/LogsResource.FileResource.html @@ -106,7 +106,7 @@ </dl> <hr> <br> -<pre>public static class <a href="../../../../../src-html/org/apache/juneau/microservice/resources/LogsResource.html#line.270">LogsResource.FileResource</a> +<pre>public static class <a href="../../../../../src-html/org/apache/juneau/microservice/resources/LogsResource.html#line.273">LogsResource.FileResource</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">File bean.</div> </li> @@ -217,7 +217,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>type</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/microservice/resources/LogsResource.FileResource.html#line.272">type</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/microservice/resources/LogsResource.FileResource.html#line.275">type</a></pre> </li> </ul> <a name="name"> @@ -226,7 +226,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>name</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/microservice/resources/LogsResource.FileResource.html#line.273">name</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/microservice/resources/LogsResource.FileResource.html#line.276">name</a></pre> </li> </ul> <a name="size"> @@ -235,7 +235,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>size</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a> <a href="../../../../../src-html/org/apache/juneau/microservice/resources/LogsResource.FileResource.html#line.274">size</a></pre> +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a> <a href="../../../../../src-html/org/apache/juneau/microservice/resources/LogsResource.FileResource.html#line.277">size</a></pre> </li> </ul> <a name="lastModified"> @@ -245,7 +245,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <li class="blockList"> <h4>lastModified</h4> <pre><a href="../../../../../org/apache/juneau/annotation/BeanProperty.html" title="annotation in org.apache.juneau.annotation">@BeanProperty</a>(<a href="../../../../../org/apache/juneau/annotation/BeanProperty.html#swap--">swap</a>=<a href="../../../../../org/apache/juneau/transforms/DateSwap.DateTimeMedium.html" title="class in org.apache.juneau.transforms">DateSwap.DateTimeMedium.class</a>) -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/microservice/resources/LogsResource.FileResource.html#line.275">lastModified</a></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/microservice/resources/LogsResource.FileResource.html#line.278">lastModified</a></pre> </li> </ul> <a name="view"> @@ -254,7 +254,7 @@ public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.htm <ul class="blockList"> <li class="blockList"> <h4>view</h4> -<pre>public <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> <a href="../../../../../src-html/org/apache/juneau/microservice/resources/LogsResource.FileResource.html#line.276">view</a></pre> +<pre>public <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> <a href="../../../../../src-html/org/apache/juneau/microservice/resources/LogsResource.FileResource.html#line.279">view</a></pre> </li> </ul> <a name="highlighted"> @@ -263,7 +263,7 @@ public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.htm <ul class="blockList"> <li class="blockList"> <h4>highlighted</h4> -<pre>public <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> <a href="../../../../../src-html/org/apache/juneau/microservice/resources/LogsResource.FileResource.html#line.276">highlighted</a></pre> +<pre>public <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> <a href="../../../../../src-html/org/apache/juneau/microservice/resources/LogsResource.FileResource.html#line.279">highlighted</a></pre> </li> </ul> <a name="parsed"> @@ -272,7 +272,7 @@ public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.htm <ul class="blockList"> <li class="blockList"> <h4>parsed</h4> -<pre>public <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> <a href="../../../../../src-html/org/apache/juneau/microservice/resources/LogsResource.FileResource.html#line.276">parsed</a></pre> +<pre>public <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> <a href="../../../../../src-html/org/apache/juneau/microservice/resources/LogsResource.FileResource.html#line.279">parsed</a></pre> </li> </ul> <a name="download"> @@ -281,7 +281,7 @@ public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.htm <ul class="blockList"> <li class="blockList"> <h4>download</h4> -<pre>public <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> <a href="../../../../../src-html/org/apache/juneau/microservice/resources/LogsResource.FileResource.html#line.276">download</a></pre> +<pre>public <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> <a href="../../../../../src-html/org/apache/juneau/microservice/resources/LogsResource.FileResource.html#line.279">download</a></pre> </li> </ul> <a name="delete"> @@ -290,7 +290,7 @@ public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.htm <ul class="blockListLast"> <li class="blockList"> <h4>delete</h4> -<pre>public <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> <a href="../../../../../src-html/org/apache/juneau/microservice/resources/LogsResource.FileResource.html#line.276">delete</a></pre> +<pre>public <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> <a href="../../../../../src-html/org/apache/juneau/microservice/resources/LogsResource.FileResource.html#line.279">delete</a></pre> </li> </ul> </li> @@ -307,7 +307,7 @@ public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.htm <ul class="blockListLast"> <li class="blockList"> <h4>FileResource</h4> -<pre>public <a href="../../../../../src-html/org/apache/juneau/microservice/resources/LogsResource.FileResource.html#line.278">FileResource</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> f, +<pre>public <a href="../../../../../src-html/org/apache/juneau/microservice/resources/LogsResource.FileResource.html#line.281">FileResource</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> f, <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> url) 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> <dl>
