public class AttachmentServiceClient extends QTestApiWebServiceClient<AttachmentServiceClient> implements AttachmentService
credentialsProvider, exceptionUnmarshallers, executorService, signerclient, configuration, endpoint, requestHandlers, timeOffset| Constructor and Description |
|---|
AttachmentServiceClient()
Constructs a new client to invoke service method on AttachmentService using
the default qTest credentials provider and default client configuration options.
|
AttachmentServiceClient(ClientConfiguration clientConfiguration)
Constructs a new client to invoke service method on AttachmentService using
the default qTest credentials provider and client configuration options.
|
AttachmentServiceClient(QTestCredentials credentials)
Constructs a new client to invoke service method on AttachmentService using
the specified qTest credentials.
|
AttachmentServiceClient(QTestCredentials credentials,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service method on AttachmentService using
the specified qTest credentials and client configuration options.
|
AttachmentServiceClient(QTestCredentialsProvider credentialsProvider)
Constructs a new client to invoke service method on AttachmentService using
the specified qTest credentials provider and client configuration options.
|
AttachmentServiceClient(QTestCredentialsProvider credentialsProvider,
ClientConfiguration clientConfiguration)
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 |
|---|---|
Attachment |
attach(AttachmentRequest attachmentRequest)
Attaches data to qTest service.
|
init, invoke, shutdown, withEndpointaddRequestHandler, createExecutionContext, createHttpAuthClient, getTimeOffset, removeRequestHandler, setConfiguration, setEndpoint, setTimeOffset, withConfiguration, withRequestHandler, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetEndpoint, shutdownpublic AttachmentServiceClient()
public AttachmentServiceClient(ClientConfiguration clientConfiguration)
clientConfiguration - The client configuration options controlling how this
client connects to RequirementServicepublic AttachmentServiceClient(QTestCredentials credentials)
credentials - The qTest credentials which will provide
credentials to authenticate request with qTest services.public AttachmentServiceClient(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 RequirementServicepublic AttachmentServiceClient(QTestCredentialsProvider credentialsProvider)
credentialsProvider - The qTest credentials provider which will provide
credentials to authenticate request with qTest services.public AttachmentServiceClient(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 RequirementServicepublic Attachment attach(AttachmentRequest attachmentRequest) throws AuthServiceException
AttachmentServiceattach in interface AttachmentServiceattachmentRequest - the given attachment requestAuthServiceException - if an error occurs during attach data to qTest service.