org.jclouds.cloudstack.functions
Class ParseAsyncJobFromHttpResponse

java.lang.Object
  extended by org.jclouds.cloudstack.functions.ParseAsyncJobFromHttpResponse
All Implemented Interfaces:
com.google.common.base.Function<HttpResponse,AsyncJob<?>>

@Singleton
public class ParseAsyncJobFromHttpResponse
extends Object
implements com.google.common.base.Function<HttpResponse,AsyncJob<?>>

Author:
Adrian Cole

Constructor Summary
ParseAsyncJobFromHttpResponse(ParseTypedAsyncJob parseTyped, UnwrapOnlyJsonValue<AsyncJob<Map<String,JsonBall>>> parser)
           
 
Method Summary
 AsyncJob<?> apply(HttpResponse response)
           
 
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
 

Constructor Detail

ParseAsyncJobFromHttpResponse

@Inject
public ParseAsyncJobFromHttpResponse(ParseTypedAsyncJob parseTyped,
                                            UnwrapOnlyJsonValue<AsyncJob<Map<String,JsonBall>>> parser)
Method Detail

apply

public AsyncJob<?> apply(HttpResponse response)
Specified by:
apply in interface com.google.common.base.Function<HttpResponse,AsyncJob<?>>


Copyright © 2009-2012 jclouds. All Rights Reserved.