Kauri Documentation
 PreviousHomeNext 
6.4.4 Relationship between JAX-RS and Kauri routingBook Index6.5.2 Groovy as routing configuration syntax

6.5 Some background

6.5.1 Routing structure

From a conceptual point of view, a routing structure can contain the following types of components:

All these components can be freely nested inside each other, in order to form a hierarchical routing structure. The request handlers are the leaves of the routing structure.

When you think a bit about it, there is no fixed line where the routing ends. A request handler in itself might contain code which makes decisions based on request properties and delegates to other methods or classes. We don't consider this to be part of the routing anymore though since it is not visible in the routing configuration and hence Kauri doesn't know about it.

 PreviousHomeNext 
6.4.4 Relationship between JAX-RS and Kauri routing6.5.2 Groovy as routing configuration syntax