public class AsyncServiceBrokerResponse extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
async |
protected String |
operation |
Modifier | Constructor and Description |
---|---|
protected |
AsyncServiceBrokerResponse(boolean async,
String operation)
Create a new AsyncServiceBrokerResponse
|
Modifier and Type | Method and Description |
---|---|
boolean |
canEqual(Object other)
Is another object type compatible with this object
|
boolean |
equals(Object o) |
String |
getOperation()
Get a description of the operation being performed in support of an asynchronous response.
|
int |
hashCode() |
boolean |
isAsync()
Get a boolean value indicating whether the requested operation is being performed synchronously or
asynchronously.
|
String |
toString() |
static void |
validateOperationLength(String operation)
Validate the length of the operation string to be within the 10,000 character limit
|
protected final boolean async
protected final String operation
protected AsyncServiceBrokerResponse(boolean async, String operation)
async
- is the operation asynchronousoperation
- an identifier representing the operation in progressIllegalArgumentException
- if operation length exceeds 10,000 characterspublic boolean isAsync()
public String getOperation()
public boolean canEqual(Object other)
other
- the other objectpublic static void validateOperationLength(String operation)
operation
- an identifier representing the operation in progressIllegalArgumentException
- if the operation is longer than 10,000 characters