public class AhcComponent
extends org.apache.camel.impl.HeaderFilterStrategyComponent
| Constructor and Description |
|---|
AhcComponent() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
createAddressUri(String uri,
String remaining) |
protected AhcEndpoint |
createAhcEndpoint(String endpointUri,
AhcComponent component,
URI httpUri) |
protected org.apache.camel.Endpoint |
createEndpoint(String uri,
String remaining,
Map<String,Object> parameters) |
AhcBinding |
getBinding() |
com.ning.http.client.AsyncHttpClient |
getClient() |
com.ning.http.client.AsyncHttpClientConfig |
getClientConfig() |
org.apache.camel.util.jsse.SSLContextParameters |
getSslContextParameters() |
void |
setBinding(AhcBinding binding)
To use a custom
AhcBinding which allows to control how to bind between AHC and Camel. |
void |
setClient(com.ning.http.client.AsyncHttpClient client)
To use a custom
AsyncHttpClient |
void |
setClientConfig(com.ning.http.client.AsyncHttpClientConfig clientConfig)
To configure the AsyncHttpClient to use a custom com.ning.http.client.AsyncHttpClientConfig instance.
|
void |
setSslContextParameters(org.apache.camel.util.jsse.SSLContextParameters sslContextParameters)
Reference to a org.apache.camel.util.jsse.SSLContextParameters in the Registry.
|
getHeaderFilterStrategy, setEndpointHeaderFilterStrategy, setHeaderFilterStrategycreateComponentConfiguration, createParameterConfigurationMap, getEndpointClass, getParameterConfigurationMap, populateParameterConfigurationMap, setEndpointClassafterConfiguration, createConfiguration, createEndpoint, doStart, doStop, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, ifStartsWithReturnRemainder, preProcessUri, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURIprotected org.apache.camel.Endpoint createEndpoint(String uri, String remaining, Map<String,Object> parameters) throws Exception
createEndpoint in class org.apache.camel.impl.DefaultComponentExceptionpublic com.ning.http.client.AsyncHttpClient getClient()
public void setClient(com.ning.http.client.AsyncHttpClient client)
AsyncHttpClientpublic AhcBinding getBinding()
public void setBinding(AhcBinding binding)
AhcBinding which allows to control how to bind between AHC and Camel.public com.ning.http.client.AsyncHttpClientConfig getClientConfig()
public void setClientConfig(com.ning.http.client.AsyncHttpClientConfig clientConfig)
public org.apache.camel.util.jsse.SSLContextParameters getSslContextParameters()
public void setSslContextParameters(org.apache.camel.util.jsse.SSLContextParameters sslContextParameters)
protected AhcEndpoint createAhcEndpoint(String endpointUri, AhcComponent component, URI httpUri)
Apache Camel