public abstract class OrgNameVDCNameResourceNameToEndpoint extends Object implements MapBinder
Modifier and Type | Field and Description |
---|---|
protected com.google.common.base.Supplier<ReferenceType> |
defaultOrg |
protected com.google.common.base.Supplier<ReferenceType> |
defaultVDC |
protected com.google.common.base.Supplier<Map<String,Map<String,? extends VDC>>> |
orgVDCMap |
Constructor and Description |
---|
OrgNameVDCNameResourceNameToEndpoint(com.google.common.base.Supplier<Map<String,Map<String,? extends VDC>>> orgVDCMap,
com.google.common.base.Supplier<ReferenceType> defaultOrg,
com.google.common.base.Supplier<ReferenceType> defaultVDC) |
Modifier and Type | Method and Description |
---|---|
<R extends HttpRequest> |
bindToRequest(R request,
Map<String,Object> postParams)
creates and binds the POST payload to the request using parameters specified.
|
<R extends HttpRequest> |
bindToRequest(R request,
Object input) |
protected abstract URI |
getEndpointOfResourceInVDC(Object org,
Object vDC,
Object resource,
VDC vDCObject) |
protected final com.google.common.base.Supplier<Map<String,Map<String,? extends VDC>>> orgVDCMap
protected final com.google.common.base.Supplier<ReferenceType> defaultOrg
protected final com.google.common.base.Supplier<ReferenceType> defaultVDC
@Inject public OrgNameVDCNameResourceNameToEndpoint(com.google.common.base.Supplier<Map<String,Map<String,? extends VDC>>> orgVDCMap, com.google.common.base.Supplier<ReferenceType> defaultOrg, com.google.common.base.Supplier<ReferenceType> defaultVDC)
public <R extends HttpRequest> R bindToRequest(R request, Map<String,Object> postParams)
MapBinder
bindToRequest
in interface MapBinder
PayloadParam
protected abstract URI getEndpointOfResourceInVDC(Object org, Object vDC, Object resource, VDC vDCObject)
public <R extends HttpRequest> R bindToRequest(R request, Object input)
bindToRequest
in interface Binder
Copyright © 2009-2013 jclouds. All Rights Reserved.