Class BindIdsToQueryParams

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

@Singleton public class BindIdsToQueryParams extends Object implements Binder
Binds IDs to corresponding query parameters
  • Constructor Details

    • BindIdsToQueryParams

      public BindIdsToQueryParams()
  • Method Details

    • bindToRequest

      public <R extends 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 invalid input: '&id'=3232
      Specified by:
      bindToRequest in interface Binder
      Parameters:
      request - request where the query params will be set
      input - array of String params