@Override
public Optional<CachedItem> getItem(final String name, final String key) {
try {
return Optional.fromNullable(objectMapper.readValue(
requestFactory.buildGetRequest(new CacheItemUrl(hostName, projectId, name, key)).execute()
.getContent(), CachedItem.class));
} catch (final HTTPException e) {
if (e.getStatusCode() == 404) {
return Optional.absent();