public class Connection extends Object
| Constructor and Description |
|---|
Connection(String baseUrl,
javax.ws.rs.client.Client client) |
| Modifier and Type | Method and Description |
|---|---|
ConnectivityTestingResponse |
get(boolean verboseErrorsEnabled,
int readTimeout)
GET operation, does connectivity testing over the componentId for the application.
|
ConnectivityTestingResponse |
put(com.mulesoft.agent.external.handlers.tooling.TestConnectionRequest request,
boolean verboseErrorsEnabled,
int readTimeout) |
public Connection(String baseUrl, javax.ws.rs.client.Client client)
public ConnectivityTestingResponse get(boolean verboseErrorsEnabled, int readTimeout) throws ToolingServiceAPIException
verboseErrorsEnabled - flag that defines if it has to be verbose the response in case of errors/failures.verboseErrorsEnabled - ConnectivityTestingResponse with the response.ToolingServiceAPIException - if there was an error.public ConnectivityTestingResponse put(com.mulesoft.agent.external.handlers.tooling.TestConnectionRequest request, boolean verboseErrorsEnabled, int readTimeout) throws ToolingServiceAPIException
ToolingServiceAPIExceptionCopyright © 2017 MuleSoft, Inc.. All rights reserved.