Package org.jclouds.s3.functions
Class ParseObjectFromHeadersAndHttpContent
java.lang.Object
org.jclouds.s3.functions.ParseObjectFromHeadersAndHttpContent
- All Implemented Interfaces:
com.google.common.base.Function<HttpResponse,
,S3Object> Function<HttpResponse,
,S3Object> InvocationContext<ParseObjectFromHeadersAndHttpContent>
public class ParseObjectFromHeadersAndHttpContent
extends Object
implements com.google.common.base.Function<HttpResponse,S3Object>, InvocationContext<ParseObjectFromHeadersAndHttpContent>
Parses response headers and creates a new S3Object from them and the HTTP content.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionParseObjectFromHeadersAndHttpContent
(ParseObjectMetadataFromHeaders metadataParser, S3Object.Factory objectProvider) -
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
-
ParseObjectFromHeadersAndHttpContent
@Inject public ParseObjectFromHeadersAndHttpContent(ParseObjectMetadataFromHeaders metadataParser, S3Object.Factory objectProvider)
-
-
Method Details
-
apply
- Specified by:
apply
in interfacecom.google.common.base.Function<HttpResponse,
S3Object> - Specified by:
apply
in interfaceFunction<HttpResponse,
S3Object>
-
setContext
- Specified by:
setContext
in interfaceInvocationContext<ParseObjectFromHeadersAndHttpContent>
-