Undertow Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 21: Line 21:
=XNIO Concepts=
=XNIO Concepts=


* [[XNIO Concepts#XNIO_Worker|XNIO Worker]]
* [[XNIO Concepts#XNIO_Worker|Worker]]
* [[XNIO Concepts#XNIO_Listener|XNIO Listener]]
* [[XNIO Concepts#XNIO_Listener|Listener]]


=HttpServerExchange=
=HttpServerExchange=

Revision as of 22:28, 18 January 2016

Internal

Overview

Undertow is a web server written in Java. It provides both blocking and non-blocking APIs based on NIO. It has a composition-based architecture that allows assembling a web server combining small single purpose handlers.

Undertow is embeddable, its lifecycle is controller by the embedding application. Undertow is the default web server in WildFly.

It has support for Servlet 3.1.

Artifacts

Request Lifecycle

XNIO Concepts

HttpServerExchange

An exchange can be in blocking or non-blocking mode, and it can be put in blocking mode.

Handler