Class ParseObjectFunction
- java.lang.Object
-
- org.openstack4j.openstack.storage.object.functions.ParseObjectFunction
-
- All Implemented Interfaces:
com.google.common.base.Function<HttpResponse,SwiftObject>,Function<HttpResponse,SwiftObject>
public class ParseObjectFunction extends Object implements com.google.common.base.Function<HttpResponse,SwiftObject>
Transforms an HttpResponse into a SwiftObject- Author:
- Jeremy Unruh
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SwiftObjectapply(HttpResponse resp)static ParseObjectFunctioncreate(ObjectLocation location)
-
-
-
Method Detail
-
create
public static ParseObjectFunction create(ObjectLocation location)
-
apply
public SwiftObject apply(HttpResponse resp)
- Specified by:
applyin interfacecom.google.common.base.Function<HttpResponse,SwiftObject>- Specified by:
applyin interfaceFunction<HttpResponse,SwiftObject>
-
-