Skip to content

Commit bc15fcd

Browse files
committed
Minor text changes
1 parent f5c30e9 commit bc15fcd

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎stubbornjava-webapp/ui/src/posts/java-hello-world-embedded-http-server-using-undertow.hbs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<p>A very simple embedded Java web server with Undertow. Head over to <a href="http://undertow.io/">http://undertow.io/</a> to learn more about Undertow. This example is the same as shown on the homepage just written slightly differently. Undertow is the web server of choice for StubbornJava. It has a very clean and easy to follow API and has a fairly low learning curve. Every request and or filter is a HttpHandler. HttpHandlers can do filtering, routing, validation, exception handling and much more all with the same simple interface. Since the web server is embedded we can easily run this example insaide of any IDE or as a standalone executable Jar. No application containers in sight. Whew!</p>
22

33
<h2 class="anchored">Java Hello World Web Server</h2>
4+
<p>A simple and lightweight Java HTTP server.</p>
45
{{> templates/src/widgets/code/code-snippet file=helloworld section=helloworld.sections.helloworld}}
56

67
<h2 class="anchored">Output</h2>

‎stubbornjava-webapp/ui/src/posts/obfuscating-and-shortening-sequential-ids-with-hashids.hbs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
{{> templates/src/widgets/code/code-snippet file=hashids section=hashids.sections.hashids}}
1616

1717
<h2 class="anchored">HashIds with Undertow</h2>
18-
<p>Let's look at an example reusing some code from our <a href="/posts/query-parameters-and-path-parameters-in-undertow">Query and Path Parameters in Undertow</a> post.</p>
18+
<p>Let's look at an example reusing some code from our <a href="/posts/query-parameters-and-path-parameters-in-undertow">Query and Path Parameters in Undertow</a> post. Another live example can be found at <a href = "https://www.deckhandhq.com/offers/west-marine-tech-baseball-hat-gray/kE7B">https://www.deckhandhq.com/offers/west-marine-tech-baseball-hat-gray/kE7B</a>. The final path is an id encoded with Hashids.</p>
1919
{{> templates/src/widgets/code/code-snippet file=server section=server.sections.obfuscated}}
2020
{{> templates/src/widgets/code/code-snippet file=server section=server.sections.obfuscatedRoute}}
2121
{{> templates/src/widgets/code/code-snippet file=server section=server.sections.routes}}

0 commit comments

Comments
 (0)