public class ParseBlobFromHeadersAndHttpContent extends Object implements com.google.common.base.Function<HttpResponse,Blob>, InvocationContext<ParseBlobFromHeadersAndHttpContent>
ParseSystemAndUserMetadataFromHeaders
Constructor and Description |
---|
ParseBlobFromHeadersAndHttpContent(ParseSystemAndUserMetadataFromHeaders metadataParser,
Blob.Factory blobFactory) |
Modifier and Type | Method and Description |
---|---|
Blob |
apply(HttpResponse from) |
ParseBlobFromHeadersAndHttpContent |
setContext(HttpRequest request) |
@Inject public ParseBlobFromHeadersAndHttpContent(ParseSystemAndUserMetadataFromHeaders metadataParser, Blob.Factory blobFactory)
public Blob apply(HttpResponse from)
apply
in interface com.google.common.base.Function<HttpResponse,Blob>
public ParseBlobFromHeadersAndHttpContent setContext(HttpRequest request)
setContext
in interface InvocationContext<ParseBlobFromHeadersAndHttpContent>
Copyright © 2009-2012 jclouds. All Rights Reserved.