Package | Description |
---|---|
org.apache.camel.component.ahc | |
org.apache.camel.component.ahc.helper |
Modifier and Type | Method and Description |
---|---|
protected AhcEndpoint |
AhcComponent.createAhcEndpoint(String endpointUri,
AhcComponent component,
URI httpUri) |
AhcEndpoint |
AhcProducer.getEndpoint() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultAhcBinding.onComplete(AhcEndpoint endpoint,
org.apache.camel.Exchange exchange,
String url,
ByteArrayOutputStream os,
int contentLength,
int statusCode,
String statusText) |
void |
AhcBinding.onComplete(AhcEndpoint endpoint,
org.apache.camel.Exchange exchange,
String url,
ByteArrayOutputStream os,
int contentLength,
int statusCode,
String statusText)
Callback from the
com.ning.http.client.AsyncHttpClient when complete and all the response has been received. |
void |
DefaultAhcBinding.onHeadersReceived(AhcEndpoint endpoint,
org.apache.camel.Exchange exchange,
io.netty.handler.codec.http.HttpHeaders headers) |
void |
AhcBinding.onHeadersReceived(AhcEndpoint endpoint,
org.apache.camel.Exchange exchange,
io.netty.handler.codec.http.HttpHeaders headers)
Callback from the
com.ning.http.client.AsyncHttpClient when the HTTP headers was received |
void |
DefaultAhcBinding.onStatusReceived(AhcEndpoint endpoint,
org.apache.camel.Exchange exchange,
org.asynchttpclient.HttpResponseStatus responseStatus) |
void |
AhcBinding.onStatusReceived(AhcEndpoint endpoint,
org.apache.camel.Exchange exchange,
org.asynchttpclient.HttpResponseStatus responseStatus)
Callback from the
com.ning.http.client.AsyncHttpClient when the HTTP response status was received |
void |
DefaultAhcBinding.onThrowable(AhcEndpoint endpoint,
org.apache.camel.Exchange exchange,
Throwable t) |
void |
AhcBinding.onThrowable(AhcEndpoint endpoint,
org.apache.camel.Exchange exchange,
Throwable t)
Callback from the
com.ning.http.client.AsyncHttpClient when an exception occurred sending the request. |
protected void |
DefaultAhcBinding.populateBody(org.asynchttpclient.RequestBuilder builder,
AhcEndpoint endpoint,
org.apache.camel.Exchange exchange) |
protected void |
DefaultAhcBinding.populateHeaders(org.asynchttpclient.RequestBuilder builder,
AhcEndpoint endpoint,
org.apache.camel.Exchange exchange,
URI uri) |
org.asynchttpclient.Request |
DefaultAhcBinding.prepareRequest(AhcEndpoint endpoint,
org.apache.camel.Exchange exchange) |
org.asynchttpclient.Request |
AhcBinding.prepareRequest(AhcEndpoint endpoint,
org.apache.camel.Exchange exchange)
Prepares the AHC
Request to be send. |
Constructor and Description |
---|
AhcProducer(AhcEndpoint endpoint) |
Modifier and Type | Method and Description |
---|---|
static URI |
AhcHelper.createURI(org.apache.camel.Exchange exchange,
String url,
AhcEndpoint endpoint)
Creates the URI to invoke.
|
static String |
AhcHelper.createURL(org.apache.camel.Exchange exchange,
AhcEndpoint endpoint)
Creates the URL to invoke.
|
Apache Camel