Summary
In this chapter, we saw the features provided to a Play application through a global plugin. By extending GlobalSettings
, we can hook into the application's life cycle and perform various tasks at different phases. Apart from hooks used for the application life cycle, we have also discussed hooks for the request-response life cycle, through which we can intercept requests and responses and modify them, if required.