> + * The string is set into the payload of the HttpRequest
> + *
> + * @author Andrea Turli
> + */
> +public class VirtualGuestToJson implements Binder {
> +
> + private final Json json;
> +
> + @Inject
> + public VirtualGuestToJson(Json json) {
> + this.json = checkNotNull(json, "json");
> + }
> +
> + @Override
> + public <R extends HttpRequest> R bindToRequest(R request, Object input) {
> + VirtualGuest virtualGuest =
> VirtualGuest.class.cast(checkNotNull(input, "parameters"));
See comments above
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/296/files#r11324381