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