> +import javax.inject.Inject;
> +import javax.inject.Singleton;
> +
> +/**
> + * Parses response headers and creates a new Blob from them and the HTTP
> content.
> + *
> + * @author vitaly.rudenya
> + */
> +@Singleton
> +public class ParseBlobFromHeadersAndHttpContent implements
> Function<HttpResponse, Blob> {
> +
> + private final Blob.Factory blobFactory;
> +
> + @Inject
> + public ParseBlobFromHeadersAndHttpContent(Blob.Factory blobFactory) {
> + this.blobFactory = blobFactory;
checkNotNull here.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/30/files#r7260164