org.jclouds.openstack.swift.functions
Class ParseObjectFromHeadersAndHttpContent
java.lang.Object
org.jclouds.openstack.swift.functions.ParseObjectFromHeadersAndHttpContent
- All Implemented Interfaces:
- com.google.common.base.Function<HttpResponse,SwiftObject>, InvocationContext<ParseObjectFromHeadersAndHttpContent>
public class ParseObjectFromHeadersAndHttpContent
- extends Object
- implements com.google.common.base.Function<HttpResponse,SwiftObject>, InvocationContext<ParseObjectFromHeadersAndHttpContent>
Parses response headers and creates a new SwiftObject from them and the HTTP content.
- Author:
- Adrian Cole
- 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(ParseObjectInfoFromHeaders infoParser,
SwiftObject.Factory objectProvider)
apply
public SwiftObject apply(HttpResponse from)
- Specified by:
apply
in interface com.google.common.base.Function<HttpResponse,SwiftObject>
setContext
public ParseObjectFromHeadersAndHttpContent setContext(HttpRequest request)
- Specified by:
setContext
in interface InvocationContext<ParseObjectFromHeadersAndHttpContent>
Copyright © 2009-2011 jclouds. All Rights Reserved.