public class BaseController extends Object
Modifier and Type | Field and Description |
---|---|
protected CatalogService |
catalogService |
Constructor and Description |
---|
BaseController(CatalogService catalogService) |
Modifier and Type | Method and Description |
---|---|
protected HttpStatus |
getAsyncResponseCode(AsyncServiceBrokerResponse response) |
protected ServiceDefinition |
getRequiredServiceDefinition(String serviceDefinitionId) |
protected ServiceDefinition |
getServiceDefinition(String serviceDefinitionId) |
protected Plan |
getServiceDefinitionPlan(ServiceDefinition serviceDefinition,
String planId) |
protected Context |
parseOriginatingIdentity(String originatingIdentityString) |
protected void |
setCommonRequestFields(AsyncServiceBrokerRequest request,
String platformInstanceId,
String apiInfoLocation,
String originatingIdentityString,
boolean asyncAccepted) |
protected void |
setCommonRequestFields(ServiceBrokerRequest request,
String platformInstanceId,
String apiInfoLocation,
String originatingIdentityString) |
protected CatalogService catalogService
public BaseController(CatalogService catalogService)
protected void setCommonRequestFields(ServiceBrokerRequest request, String platformInstanceId, String apiInfoLocation, String originatingIdentityString)
protected void setCommonRequestFields(AsyncServiceBrokerRequest request, String platformInstanceId, String apiInfoLocation, String originatingIdentityString, boolean asyncAccepted)
protected ServiceDefinition getRequiredServiceDefinition(String serviceDefinitionId)
protected ServiceDefinition getServiceDefinition(String serviceDefinitionId)
protected Plan getServiceDefinitionPlan(ServiceDefinition serviceDefinition, String planId)
protected Context parseOriginatingIdentity(String originatingIdentityString)
protected HttpStatus getAsyncResponseCode(AsyncServiceBrokerResponse response)