Package org.jclouds.profitbricks.binder
Class BaseProfitBricksRequestBinder<T>
java.lang.Object
org.jclouds.profitbricks.binder.BaseProfitBricksRequestBinder<T>
- Direct Known Subclasses:
AddFirewallRuleToNicRequestBinder,AddRomDriveToServerRequestBinder,ConnectStorageToServerRequestBinder,CreateDataCenterRequestBinder,CreateLoadBalancerRequestBinder,CreateNicRequestBinder,CreateServerRequestBinder,CreateSnapshotRequestBinder,CreateStorageRequestBinder,DeregisterLoadBalancerRequestBinder,FirewallBinder,RegisterLoadBalancerRequestBinder,RollbackSnapshotRequestBinder,SetInternetAccessBinder,UpdateDataCenterRequestBinder,UpdateLoadBalancerRequestBinder,UpdateNicRequestBinder,UpdateServerRequestBinder,UpdateSnapshotRequestBinder,UpdateStorageRequestBinder
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<R extends HttpRequest>
RbindToRequest(R request, Object input) <R extends HttpRequest>
RbindToRequest(R request, Map<String, Object> postParams) creates and binds the POST payload to the request using parameters specified.protected abstract StringcreatePayload(T payload) protected <R extends HttpRequest>
RcreateRequest(R fromRequest, String payload) protected static StringformatIfNotEmpty(String pattern, Object param) protected static StringnullableToString(Object object)
-
Field Details
-
paramName
-
-
Constructor Details
-
BaseProfitBricksRequestBinder
-
-
Method Details
-
bindToRequest
Description copied from interface:MapBindercreates and binds the POST payload to the request using parameters specified.- Specified by:
bindToRequestin interfaceMapBinder- See Also:
-
bindToRequest
- Specified by:
bindToRequestin interfaceBinder
-
createPayload
-
formatIfNotEmpty
-
nullableToString
-
createRequest
-