org.jclouds.rest.binders
Class BindToJsonPayloadWrappedWith

java.lang.Object
  extended by org.jclouds.rest.binders.BindToJsonPayloadWrappedWith
All Implemented Interfaces:
Binder

public class BindToJsonPayloadWrappedWith
extends Object
implements Binder

Sometimes, cloud apis wrap requests inside an envelope. This addresses this.

Author:
Adrian Cole

Nested Class Summary
static interface BindToJsonPayloadWrappedWith.Factory
           
 
Method Summary
<R extends HttpRequest>
R
bindToRequest(R request, Object payload)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

bindToRequest

public <R extends HttpRequest> R bindToRequest(R request,
                                               Object payload)
Specified by:
bindToRequest in interface Binder


Copyright © 2009-2011 jclouds. All Rights Reserved.