final Object key = req0.key();
final GridCacheFlag[] flags = parseCacheFlags(req0.cacheFlags());
try {
GridRestCommand cmd = req0.command();
if (key == null && KEY_REQUIRED_REQUESTS.contains(cmd))
throw new GridException(GridRestCommandHandlerAdapter.missingParameter("key"));
final Long ttl = req0.ttl();