org.jclouds.openstack.swift.functions
Class ParseObjectInfoListFromJsonResponse
java.lang.Object
org.jclouds.http.functions.ParseJson<PageSet<ObjectInfo>>
org.jclouds.openstack.swift.functions.ParseObjectInfoListFromJsonResponse
- All Implemented Interfaces:
- com.google.common.base.Function<HttpResponse,PageSet<ObjectInfo>>, InvocationContext<ParseObjectInfoListFromJsonResponse>
public class ParseObjectInfoListFromJsonResponse
- extends ParseJson<PageSet<ObjectInfo>>
- implements InvocationContext<ParseObjectInfoListFromJsonResponse>
This parses ObjectInfo
from a gson string.
- Author:
- Adrian Cole
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 |
ParseObjectInfoListFromJsonResponse
@Inject
public ParseObjectInfoListFromJsonResponse(Json json,
javax.inject.Provider<javax.ws.rs.core.UriBuilder> uriBuilders)
apply
public PageSet<ObjectInfo> apply(InputStream stream)
- Overrides:
apply
in class ParseJson<PageSet<ObjectInfo>>
setContext
public ParseObjectInfoListFromJsonResponse setContext(HttpRequest request)
- Specified by:
setContext
in interface InvocationContext<ParseObjectInfoListFromJsonResponse>
Copyright © 2009-2011 jclouds. All Rights Reserved.