Constructor and Description |
---|
OrgNameAndCatalogNameToEndpoint(com.google.common.base.Supplier<Map<String,Org>> orgMap,
com.google.common.base.Supplier<ReferenceType> defaultOrg,
com.google.common.base.Supplier<ReferenceType> defaultCatalog) |
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) |
@Inject public OrgNameAndCatalogNameToEndpoint(com.google.common.base.Supplier<Map<String,Org>> orgMap, com.google.common.base.Supplier<ReferenceType> defaultOrg, com.google.common.base.Supplier<ReferenceType> defaultCatalog)
public <R extends HttpRequest> R bindToRequest(R request, Map<String,Object> postParams)
MapBinder
bindToRequest
in interface MapBinder
PayloadParam
public <R extends HttpRequest> R bindToRequest(R request, Object input)
bindToRequest
in interface Binder
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.