@Override
 public ServiceResults postCollection(ServiceContext context) throws Exception {
   Iterator<Map<String, Object>> i = context.getPayload().payloadIterator();
   while (i.hasNext()) {
     Map<String, Object> p = i.next();
     setGravatar(p);
   }
   return super.postCollection(context);
 }
Example #2
0
 @Override
 public ServiceResults putItemById(ServiceContext context, UUID id) throws Exception {
   return updateApplicationEntity(context.getPayload());
 }