Interface UndertowEndpointBuilderFactory.UndertowEndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder,org.apache.camel.EndpointConsumerResolver,org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver,UndertowEndpointBuilderFactory.UndertowEndpointConsumerBuilder,UndertowEndpointBuilderFactory.UndertowEndpointProducerBuilder
- Enclosing interface:
- UndertowEndpointBuilderFactory
public static interface UndertowEndpointBuilderFactory.UndertowEndpointBuilder extends UndertowEndpointBuilderFactory.UndertowEndpointConsumerBuilder, UndertowEndpointBuilderFactory.UndertowEndpointProducerBuilder
Builder for endpoint for the Undertow component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default UndertowEndpointBuilderFactory.AdvancedUndertowEndpointBuilderadvanced()default UndertowEndpointBuilderFactory.UndertowEndpointBuilderallowedRoles(String allowedRoles)Configuration used by UndertowSecurityProvider.default UndertowEndpointBuilderFactory.UndertowEndpointBuildersecurityConfiguration(Object securityConfiguration)OConfiguration used by UndertowSecurityProvider.default UndertowEndpointBuilderFactory.UndertowEndpointBuildersecurityConfiguration(String securityConfiguration)OConfiguration used by UndertowSecurityProvider.default UndertowEndpointBuilderFactory.UndertowEndpointBuildersecurityProvider(Object securityProvider)Security provider allows plug in the provider, which will be used to secure requests.default UndertowEndpointBuilderFactory.UndertowEndpointBuildersecurityProvider(String securityProvider)Security provider allows plug in the provider, which will be used to secure requests.default UndertowEndpointBuilderFactory.UndertowEndpointBuildersslContextParameters(Object sslContextParameters)To configure security using SSLContextParameters.default UndertowEndpointBuilderFactory.UndertowEndpointBuildersslContextParameters(String sslContextParameters)To configure security using SSLContextParameters.default UndertowEndpointBuilderFactory.UndertowEndpointBuilderuseStreaming(boolean useStreaming)For HTTP endpoint: if true, text and binary messages will be wrapped as java.io.InputStream before they are passed to an Exchange; otherwise they will be passed as byte.default UndertowEndpointBuilderFactory.UndertowEndpointBuilderuseStreaming(String useStreaming)For HTTP endpoint: if true, text and binary messages will be wrapped as java.io.InputStream before they are passed to an Exchange; otherwise they will be passed as byte.-
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.UndertowEndpointBuilderFactory.UndertowEndpointConsumerBuilder
accessLog, accessLog, bridgeErrorHandler, bridgeErrorHandler, fireWebSocketChannelEvents, fireWebSocketChannelEvents, httpMethodRestrict, matchOnUriPrefix, matchOnUriPrefix, muteException, muteException, optionsEnabled, optionsEnabled, transferException, transferException
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.UndertowEndpointBuilderFactory.UndertowEndpointProducerBuilder
cookieHandler, cookieHandler, keepAlive, keepAlive, lazyStartProducer, lazyStartProducer, options, options, preserveHostHeader, preserveHostHeader, reuseAddresses, reuseAddresses, sendTimeout, sendTimeout, sendToAll, sendToAll, tcpNoDelay, tcpNoDelay, throwExceptionOnFailure, throwExceptionOnFailure
-
-
-
-
Method Detail
-
advanced
default UndertowEndpointBuilderFactory.AdvancedUndertowEndpointBuilder advanced()
- Specified by:
advancedin interfaceUndertowEndpointBuilderFactory.UndertowEndpointConsumerBuilder- Specified by:
advancedin interfaceUndertowEndpointBuilderFactory.UndertowEndpointProducerBuilder
-
useStreaming
default UndertowEndpointBuilderFactory.UndertowEndpointBuilder useStreaming(boolean useStreaming)
For HTTP endpoint: if true, text and binary messages will be wrapped as java.io.InputStream before they are passed to an Exchange; otherwise they will be passed as byte. For WebSocket endpoint: if true, text and binary messages will be wrapped as java.io.Reader and java.io.InputStream respectively before they are passed to an Exchange; otherwise they will be passed as String and byte respectively. The option is a: <code>boolean</code> type. Default: false Group: common- Specified by:
useStreamingin interfaceUndertowEndpointBuilderFactory.UndertowEndpointConsumerBuilder- Specified by:
useStreamingin interfaceUndertowEndpointBuilderFactory.UndertowEndpointProducerBuilder- Parameters:
useStreaming- the value to set- Returns:
- the dsl builder
-
useStreaming
default UndertowEndpointBuilderFactory.UndertowEndpointBuilder useStreaming(String useStreaming)
For HTTP endpoint: if true, text and binary messages will be wrapped as java.io.InputStream before they are passed to an Exchange; otherwise they will be passed as byte. For WebSocket endpoint: if true, text and binary messages will be wrapped as java.io.Reader and java.io.InputStream respectively before they are passed to an Exchange; otherwise they will be passed as String and byte respectively. The option will be converted to a <code>boolean</code> type. Default: false Group: common- Specified by:
useStreamingin interfaceUndertowEndpointBuilderFactory.UndertowEndpointConsumerBuilder- Specified by:
useStreamingin interfaceUndertowEndpointBuilderFactory.UndertowEndpointProducerBuilder- Parameters:
useStreaming- the value to set- Returns:
- the dsl builder
-
allowedRoles
default UndertowEndpointBuilderFactory.UndertowEndpointBuilder allowedRoles(String allowedRoles)
Configuration used by UndertowSecurityProvider. Comma separated list of allowed roles. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
allowedRolesin interfaceUndertowEndpointBuilderFactory.UndertowEndpointConsumerBuilder- Specified by:
allowedRolesin interfaceUndertowEndpointBuilderFactory.UndertowEndpointProducerBuilder- Parameters:
allowedRoles- the value to set- Returns:
- the dsl builder
-
securityConfiguration
default UndertowEndpointBuilderFactory.UndertowEndpointBuilder securityConfiguration(Object securityConfiguration)
OConfiguration used by UndertowSecurityProvider. Security configuration object for use from UndertowSecurityProvider. Configuration is UndertowSecurityProvider specific. Each provider decides whether accepts configuration. The option is a: <code>java.lang.Object</code> type. Group: security- Specified by:
securityConfigurationin interfaceUndertowEndpointBuilderFactory.UndertowEndpointConsumerBuilder- Specified by:
securityConfigurationin interfaceUndertowEndpointBuilderFactory.UndertowEndpointProducerBuilder- Parameters:
securityConfiguration- the value to set- Returns:
- the dsl builder
-
securityConfiguration
default UndertowEndpointBuilderFactory.UndertowEndpointBuilder securityConfiguration(String securityConfiguration)
OConfiguration used by UndertowSecurityProvider. Security configuration object for use from UndertowSecurityProvider. Configuration is UndertowSecurityProvider specific. Each provider decides whether accepts configuration. The option will be converted to a <code>java.lang.Object</code> type. Group: security- Specified by:
securityConfigurationin interfaceUndertowEndpointBuilderFactory.UndertowEndpointConsumerBuilder- Specified by:
securityConfigurationin interfaceUndertowEndpointBuilderFactory.UndertowEndpointProducerBuilder- Parameters:
securityConfiguration- the value to set- Returns:
- the dsl builder
-
securityProvider
default UndertowEndpointBuilderFactory.UndertowEndpointBuilder securityProvider(Object securityProvider)
Security provider allows plug in the provider, which will be used to secure requests. SPI approach could be used too (endpoint then finds security provider using SPI). The option is a: <code>org.apache.camel.component.undertow.spi.UndertowSecurityProvider</code> type. Group: security- Specified by:
securityProviderin interfaceUndertowEndpointBuilderFactory.UndertowEndpointConsumerBuilder- Specified by:
securityProviderin interfaceUndertowEndpointBuilderFactory.UndertowEndpointProducerBuilder- Parameters:
securityProvider- the value to set- Returns:
- the dsl builder
-
securityProvider
default UndertowEndpointBuilderFactory.UndertowEndpointBuilder securityProvider(String securityProvider)
Security provider allows plug in the provider, which will be used to secure requests. SPI approach could be used too (endpoint then finds security provider using SPI). The option will be converted to a <code>org.apache.camel.component.undertow.spi.UndertowSecurityProvider</code> type. Group: security- Specified by:
securityProviderin interfaceUndertowEndpointBuilderFactory.UndertowEndpointConsumerBuilder- Specified by:
securityProviderin interfaceUndertowEndpointBuilderFactory.UndertowEndpointProducerBuilder- Parameters:
securityProvider- the value to set- Returns:
- the dsl builder
-
sslContextParameters
default UndertowEndpointBuilderFactory.UndertowEndpointBuilder sslContextParameters(Object sslContextParameters)
To configure security using SSLContextParameters. The option is a: <code>org.apache.camel.support.jsse.SSLContextParameters</code> type. Group: security- Specified by:
sslContextParametersin interfaceUndertowEndpointBuilderFactory.UndertowEndpointConsumerBuilder- Specified by:
sslContextParametersin interfaceUndertowEndpointBuilderFactory.UndertowEndpointProducerBuilder- Parameters:
sslContextParameters- the value to set- Returns:
- the dsl builder
-
sslContextParameters
default UndertowEndpointBuilderFactory.UndertowEndpointBuilder 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 interfaceUndertowEndpointBuilderFactory.UndertowEndpointConsumerBuilder- Specified by:
sslContextParametersin interfaceUndertowEndpointBuilderFactory.UndertowEndpointProducerBuilder- Parameters:
sslContextParameters- the value to set- Returns:
- the dsl builder
-
-