org.jclouds.rest.binders
Class BindMapToStringPayload
java.lang.Object
org.jclouds.rest.binders.BindMapToStringPayload
- All Implemented Interfaces:
- Binder, MapBinder
@Singleton
public class BindMapToStringPayload
- extends Object
- implements MapBinder
- Author:
- Adrian Cole
Field Summary |
protected javax.inject.Provider<javax.ws.rs.core.UriBuilder> |
uriBuilders
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
uriBuilders
protected final javax.inject.Provider<javax.ws.rs.core.UriBuilder> uriBuilders
BindMapToStringPayload
@Inject
public BindMapToStringPayload(javax.inject.Provider<javax.ws.rs.core.UriBuilder> uriBuilders)
bindToRequest
public <R extends HttpRequest> R bindToRequest(R request,
Map<String,String> postParams)
- Description copied from interface:
MapBinder
- creates and binds the POST payload to the request using parameters specified.
- Specified by:
bindToRequest
in interface MapBinder
- See Also:
PayloadParam
bindToRequest
public <R extends HttpRequest> R bindToRequest(R request,
Object payload)
- Specified by:
bindToRequest
in interface Binder
Copyright © 2009-2011 jclouds. All Rights Reserved.