public abstract class AbstractConfig extends Object implements RestClientConfigProvider<Object>
Modifier and Type | Field and Description |
---|---|
protected String |
apiUrl
Base URL for the API.
|
protected javax.ws.rs.client.Client |
jerseyClient |
Constructor and Description |
---|
AbstractConfig() |
Modifier and Type | Method and Description |
---|---|
String |
getApiUrl() |
<T> com.mule.connectors.commons.rest.builder.handler.ResponseHandler<T> |
getResponseHandler() |
String |
restEndpointUrl() |
javax.ws.rs.client.Client |
rsClient() |
void |
setApiUrl(String apiUrl) |
@Configurable @Default(value="https://api.twilio.com/2010-04-01") @FriendlyName(value="API URL") protected String apiUrl
protected javax.ws.rs.client.Client jerseyClient
public javax.ws.rs.client.Client rsClient()
rsClient
in interface RestClientConfigProvider<Object>
public String restEndpointUrl()
restEndpointUrl
in interface RestClientConfigProvider<Object>
public <T> com.mule.connectors.commons.rest.builder.handler.ResponseHandler<T> getResponseHandler()
getResponseHandler
in interface RestClientConfigProvider<Object>
public String getApiUrl()
public void setApiUrl(String apiUrl)
Copyright © 2010–2019. All rights reserved.