> +import org.jclouds.glacier.domain.JobRequest;
> +import org.jclouds.http.HttpRequest;
> +import org.jclouds.json.Json;
> +import org.jclouds.rest.Binder;
> +
> +import com.google.inject.Inject;
> +
> +public class BindJobRequestToJsonPayload implements Binder {
> +   @Inject
> +   private Json json;
> +
> +   @Override
> +   public <R extends HttpRequest> R bindToRequest(R request, Object input) {
> +      checkArgument(checkNotNull(input, "input") instanceof JobRequest,
> +            "This binder is only valid for JobRequest");
> +      checkNotNull(request, "request");

Yes, I think I've seen it in the atmos provider. I will make a new PR tomorrow 
refactoring the binders. thanks @demobox!

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-aws/pull/25/files#r14219869

Reply via email to