final StoreMeta storeMeta = storeMetaBuilder.returnBody(returnBody).build();
// if non match and if not modified require extra data for the HTTP API
// pull that from the riak object if possible
if(storeMeta.hasIfNoneMatch() && storeMeta.getIfNoneMatch() && o != null) {
storeMeta.etags(new String[] {o.getVtag()});
}
if(storeMeta.hasIfNotModified() && storeMeta.getIfNotModified() && o != null) {
storeMeta.lastModified(o.getLastModified());
}