org.jclouds.gogrid.binders
Class BindIdsToQueryParams

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

@Singleton
public class BindIdsToQueryParams
extends Object
implements org.jclouds.rest.Binder

Binds IDs to corresponding query parameters


Constructor Summary
BindIdsToQueryParams()
           
 
Method Summary
<R extends org.jclouds.http.HttpRequest>
R
bindToRequest(R request, Object input)
          Binds the ids to query parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BindIdsToQueryParams

public BindIdsToQueryParams()
Method Detail

bindToRequest

public <R extends org.jclouds.http.HttpRequest> R bindToRequest(R request,
                                                                Object input)
Binds the ids to query parameters. The pattern, as specified by GoGrid's specification, is: https://api.gogrid.com/api/grid/server/get ?id=5153 &id=3232

Specified by:
bindToRequest in interface org.jclouds.rest.Binder
Parameters:
request - request where the query params will be set
input - array of String params


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.