RESTified JCACHE / JSR-107
- Requirements: Java 8 and Java EE 7 server. Tested with WildFly 8 and GlassFish v4
- Download the headlands.war and drop it into the "autodeployment" directory.
curl -i -XPUT -H"Content-type: application/json" -d'{"storeByValue":true}' http://localhost:8080/headlands/resources/caches/workshops
curl http://localhost:8080/headlands/resources/caches/
curl -i -XOPTIONS http://localhost:8080/headlands/resources/caches/workshops
curl -i -XPUT -d'duke' http://localhost:8080/headlands/resources/caches/workshops/entries/chief
curl -i http://localhost:8080/headlands/resources/caches/workshops/entries/
curl -i -XDELETE http://localhost:8080/headlands/resources/caches/workshops/entries/chief
curl -i -XDELETE http://localhost:8080/headlands/resources/caches/workshops/entries