Package org.jclouds.gogrid.binders
Class BindNamesToQueryParams
java.lang.Object
org.jclouds.gogrid.binders.BindNamesToQueryParams
- All Implemented Interfaces:
Binder
Binds names to corresponding query parameters
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<R extends HttpRequest>
RbindToRequest
(R request, Object input) Binds the names to query parameters.
-
Constructor Details
-
BindNamesToQueryParams
public BindNamesToQueryParams()
-
-
Method Details
-
bindToRequest
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 invalid input: '&name'=My+Server+2 invalid input: '&name'=My+Server+3 invalid input: '&name'=My+Server+4- Specified by:
bindToRequest
in interfaceBinder
- Parameters:
request
- request where the query params will be setinput
- array of String params
-