public class AttachmentServiceAsyncClient extends AttachmentServiceClient implements AttachmentServiceAsync
credentialsProvider, exceptionUnmarshallers, executorService, signerclient, configuration, endpoint, requestHandlers, timeOffset| Constructor and Description |
|---|
AttachmentServiceAsyncClient()
Constructs a new client to invoke service method on AttachmentService using
the default qTest credentials provider and default client configuration options.
|
AttachmentServiceAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new client to invoke service method on AttachmentService using
the default qTest credentials provider and client configuration options.
|
AttachmentServiceAsyncClient(ClientConfiguration clientConfiguration,
java.util.concurrent.ExecutorService executorService)
Constructs a new client to invoke service method on AttachmentService using
the default qTest credentials provider and client configuration options.
|
AttachmentServiceAsyncClient(java.util.concurrent.ExecutorService executorService)
Constructs a new client to invoke service method on AttachmentService using
the default qTest credentials provider and default client configuration options.
|
AttachmentServiceAsyncClient(QTestCredentials credentials)
Constructs a new client to invoke service method on AttachmentService using
the specified qTest credentials.
|
AttachmentServiceAsyncClient(QTestCredentials credentials,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service method on AttachmentService using
the specified qTest credentials and client configuration options.
|
AttachmentServiceAsyncClient(QTestCredentials credentials,
ClientConfiguration clientConfiguration,
java.util.concurrent.ExecutorService executorService)
Constructs a new client to invoke service method on AttachmentService using
the specified qTest credentials and client configuration options.
|
AttachmentServiceAsyncClient(QTestCredentials credentials,
java.util.concurrent.ExecutorService executorService)
Constructs a new client to invoke service method on AttachmentService using
the specified qTest credentials.
|
AttachmentServiceAsyncClient(QTestCredentialsProvider credentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service method on AttachmentService using
the specified qTest credentials provider and client configuration options.
|
AttachmentServiceAsyncClient(QTestCredentialsProvider credentialsProvider,
ClientConfiguration clientConfiguration,
java.util.concurrent.ExecutorService executorService)
Constructs a new client to invoke service method on AttachmentService using
the specified qTest credentials provider and client configuration options.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.Future<Attachment> |
attachAsync(AttachmentRequest attachmentRequest)
Attachs the attach data.
|
java.util.concurrent.Future<Attachment> |
attachAsync(AttachmentRequest attachmentRequest,
AsyncHandler<AttachmentRequest,Attachment> asyncHandler)
Attachs the attach data.
|
attachinit, invoke, shutdown, withEndpointaddRequestHandler, createExecutionContext, createHttpAuthClient, getTimeOffset, removeRequestHandler, setConfiguration, setEndpoint, setTimeOffset, withConfiguration, withRequestHandler, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitattachsetEndpoint, shutdownpublic AttachmentServiceAsyncClient()
public AttachmentServiceAsyncClient(java.util.concurrent.ExecutorService executorService)
executorService - the executor service for executing asynchronous request.public AttachmentServiceAsyncClient(ClientConfiguration clientConfiguration)
clientConfiguration - The client configuration options controlling how this
client connects to AttachmentServicepublic AttachmentServiceAsyncClient(ClientConfiguration clientConfiguration, java.util.concurrent.ExecutorService executorService)
clientConfiguration - The client configuration options controlling how this
client connects to AttachmentService.executorService - the executor service for executing asynchronous request.public AttachmentServiceAsyncClient(QTestCredentials credentials)
credentials - The qTest credentials which will provide
credentials to authenticate request with qTest services.public AttachmentServiceAsyncClient(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 AttachmentServiceAsyncClient(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 AttachmentServicepublic AttachmentServiceAsyncClient(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 AttachmentServiceexecutorService - the executor service for executing asynchronous request.public AttachmentServiceAsyncClient(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 AttachmentServicepublic AttachmentServiceAsyncClient(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 AttachmentServiceexecutorService - the executor service for executing asynchronous request.public java.util.concurrent.Future<Attachment> attachAsync(AttachmentRequest attachmentRequest) throws AuthClientException
AttachmentServiceAsyncattachAsync in interface AttachmentServiceAsyncattachmentRequest - the given attachment request data.AuthClientException - if an error occurs during attach data.public java.util.concurrent.Future<Attachment> attachAsync(AttachmentRequest attachmentRequest, AsyncHandler<AttachmentRequest,Attachment> asyncHandler) throws AuthClientException
AttachmentServiceAsyncattachAsync in interface AttachmentServiceAsyncattachmentRequest - the given attachment request data.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.AuthClientException - if an error occurs during attach data.