@Singleton public class BindCloneVMToXmlPayload extends BindToStringPayload implements MapBinder
Constructor and Description |
---|
BindCloneVMToXmlPayload() |
Modifier and Type | Method and Description |
---|---|
<R extends HttpRequest> |
bindToRequest(R request,
Map<String,Object> postParams)
creates and binds the POST payload to the request using parameters specified.
|
<R extends HttpRequest> |
bindToRequest(R request,
Object toBind) |
protected com.jamesmurty.utils.XMLBuilder |
buildRoot(String newVAppName) |
protected URI |
findVAppURIInArgsOrNull(GeneratedHttpRequest gRequest) |
String |
generateXml(URI vAppURI,
String newVAppName,
String networkTierName) |
protected String |
ifNullDefaultTo(String value,
String defaultValue) |
public <R extends HttpRequest> R bindToRequest(R request, Object toBind)
bindToRequest
in interface Binder
bindToRequest
in class BindToStringPayload
protected URI findVAppURIInArgsOrNull(GeneratedHttpRequest gRequest)
public <R extends HttpRequest> R bindToRequest(R request, Map<String,Object> postParams)
MapBinder
bindToRequest
in interface MapBinder
PayloadParam
protected com.jamesmurty.utils.XMLBuilder buildRoot(String newVAppName) throws ParserConfigurationException, FactoryConfigurationError
Copyright © 2009-2013 jclouds. All Rights Reserved.