January 2018
Intermediate to advanced
336 pages
7h 56m
English
Pedestal provides servlet interceptor as chain providers for HTTP-based web applications out of the box. It connects any servlet container to the interceptor chain. By default, the Pedestal application template uses the Jetty web server (https://www.eclipse.org/jetty/), but it also has support for chain providers that work with servers other than Jetty as well, such as Immutant (http://immutant.org/) and Tomcat (https://tomcat.apache.org/).
To start the application with the default server and chain provider, that is, for Jetty, run lein run within the pedestal-play application and observe the log messages. It shows the logs for the Jetty server, that is, the server in use:
Creating your server...INFO org.eclipse.jetty.server.Server ...
Read now
Unlock full access