Class ResponseStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.tasks.ResponseStub
-
- All Implemented Interfaces:
Response
,ResponseTypes
,com.vmware.vapi.bindings.Service
public class ResponseStub extends com.vmware.vapi.internal.bindings.Stub implements Response
Remote stub implementation of theResponse
API service.WARNING: Internal class, subject to change in future versions.
-
-
Field Summary
-
Fields inherited from class com.vmware.vapi.internal.bindings.Stub
apiProvider, converter, ifaceId, retryPolicy, securityContext
-
Fields inherited from interface com.vmware.nsx_policy.tasks.ResponseTypes
_VAPI_SERVICE_ID
-
-
Constructor Summary
Constructors Constructor 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.vmware.vapi.bindings.Structure
get(java.lang.String taskId)
Get the response of a taskvoid
get(java.lang.String taskId, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Get the response of a taskvoid
get(java.lang.String taskId, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the response of a taskcom.vmware.vapi.bindings.Structure
get(java.lang.String taskId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the response of a task
-
-
-
Constructor Detail
-
ResponseStub
public ResponseStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
ResponseStub
public ResponseStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
-
-
Method Detail
-
get
public com.vmware.vapi.bindings.Structure get(java.lang.String taskId)
Description copied from interface:Response
Get the response of a taskSynchronous method overload. Result of the invocation will be reported as a method return value.
-
get
public com.vmware.vapi.bindings.Structure get(java.lang.String taskId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Response
Get the response of a taskSynchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.
-
get
public void get(java.lang.String taskId, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Description copied from interface:Response
Get the response of a taskAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
DynamicStructureOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
-
get
public void get(java.lang.String taskId, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Response
Get the response of a taskAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
DynamicStructureOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
-
-