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