(Since version 2.1.0) Do not invoke directly. Use withRequest to change the binding, or request to get the value
(Since version 2.1.0) Do not invoke directly. Use withResponse to change the binding, or response to get the value
(Since version 2.1.0) Use servletContext instead
(Since version 2.2) Override the timeout method on a org.scalatra.AsyncResult instead.
(Since version 2.1.0) Use status_=(Int) instead
Automatically cache CRUD and idempotent routes plus a handy Caching DSL.
Note that use of this will automatically convert your routes into
routes as cache retrieval is asynchronous.
NOTES:
If the caching is set to 365 days or greater (including 'infinity') the Expires header is set to exactly 365 days in the future. The Cache can be set to 'auto-evict' meaning
FutureSupport }}} is asynchronous.
NOTES:
If the caching is set to 365 days or greater (including 'infinity') the Expires header is set to exactly 365 days in the future. The Cache can be set to 'auto-evict' meaning