public abstract class AsyncServiceBrokerRequest extends ServiceBrokerRequest
| Modifier and Type | Field and Description |
|---|---|
static String |
ASYNC_REQUEST_PARAMETER
Async request parameter key
|
protected boolean |
asyncAccepted |
API_INFO_LOCATION_HEADER, apiInfoLocation, BINDING_ID_PATH_VARIABLE, INSTANCE_ID_PATH_VARIABLE, ORIGINATING_IDENTITY_HEADER, originatingIdentity, PLAN_ID_PARAMETER, PLATFORM_INSTANCE_ID_VARIABLE, platformInstanceId, REQUEST_IDENTITY_HEADER, requestIdentity, SERVICE_ID_PARAMETER| Modifier | Constructor and Description |
|---|---|
protected |
AsyncServiceBrokerRequest()
Create a new AsyncServiceBrokerRequest
|
protected |
AsyncServiceBrokerRequest(boolean asyncAccepted,
String platformInstanceId,
String apiInfoLocation,
Context originatingIdentity,
String requestIdentity)
Create a new AsyncServiceBrokerRequest
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canEqual(Object other)
Is another object type compatible with this object
|
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isAsyncAccepted()
Get the value indicating whether the platform allows the broker to complete the request asynchronously.
|
void |
setAsyncAccepted(boolean asyncAccepted)
This method is intended to be used internally only; use a builder to construct an object of this type
and set all field values.
|
String |
toString() |
getApiInfoLocation, getOriginatingIdentity, getPlatformInstanceId, getRequestIdentity, setApiInfoLocation, setOriginatingIdentity, setPlatformInstanceId, setRequestIdentitypublic static final String ASYNC_REQUEST_PARAMETER
protected transient boolean asyncAccepted
protected AsyncServiceBrokerRequest()
protected AsyncServiceBrokerRequest(boolean asyncAccepted,
String platformInstanceId,
String apiInfoLocation,
Context originatingIdentity,
String requestIdentity)
asyncAccepted - does the platform accept asynchronous requestsplatformInstanceId - the platform instance IDapiInfoLocation - location of the API info endpoint of the platform instanceoriginatingIdentity - identity of the user that initiated the request from the platformrequestIdentity - identity of the request sent from the platformpublic boolean isAsyncAccepted()
This value is set from the async_accepted request parameter of the request from the platform.
A false value indicates that clients do not allow asynchronous processing of requests, a
true value indicates that clients do allow asynchronous processing.
public void setAsyncAccepted(boolean asyncAccepted)
asyncAccepted - the value indicating whether the platform allows the broker to complete the request
asynchronouslypublic boolean equals(Object o)
equals in class ServiceBrokerRequestpublic boolean canEqual(Object other)
ServiceBrokerRequestcanEqual in class ServiceBrokerRequestother - the other objectpublic int hashCode()
hashCode in class ServiceBrokerRequestpublic String toString()
toString in class ServiceBrokerRequest