org.jclouds.gogrid.binders
Class BindNamesToQueryParams

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

public class BindNamesToQueryParams
extends Object
implements Binder

Binds names to corresponding query parameters

Author:
Oleksiy Yarmula

Method Summary
 void bindToRequest(HttpRequest request, Object input)
          Binds the names to query parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

bindToRequest

public void bindToRequest(HttpRequest request,
                          Object input)
Binds the names to query parameters. The pattern, as specified by GoGrid's specification, is: https://api.gogrid.com/api/grid/server/get ?name=My+Server &name=My+Server+2 &name=My+Server+3 &name=My+Server+4

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


Copyright © 2009-2010 jclouds. All Rights Reserved.