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.
Mastering play framework for scala
By :
Mastering play framework for scala
By:
Overview of this book
Table of Contents (21 chapters)
Mastering Play Framework for Scala
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Getting Started with Play
Defining Actions
Building Routes
Exploring Views
Working with Data
Reactive Data Streams
Playing with Globals
WebSockets and Actors
Testing
Debugging and Logging
Web Services and Authentication
Play in Production
Writing Play Plugins
Index
Customer Reviews