org.jclouds.azureblob.functions
Class ParseBlobFromHeadersAndHttpContent
java.lang.Object
org.jclouds.azureblob.functions.ParseBlobFromHeadersAndHttpContent
- All Implemented Interfaces:
- com.google.common.base.Function<HttpResponse,AzureBlob>, InvocationContext<ParseBlobFromHeadersAndHttpContent>
@Singleton
public class ParseBlobFromHeadersAndHttpContent
- extends Object
- implements com.google.common.base.Function<HttpResponse,AzureBlob>, InvocationContext<ParseBlobFromHeadersAndHttpContent>
Parses response headers and creates a new AzureBlob from them and the HTTP content.
- Author:
- Adrian Cole
- See Also:
ParseMetadataFromHeaders
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.google.common.base.Function |
equals |
ParseBlobFromHeadersAndHttpContent
@Inject
public ParseBlobFromHeadersAndHttpContent(ParseBlobPropertiesFromHeaders metadataParser,
AzureBlob.Factory blobFactory)
apply
public AzureBlob apply(HttpResponse from)
- Specified by:
apply
in interface com.google.common.base.Function<HttpResponse,AzureBlob>
setContext
public ParseBlobFromHeadersAndHttpContent setContext(HttpRequest request)
- Specified by:
setContext
in interface InvocationContext<ParseBlobFromHeadersAndHttpContent>
Copyright © 2009-2011 jclouds. All Rights Reserved.