public static interface AhcEndpointBuilderFactory.AhcEndpointBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
| Modifier and Type | Method and Description |
|---|---|
default AhcEndpointBuilderFactory.AdvancedAhcEndpointBuilder |
advanced() |
default AhcEndpointBuilderFactory.AhcEndpointBuilder |
bridgeEndpoint(boolean bridgeEndpoint)
If the option is true, then the Exchange.HTTP_URI header is ignored,
and use the endpoint's URI for request.
|
default AhcEndpointBuilderFactory.AhcEndpointBuilder |
bridgeEndpoint(String bridgeEndpoint)
If the option is true, then the Exchange.HTTP_URI header is ignored,
and use the endpoint's URI for request.
|
default AhcEndpointBuilderFactory.AhcEndpointBuilder |
bufferSize(int bufferSize)
The initial in-memory buffer size used when transferring data between
Camel and AHC Client.
|
default AhcEndpointBuilderFactory.AhcEndpointBuilder |
bufferSize(String bufferSize)
The initial in-memory buffer size used when transferring data between
Camel and AHC Client.
|
default AhcEndpointBuilderFactory.AhcEndpointBuilder |
connectionClose(boolean connectionClose)
Define if the Connection Close header has to be added to HTTP
Request.
|
default AhcEndpointBuilderFactory.AhcEndpointBuilder |
connectionClose(String connectionClose)
Define if the Connection Close header has to be added to HTTP
Request.
|
default AhcEndpointBuilderFactory.AhcEndpointBuilder |
cookieHandler(Object cookieHandler)
Configure a cookie handler to maintain a HTTP session.
|
default AhcEndpointBuilderFactory.AhcEndpointBuilder |
cookieHandler(String cookieHandler)
Configure a cookie handler to maintain a HTTP session.
|
default AhcEndpointBuilderFactory.AhcEndpointBuilder |
headerFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
To use a custom HeaderFilterStrategy to filter header to and from
Camel message.
|
default AhcEndpointBuilderFactory.AhcEndpointBuilder |
headerFilterStrategy(String headerFilterStrategy)
To use a custom HeaderFilterStrategy to filter header to and from
Camel message.
|
default AhcEndpointBuilderFactory.AhcEndpointBuilder |
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default AhcEndpointBuilderFactory.AhcEndpointBuilder |
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default AhcEndpointBuilderFactory.AhcEndpointBuilder |
sslContextParameters(Object sslContextParameters)
Reference to a org.apache.camel.support.jsse.SSLContextParameters in
the Registry.
|
default AhcEndpointBuilderFactory.AhcEndpointBuilder |
sslContextParameters(String sslContextParameters)
Reference to a org.apache.camel.support.jsse.SSLContextParameters in
the Registry.
|
default AhcEndpointBuilderFactory.AhcEndpointBuilder |
throwExceptionOnFailure(boolean throwExceptionOnFailure)
Option to disable throwing the AhcOperationFailedException in case of
failed responses from the remote server.
|
default AhcEndpointBuilderFactory.AhcEndpointBuilder |
throwExceptionOnFailure(String throwExceptionOnFailure)
Option to disable throwing the AhcOperationFailedException in case of
failed responses from the remote server.
|
default AhcEndpointBuilderFactory.AhcEndpointBuilder |
transferException(boolean transferException)
If enabled and an Exchange failed processing on the consumer side,
and if the caused Exception was send back serialized in the response
as a application/x-java-serialized-object content type (for example
using Jetty or Servlet Camel components).
|
default AhcEndpointBuilderFactory.AhcEndpointBuilder |
transferException(String transferException)
If enabled and an Exchange failed processing on the consumer side,
and if the caused Exception was send back serialized in the response
as a application/x-java-serialized-object content type (for example
using Jetty or Servlet Camel components).
|
default AhcEndpointBuilderFactory.AdvancedAhcEndpointBuilder advanced()
default AhcEndpointBuilderFactory.AhcEndpointBuilder bridgeEndpoint(boolean bridgeEndpoint)
boolean type.
Default: false
Group: producerdefault AhcEndpointBuilderFactory.AhcEndpointBuilder bridgeEndpoint(String bridgeEndpoint)
boolean type.
Default: false
Group: producerdefault AhcEndpointBuilderFactory.AhcEndpointBuilder bufferSize(int bufferSize)
int type.
Default: 4096
Group: producerdefault AhcEndpointBuilderFactory.AhcEndpointBuilder bufferSize(String bufferSize)
int type.
Default: 4096
Group: producerdefault AhcEndpointBuilderFactory.AhcEndpointBuilder connectionClose(boolean connectionClose)
boolean type.
Default: false
Group: producerdefault AhcEndpointBuilderFactory.AhcEndpointBuilder connectionClose(String connectionClose)
boolean type.
Default: false
Group: producerdefault AhcEndpointBuilderFactory.AhcEndpointBuilder cookieHandler(Object cookieHandler)
org.apache.camel.http.base.cookie.CookieHandler type.
Group: producerdefault AhcEndpointBuilderFactory.AhcEndpointBuilder cookieHandler(String cookieHandler)
org.apache.camel.http.base.cookie.CookieHandler type.
Group: producerdefault AhcEndpointBuilderFactory.AhcEndpointBuilder headerFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
org.apache.camel.spi.HeaderFilterStrategy type.
Group: producerdefault AhcEndpointBuilderFactory.AhcEndpointBuilder headerFilterStrategy(String headerFilterStrategy)
org.apache.camel.spi.HeaderFilterStrategy type.
Group: producerdefault AhcEndpointBuilderFactory.AhcEndpointBuilder lazyStartProducer(boolean lazyStartProducer)
boolean type.
Default: false
Group: producerdefault AhcEndpointBuilderFactory.AhcEndpointBuilder lazyStartProducer(String lazyStartProducer)
boolean type.
Default: false
Group: producerdefault AhcEndpointBuilderFactory.AhcEndpointBuilder throwExceptionOnFailure(boolean throwExceptionOnFailure)
boolean type.
Default: true
Group: producerdefault AhcEndpointBuilderFactory.AhcEndpointBuilder throwExceptionOnFailure(String throwExceptionOnFailure)
boolean type.
Default: true
Group: producerdefault AhcEndpointBuilderFactory.AhcEndpointBuilder transferException(boolean transferException)
boolean type.
Default: false
Group: producerdefault AhcEndpointBuilderFactory.AhcEndpointBuilder transferException(String transferException)
boolean type.
Default: false
Group: producerdefault AhcEndpointBuilderFactory.AhcEndpointBuilder sslContextParameters(Object sslContextParameters)
org.apache.camel.support.jsse.SSLContextParameters type.
Group: securitydefault AhcEndpointBuilderFactory.AhcEndpointBuilder sslContextParameters(String sslContextParameters)
org.apache.camel.support.jsse.SSLContextParameters type.
Group: securityApache Camel