this.dateParser = dateParser;
this.metadataPrefix = metadataPrefix;
}
public ContainerProperties apply(HttpResponse from) {
MutableContainerPropertiesWithMetadata to = new MutableContainerPropertiesWithMetadataImpl();
to.setName(request.getInvocation().getArgs().get(0).toString());
addUserMetadataTo(from, to);
parseLastModifiedOrThrowException(from, to);
addETagTo(from, to);
to.setUrl(request.getEndpoint());
return to;
}