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 |
protected org.slf4j.Logger |
logger |
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) |
protected final org.slf4j.Logger logger
@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–2017. All rights reserved.