Class DataWrapper


  • public class DataWrapper
    extends Object
    A utility class that REST API users can use to have Martini Runtime use the Groovy JSONSlurper/XMLSlurper to parse request data prior to their code being called.
    • Constructor Detail

      • DataWrapper

        public DataWrapper()
      • DataWrapper

        public DataWrapper​(Object data)
    • Method Detail

      • getData

        public Object getData()
      • setData

        public void setData​(Object data)