Skip to content
This repository has been archived by the owner on Mar 2, 2023. It is now read-only.

Performance Improvements, Better Interface

Compare
Choose a tag to compare
@bradcypert bradcypert released this 22 Sep 15:10
· 7 commits to master since this release

In this release, I've added performance improvements around the instance created by the Resource. This means you should be able to store, on the model, any properties and they should persist between routes - previously, this wasn't an option as each route hit created and recycled the instance object.

Additionally, the Model interface now makes use of Java8 default method implementations, so you only need to implement the ones that you're actually using. For example: If you're not specifying DELETE in your @Methods declaration, you no longer need to to implement public string remove();