org.jclouds.cloudstack.functions
Class ParseAsyncJobFromHttpResponse

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

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

Author:
Adrian Cole

Constructor Summary
ParseAsyncJobFromHttpResponse(ParseTypedAsyncJob parseTyped, org.jclouds.http.functions.UnwrapOnlyJsonValue<AsyncJob<Map<String,org.jclouds.domain.JsonBall>>> parser)
           
 
Method Summary
 AsyncJob<?> apply(org.jclouds.http.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,
                                            org.jclouds.http.functions.UnwrapOnlyJsonValue<AsyncJob<Map<String,org.jclouds.domain.JsonBall>>> parser)
Method Detail

apply

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


Copyright © 2009-2013 jclouds. All Rights Reserved.