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
Modifier and TypeMethodDescriptionadvanced()
allowedRoles
(String allowedRoles) Configuration used by UndertowSecurityProvider.securityConfiguration
(Object securityConfiguration) OConfiguration used by UndertowSecurityProvider.securityConfiguration
(String securityConfiguration) OConfiguration used by UndertowSecurityProvider.securityProvider
(String securityProvider) Security provider allows plug in the provider, which will be used to secure requests.securityProvider
(org.apache.camel.component.undertow.spi.UndertowSecurityProvider securityProvider) Security provider allows plug in the provider, which will be used to secure requests.sslContextParameters
(String sslContextParameters) To configure security using SSLContextParameters.sslContextParameters
(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters) To configure security using SSLContextParameters.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.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.Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolve
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.UndertowEndpointBuilderFactory.UndertowEndpointConsumerBuilder
accessLog, accessLog, 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, options, options, preserveHostHeader, preserveHostHeader, reuseAddresses, reuseAddresses, sendTimeout, sendTimeout, sendToAll, sendToAll, tcpNoDelay, tcpNoDelay, throwExceptionOnFailure, throwExceptionOnFailure
-
Method Details
-
advanced
- Specified by:
advanced
in interfaceUndertowEndpointBuilderFactory.UndertowEndpointConsumerBuilder
- Specified by:
advanced
in interfaceUndertowEndpointBuilderFactory.UndertowEndpointProducerBuilder
-
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:
useStreaming
in interfaceUndertowEndpointBuilderFactory.UndertowEndpointConsumerBuilder
- Specified by:
useStreaming
in interfaceUndertowEndpointBuilderFactory.UndertowEndpointProducerBuilder
- Parameters:
useStreaming
- the value to set- Returns:
- the dsl builder
-
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:
useStreaming
in interfaceUndertowEndpointBuilderFactory.UndertowEndpointConsumerBuilder
- Specified by:
useStreaming
in interfaceUndertowEndpointBuilderFactory.UndertowEndpointProducerBuilder
- Parameters:
useStreaming
- the value to set- Returns:
- the dsl builder
-
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:
allowedRoles
in interfaceUndertowEndpointBuilderFactory.UndertowEndpointConsumerBuilder
- Specified by:
allowedRoles
in 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:
securityConfiguration
in interfaceUndertowEndpointBuilderFactory.UndertowEndpointConsumerBuilder
- Specified by:
securityConfiguration
in 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:
securityConfiguration
in interfaceUndertowEndpointBuilderFactory.UndertowEndpointConsumerBuilder
- Specified by:
securityConfiguration
in interfaceUndertowEndpointBuilderFactory.UndertowEndpointProducerBuilder
- Parameters:
securityConfiguration
- the value to set- Returns:
- the dsl builder
-
securityProvider
default UndertowEndpointBuilderFactory.UndertowEndpointBuilder securityProvider(org.apache.camel.component.undertow.spi.UndertowSecurityProvider 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:
securityProvider
in interfaceUndertowEndpointBuilderFactory.UndertowEndpointConsumerBuilder
- Specified by:
securityProvider
in 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:
securityProvider
in interfaceUndertowEndpointBuilderFactory.UndertowEndpointConsumerBuilder
- Specified by:
securityProvider
in interfaceUndertowEndpointBuilderFactory.UndertowEndpointProducerBuilder
- Parameters:
securityProvider
- the value to set- Returns:
- the dsl builder
-
sslContextParameters
default UndertowEndpointBuilderFactory.UndertowEndpointBuilder 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:
sslContextParameters
in interfaceUndertowEndpointBuilderFactory.UndertowEndpointConsumerBuilder
- Specified by:
sslContextParameters
in 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:
sslContextParameters
in interfaceUndertowEndpointBuilderFactory.UndertowEndpointConsumerBuilder
- Specified by:
sslContextParameters
in interfaceUndertowEndpointBuilderFactory.UndertowEndpointProducerBuilder
- Parameters:
sslContextParameters
- the value to set- Returns:
- the dsl builder
-