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