org.jclouds.softlayer.binders
Class TagToJson
java.lang.Object
org.jclouds.softlayer.binders.TagToJson
- All Implemented Interfaces:
- org.jclouds.rest.Binder
@Singleton
public class TagToJson
- extends Object
- implements org.jclouds.rest.Binder
Converts a Tag into a json string valid for creating a CCI via softlayer api
The string is set into the payload of the HttpRequest
|
Constructor Summary |
TagToJson(org.jclouds.json.Json json)
|
|
Method Summary |
<R extends org.jclouds.http.HttpRequest>
R |
|
bindToRequest(R request,
Object input)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TagToJson
@Inject
public TagToJson(org.jclouds.json.Json json)
bindToRequest
public <R extends org.jclouds.http.HttpRequest> R bindToRequest(R request,
Object input)
- Specified by:
bindToRequest in interface org.jclouds.rest.Binder
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.