public class ClientServiceAsyncClient extends ClientServiceClient implements ClientServiceAsync
credentialsProvider, exceptionUnmarshallers, executorService, signerclient, configuration, endpoint, requestHandlers, timeOffset| Constructor and Description |
|---|
ClientServiceAsyncClient()
Constructs a new client to invoke service method on ClientService using
the default qTest credentials provider and default client configuration options.
|
ClientServiceAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new client to invoke service method on ClientService using
the default qTest credentials provider and client configuration options.
|
ClientServiceAsyncClient(ClientConfiguration clientConfiguration,
java.util.concurrent.ExecutorService executorService)
Constructs a new client to invoke service method on ClientService using
the default qTest credentials provider and client configuration options.
|
ClientServiceAsyncClient(java.util.concurrent.ExecutorService executorService)
Constructs a new client to invoke service method on ClientService using
the default qTest credentials provider and default client configuration options.
|
ClientServiceAsyncClient(QTestCredentials credentials)
Constructs a new client to invoke service method on ClientService using
the specified qTest credentials.
|
ClientServiceAsyncClient(QTestCredentials credentials,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service method on ClientService using
the specified qTest credentials and client configuration options.
|
ClientServiceAsyncClient(QTestCredentials credentials,
ClientConfiguration clientConfiguration,
java.util.concurrent.ExecutorService executorService)
Constructs a new client to invoke service method on ClientService using
the specified qTest credentials and client configuration options.
|
ClientServiceAsyncClient(QTestCredentials credentials,
java.util.concurrent.ExecutorService executorService)
Constructs a new client to invoke service method on ClientService using
the specified qTest credentials.
|
ClientServiceAsyncClient(QTestCredentialsProvider credentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service method on ClientService using
the specified qTest credentials provider and client configuration options.
|
ClientServiceAsyncClient(QTestCredentialsProvider credentialsProvider,
ClientConfiguration clientConfiguration,
java.util.concurrent.ExecutorService executorService)
Constructs a new client to invoke service method on ClientService using
the specified qTest credentials provider and client configuration options.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.Future<Client> |
getClientAsync(GetClientRequest getClientRequest)
Get client from the given
client request instance. |
java.util.concurrent.Future<Client> |
getClientAsync(GetClientRequest getClientRequest,
AsyncHandler<GetClientRequest,Client> asyncHandler)
Get client from the given
client request instance. |
java.util.concurrent.Future<java.lang.Void> |
setSessionUrlAsync(SetSessionUrlRequest setSessionUrlRequest)
Sets the session URL from the given
set session URL |
java.util.concurrent.Future<java.lang.Void> |
setSessionUrlAsync(SetSessionUrlRequest setSessionUrlRequest,
AsyncHandler<SetSessionUrlRequest,java.lang.Void> asyncHandler)
Sets the session URL from the given
set session URL |
void |
shutdown()
Shutdown this client object, release any resources that might be held
open.
|
getClient, setSessionUrlinit, invoke, withEndpointaddRequestHandler, createExecutionContext, createHttpAuthClient, getTimeOffset, removeRequestHandler, setConfiguration, setEndpoint, setTimeOffset, withConfiguration, withRequestHandler, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetClient, setSessionUrlsetEndpointpublic ClientServiceAsyncClient()
public ClientServiceAsyncClient(java.util.concurrent.ExecutorService executorService)
executorService - the executor service for executing asynchronous request.public ClientServiceAsyncClient(ClientConfiguration clientConfiguration)
clientConfiguration - The client configuration options controlling how this
client connects to ClientServicepublic ClientServiceAsyncClient(ClientConfiguration clientConfiguration, java.util.concurrent.ExecutorService executorService)
clientConfiguration - The client configuration options controlling how this
client connects to ClientService.executorService - the executor service for executing asynchronous request.public ClientServiceAsyncClient(QTestCredentials credentials)
credentials - The qTest credentials which will provide
credentials to authenticate request with qTest services.public ClientServiceAsyncClient(QTestCredentials credentials, java.util.concurrent.ExecutorService executorService)
credentials - The qTest credentials which will provide
credentials to authenticate request with qTest services.executorService - the executor service for executing asynchronous request.public ClientServiceAsyncClient(QTestCredentials credentials, ClientConfiguration clientConfiguration)
credentials - The qTest credentials which will provide
credentials to authenticate request with qTest services.clientConfiguration - The client configuration options controlling how this
client connects to ClientServicepublic ClientServiceAsyncClient(QTestCredentials credentials, ClientConfiguration clientConfiguration, java.util.concurrent.ExecutorService executorService)
credentials - The qTest credentials which will provide
credentials to authenticate request with qTest services.clientConfiguration - The client configuration options controlling how this
client connects to ClientServiceexecutorService - the executor service for executing asynchronous request.public ClientServiceAsyncClient(QTestCredentialsProvider credentialsProvider, ClientConfiguration clientConfiguration)
credentialsProvider - The qTest credentials provider which will provide
credentials to authenticate request with qTest services.clientConfiguration - The client configuration options controlling how this
client connects to ClientServicepublic ClientServiceAsyncClient(QTestCredentialsProvider credentialsProvider, ClientConfiguration clientConfiguration, java.util.concurrent.ExecutorService executorService)
credentialsProvider - The qTest credentials provider which will provide
credentials to authenticate request with qTest services.clientConfiguration - The client configuration options controlling how this
client connects to ClientServiceexecutorService - the executor service for executing asynchronous request.public java.util.concurrent.Future<Client> getClientAsync(GetClientRequest getClientRequest) throws AuthServiceException
ClientServiceAsyncclient request instance.getClientAsync in interface ClientServiceAsyncgetClientRequest - the given client request instance.Client instance.AuthServiceException - if an error occurs during getting client.public java.util.concurrent.Future<Client> getClientAsync(GetClientRequest getClientRequest, AsyncHandler<GetClientRequest,Client> asyncHandler) throws AuthServiceException
ClientServiceAsyncclient request instance.getClientAsync in interface ClientServiceAsyncgetClientRequest - the given client request instance.asyncHandler - callback handler for events in the life-cycle of the request.
Users could provide the implementation of the for callback
methods in this interface to process the operation result or
handle the exception.Client instance.AuthServiceException - if an error occurs during getting client.public java.util.concurrent.Future<java.lang.Void> setSessionUrlAsync(SetSessionUrlRequest setSessionUrlRequest) throws AuthServiceException
ClientServiceAsyncset session URLsetSessionUrlAsync in interface ClientServiceAsyncsetSessionUrlRequest - the given set session URL request instance.AuthServiceException - if an error occurs during set session URL.public java.util.concurrent.Future<java.lang.Void> setSessionUrlAsync(SetSessionUrlRequest setSessionUrlRequest, AsyncHandler<SetSessionUrlRequest,java.lang.Void> asyncHandler) throws AuthServiceException
ClientServiceAsyncset session URLsetSessionUrlAsync in interface ClientServiceAsyncsetSessionUrlRequest - the given set session URL request instance.asyncHandler - callback handler for events in the life-cycle of the request.
Users could provide the implementation of the for callback
methods in this interface to process the operation result or
handle the exception.AuthServiceException - if an error occurs during set session URL.public void shutdown()
ApiWebServiceClientshutdown in interface QTestServiceshutdown in class QTestApiWebServiceClient<ClientServiceClient>