org.jclouds.s3.functions
Class ParseObjectFromHeadersAndHttpContent
java.lang.Object
org.jclouds.s3.functions.ParseObjectFromHeadersAndHttpContent
- All Implemented Interfaces:
- com.google.common.base.Function<org.jclouds.http.HttpResponse,S3Object>, org.jclouds.rest.InvocationContext<ParseObjectFromHeadersAndHttpContent>
public class ParseObjectFromHeadersAndHttpContent
- extends Object
- implements com.google.common.base.Function<org.jclouds.http.HttpResponse,S3Object>, org.jclouds.rest.InvocationContext<ParseObjectFromHeadersAndHttpContent>
Parses response headers and creates a new S3Object from them and the HTTP content.
- 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 |
ParseObjectFromHeadersAndHttpContent
@Inject
public ParseObjectFromHeadersAndHttpContent(ParseObjectMetadataFromHeaders metadataParser,
S3Object.Factory objectProvider)
apply
public S3Object apply(org.jclouds.http.HttpResponse from)
- Specified by:
apply in interface com.google.common.base.Function<org.jclouds.http.HttpResponse,S3Object>
setContext
public ParseObjectFromHeadersAndHttpContent setContext(org.jclouds.http.HttpRequest request)
- Specified by:
setContext in interface org.jclouds.rest.InvocationContext<ParseObjectFromHeadersAndHttpContent>
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.