Class ParseAccountFunction
- java.lang.Object
-
- org.openstack4j.openstack.storage.object.functions.ParseAccountFunction
-
- All Implemented Interfaces:
com.google.common.base.Function<HttpResponse,SwiftAccount>,Function<HttpResponse,SwiftAccount>
public class ParseAccountFunction extends Object implements com.google.common.base.Function<HttpResponse,SwiftAccount>
Parses an HttpResponse from an Account call into a SwiftAccount object- Author:
- Jeremy Unruh
-
-
Field Summary
Fields Modifier and Type Field Description static ParseAccountFunctionINSTANCE
-
Constructor Summary
Constructors Constructor Description ParseAccountFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SwiftAccountapply(HttpResponse res)
-
-
-
Field Detail
-
INSTANCE
public static final ParseAccountFunction INSTANCE
-
-
Method Detail
-
apply
public SwiftAccount apply(HttpResponse res)
- Specified by:
applyin interfacecom.google.common.base.Function<HttpResponse,SwiftAccount>- Specified by:
applyin interfaceFunction<HttpResponse,SwiftAccount>
-
-