> +import org.jclouds.rest.Binder;
> +
> +import com.google.common.collect.ImmutableMap;
> +
> +public class CreateHttpRedirectBinder implements Binder {
> + private final Json json;
> +
> + @Inject
> + CreateHttpRedirectBinder(Json json){
> + this.json = checkNotNull(json, "json");
> + }
> +
> + @SuppressWarnings("unchecked")
> + @Override
> + public <R extends HttpRequest> R bindToRequest(R request, Object arg) {
> + HttpRedirect in = HttpRedirect.class.cast(checkNotNull(arg, "redirect
> to create"));
Makes sense - I cribbed much of this code from a sibling class that was there
before. I'll update the message
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/37/files#r4952476