This is an automated email from the ASF dual-hosted git repository.
jamesbognar pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/juneau-website.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 366b02bdd Update Javadocs.
366b02bdd is described below
commit 366b02bdd6916ae3587f27cdfb36747c923da586
Author: JamesBognar <[email protected]>
AuthorDate: Mon Jul 4 17:14:51 2022 -0400
Update Javadocs.
---
content/site/apidocs-9.0.0/overview-summary.html | 401 ++++++++++-----------
.../apidocs-9.0.0/resources/fragments/toc.html | 46 +--
.../site/apidocs-9.0.0/resources/juneau-code.css | 2 +-
.../site/apidocs-9.0.0/resources/juneau-doc.css | 4 +-
content/styles/juneau-doc.css | 2 +-
5 files changed, 217 insertions(+), 238 deletions(-)
diff --git a/content/site/apidocs-9.0.0/overview-summary.html
b/content/site/apidocs-9.0.0/overview-summary.html
index 09d1ef4e9..993b46edb 100644
--- a/content/site/apidocs-9.0.0/overview-summary.html
+++ b/content/site/apidocs-9.0.0/overview-summary.html
@@ -1160,34 +1160,34 @@
<ol>
<li><p><a class='doclink'
href='#juneau-rest-mock.jrm.MockRestClient'>MockRestClient</a><span
class='update'>created: 8.2.0, updated: <b>9.0.0</b></span></p>
</ol>
- <li><p class='toc2'><a class='doclink'
href='#juneau-microservice-core'>juneau-microservice-core</a><span
class='update'>created: 8.1.0, deprecated: 8.1.2</span></p>
+ <li><p class='toc2'><a class='doclink'
href='#juneau-microservice-core'>juneau-microservice-core</a><span
class='update'>created: 8.1.0</span></p>
<ol>
- <li><p><a class='doclink'
href='#juneau-microservice-core.jmc.Overview'>Microservice Overview</a><span
class='update'>created: 8.0.0, deprecated: 8.1.2</span></p>
- <li><p><a class='doclink'
href='#juneau-microservice-core.jmc.LifecycleMethods'>Lifecycle
Methods</a><span class='update'>created: 8.0.0, deprecated: 8.1.2</span></p>
- <li><p><a class='doclink'
href='#juneau-microservice-core.jmc.Args'>Args</a><span class='update'>created:
8.0.0, deprecated: 8.1.2</span></p>
- <li><p><a class='doclink'
href='#juneau-microservice-core.jmc.Manifest'>Manifest</a><span
class='update'>created: 8.0.0, deprecated: 8.1.2</span></p>
- <li><p><a class='doclink'
href='#juneau-microservice-core.jmc.Config'>Config</a><span
class='update'>created: 8.0.0, deprecated: 8.1.2</span></p>
- <li><p><a class='doclink'
href='#juneau-microservice-core.jmc.SystemProperties'>System
properties</a><span class='update'>created: 8.0.0, deprecated: 8.1.2</span></p>
- <li><p><a class='doclink'
href='#juneau-microservice-core.jmc.VarResolver'>VarResolver</a><span
class='update'>created: 8.0.0, deprecated: 8.1.2</span></p>
- <li><p><a class='doclink'
href='#juneau-microservice-core.jmc.ConsoleCommands'>Console Commands</a><span
class='update'>created: 8.0.0, deprecated: 8.1.2</span></p>
- <li><p><a class='doclink'
href='#juneau-microservice-core.jmc.Listeners'>Listeners</a><span
class='update'>created: 8.0.0, deprecated: 8.1.2</span></p>
+ <li><p><a class='doclink'
href='#juneau-microservice-core.jmc.Overview'>Microservice Overview</a><span
class='update'>created: 8.0.0</span></p>
+ <li><p><a class='doclink'
href='#juneau-microservice-core.jmc.LifecycleMethods'>Lifecycle
Methods</a><span class='update'>created: 8.0.0</span></p>
+ <li><p><a class='doclink'
href='#juneau-microservice-core.jmc.Args'>Args</a><span class='update'>created:
8.0.0</span></p>
+ <li><p><a class='doclink'
href='#juneau-microservice-core.jmc.Manifest'>Manifest</a><span
class='update'>created: 8.0.0</span></p>
+ <li><p><a class='doclink'
href='#juneau-microservice-core.jmc.Config'>Config</a><span
class='update'>created: 8.0.0</span></p>
+ <li><p><a class='doclink'
href='#juneau-microservice-core.jmc.SystemProperties'>System
properties</a><span class='update'>created: 8.0.0</span></p>
+ <li><p><a class='doclink'
href='#juneau-microservice-core.jmc.VarResolver'>VarResolver</a><span
class='update'>created: 8.0.0</span></p>
+ <li><p><a class='doclink'
href='#juneau-microservice-core.jmc.ConsoleCommands'>Console Commands</a><span
class='update'>created: 8.0.0</span></p>
+ <li><p><a class='doclink'
href='#juneau-microservice-core.jmc.Listeners'>Listeners</a><span
class='update'>created: 8.0.0</span></p>
</ol>
- <li><p class='toc2'><a class='doclink'
href='#juneau-microservice-jetty'>juneau-microservice-jetty</a><span
class='update'>created: 8.1.0, deprecated: 8.1.2</span></p>
+ <li><p class='toc2'><a class='doclink'
href='#juneau-microservice-jetty'>juneau-microservice-jetty</a><span
class='update'>created: 8.1.0</span></p>
<ol>
- <li><p><a class='doclink'
href='#juneau-microservice-jetty.jmj.Overview'>Overview</a><span
class='update'>created: 8.0.0, deprecated: 8.1.2</span></p>
- <li><p><a class='doclink'
href='#juneau-microservice-jetty.jmj.LifecycleMethods'>Lifecycle
Methods</a><span class='update'>created: 8.0.0, deprecated: 8.1.2</span></p>
- <li><p><a class='doclink'
href='#juneau-microservice-jetty.jmj.ResourceClasses'>Resource Classes</a><span
class='update'>created: 8.0.0, deprecated: 8.1.2</span></p>
- <li><p><a class='doclink'
href='#juneau-microservice-jetty.jmj.PredefinedResourceClasses'>Predefined
Resource Classes</a><span class='update'>created: 8.0.0, deprecated:
8.1.2</span></p>
- <li><p><a class='doclink'
href='#juneau-microservice-jetty.jmj.Config'>Config</a><span
class='update'>created: 8.0.0, deprecated: 8.1.2</span></p>
- <li><p><a class='doclink'
href='#juneau-microservice-jetty.jmj.JettyXml'>Jetty.xml file</a><span
class='update'>created: 8.0.0, deprecated: 8.1.2</span></p>
- <li><p><a class='doclink'
href='#juneau-microservice-jetty.jmj.UiCustomization'>UI Customization</a><span
class='update'>created: 8.0.0, deprecated: 8.1.2</span></p>
- <li><p><a class='doclink'
href='#juneau-microservice-jetty.jmj.Extending'>Extending
JettyMicroservice</a><span class='update'>created: 8.0.0, deprecated:
8.1.2</span></p>
+ <li><p><a class='doclink'
href='#juneau-microservice-jetty.jmj.Overview'>Overview</a><span
class='update'>created: 8.0.0</span></p>
+ <li><p><a class='doclink'
href='#juneau-microservice-jetty.jmj.LifecycleMethods'>Lifecycle
Methods</a><span class='update'>created: 8.0.0</span></p>
+ <li><p><a class='doclink'
href='#juneau-microservice-jetty.jmj.ResourceClasses'>Resource Classes</a><span
class='update'>created: 8.0.0</span></p>
+ <li><p><a class='doclink'
href='#juneau-microservice-jetty.jmj.PredefinedResourceClasses'>Predefined
Resource Classes</a><span class='update'>created: 8.0.0</span></p>
+ <li><p><a class='doclink'
href='#juneau-microservice-jetty.jmj.Config'>Config</a><span
class='update'>created: 8.0.0</span></p>
+ <li><p><a class='doclink'
href='#juneau-microservice-jetty.jmj.JettyXml'>Jetty.xml file</a><span
class='update'>created: 8.0.0</span></p>
+ <li><p><a class='doclink'
href='#juneau-microservice-jetty.jmj.UiCustomization'>UI Customization</a><span
class='update'>created: 8.0.0</span></p>
+ <li><p><a class='doclink'
href='#juneau-microservice-jetty.jmj.Extending'>Extending
JettyMicroservice</a><span class='update'>created: 8.0.0</span></p>
</ol>
- <li><p class='toc2'><a class='doclink'
href='#my-jetty-microservice'>my-jetty-microservice</a><span
class='update'>created: 8.1.0, deprecated: 8.1.2</span></p>
+ <li><p class='toc2'><a class='doclink'
href='#my-jetty-microservice'>my-jetty-microservice</a><span
class='update'>created: 8.1.0</span></p>
<ol>
- <li><p><a class='doclink'
href='#my-jetty-microservice.mjm.Installing'>Installing in Eclipse</a><span
class='update'>created: 8.0.0, deprecated: 8.1.2</span></p>
- <li><p><a class='doclink'
href='#my-jetty-microservice.mjm.Running'>Running in Eclipse</a><span
class='update'>created: 8.0.0, deprecated: 8.1.2</span></p>
- <li><p><a class='doclink'
href='#my-jetty-microservice.mjm.Building'>Building and Running from
Command-Line</a><span class='update'>created: 8.0.0, deprecated:
8.1.2</span></p>
+ <li><p><a class='doclink'
href='#my-jetty-microservice.mjm.Installing'>Installing in Eclipse</a><span
class='update'>created: 8.0.0</span></p>
+ <li><p><a class='doclink'
href='#my-jetty-microservice.mjm.Running'>Running in Eclipse</a><span
class='update'>created: 8.0.0</span></p>
+ <li><p><a class='doclink'
href='#my-jetty-microservice.mjm.Building'>Building and Running from
Command-Line</a><span class='update'>created: 8.0.0</span></p>
</ol>
<li><p class='toc2'><a class='doclink'
href='#my-springboot-microservice'>my-springboot-microservice</a><span
class='update'>created: 8.0.0</span></p>
<ol>
@@ -17525,7 +17525,7 @@
not necessary.</b>
The only requirement is that the class be annotated with
<ja>@Rest</ja> and have one of the following constructors
if they aren't already Spring Beans:
- <ul class='javatree'>
+ <ul class='javatreec'>
<li class='jm'><c><jk>public</jk> T()</c>
<li class='jm'><c><jk>public</jk> T(RestContext.Builder)</c>
</ul>
@@ -18443,12 +18443,6 @@
<li class='ja'><a
href="org/apache/juneau/http/annotation/StatusCode.html" title="annotation in
org.apache.juneau.http.annotation"><code>StatusCode</code></a>
</ul>
</li>
- <li>Sub-annotations:
- <ul class='javatreec'>
- <li
class='ja'><code>org.apache.juneau.http.annotation.Schema</code>
- <li class='ja'><code>org.apache.juneau.http.annotation.Items</code>
- </ul>
- </li>
</ul>
<p>
These annotation can be used on method parameters or on the parameter
types themselves, or a combination
@@ -18612,66 +18606,66 @@
</li>
<li><b>Common schema annotation:</b>
<ul class='javatree'>
- <li
class='ja'><code>org.apache.juneau.http.annotation.Schema</code>
+ <li class='ja'><a href="org/apache/juneau/annotation/Schema.html"
title="annotation in org.apache.juneau.annotation"><code>Schema</code></a>
<ul class='javatreec'>
- <li class='jma'><code>_default</code>
- <li class='jma'><code>_enum</code>
- <li class='jma'><code>$ref</code>
- <li class='jma'><code>additionalProperties</code>
- <li class='jma'><code>aev</code>
- <li class='jma'><code>allOf</code>
- <li class='jma'><code>allowEmptyValue</code>
- <li class='jma'><code>cf</code>
- <li class='jma'><code>collectionFormat</code>
- <li class='jma'><code>d</code>
- <li class='jma'><code>description</code>
- <li class='jma'><code>df</code>
- <li class='jma'><code>discriminator</code>
- <li class='jma'><code>e</code>
- <li class='jma'><code>emax</code>
- <li class='jma'><code>emin</code>
- <li class='jma'><code>exclusiveMaximum</code>
- <li class='jma'><code>exclusiveMinimum</code>
- <li class='jma'><code>externalDocs</code>
- <li class='jma'><code>f</code>
- <li class='jma'><code>format</code>
- <li class='jma'><code>ignore</code>
- <li class='jma'><code>items</code>
- <li class='jma'><code>max</code>
- <li class='jma'><code>maxi</code>
- <li class='jma'><code>maximum</code>
- <li class='jma'><code>maxItems</code>
- <li class='jma'><code>maxl</code>
- <li class='jma'><code>maxLength</code>
- <li class='jma'><code>maxp</code>
- <li class='jma'><code>maxProperties</code>
- <li class='jma'><code>min</code>
- <li class='jma'><code>mini</code>
- <li class='jma'><code>minimum</code>
- <li class='jma'><code>minItems</code>
- <li class='jma'><code>minl</code>
- <li class='jma'><code>minLength</code>
- <li class='jma'><code>minp</code>
- <li class='jma'><code>minProperties</code>
- <li class='jma'><code>mo</code>
- <li class='jma'><code>multipleOf</code>
- <li class='jma'><code>on</code>
- <li class='jma'><code>onClass</code>
- <li class='jma'><code>p</code>
- <li class='jma'><code>pattern</code>
- <li class='jma'><code>properties</code>
- <li class='jma'><code>r</code>
- <li class='jma'><code>readOnly</code>
- <li class='jma'><code>required</code>
- <li class='jma'><code>ro</code>
- <li class='jma'><code>sie</code>
- <li class='jma'><code>v</code>
- <li class='jma'><code>t</code>
- <li class='jma'><code>title</code>
- <li class='jma'><code>type</code>
- <li class='jma'><code>ui</code>
- <li class='jma'><code>uniqueItems</code>
- <li class='jma'><code>xml</code>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#Z:Z_default--"><code>_default</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#Z:Z_enum--"><code>_enum</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#Z:Z:Dref--"><code>$ref</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#additionalProperties--"><code>additionalProperties</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#aev--"><code>aev</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#allOf--"><code>allOf</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#allowEmptyValue--"><code>allowEmptyValue</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#cf--"><code>cf</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#collectionFormat--"><code>collectionFormat</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#d--"><code>d</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#description--"><code>description</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#df--"><code>df</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#discriminator--"><code>discriminator</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#e--"><code>e</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#emax--"><code>emax</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#emin--"><code>emin</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#exclusiveMaximum--"><code>exclusiveMaximum</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#exclusiveMinimum--"><code>exclusiveMinimum</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#externalDocs--"><code>externalDocs</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#f--"><code>f</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#format--"><code>format</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#ignore--"><code>ignore</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#items--"><code>items</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#max--"><code>max</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#maxi--"><code>maxi</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#maximum--"><code>maximum</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#maxItems--"><code>maxItems</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#maxl--"><code>maxl</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#maxLength--"><code>maxLength</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#maxp--"><code>maxp</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#maxProperties--"><code>maxProperties</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#min--"><code>min</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#mini--"><code>mini</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#minimum--"><code>minimum</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#minItems--"><code>minItems</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#minl--"><code>minl</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#minLength--"><code>minLength</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#minp--"><code>minp</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#minProperties--"><code>minProperties</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#mo--"><code>mo</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#multipleOf--"><code>multipleOf</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#on--"><code>on</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#onClass--"><code>onClass</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#p--"><code>p</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#pattern--"><code>pattern</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#properties--"><code>properties</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#r--"><code>r</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#readOnly--"><code>readOnly</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#required--"><code>required</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#ro--"><code>ro</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#sie--"><code>sie</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#skipIfEmpty--"><code>v</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#t--"><code>t</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#title--"><code>title</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#type--"><code>type</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#ui--"><code>ui</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#uniqueItems--"><code>uniqueItems</code></a>
+ <li class='jma'><a
href="org/apache/juneau/annotation/Schema.html#xml--"><code>xml</code></a>
</ul>
</li>
</ul>
@@ -18841,7 +18835,7 @@
</p>
<p>
The default registered part marshallers, <a
href="org/apache/juneau/oapi/OpenApiSerializer.html" title="class in
org.apache.juneau.oapi"><code>OpenApiSerializer</code></a> and <a
href="org/apache/juneau/oapi/OpenApiParser.html" title="class in
org.apache.juneau.oapi"><code>OpenApiParser</code></a>, are used to
- marshall POJOs using schemas defined via the <code>@Schema</code>
annotation.
+ marshall POJOs using schemas defined via the <a
href="org/apache/juneau/annotation/Schema.html" title="annotation in
org.apache.juneau.annotation"><code>@Schema</code></a> annotation.
</p>
<p>
For example, the following shows how a pipe-delimited list of
comma-delimited numbers (e.g. <js>"1,2,3|4,5,6|7,8,9"</js>) can be converted to
a 2-dimensional array of <c>Longs</c>:
@@ -19093,7 +19087,7 @@
<li class='ja'><a href="org/apache/juneau/http/annotation/FormData.html"
title="annotation in
org.apache.juneau.http.annotation"><code>FormData</code></a>
<li class='ja'><a href="org/apache/juneau/http/annotation/Path.html"
title="annotation in org.apache.juneau.http.annotation"><code>Path</code></a>
<li class='ja'><a href="org/apache/juneau/http/annotation/Content.html"
title="annotation in org.apache.juneau.http.annotation"><code>Content</code></a>
- <li class='ja'><code>org.apache.juneau.http.annotation.Schema</code>
+ <li class='ja'><a href="org/apache/juneau/annotation/Schema.html"
title="annotation in org.apache.juneau.annotation"><code>Schema</code></a>
</ul>
<h5 class='figure'>Example:</h5>
@@ -19187,7 +19181,7 @@
<li class='ja'><a
href="org/apache/juneau/http/annotation/StatusCode.html" title="annotation in
org.apache.juneau.http.annotation"><code>StatusCode</code></a>
<li class='ja'><a href="org/apache/juneau/http/annotation/Header.html"
title="annotation in org.apache.juneau.http.annotation"><code>Header</code></a>
<li class='ja'><a href="org/apache/juneau/http/annotation/Content.html"
title="annotation in
org.apache.juneau.http.annotation"><code>Content</code></a>
- <li class='ja'><code>org.apache.juneau.http.annotation.Schema</code>
+ <li class='ja'><a href="org/apache/juneau/annotation/Schema.html"
title="annotation in org.apache.juneau.annotation"><code>Schema</code></a>
</ul>
<p>
@@ -19556,7 +19550,7 @@
If you want to be able to consume url-encoded form post bodies as POJOs
in Spring Boot, you'll need to
add the following Spring Bean to your configuration to prevent Spring
Boot from automatically
consuming the body itself:
- <p class='bjava'>
+ <p class='bjava' style='max-width:700px'>
<ja>@SpringBootApplication</ja>
<ja>@Controller</ja>
<jk>public class</jk> SpringBootAppConfig {
@@ -20971,9 +20965,9 @@
}
</p>
<ul class='notes'>
- <li class='note'>The <code>@Schema</code> annotation can also be attached
+ <li class='note'>The <a href="org/apache/juneau/annotation/Schema.html"
title="annotation in org.apache.juneau.annotation"><code>@Schema</code></a>
annotation can also be attached
directly to the parameter or parameter type as well.
- <li class='note'>The <code>type</code> and <code>collectionFormat</code>
values above are optional and auto-detected based on the
+ <li class='note'>The <a
href="org/apache/juneau/annotation/Schema.html#type--"><code>type</code></a>
and <a
href="org/apache/juneau/annotation/Schema.html#collectionFormat--"><code>collectionFormat</code></a>
values above are optional and auto-detected based on the
parameter class type if omitted. They're included here for clarity.
The examples will be explained in the next section.
</ul>
@@ -23687,7 +23681,7 @@
<js>" <p>Other features (such as this aside) are added through
annotations.</p>"</js>,
<js>"</div>"</js>
},
- asideFloat="RIGHT"
+ asideFloat=<js>"RIGHT"</js>
)
<ja>@SerializerConfig</ja>(
quoteChar=<js>"'"</js>
@@ -25391,7 +25385,7 @@
</p>
<ul class='spaced-list'>
<li>
- <code>org.apache.juneau.http.HeaderList</code> - Serialized as
individual headers.
+ <a href="org/apache/juneau/http/header/HeaderList.html" title="class
in org.apache.juneau.http.header"><code>HeaderList</code></a> - Serialized as
individual headers.
<li>
<c>Map</c> - Converted to key-value pairs.
<br>Values serialized using the registered <a
href="org/apache/juneau/httppart/HttpPartSerializer.html" title="interface in
org.apache.juneau.httppart"><code>HttpPartSerializer</code></a> (<a
href="org/apache/juneau/oapi/OpenApiSerializer.html" title="class in
org.apache.juneau.oapi"><code>OpenApiSerializer</code></a> by default).
@@ -26458,13 +26452,9 @@
<!--
====================================================================================================
-->
-<h2 class='topic' onclick='toggle(this)'><a href='#juneau-microservice-core'
id='juneau-microservice-core'>14 - juneau-microservice-core</a><span
class='update'>created: 8.1.0, deprecated: 8.1.2</span></h2>
+<h2 class='topic' onclick='toggle(this)'><a href='#juneau-microservice-core'
id='juneau-microservice-core'>14 - juneau-microservice-core</a><span
class='update'>created: 8.1.0</span></h2>
<div class='topic'><!-- START: 14 - juneau-microservice-core -->
<div class='topic'>
- <div class='warn'>
- The Juneau Microservice libraries are likely to be removed in Juneau 9.0
due to the popularity of the Spring Boot
- framework for creating microservices and the ability for Juneau to be
used within Spring Boot.
- </div>
<h5 class='figure'>Maven Dependency</h5>
<p class='bxml w500'>
@@ -26506,7 +26496,7 @@
<!--
====================================================================================================
-->
-<h3 class='topic' onclick='toggle(this)'><a
href='#juneau-microservice-core.jmc.Overview'
id='juneau-microservice-core.jmc.Overview'>14.1 - Microservice
Overview</a><span class='update'>created: 8.0.0, deprecated: 8.1.2</span></h3>
+<h3 class='topic' onclick='toggle(this)'><a
href='#juneau-microservice-core.jmc.Overview'
id='juneau-microservice-core.jmc.Overview'>14.1 - Microservice
Overview</a><span class='update'>created: 8.0.0</span></h3>
<div class='topic'><!-- START: 14.1 - juneau-microservice-core.jmc.Overview -->
<div class='topic'>
<p>
@@ -26567,7 +26557,7 @@
<!--
====================================================================================================
-->
-<h3 class='topic' onclick='toggle(this)'><a
href='#juneau-microservice-core.jmc.LifecycleMethods'
id='juneau-microservice-core.jmc.LifecycleMethods'>14.2 - Lifecycle
Methods</a><span class='update'>created: 8.0.0, deprecated: 8.1.2</span></h3>
+<h3 class='topic' onclick='toggle(this)'><a
href='#juneau-microservice-core.jmc.LifecycleMethods'
id='juneau-microservice-core.jmc.LifecycleMethods'>14.2 - Lifecycle
Methods</a><span class='update'>created: 8.0.0</span></h3>
<div class='topic'><!-- START: 14.2 -
juneau-microservice-core.jmc.LifecycleMethods -->
<div class='topic'>
<p>
@@ -26656,7 +26646,7 @@
<!--
====================================================================================================
-->
-<h3 class='topic' onclick='toggle(this)'><a
href='#juneau-microservice-core.jmc.Args'
id='juneau-microservice-core.jmc.Args'>14.3 - Args</a><span
class='update'>created: 8.0.0, deprecated: 8.1.2</span></h3>
+<h3 class='topic' onclick='toggle(this)'><a
href='#juneau-microservice-core.jmc.Args'
id='juneau-microservice-core.jmc.Args'>14.3 - Args</a><span
class='update'>created: 8.0.0</span></h3>
<div class='topic'><!-- START: 14.3 - juneau-microservice-core.jmc.Args -->
<div class='topic'>
<p>
@@ -26736,7 +26726,7 @@
<!--
====================================================================================================
-->
-<h3 class='topic' onclick='toggle(this)'><a
href='#juneau-microservice-core.jmc.Manifest'
id='juneau-microservice-core.jmc.Manifest'>14.4 - Manifest</a><span
class='update'>created: 8.0.0, deprecated: 8.1.2</span></h3>
+<h3 class='topic' onclick='toggle(this)'><a
href='#juneau-microservice-core.jmc.Manifest'
id='juneau-microservice-core.jmc.Manifest'>14.4 - Manifest</a><span
class='update'>created: 8.0.0</span></h3>
<div class='topic'><!-- START: 14.4 - juneau-microservice-core.jmc.Manifest -->
<div class='topic'>
<p>
@@ -26801,7 +26791,7 @@
<!--
====================================================================================================
-->
-<h3 class='topic' onclick='toggle(this)'><a
href='#juneau-microservice-core.jmc.Config'
id='juneau-microservice-core.jmc.Config'>14.5 - Config</a><span
class='update'>created: 8.0.0, deprecated: 8.1.2</span></h3>
+<h3 class='topic' onclick='toggle(this)'><a
href='#juneau-microservice-core.jmc.Config'
id='juneau-microservice-core.jmc.Config'>14.5 - Config</a><span
class='update'>created: 8.0.0</span></h3>
<div class='topic'><!-- START: 14.5 - juneau-microservice-core.jmc.Config -->
<div class='topic'>
<p>
@@ -26917,7 +26907,7 @@
String <jv>format</jv> = <jv>config</jv>.get(<js>"Logging/format"</js>,
<js>"[{date} {level}] {msg}%n"</js>).orElse(<jk>null</jk>);
<jk>long</jk> <jv>limit</jv> =
<jv>config</jv>.get(<js>"Logging/limit"</js>).asLong().orElse(<jk>null</jk>);
Map<String,Level> <jv>levels</jv> =
<jv>config</jv>.get(<js>"Logging/levels"</js>).as(Map.<jk>class</jk>,
String.<jk>class</jk>, Level.<jk>class</jk>).orElse(<jk>null</jk>);
- </p)
+ </p>
<p>
Changes to the configuration file can trigger notifications that can be
used to restart your microservice or make various other
on-the-fly changes.
@@ -26934,7 +26924,7 @@
<!--
====================================================================================================
-->
-<h3 class='topic' onclick='toggle(this)'><a
href='#juneau-microservice-core.jmc.SystemProperties'
id='juneau-microservice-core.jmc.SystemProperties'>14.6 - System
properties</a><span class='update'>created: 8.0.0, deprecated: 8.1.2</span></h3>
+<h3 class='topic' onclick='toggle(this)'><a
href='#juneau-microservice-core.jmc.SystemProperties'
id='juneau-microservice-core.jmc.SystemProperties'>14.6 - System
properties</a><span class='update'>created: 8.0.0</span></h3>
<div class='topic'><!-- START: 14.6 -
juneau-microservice-core.jmc.SystemProperties -->
<div class='topic'>
<p>
@@ -26966,7 +26956,7 @@
<!--
====================================================================================================
-->
-<h3 class='topic' onclick='toggle(this)'><a
href='#juneau-microservice-core.jmc.VarResolver'
id='juneau-microservice-core.jmc.VarResolver'>14.7 - VarResolver</a><span
class='update'>created: 8.0.0, deprecated: 8.1.2</span></h3>
+<h3 class='topic' onclick='toggle(this)'><a
href='#juneau-microservice-core.jmc.VarResolver'
id='juneau-microservice-core.jmc.VarResolver'>14.7 - VarResolver</a><span
class='update'>created: 8.0.0</span></h3>
<div class='topic'><!-- START: 14.7 - juneau-microservice-core.jmc.VarResolver
-->
<div class='topic'>
<p>
@@ -27017,7 +27007,7 @@
<!--
====================================================================================================
-->
-<h3 class='topic' onclick='toggle(this)'><a
href='#juneau-microservice-core.jmc.ConsoleCommands'
id='juneau-microservice-core.jmc.ConsoleCommands'>14.8 - Console
Commands</a><span class='update'>created: 8.0.0, deprecated: 8.1.2</span></h3>
+<h3 class='topic' onclick='toggle(this)'><a
href='#juneau-microservice-core.jmc.ConsoleCommands'
id='juneau-microservice-core.jmc.ConsoleCommands'>14.8 - Console
Commands</a><span class='update'>created: 8.0.0</span></h3>
<div class='topic'><!-- START: 14.8 -
juneau-microservice-core.jmc.ConsoleCommands -->
<div class='topic'>
<p>
@@ -27110,7 +27100,7 @@
<!--
====================================================================================================
-->
-<h3 class='topic' onclick='toggle(this)'><a
href='#juneau-microservice-core.jmc.Listeners'
id='juneau-microservice-core.jmc.Listeners'>14.9 - Listeners</a><span
class='update'>created: 8.0.0, deprecated: 8.1.2</span></h3>
+<h3 class='topic' onclick='toggle(this)'><a
href='#juneau-microservice-core.jmc.Listeners'
id='juneau-microservice-core.jmc.Listeners'>14.9 - Listeners</a><span
class='update'>created: 8.0.0</span></h3>
<div class='topic'><!-- START: 14.9 - juneau-microservice-core.jmc.Listeners
-->
<div class='topic'>
<p>
@@ -27172,13 +27162,9 @@
<!--
====================================================================================================
-->
-<h2 class='topic' onclick='toggle(this)'><a href='#juneau-microservice-jetty'
id='juneau-microservice-jetty'>15 - juneau-microservice-jetty</a><span
class='update'>created: 8.1.0, deprecated: 8.1.2</span></h2>
+<h2 class='topic' onclick='toggle(this)'><a href='#juneau-microservice-jetty'
id='juneau-microservice-jetty'>15 - juneau-microservice-jetty</a><span
class='update'>created: 8.1.0</span></h2>
<div class='topic'><!-- START: 15 - juneau-microservice-jetty -->
<div class='topic'>
- <div class='warn'>
- The Juneau Microservice libraries are likely to be removed in Juneau 9.0
due to the popularity of the Spring Boot
- framework for creating microservices and the ability for Juneau to be
used within Spring Boot.
- </div>
<h5 class='figure'>Maven Dependency</h5>
<p class='bxml w500'>
@@ -27207,7 +27193,7 @@
<!--
====================================================================================================
-->
-<h3 class='topic' onclick='toggle(this)'><a
href='#juneau-microservice-jetty.jmj.Overview'
id='juneau-microservice-jetty.jmj.Overview'>15.1 - Overview</a><span
class='update'>created: 8.0.0, deprecated: 8.1.2</span></h3>
+<h3 class='topic' onclick='toggle(this)'><a
href='#juneau-microservice-jetty.jmj.Overview'
id='juneau-microservice-jetty.jmj.Overview'>15.1 - Overview</a><span
class='update'>created: 8.0.0</span></h3>
<div class='topic'><!-- START: 15.1 - juneau-microservice-jetty.jmj.Overview
-->
<div class='topic'>
<p>
@@ -27261,7 +27247,7 @@
<!--
====================================================================================================
-->
-<h3 class='topic' onclick='toggle(this)'><a
href='#juneau-microservice-jetty.jmj.LifecycleMethods'
id='juneau-microservice-jetty.jmj.LifecycleMethods'>15.2 - Lifecycle
Methods</a><span class='update'>created: 8.0.0, deprecated: 8.1.2</span></h3>
+<h3 class='topic' onclick='toggle(this)'><a
href='#juneau-microservice-jetty.jmj.LifecycleMethods'
id='juneau-microservice-jetty.jmj.LifecycleMethods'>15.2 - Lifecycle
Methods</a><span class='update'>created: 8.0.0</span></h3>
<div class='topic'><!-- START: 15.2 -
juneau-microservice-jetty.jmj.LifecycleMethods -->
<div class='topic'>
<p>
@@ -27360,7 +27346,7 @@
<!--
====================================================================================================
-->
-<h3 class='topic' onclick='toggle(this)'><a
href='#juneau-microservice-jetty.jmj.ResourceClasses'
id='juneau-microservice-jetty.jmj.ResourceClasses'>15.3 - Resource
Classes</a><span class='update'>created: 8.0.0, deprecated: 8.1.2</span></h3>
+<h3 class='topic' onclick='toggle(this)'><a
href='#juneau-microservice-jetty.jmj.ResourceClasses'
id='juneau-microservice-jetty.jmj.ResourceClasses'>15.3 - Resource
Classes</a><span class='update'>created: 8.0.0</span></h3>
<div class='topic'><!-- START: 15.3 -
juneau-microservice-jetty.jmj.ResourceClasses -->
<div class='topic'>
<p>
@@ -27505,7 +27491,7 @@
<!--
====================================================================================================
-->
-<h3 class='topic' onclick='toggle(this)'><a
href='#juneau-microservice-jetty.jmj.PredefinedResourceClasses'
id='juneau-microservice-jetty.jmj.PredefinedResourceClasses'>15.4 - Predefined
Resource Classes</a><span class='update'>created: 8.0.0, deprecated:
8.1.2</span></h3>
+<h3 class='topic' onclick='toggle(this)'><a
href='#juneau-microservice-jetty.jmj.PredefinedResourceClasses'
id='juneau-microservice-jetty.jmj.PredefinedResourceClasses'>15.4 - Predefined
Resource Classes</a><span class='update'>created: 8.0.0</span></h3>
<div class='topic'><!-- START: 15.4 -
juneau-microservice-jetty.jmj.PredefinedResourceClasses -->
<div class='topic'>
<p>
@@ -27516,8 +27502,6 @@
- View and modify the external INI config file.
<li class='jc'><a
href="org/apache/juneau/microservice/resources/DirectoryResource.html"
title="class in
org.apache.juneau.microservice.resources"><code>DirectoryResource</code></a>
- View and modify file system directories.
- <li
class='jc'><code>org.apache.juneau.microservice.resources.LogsResource</code>
- - View and control generated log files.
<li class='jc'><a
href="org/apache/juneau/microservice/resources/SampleRootResource.html"
title="class in
org.apache.juneau.microservice.resources"><code>SampleRootResource</code></a>
- A sample root resource class to get started from.
<li class='jc'><a
href="org/apache/juneau/microservice/resources/ShutdownResource.html"
title="class in
org.apache.juneau.microservice.resources"><code>ShutdownResource</code></a>
@@ -27528,7 +27512,7 @@
<!--
====================================================================================================
-->
-<h3 class='topic' onclick='toggle(this)'><a
href='#juneau-microservice-jetty.jmj.Config'
id='juneau-microservice-jetty.jmj.Config'>15.5 - Config</a><span
class='update'>created: 8.0.0, deprecated: 8.1.2</span></h3>
+<h3 class='topic' onclick='toggle(this)'><a
href='#juneau-microservice-jetty.jmj.Config'
id='juneau-microservice-jetty.jmj.Config'>15.5 - Config</a><span
class='update'>created: 8.0.0</span></h3>
<div class='topic'><!-- START: 15.5 - juneau-microservice-jetty.jmj.Config -->
<div class='topic'>
<p>
@@ -27539,7 +27523,7 @@
</p>
<p>
The most common usage for the configuration file is to reference values
using the <a href="org/apache/juneau/config/vars/ConfigVar.html" title="class
in org.apache.juneau.config.vars"><code>$C</code></a> variable in annotations.
- For example, the <dc>org.apache.juneau.rest.BasicRestConfig</dc>
interface that defines the annotations that control the look-and-feel of
+ For example, the
<code>org.apache.juneau.rest.config.BasicRestConfig</code> interface that
defines the annotations that control the look-and-feel of
classes that extend from <a
href="org/apache/juneau/rest/servlet/BasicRestServlet.html" title="class in
org.apache.juneau.rest.servlet"><code>BasicRestServlet</code></a> use several
<c>$C</c> variables to externalize values:
</p>
<p class='bjava'>
@@ -27739,7 +27723,7 @@
<!--
====================================================================================================
-->
-<h3 class='topic' onclick='toggle(this)'><a
href='#juneau-microservice-jetty.jmj.JettyXml'
id='juneau-microservice-jetty.jmj.JettyXml'>15.6 - Jetty.xml file</a><span
class='update'>created: 8.0.0, deprecated: 8.1.2</span></h3>
+<h3 class='topic' onclick='toggle(this)'><a
href='#juneau-microservice-jetty.jmj.JettyXml'
id='juneau-microservice-jetty.jmj.JettyXml'>15.6 - Jetty.xml file</a><span
class='update'>created: 8.0.0</span></h3>
<div class='topic'><!-- START: 15.6 - juneau-microservice-jetty.jmj.JettyXml
-->
<div class='topic'>
<p>
@@ -27829,7 +27813,7 @@
<!--
====================================================================================================
-->
-<h3 class='topic' onclick='toggle(this)'><a
href='#juneau-microservice-jetty.jmj.UiCustomization'
id='juneau-microservice-jetty.jmj.UiCustomization'>15.7 - UI
Customization</a><span class='update'>created: 8.0.0, deprecated:
8.1.2</span></h3>
+<h3 class='topic' onclick='toggle(this)'><a
href='#juneau-microservice-jetty.jmj.UiCustomization'
id='juneau-microservice-jetty.jmj.UiCustomization'>15.7 - UI
Customization</a><span class='update'>created: 8.0.0</span></h3>
<div class='topic'><!-- START: 15.7 -
juneau-microservice-jetty.jmj.UiCustomization -->
<div class='topic'>
<p>
@@ -27874,7 +27858,7 @@
<cv></a></cv>
</p>
<p>
- The <dc>org.apache.juneau.rest.BasicRestConfig</dc> interface (which
defines the default settings for <a
href="org/apache/juneau/rest/servlet/BasicRestServlet.html" title="class in
org.apache.juneau.rest.servlet"><code>BasicRestServlet</code></a>
+ The <code>org.apache.juneau.rest.config.BasicRestConfig</code> interface
(which defines the default settings for <a
href="org/apache/juneau/rest/servlet/BasicRestServlet.html" title="class in
org.apache.juneau.rest.servlet"><code>BasicRestServlet</code></a>
pulls in this information using <a
href="org/apache/juneau/config/vars/ConfigVar.html" title="class in
org.apache.juneau.config.vars"><code>$C</code></a> and <a
href="org/apache/juneau/rest/vars/UrlVar.html" title="class in
org.apache.juneau.rest.vars"><code>$U</code></a> variables:
</p>
<p class='bjava'>
@@ -27943,7 +27927,7 @@
<!--
====================================================================================================
-->
-<h3 class='topic' onclick='toggle(this)'><a
href='#juneau-microservice-jetty.jmj.Extending'
id='juneau-microservice-jetty.jmj.Extending'>15.8 - Extending
JettyMicroservice</a><span class='update'>created: 8.0.0, deprecated:
8.1.2</span></h3>
+<h3 class='topic' onclick='toggle(this)'><a
href='#juneau-microservice-jetty.jmj.Extending'
id='juneau-microservice-jetty.jmj.Extending'>15.8 - Extending
JettyMicroservice</a><span class='update'>created: 8.0.0</span></h3>
<div class='topic'><!-- START: 15.8 - juneau-microservice-jetty.jmj.Extending
-->
<div class='topic'>
<p>
@@ -28025,14 +28009,9 @@
<!--
====================================================================================================
-->
-<h2 class='topic' onclick='toggle(this)'><a href='#my-jetty-microservice'
id='my-jetty-microservice'>16 - my-jetty-microservice</a><span
class='update'>created: 8.1.0, deprecated: 8.1.2</span></h2>
+<h2 class='topic' onclick='toggle(this)'><a href='#my-jetty-microservice'
id='my-jetty-microservice'>16 - my-jetty-microservice</a><span
class='update'>created: 8.1.0</span></h2>
<div class='topic'><!-- START: 16 - my-jetty-microservice -->
<div class='topic'>
- <div class='warn'>
- The Juneau Microservice libraries are likely to be removed in Juneau 9.0
due to the popularity of the Spring Boot
- framework for creating microservices and the ability for Juneau to be
used within Spring Boot.
- </div>
-
<h5 class='figure'>Starter Project Zip</h5>
<p class='bcode w500'>
my-jetty-microservice-9.0.0.zip
@@ -28049,7 +28028,7 @@
<!--
====================================================================================================
-->
-<h3 class='topic' onclick='toggle(this)'><a
href='#my-jetty-microservice.mjm.Installing'
id='my-jetty-microservice.mjm.Installing'>16.1 - Installing in Eclipse</a><span
class='update'>created: 8.0.0, deprecated: 8.1.2</span></h3>
+<h3 class='topic' onclick='toggle(this)'><a
href='#my-jetty-microservice.mjm.Installing'
id='my-jetty-microservice.mjm.Installing'>16.1 - Installing in Eclipse</a><span
class='update'>created: 8.0.0</span></h3>
<div class='topic'><!-- START: 16.1 - my-jetty-microservice.mjm.Installing -->
<div class='topic'>
<p>
@@ -28308,7 +28287,7 @@
<!--
====================================================================================================
-->
-<h3 class='topic' onclick='toggle(this)'><a
href='#my-jetty-microservice.mjm.Running'
id='my-jetty-microservice.mjm.Running'>16.2 - Running in Eclipse</a><span
class='update'>created: 8.0.0, deprecated: 8.1.2</span></h3>
+<h3 class='topic' onclick='toggle(this)'><a
href='#my-jetty-microservice.mjm.Running'
id='my-jetty-microservice.mjm.Running'>16.2 - Running in Eclipse</a><span
class='update'>created: 8.0.0</span></h3>
<div class='topic'><!-- START: 16.2 - my-jetty-microservice.mjm.Running -->
<div class='topic'>
<p>
@@ -28346,7 +28325,7 @@
<!--
====================================================================================================
-->
-<h3 class='topic' onclick='toggle(this)'><a
href='#my-jetty-microservice.mjm.Building'
id='my-jetty-microservice.mjm.Building'>16.3 - Building and Running from
Command-Line</a><span class='update'>created: 8.0.0, deprecated:
8.1.2</span></h3>
+<h3 class='topic' onclick='toggle(this)'><a
href='#my-jetty-microservice.mjm.Building'
id='my-jetty-microservice.mjm.Building'>16.3 - Building and Running from
Command-Line</a><span class='update'>created: 8.0.0</span></h3>
<div class='topic'><!-- START: 16.3 - my-jetty-microservice.mjm.Building -->
<div class='topic'>
<p>
@@ -28452,21 +28431,21 @@
<br>Only the top-level resource needs to be annotated with
<dc>@JuneauRestRoot</dc>
<br><br>
<p class='bjava'>
- <ja>@SpringBootApplication</ja>
- <ja>@Controller</ja>
- <jk>public class</jk> App {
-
- <jk>public static void</jk> main(String[] args) {
- <jk>new</jk> SpringApplicationBuilder(App.<jk>class</jk>)
- .initializers(<jk>new</jk>
JuneauRestInitializer(App.<jk>class</jk>))
- .run(args);
- }
-
- <ja>@Bean @JuneauRestRoot</ja>
- <jk>public</jk> RootResources getRootResources() {
- <jk>return new</jk> RootResources();
- }
+ <ja>@SpringBootApplication</ja>
+ <ja>@Controller</ja>
+ <jk>public class</jk> App {
+
+ <jk>public static void</jk> main(String[] args) {
+ <jk>new</jk> SpringApplicationBuilder(App.<jk>class</jk>)
+ .initializers(<jk>new</jk>
JuneauRestInitializer(App.<jk>class</jk>))
+ .run(args);
+ }
+
+ <ja>@Bean @JuneauRestRoot</ja>
+ <jk>public</jk> RootResources getRootResources() {
+ <jk>return new</jk> RootResources();
}
+ }
</p>
<li>
<l>RootResources.java</l> - The top-level REST resource.
@@ -28474,28 +28453,28 @@
<br>This is identical to the Jetty example.
<br><br>
<p class='bjava'>
- <ja>@Rest</ja>(
- path=<js>"/"</js>,
- title=<js>"My Microservice"</js>,
- description=<js>"Top-level resources page"</js>,
- htmldoc=<ja>@HtmlDoc</ja>(
- widgets={
- ContentTypeMenuItem.<jk>class</jk>,
- StyleMenuItem.<jk>class</jk>
- },
- navlinks={
- <js>"options: servlet:/?method=OPTIONS"</js>
- }
- ),
- children={
- HelloWorldResource.<jk>class</jk>,
- ConfigResource.<jk>class</jk>,
- LogsResource.<jk>class</jk>
+ <ja>@Rest</ja>(
+ path=<js>"/"</js>,
+ title=<js>"My Microservice"</js>,
+ description=<js>"Top-level resources page"</js>,
+ htmldoc=<ja>@HtmlDoc</ja>(
+ widgets={
+ ContentTypeMenuItem.<jk>class</jk>,
+ StyleMenuItem.<jk>class</jk>
+ },
+ navlinks={
+ <js>"options: servlet:/?method=OPTIONS"</js>
}
- )
- <jk>public class</jk> RootResources <jk>extends</jk>
BasicRestServletGroup <jk>implements</jk> BasicUniversalConfig {
- <jc>// No code</jc>
+ ),
+ children={
+ HelloWorldResource.<jk>class</jk>,
+ ConfigResource.<jk>class</jk>,
+ LogsResource.<jk>class</jk>
}
+ )
+ <jk>public class</jk> RootResources <jk>extends</jk> BasicRestServletGroup
<jk>implements</jk> BasicUniversalConfig {
+ <jc>// No code</jc>
+ }
</p>
<li>
<l>juneau.cfg</l> - The configuration file.
@@ -28505,45 +28484,45 @@
<br>Also it's located in the classpath so that our microservice can
be built as a single executable jar.
<br><br>
<p class='bini'>
-
<cc>#=======================================================================================================================
- # Basic configuration file for REST microservices
- # Subprojects can use this as a starting point.
-
#=======================================================================================================================</cc>
-
-
<cc>#=======================================================================================================================
- # REST settings
-
#=======================================================================================================================</cc>
- <cs>[REST]</cs>
-
- <cc># Comma-delimited list of key-value pairs that represent locations
of static files that can be served up by your @Rest-annotated
- # classes. These are static files that are served up by the servlet
under the specified sub-paths.
- # For example, given the following setting...
- # staticFiles = htdocs:my-docs,styles/my-styles
- # ...the URI "/servletPath/htdocs/javadoc.css" resolves to the path
"/my-docs/javadoc.css".
- # This path can be relative to the working directory, classpath root, or
package of your resource class.
- # Used by the BasicRestConfig interface that defines the following value:
- # staticFiles="$C{REST/staticFiles}"</cc>
- <ck>staticFiles</ck> = htdocs:htdocs
-
- <cc># Stylesheet to use for HTML views.
- # Used by the BasicRestConfig interface that defines the following value:
- # stylesheet="$C{REST/theme,servlet:/htdocs/themes/devops.css}"</cc>
- <ck>theme</ck> = <cv>servlet:/htdocs/themes/devops.css</cv>
-
- <cc># Various look-and-feel settings used in the BasicRestConfig
interface.</cc>
- <ck>headerIcon</ck> = <cv>servlet:/htdocs/images/juneau.png</cv>
- <ck>headerLink</ck> = <cv>http://juneau.apache.org</cv>
- <ck>footerIcon</ck> = <cv>servlet:/htdocs/images/asf.png</cv>
- <ck>footerLink</ck> = <cv>http://www.apache.org</cv>
- <ck>favicon</ck> = <cv>$C{REST/headerIcon}</cv>
- <ck>header</ck> =
- <cv><a href='$U{$C{REST/headerLink}}'>
- <img src='$U{$C{REST/headerIcon}}'
style='position:absolute;top:5;right:5;background-color:transparent;height:30px'/>
- </a></cv>
- <ck>footer</ck> =
- <cv><a href='$U{$C{REST/footerLink}}'>
- <img src='$U{$C{REST/footerIcon}}'
style='float:right;padding-right:20px;height:32px'/>
- </a></cv>
+
<cc>#=======================================================================================================================
+ # Basic configuration file for REST microservices
+ # Subprojects can use this as a starting point.
+
#=======================================================================================================================</cc>
+
+
<cc>#=======================================================================================================================
+ # REST settings
+
#=======================================================================================================================</cc>
+ <cs>[REST]</cs>
+
+ <cc># Comma-delimited list of key-value pairs that represent locations of
static files that can be served up by your @Rest-annotated
+ # classes. These are static files that are served up by the servlet under
the specified sub-paths.
+ # For example, given the following setting...
+ # staticFiles = htdocs:my-docs,styles/my-styles
+ # ...the URI "/servletPath/htdocs/javadoc.css" resolves to the path
"/my-docs/javadoc.css".
+ # This path can be relative to the working directory, classpath root, or
package of your resource class.
+ # Used by the BasicRestConfig interface that defines the following value:
+ # staticFiles="$C{REST/staticFiles}"</cc>
+ <ck>staticFiles</ck> = htdocs:htdocs
+
+ <cc># Stylesheet to use for HTML views.
+ # Used by the BasicRestConfig interface that defines the following value:
+ # stylesheet="$C{REST/theme,servlet:/htdocs/themes/devops.css}"</cc>
+ <ck>theme</ck> = <cv>servlet:/htdocs/themes/devops.css</cv>
+
+ <cc># Various look-and-feel settings used in the BasicRestConfig
interface.</cc>
+ <ck>headerIcon</ck> = <cv>servlet:/htdocs/images/juneau.png</cv>
+ v <ck>headerLink</ck> = <cv>http://juneau.apache.org</cv>
+ <ck>footerIcon</ck> = <cv>servlet:/htdocs/images/asf.png</cv>
+ <ck>footerLink</ck> = <cv>http://www.apache.org</cv>
+ <ck>favicon</ck> = <cv>$C{REST/headerIcon}</cv>
+ <ck>header</ck> =
+ <cv><a href='$U{$C{REST/headerLink}}'>
+ <img src='$U{$C{REST/headerIcon}}'
style='position:absolute;top:5;right:5;background-color:transparent;height:30px'/>
+ </a></cv>
+ <ck>footer</ck> =
+ <cv><a href='$U{$C{REST/footerLink}}'>
+ <img src='$U{$C{REST/footerIcon}}'
style='float:right;padding-right:20px;height:32px'/>
+ </a></cv>
</p>
</ul>
<p>
diff --git a/content/site/apidocs-9.0.0/resources/fragments/toc.html
b/content/site/apidocs-9.0.0/resources/fragments/toc.html
index cf81c7cff..143c5cf22 100644
--- a/content/site/apidocs-9.0.0/resources/fragments/toc.html
+++ b/content/site/apidocs-9.0.0/resources/fragments/toc.html
@@ -328,34 +328,34 @@
<ol>
<li><p><a class='doclink'
href='{OVERVIEW_URL}#juneau-rest-mock.jrm.MockRestClient'>MockRestClient</a><span
class='update'>created: 8.2.0, updated: <b>9.0.0</b></span></p>
</ol>
- <li><p class='toc2'><a class='doclink'
href='{OVERVIEW_URL}#juneau-microservice-core'>juneau-microservice-core</a><span
class='update'>created: 8.1.0, deprecated: 8.1.2</span></p>
+ <li><p class='toc2'><a class='doclink'
href='{OVERVIEW_URL}#juneau-microservice-core'>juneau-microservice-core</a><span
class='update'>created: 8.1.0</span></p>
<ol>
- <li><p><a class='doclink'
href='{OVERVIEW_URL}#juneau-microservice-core.jmc.Overview'>Microservice
Overview</a><span class='update'>created: 8.0.0, deprecated: 8.1.2</span></p>
- <li><p><a class='doclink'
href='{OVERVIEW_URL}#juneau-microservice-core.jmc.LifecycleMethods'>Lifecycle
Methods</a><span class='update'>created: 8.0.0, deprecated: 8.1.2</span></p>
- <li><p><a class='doclink'
href='{OVERVIEW_URL}#juneau-microservice-core.jmc.Args'>Args</a><span
class='update'>created: 8.0.0, deprecated: 8.1.2</span></p>
- <li><p><a class='doclink'
href='{OVERVIEW_URL}#juneau-microservice-core.jmc.Manifest'>Manifest</a><span
class='update'>created: 8.0.0, deprecated: 8.1.2</span></p>
- <li><p><a class='doclink'
href='{OVERVIEW_URL}#juneau-microservice-core.jmc.Config'>Config</a><span
class='update'>created: 8.0.0, deprecated: 8.1.2</span></p>
- <li><p><a class='doclink'
href='{OVERVIEW_URL}#juneau-microservice-core.jmc.SystemProperties'>System
properties</a><span class='update'>created: 8.0.0, deprecated: 8.1.2</span></p>
- <li><p><a class='doclink'
href='{OVERVIEW_URL}#juneau-microservice-core.jmc.VarResolver'>VarResolver</a><span
class='update'>created: 8.0.0, deprecated: 8.1.2</span></p>
- <li><p><a class='doclink'
href='{OVERVIEW_URL}#juneau-microservice-core.jmc.ConsoleCommands'>Console
Commands</a><span class='update'>created: 8.0.0, deprecated: 8.1.2</span></p>
- <li><p><a class='doclink'
href='{OVERVIEW_URL}#juneau-microservice-core.jmc.Listeners'>Listeners</a><span
class='update'>created: 8.0.0, deprecated: 8.1.2</span></p>
+ <li><p><a class='doclink'
href='{OVERVIEW_URL}#juneau-microservice-core.jmc.Overview'>Microservice
Overview</a><span class='update'>created: 8.0.0</span></p>
+ <li><p><a class='doclink'
href='{OVERVIEW_URL}#juneau-microservice-core.jmc.LifecycleMethods'>Lifecycle
Methods</a><span class='update'>created: 8.0.0</span></p>
+ <li><p><a class='doclink'
href='{OVERVIEW_URL}#juneau-microservice-core.jmc.Args'>Args</a><span
class='update'>created: 8.0.0</span></p>
+ <li><p><a class='doclink'
href='{OVERVIEW_URL}#juneau-microservice-core.jmc.Manifest'>Manifest</a><span
class='update'>created: 8.0.0</span></p>
+ <li><p><a class='doclink'
href='{OVERVIEW_URL}#juneau-microservice-core.jmc.Config'>Config</a><span
class='update'>created: 8.0.0</span></p>
+ <li><p><a class='doclink'
href='{OVERVIEW_URL}#juneau-microservice-core.jmc.SystemProperties'>System
properties</a><span class='update'>created: 8.0.0</span></p>
+ <li><p><a class='doclink'
href='{OVERVIEW_URL}#juneau-microservice-core.jmc.VarResolver'>VarResolver</a><span
class='update'>created: 8.0.0</span></p>
+ <li><p><a class='doclink'
href='{OVERVIEW_URL}#juneau-microservice-core.jmc.ConsoleCommands'>Console
Commands</a><span class='update'>created: 8.0.0</span></p>
+ <li><p><a class='doclink'
href='{OVERVIEW_URL}#juneau-microservice-core.jmc.Listeners'>Listeners</a><span
class='update'>created: 8.0.0</span></p>
</ol>
- <li><p class='toc2'><a class='doclink'
href='{OVERVIEW_URL}#juneau-microservice-jetty'>juneau-microservice-jetty</a><span
class='update'>created: 8.1.0, deprecated: 8.1.2</span></p>
+ <li><p class='toc2'><a class='doclink'
href='{OVERVIEW_URL}#juneau-microservice-jetty'>juneau-microservice-jetty</a><span
class='update'>created: 8.1.0</span></p>
<ol>
- <li><p><a class='doclink'
href='{OVERVIEW_URL}#juneau-microservice-jetty.jmj.Overview'>Overview</a><span
class='update'>created: 8.0.0, deprecated: 8.1.2</span></p>
- <li><p><a class='doclink'
href='{OVERVIEW_URL}#juneau-microservice-jetty.jmj.LifecycleMethods'>Lifecycle
Methods</a><span class='update'>created: 8.0.0, deprecated: 8.1.2</span></p>
- <li><p><a class='doclink'
href='{OVERVIEW_URL}#juneau-microservice-jetty.jmj.ResourceClasses'>Resource
Classes</a><span class='update'>created: 8.0.0, deprecated: 8.1.2</span></p>
- <li><p><a class='doclink'
href='{OVERVIEW_URL}#juneau-microservice-jetty.jmj.PredefinedResourceClasses'>Predefined
Resource Classes</a><span class='update'>created: 8.0.0, deprecated:
8.1.2</span></p>
- <li><p><a class='doclink'
href='{OVERVIEW_URL}#juneau-microservice-jetty.jmj.Config'>Config</a><span
class='update'>created: 8.0.0, deprecated: 8.1.2</span></p>
- <li><p><a class='doclink'
href='{OVERVIEW_URL}#juneau-microservice-jetty.jmj.JettyXml'>Jetty.xml
file</a><span class='update'>created: 8.0.0, deprecated: 8.1.2</span></p>
- <li><p><a class='doclink'
href='{OVERVIEW_URL}#juneau-microservice-jetty.jmj.UiCustomization'>UI
Customization</a><span class='update'>created: 8.0.0, deprecated:
8.1.2</span></p>
- <li><p><a class='doclink'
href='{OVERVIEW_URL}#juneau-microservice-jetty.jmj.Extending'>Extending
JettyMicroservice</a><span class='update'>created: 8.0.0, deprecated:
8.1.2</span></p>
+ <li><p><a class='doclink'
href='{OVERVIEW_URL}#juneau-microservice-jetty.jmj.Overview'>Overview</a><span
class='update'>created: 8.0.0</span></p>
+ <li><p><a class='doclink'
href='{OVERVIEW_URL}#juneau-microservice-jetty.jmj.LifecycleMethods'>Lifecycle
Methods</a><span class='update'>created: 8.0.0</span></p>
+ <li><p><a class='doclink'
href='{OVERVIEW_URL}#juneau-microservice-jetty.jmj.ResourceClasses'>Resource
Classes</a><span class='update'>created: 8.0.0</span></p>
+ <li><p><a class='doclink'
href='{OVERVIEW_URL}#juneau-microservice-jetty.jmj.PredefinedResourceClasses'>Predefined
Resource Classes</a><span class='update'>created: 8.0.0</span></p>
+ <li><p><a class='doclink'
href='{OVERVIEW_URL}#juneau-microservice-jetty.jmj.Config'>Config</a><span
class='update'>created: 8.0.0</span></p>
+ <li><p><a class='doclink'
href='{OVERVIEW_URL}#juneau-microservice-jetty.jmj.JettyXml'>Jetty.xml
file</a><span class='update'>created: 8.0.0</span></p>
+ <li><p><a class='doclink'
href='{OVERVIEW_URL}#juneau-microservice-jetty.jmj.UiCustomization'>UI
Customization</a><span class='update'>created: 8.0.0</span></p>
+ <li><p><a class='doclink'
href='{OVERVIEW_URL}#juneau-microservice-jetty.jmj.Extending'>Extending
JettyMicroservice</a><span class='update'>created: 8.0.0</span></p>
</ol>
- <li><p class='toc2'><a class='doclink'
href='{OVERVIEW_URL}#my-jetty-microservice'>my-jetty-microservice</a><span
class='update'>created: 8.1.0, deprecated: 8.1.2</span></p>
+ <li><p class='toc2'><a class='doclink'
href='{OVERVIEW_URL}#my-jetty-microservice'>my-jetty-microservice</a><span
class='update'>created: 8.1.0</span></p>
<ol>
- <li><p><a class='doclink'
href='{OVERVIEW_URL}#my-jetty-microservice.mjm.Installing'>Installing in
Eclipse</a><span class='update'>created: 8.0.0, deprecated: 8.1.2</span></p>
- <li><p><a class='doclink'
href='{OVERVIEW_URL}#my-jetty-microservice.mjm.Running'>Running in
Eclipse</a><span class='update'>created: 8.0.0, deprecated: 8.1.2</span></p>
- <li><p><a class='doclink'
href='{OVERVIEW_URL}#my-jetty-microservice.mjm.Building'>Building and Running
from Command-Line</a><span class='update'>created: 8.0.0, deprecated:
8.1.2</span></p>
+ <li><p><a class='doclink'
href='{OVERVIEW_URL}#my-jetty-microservice.mjm.Installing'>Installing in
Eclipse</a><span class='update'>created: 8.0.0</span></p>
+ <li><p><a class='doclink'
href='{OVERVIEW_URL}#my-jetty-microservice.mjm.Running'>Running in
Eclipse</a><span class='update'>created: 8.0.0</span></p>
+ <li><p><a class='doclink'
href='{OVERVIEW_URL}#my-jetty-microservice.mjm.Building'>Building and Running
from Command-Line</a><span class='update'>created: 8.0.0</span></p>
</ol>
<li><p class='toc2'><a class='doclink'
href='{OVERVIEW_URL}#my-springboot-microservice'>my-springboot-microservice</a><span
class='update'>created: 8.0.0</span></p>
<ol>
diff --git a/content/site/apidocs-9.0.0/resources/juneau-code.css
b/content/site/apidocs-9.0.0/resources/juneau-code.css
index b597b4c07..d93e85158 100644
--- a/content/site/apidocs-9.0.0/resources/juneau-code.css
+++ b/content/site/apidocs-9.0.0/resources/juneau-code.css
@@ -92,7 +92,7 @@
p.bcode,p.bjava,p.bjson,p.bxml,p.bini,p.buon,p.burlenc,p.bconsole,p.bschema,
div.bcode,div.bjava,div.bjson,div.bxml,div.bini,div.buon,div.burlenc,div.bconsole,div.bschema
{
border-left: 3px solid #4c6b87;
margin: 0px 20px 5px 20px;
- overflow: hidden;
+ overflow: auto;
background-color: #f8f8f8;
}
diff --git a/content/site/apidocs-9.0.0/resources/juneau-doc.css
b/content/site/apidocs-9.0.0/resources/juneau-doc.css
index c96365d8f..dfbb7c3c5 100644
--- a/content/site/apidocs-9.0.0/resources/juneau-doc.css
+++ b/content/site/apidocs-9.0.0/resources/juneau-doc.css
@@ -97,7 +97,7 @@ ul.normal { margin-top:0px; }
ul.normal li { font-size:100%; list-style:disc; }
/*--- Bordered images ---*/
-.bordered { margin:0px 20px; border-radius:10px; }
+.bordered { border:1px solid #cccccc; margin:0px 20px; border-radius:10px; }
ol.toc, ul.toc, .toc ol, .toc ul { background:#dee3e9; margin:0px;
padding:0px; max-width:900px;}
ul.toc, .toc ul { list-style: disc; }
@@ -217,7 +217,7 @@ hr { text-align:left; margin-left:0; max-width:900px; }
div.info, div.warn, div.severe {
background-image:url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjwhLS0gQ3JlYXRlZCB3aXRoIElua3NjYXBlIChodHRwOi8vd3d3Lmlua3NjYXBlLm9yZy8pIC0tPgo8c3ZnIAoJaWQ9InN2ZzI4MTAiIAoJeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiAKCXhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiAKCWhlaWdodD0iMjQiIAoJd2lkdGg9IjQyIiAKCXZlcnNpb249IjEuMCIgCgl2aWV3Qm94PSIwIDAgNDgwIDQ4MCI+Cgk8ZGVmcyBpZD0iZGVmczI4MzYiPgoJCTxsaW5lYXJHcmFkaWVudCBpZD0ibGluZWF
[...]
- background-repeat:no-repeat; background-position:left center;
padding:15px 50px; margin:10px 0px; width:800px;
+ background-repeat:no-repeat; background-position:left center;
padding:15px 50px; margin:10px 0px; width:720px;
}
div.info { background-color:#e9eefc; border-left:3px solid #1c43ba; }
div.warn { background-color:#faecd1; border-left:3px solid #b37700; }
diff --git a/content/styles/juneau-doc.css b/content/styles/juneau-doc.css
index c96365d8f..75bf2abbf 100755
--- a/content/styles/juneau-doc.css
+++ b/content/styles/juneau-doc.css
@@ -217,7 +217,7 @@ hr { text-align:left; margin-left:0; max-width:900px; }
div.info, div.warn, div.severe {
background-image:url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjwhLS0gQ3JlYXRlZCB3aXRoIElua3NjYXBlIChodHRwOi8vd3d3Lmlua3NjYXBlLm9yZy8pIC0tPgo8c3ZnIAoJaWQ9InN2ZzI4MTAiIAoJeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiAKCXhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiAKCWhlaWdodD0iMjQiIAoJd2lkdGg9IjQyIiAKCXZlcnNpb249IjEuMCIgCgl2aWV3Qm94PSIwIDAgNDgwIDQ4MCI+Cgk8ZGVmcyBpZD0iZGVmczI4MzYiPgoJCTxsaW5lYXJHcmFkaWVudCBpZD0ibGluZWF
[...]
- background-repeat:no-repeat; background-position:left center;
padding:15px 50px; margin:10px 0px; width:800px;
+ background-repeat:no-repeat; background-position:left center;
padding:15px 50px; margin:10px 0px; width:720px;
}
div.info { background-color:#e9eefc; border-left:3px solid #1c43ba; }
div.warn { background-color:#faecd1; border-left:3px solid #b37700; }