Interface NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder,org.apache.camel.EndpointConsumerResolver,org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver,NettyHttpEndpointBuilderFactory.NettyHttpEndpointConsumerBuilder,NettyHttpEndpointBuilderFactory.NettyHttpEndpointProducerBuilder
- Enclosing interface:
- NettyHttpEndpointBuilderFactory
public static interface NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilder extends NettyHttpEndpointBuilderFactory.NettyHttpEndpointConsumerBuilder, NettyHttpEndpointBuilderFactory.NettyHttpEndpointProducerBuilder
Builder for endpoint for the Netty HTTP component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointBuilderadvanced()default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilderbridgeEndpoint(boolean bridgeEndpoint)If the option is true, the producer will ignore the Exchange.HTTP_URI header, and use the endpoint's URI for request.default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilderbridgeEndpoint(String bridgeEndpoint)If the option is true, the producer will ignore the Exchange.HTTP_URI header, and use the endpoint's URI for request.default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilderdecoders(String decoders)A list of decoders to be used.default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilderdisconnect(boolean disconnect)Whether or not to disconnect(close) from Netty Channel right after use.default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilderdisconnect(String disconnect)Whether or not to disconnect(close) from Netty Channel right after use.default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilderenabledProtocols(String enabledProtocols)Which protocols to enable when using SSL.default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilderencoders(String encoders)A list of encoders to be used.default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilderhostnameVerification(boolean hostnameVerification)To enable/disable hostname verification on SSLEngine.default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilderhostnameVerification(String hostnameVerification)To enable/disable hostname verification on SSLEngine.default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilderkeepAlive(boolean keepAlive)Setting to ensure socket is not closed due to inactivity.default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilderkeepAlive(String keepAlive)Setting to ensure socket is not closed due to inactivity.default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilderkeyStoreFile(File keyStoreFile)Client side certificate keystore to be used for encryption.default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilderkeyStoreFile(String keyStoreFile)Client side certificate keystore to be used for encryption.default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilderkeyStoreFormat(String keyStoreFormat)Keystore format to be used for payload encryption.default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilderkeyStoreResource(String keyStoreResource)Client side certificate keystore to be used for encryption.default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilderpassphrase(String passphrase)Password setting to use in order to encrypt/decrypt payloads sent using SSH.default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilderreuseAddress(boolean reuseAddress)Setting to facilitate socket multiplexing.default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilderreuseAddress(String reuseAddress)Setting to facilitate socket multiplexing.default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilderreuseChannel(boolean reuseChannel)This option allows producers and consumers (in client mode) to reuse the same Netty Channel for the lifecycle of processing the Exchange.default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilderreuseChannel(String reuseChannel)This option allows producers and consumers (in client mode) to reuse the same Netty Channel for the lifecycle of processing the Exchange.default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuildersecurityProvider(String securityProvider)Security provider to be used for payload encryption.default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilderssl(boolean ssl)Setting to specify whether SSL encryption is applied to this endpoint.default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilderssl(String ssl)Setting to specify whether SSL encryption is applied to this endpoint.default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuildersslClientCertHeaders(boolean sslClientCertHeaders)When enabled and in SSL mode, then the Netty consumer will enrich the Camel Message with headers having information about the client certificate such as subject name, issuer name, serial number, and the valid date range.default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuildersslClientCertHeaders(String sslClientCertHeaders)When enabled and in SSL mode, then the Netty consumer will enrich the Camel Message with headers having information about the client certificate such as subject name, issuer name, serial number, and the valid date range.default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuildersslContextParameters(String sslContextParameters)To configure security using SSLContextParameters.default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuildersslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)To configure security using SSLContextParameters.default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuildersslHandler(io.netty.handler.ssl.SslHandler sslHandler)Reference to a class that could be used to return an SSL Handler.default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuildersslHandler(String sslHandler)Reference to a class that could be used to return an SSL Handler.default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuildersync(boolean sync)Setting to set endpoint as one-way or request-response.default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuildersync(String sync)Setting to set endpoint as one-way or request-response.default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuildertcpNoDelay(boolean tcpNoDelay)Setting to improve TCP protocol performance.default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuildertcpNoDelay(String tcpNoDelay)Setting to improve TCP protocol performance.default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuildertrustStoreFile(File trustStoreFile)Server side certificate keystore to be used for encryption.default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuildertrustStoreFile(String trustStoreFile)Server side certificate keystore to be used for encryption.default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuildertrustStoreResource(String trustStoreResource)Server side certificate keystore to be used for encryption.-
Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getUri
-
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getUri
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.NettyHttpEndpointBuilderFactory.NettyHttpEndpointConsumerBuilder
bridgeErrorHandler, bridgeErrorHandler, matchOnUriPrefix, matchOnUriPrefix, muteException, muteException, needClientAuth, needClientAuth, securityConfiguration, securityConfiguration, securityOptions, securityOptions, send503whenSuspended, send503whenSuspended
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.NettyHttpEndpointBuilderFactory.NettyHttpEndpointProducerBuilder
connectTimeout, connectTimeout, cookieHandler, cookieHandler, lazyStartProducer, lazyStartProducer, requestTimeout, requestTimeout, throwExceptionOnFailure, throwExceptionOnFailure
-
-
-
-
Method Detail
-
advanced
default NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointBuilder advanced()
- Specified by:
advancedin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointConsumerBuilder- Specified by:
advancedin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointProducerBuilder
-
bridgeEndpoint
default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilder bridgeEndpoint(boolean bridgeEndpoint)
If the option is true, the producer will ignore the Exchange.HTTP_URI header, and use the endpoint's URI for request. You may also set the throwExceptionOnFailure to be false to let the producer send all the fault response back. The consumer working in the bridge mode will skip the gzip compression and WWW URL form encoding (by adding the Exchange.SKIP_GZIP_ENCODING and Exchange.SKIP_WWW_FORM_URLENCODED headers to the consumed exchange). The option is a: <code>boolean</code> type. Default: false Group: common- Specified by:
bridgeEndpointin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointConsumerBuilder- Specified by:
bridgeEndpointin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointProducerBuilder- Parameters:
bridgeEndpoint- the value to set- Returns:
- the dsl builder
-
bridgeEndpoint
default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilder bridgeEndpoint(String bridgeEndpoint)
If the option is true, the producer will ignore the Exchange.HTTP_URI header, and use the endpoint's URI for request. You may also set the throwExceptionOnFailure to be false to let the producer send all the fault response back. The consumer working in the bridge mode will skip the gzip compression and WWW URL form encoding (by adding the Exchange.SKIP_GZIP_ENCODING and Exchange.SKIP_WWW_FORM_URLENCODED headers to the consumed exchange). The option will be converted to a <code>boolean</code> type. Default: false Group: common- Specified by:
bridgeEndpointin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointConsumerBuilder- Specified by:
bridgeEndpointin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointProducerBuilder- Parameters:
bridgeEndpoint- the value to set- Returns:
- the dsl builder
-
disconnect
default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilder disconnect(boolean disconnect)
Whether or not to disconnect(close) from Netty Channel right after use. Can be used for both consumer and producer. The option is a: <code>boolean</code> type. Default: false Group: common- Specified by:
disconnectin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointConsumerBuilder- Specified by:
disconnectin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointProducerBuilder- Parameters:
disconnect- the value to set- Returns:
- the dsl builder
-
disconnect
default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilder disconnect(String disconnect)
Whether or not to disconnect(close) from Netty Channel right after use. Can be used for both consumer and producer. The option will be converted to a <code>boolean</code> type. Default: false Group: common- Specified by:
disconnectin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointConsumerBuilder- Specified by:
disconnectin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointProducerBuilder- Parameters:
disconnect- the value to set- Returns:
- the dsl builder
-
keepAlive
default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilder keepAlive(boolean keepAlive)
Setting to ensure socket is not closed due to inactivity. The option is a: <code>boolean</code> type. Default: true Group: common- Specified by:
keepAlivein interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointConsumerBuilder- Specified by:
keepAlivein interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointProducerBuilder- Parameters:
keepAlive- the value to set- Returns:
- the dsl builder
-
keepAlive
default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilder keepAlive(String keepAlive)
Setting to ensure socket is not closed due to inactivity. The option will be converted to a <code>boolean</code> type. Default: true Group: common- Specified by:
keepAlivein interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointConsumerBuilder- Specified by:
keepAlivein interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointProducerBuilder- Parameters:
keepAlive- the value to set- Returns:
- the dsl builder
-
reuseAddress
default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilder reuseAddress(boolean reuseAddress)
Setting to facilitate socket multiplexing. The option is a: <code>boolean</code> type. Default: true Group: common- Specified by:
reuseAddressin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointConsumerBuilder- Specified by:
reuseAddressin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointProducerBuilder- Parameters:
reuseAddress- the value to set- Returns:
- the dsl builder
-
reuseAddress
default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilder reuseAddress(String reuseAddress)
Setting to facilitate socket multiplexing. The option will be converted to a <code>boolean</code> type. Default: true Group: common- Specified by:
reuseAddressin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointConsumerBuilder- Specified by:
reuseAddressin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointProducerBuilder- Parameters:
reuseAddress- the value to set- Returns:
- the dsl builder
-
reuseChannel
default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilder reuseChannel(boolean reuseChannel)
This option allows producers and consumers (in client mode) to reuse the same Netty Channel for the lifecycle of processing the Exchange. This is useful if you need to call a server multiple times in a Camel route and want to use the same network connection. When using this, the channel is not returned to the connection pool until the Exchange is done; or disconnected if the disconnect option is set to true. The reused Channel is stored on the Exchange as an exchange property with the key NettyConstants#NETTY_CHANNEL which allows you to obtain the channel during routing and use it as well. The option is a: <code>boolean</code> type. Default: false Group: common- Specified by:
reuseChannelin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointConsumerBuilder- Specified by:
reuseChannelin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointProducerBuilder- Parameters:
reuseChannel- the value to set- Returns:
- the dsl builder
-
reuseChannel
default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilder reuseChannel(String reuseChannel)
This option allows producers and consumers (in client mode) to reuse the same Netty Channel for the lifecycle of processing the Exchange. This is useful if you need to call a server multiple times in a Camel route and want to use the same network connection. When using this, the channel is not returned to the connection pool until the Exchange is done; or disconnected if the disconnect option is set to true. The reused Channel is stored on the Exchange as an exchange property with the key NettyConstants#NETTY_CHANNEL which allows you to obtain the channel during routing and use it as well. The option will be converted to a <code>boolean</code> type. Default: false Group: common- Specified by:
reuseChannelin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointConsumerBuilder- Specified by:
reuseChannelin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointProducerBuilder- Parameters:
reuseChannel- the value to set- Returns:
- the dsl builder
-
sync
default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilder sync(boolean sync)
Setting to set endpoint as one-way or request-response. The option is a: <code>boolean</code> type. Default: true Group: common- Specified by:
syncin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointConsumerBuilder- Specified by:
syncin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointProducerBuilder- Parameters:
sync- the value to set- Returns:
- the dsl builder
-
sync
default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilder sync(String sync)
Setting to set endpoint as one-way or request-response. The option will be converted to a <code>boolean</code> type. Default: true Group: common- Specified by:
syncin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointConsumerBuilder- Specified by:
syncin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointProducerBuilder- Parameters:
sync- the value to set- Returns:
- the dsl builder
-
tcpNoDelay
default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilder tcpNoDelay(boolean tcpNoDelay)
Setting to improve TCP protocol performance. The option is a: <code>boolean</code> type. Default: true Group: common- Specified by:
tcpNoDelayin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointConsumerBuilder- Specified by:
tcpNoDelayin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointProducerBuilder- Parameters:
tcpNoDelay- the value to set- Returns:
- the dsl builder
-
tcpNoDelay
default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilder tcpNoDelay(String tcpNoDelay)
Setting to improve TCP protocol performance. The option will be converted to a <code>boolean</code> type. Default: true Group: common- Specified by:
tcpNoDelayin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointConsumerBuilder- Specified by:
tcpNoDelayin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointProducerBuilder- Parameters:
tcpNoDelay- the value to set- Returns:
- the dsl builder
-
hostnameVerification
default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilder hostnameVerification(boolean hostnameVerification)
To enable/disable hostname verification on SSLEngine. The option is a: <code>boolean</code> type. Default: false Group: security- Specified by:
hostnameVerificationin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointConsumerBuilder- Specified by:
hostnameVerificationin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointProducerBuilder- Parameters:
hostnameVerification- the value to set- Returns:
- the dsl builder
-
hostnameVerification
default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilder hostnameVerification(String hostnameVerification)
To enable/disable hostname verification on SSLEngine. The option will be converted to a <code>boolean</code> type. Default: false Group: security- Specified by:
hostnameVerificationin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointConsumerBuilder- Specified by:
hostnameVerificationin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointProducerBuilder- Parameters:
hostnameVerification- the value to set- Returns:
- the dsl builder
-
decoders
default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilder decoders(String decoders)
A list of decoders to be used. You can use a String which have values separated by comma, and have the values be looked up in the Registry. Just remember to prefix the value with # so Camel knows it should lookup. The option is a: <code>java.lang.String</code> type. Group: codec- Specified by:
decodersin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointConsumerBuilder- Specified by:
decodersin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointProducerBuilder- Parameters:
decoders- the value to set- Returns:
- the dsl builder
-
encoders
default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilder encoders(String encoders)
A list of encoders to be used. You can use a String which have values separated by comma, and have the values be looked up in the Registry. Just remember to prefix the value with # so Camel knows it should lookup. The option is a: <code>java.lang.String</code> type. Group: codec- Specified by:
encodersin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointConsumerBuilder- Specified by:
encodersin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointProducerBuilder- Parameters:
encoders- the value to set- Returns:
- the dsl builder
-
enabledProtocols
default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilder enabledProtocols(String enabledProtocols)
Which protocols to enable when using SSL. The option is a: <code>java.lang.String</code> type. Default: TLSv1,TLSv1.1,TLSv1.2 Group: security- Specified by:
enabledProtocolsin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointConsumerBuilder- Specified by:
enabledProtocolsin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointProducerBuilder- Parameters:
enabledProtocols- the value to set- Returns:
- the dsl builder
-
keyStoreFile
default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilder keyStoreFile(File keyStoreFile)
Client side certificate keystore to be used for encryption. The option is a: <code>java.io.File</code> type. Group: security- Specified by:
keyStoreFilein interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointConsumerBuilder- Specified by:
keyStoreFilein interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointProducerBuilder- Parameters:
keyStoreFile- the value to set- Returns:
- the dsl builder
-
keyStoreFile
default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilder keyStoreFile(String keyStoreFile)
Client side certificate keystore to be used for encryption. The option will be converted to a <code>java.io.File</code> type. Group: security- Specified by:
keyStoreFilein interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointConsumerBuilder- Specified by:
keyStoreFilein interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointProducerBuilder- Parameters:
keyStoreFile- the value to set- Returns:
- the dsl builder
-
keyStoreFormat
default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilder keyStoreFormat(String keyStoreFormat)
Keystore format to be used for payload encryption. Defaults to JKS if not set. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
keyStoreFormatin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointConsumerBuilder- Specified by:
keyStoreFormatin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointProducerBuilder- Parameters:
keyStoreFormat- the value to set- Returns:
- the dsl builder
-
keyStoreResource
default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilder keyStoreResource(String keyStoreResource)
Client side certificate keystore to be used for encryption. Is loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
keyStoreResourcein interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointConsumerBuilder- Specified by:
keyStoreResourcein interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointProducerBuilder- Parameters:
keyStoreResource- the value to set- Returns:
- the dsl builder
-
passphrase
default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilder passphrase(String passphrase)
Password setting to use in order to encrypt/decrypt payloads sent using SSH. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
passphrasein interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointConsumerBuilder- Specified by:
passphrasein interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointProducerBuilder- Parameters:
passphrase- the value to set- Returns:
- the dsl builder
-
securityProvider
default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilder securityProvider(String securityProvider)
Security provider to be used for payload encryption. Defaults to SunX509 if not set. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
securityProviderin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointConsumerBuilder- Specified by:
securityProviderin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointProducerBuilder- Parameters:
securityProvider- the value to set- Returns:
- the dsl builder
-
ssl
default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilder ssl(boolean ssl)
Setting to specify whether SSL encryption is applied to this endpoint. The option is a: <code>boolean</code> type. Default: false Group: security- Specified by:
sslin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointConsumerBuilder- Specified by:
sslin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointProducerBuilder- Parameters:
ssl- the value to set- Returns:
- the dsl builder
-
ssl
default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilder ssl(String ssl)
Setting to specify whether SSL encryption is applied to this endpoint. The option will be converted to a <code>boolean</code> type. Default: false Group: security- Specified by:
sslin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointConsumerBuilder- Specified by:
sslin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointProducerBuilder- Parameters:
ssl- the value to set- Returns:
- the dsl builder
-
sslClientCertHeaders
default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilder sslClientCertHeaders(boolean sslClientCertHeaders)
When enabled and in SSL mode, then the Netty consumer will enrich the Camel Message with headers having information about the client certificate such as subject name, issuer name, serial number, and the valid date range. The option is a: <code>boolean</code> type. Default: false Group: security- Specified by:
sslClientCertHeadersin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointConsumerBuilder- Specified by:
sslClientCertHeadersin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointProducerBuilder- Parameters:
sslClientCertHeaders- the value to set- Returns:
- the dsl builder
-
sslClientCertHeaders
default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilder sslClientCertHeaders(String sslClientCertHeaders)
When enabled and in SSL mode, then the Netty consumer will enrich the Camel Message with headers having information about the client certificate such as subject name, issuer name, serial number, and the valid date range. The option will be converted to a <code>boolean</code> type. Default: false Group: security- Specified by:
sslClientCertHeadersin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointConsumerBuilder- Specified by:
sslClientCertHeadersin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointProducerBuilder- Parameters:
sslClientCertHeaders- the value to set- Returns:
- the dsl builder
-
sslContextParameters
default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilder sslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
To configure security using SSLContextParameters. The option is a: <code>org.apache.camel.support.jsse.SSLContextParameters</code> type. Group: security- Specified by:
sslContextParametersin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointConsumerBuilder- Specified by:
sslContextParametersin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointProducerBuilder- Parameters:
sslContextParameters- the value to set- Returns:
- the dsl builder
-
sslContextParameters
default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilder sslContextParameters(String sslContextParameters)
To configure security using SSLContextParameters. The option will be converted to a <code>org.apache.camel.support.jsse.SSLContextParameters</code> type. Group: security- Specified by:
sslContextParametersin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointConsumerBuilder- Specified by:
sslContextParametersin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointProducerBuilder- Parameters:
sslContextParameters- the value to set- Returns:
- the dsl builder
-
sslHandler
default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilder sslHandler(io.netty.handler.ssl.SslHandler sslHandler)
Reference to a class that could be used to return an SSL Handler. The option is a: <code>io.netty.handler.ssl.SslHandler</code> type. Group: security- Specified by:
sslHandlerin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointConsumerBuilder- Specified by:
sslHandlerin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointProducerBuilder- Parameters:
sslHandler- the value to set- Returns:
- the dsl builder
-
sslHandler
default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilder sslHandler(String sslHandler)
Reference to a class that could be used to return an SSL Handler. The option will be converted to a <code>io.netty.handler.ssl.SslHandler</code> type. Group: security- Specified by:
sslHandlerin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointConsumerBuilder- Specified by:
sslHandlerin interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointProducerBuilder- Parameters:
sslHandler- the value to set- Returns:
- the dsl builder
-
trustStoreFile
default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilder trustStoreFile(File trustStoreFile)
Server side certificate keystore to be used for encryption. The option is a: <code>java.io.File</code> type. Group: security- Specified by:
trustStoreFilein interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointConsumerBuilder- Specified by:
trustStoreFilein interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointProducerBuilder- Parameters:
trustStoreFile- the value to set- Returns:
- the dsl builder
-
trustStoreFile
default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilder trustStoreFile(String trustStoreFile)
Server side certificate keystore to be used for encryption. The option will be converted to a <code>java.io.File</code> type. Group: security- Specified by:
trustStoreFilein interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointConsumerBuilder- Specified by:
trustStoreFilein interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointProducerBuilder- Parameters:
trustStoreFile- the value to set- Returns:
- the dsl builder
-
trustStoreResource
default NettyHttpEndpointBuilderFactory.NettyHttpEndpointBuilder trustStoreResource(String trustStoreResource)
Server side certificate keystore to be used for encryption. Is loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
trustStoreResourcein interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointConsumerBuilder- Specified by:
trustStoreResourcein interfaceNettyHttpEndpointBuilderFactory.NettyHttpEndpointProducerBuilder- Parameters:
trustStoreResource- the value to set- Returns:
- the dsl builder
-
-