// cache mapping associated with the request
CacheMapping mapping = lookupCacheMapping(request);
// check if the method is in the allowed methods list
if (mapping.findMethod(request.getMethod())) {
result = true;
ConstraintField fields[] = mapping.getConstraintFields();
// apply all the constraints
for (int i = 0; i < fields.length; i++) {