"this binder is only valid for GeneratedHttpRequests!");
GeneratedHttpRequest gRequest = (GeneratedHttpRequest) request;
ImmutableMultimap.Builder<String, String> formParams = ImmutableMultimap.builder();
for (Map.Entry<String, Object> entry : postParams.entrySet())
formParams.put(entry.getKey(), (String) entry.getValue());
ServerSpec serverSpec = ServerSpec.class.cast(find(gRequest.getInvocation().getArgs(),
instanceOf(ServerSpec.class)));
formParams.put("datacenter", serverSpec.getDatacenter());
formParams.put("platform", serverSpec.getPlatform());
formParams.put("templatename", serverSpec.getTemplateName());
formParams.put("disksize", serverSpec.getDiskSizeGB() + "");
formParams.put("memorysize", serverSpec.getMemorySizeMB() + "");
formParams.put("cpucores", serverSpec.getCpuCores() + "");
formParams.put("transfer", serverSpec.getTransferGB() + "");
if (ip != null)
formParams.put("ip", ip);
if (description != null)
formParams.put("description", description);