@Singleton public class ReturnTaskReferenceOrNull extends ParseXMLWithJAXB<com.abiquo.model.transport.AcceptedRequestDto<String>>
AcceptedRequestDto
representing the asynchronous task or null
if
the operation completed synchronously.
Operations that generate asynchronous tasks will return one of the following:
logger, type, xml
Constructor and Description |
---|
ReturnTaskReferenceOrNull(XMLParser xml,
com.google.inject.TypeLiteral<com.abiquo.model.transport.AcceptedRequestDto<String>> type) |
Modifier and Type | Method and Description |
---|---|
com.abiquo.model.transport.AcceptedRequestDto<String> |
apply(HttpResponse from) |
apply, apply
public com.abiquo.model.transport.AcceptedRequestDto<String> apply(HttpResponse from)
apply
in interface com.google.common.base.Function<HttpResponse,com.abiquo.model.transport.AcceptedRequestDto<String>>
apply
in class ParseXMLWithJAXB<com.abiquo.model.transport.AcceptedRequestDto<String>>
Copyright © 2009-2013 jclouds. All Rights Reserved.