Package org.jclouds.azureblob.functions
Class ParseBlobFromHeadersAndHttpContent
java.lang.Object
org.jclouds.azureblob.functions.ParseBlobFromHeadersAndHttpContent
- All Implemented Interfaces:
com.google.common.base.Function<HttpResponse,
,AzureBlob> 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.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionParseBlobFromHeadersAndHttpContent
(ParseBlobPropertiesFromHeaders metadataParser, AzureBlob.Factory blobFactory) -
Method Summary
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
-
Constructor Details
-
ParseBlobFromHeadersAndHttpContent
@Inject public ParseBlobFromHeadersAndHttpContent(ParseBlobPropertiesFromHeaders metadataParser, AzureBlob.Factory blobFactory)
-
-
Method Details
-
apply
- Specified by:
apply
in interfacecom.google.common.base.Function<HttpResponse,
AzureBlob> - Specified by:
apply
in interfaceFunction<HttpResponse,
AzureBlob>
-
setContext
- Specified by:
setContext
in interfaceInvocationContext<ParseBlobFromHeadersAndHttpContent>
-