public class Domains extends Object
| Constructor and Description |
|---|
Domains(String baseUrl,
javax.ws.rs.client.Client client) |
| Modifier and Type | Method and Description |
|---|---|
DomainId |
domainId(String domainId)
Access to the domain resource.
|
List<DomainsGETResponse> |
get(boolean verboseErrorsEnabled,
int readTimeout)
GET operation to retrieve the list of domains deployed.
|
DomainsPUTResponse |
put(DomainsPUTBody body,
boolean verboseErrorsEnabled,
int readTimeout)
PUT operation to deploy a tooling application not compressed.
|
DomainsPUTResponse |
put(InputStream body,
boolean verboseErrorsEnabled,
int readTimeout)
PUT operation to deploy a tooling application compressed from an
InputStream. |
public Domains(String baseUrl, javax.ws.rs.client.Client client)
public List<DomainsGETResponse> get(boolean verboseErrorsEnabled, int readTimeout) throws ToolingServiceAPIException
verboseErrorsEnabled - flag that defines if it has to be verbose the response in case of errors/failures.readTimeout - read timeout in millisecondsList of ApplicationsGETResponsesToolingServiceAPIException - if there was an error.public DomainsPUTResponse put(DomainsPUTBody body, boolean verboseErrorsEnabled, int readTimeout) throws ToolingServiceAPIException
body - DomainsPUTBody request body.verboseErrorsEnabled - flag that defines if it has to be verbose the response in case of errors/failures.readTimeout - read timeout in millisecondsDomainsPUTResponse for the deployed application.ToolingServiceAPIException - if there was an error.public DomainsPUTResponse put(InputStream body, boolean verboseErrorsEnabled, int readTimeout) throws ToolingServiceAPIException
InputStream.body - InputStream to read the content of the application zipped.verboseErrorsEnabled - flag that defines if it has to be verbose the response in case of errors/failures.readTimeout - read timeout in millisecondsDomainsPUTResponse for the deployed application.ToolingServiceAPIException - if there was an error.Copyright © 2019 MuleSoft, Inc.. All rights reserved.