public class ResponseStub extends com.vmware.vapi.internal.bindings.Stub implements Response
Response
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
ResponseStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
ResponseStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config) |
| Modifier and Type | Method and Description |
|---|---|
void |
get(java.lang.String taskId)
Read asynchronous task response
|
void |
get(java.lang.String taskId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Read asynchronous task response
|
void |
get(java.lang.String taskId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read asynchronous task response
|
void |
get(java.lang.String taskId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read asynchronous task response
|
public ResponseStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config)
public ResponseStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config)
public void get(java.lang.String taskId)
ResponseSynchronous method overload. Result of the invocation will be reported as a method return value.
public void get(java.lang.String taskId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ResponseSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
public void get(java.lang.String taskId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
ResponseAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
ConcurrentChange - Conflict
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error, Bad Gateway
NotFound - Not Found, Gone
public void get(java.lang.String taskId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ResponseAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Errors:
ConcurrentChange - Conflict
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error, Bad Gateway
NotFound - Not Found, Gone