Uses of Interface
org.apache.camel.builder.endpoint.dsl.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder
Packages that use NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder
-
Uses of NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder in org.apache.camel.builder.endpoint.dsl
Subinterfaces of NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder in org.apache.camel.builder.endpoint.dslModifier and TypeInterfaceDescriptionstatic interfaceAdvanced builder for endpoint for the Netty HTTP component.Methods in org.apache.camel.builder.endpoint.dsl that return NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilderModifier and TypeMethodDescriptionNettyHttpEndpointBuilderFactory.NettyHttpEndpointConsumerBuilder.advanced()NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.allowSerializedHeaders(boolean allowSerializedHeaders) Only used for TCP when transferExchange is true.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.allowSerializedHeaders(String allowSerializedHeaders) Only used for TCP when transferExchange is true.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.backlog(int backlog) Allows to configure a backlog for netty consumer (server).Allows to configure a backlog for netty consumer (server).NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.bossCount(int bossCount) When netty works on nio mode, it uses default bossCount parameter from Netty, which is 1.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.bossCount(String bossCount) When netty works on nio mode, it uses default bossCount parameter from Netty, which is 1.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.bossGroup(io.netty.channel.EventLoopGroup bossGroup) Set the BossGroup which could be used for handling the new connection of the server side across the NettyEndpoint.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.bossGroup(String bossGroup) Set the BossGroup which could be used for handling the new connection of the server side across the NettyEndpoint.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.bridgeErrorHandler(boolean bridgeErrorHandler) Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.bridgeErrorHandler(String bridgeErrorHandler) Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.channelGroup(io.netty.channel.group.ChannelGroup channelGroup) To use a explicit ChannelGroup.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.channelGroup(String channelGroup) To use a explicit ChannelGroup.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.chunkedMaxContentLength(int chunkedMaxContentLength) Value in bytes the max content length per chunked frame received on the Netty HTTP server.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.chunkedMaxContentLength(String chunkedMaxContentLength) Value in bytes the max content length per chunked frame received on the Netty HTTP server.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.compression(boolean compression) Allow using gzip/deflate for compression on the Netty HTTP server if the client supports it from the HTTP headers.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.compression(String compression) Allow using gzip/deflate for compression on the Netty HTTP server if the client supports it from the HTTP headers.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.configuration(String configuration) To use a custom configured NettyHttpConfiguration for configuring this endpoint.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.configuration(org.apache.camel.component.netty.http.NettyHttpConfiguration configuration) To use a custom configured NettyHttpConfiguration for configuring this endpoint.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.disableStreamCache(boolean disableStreamCache) Determines whether or not the raw input stream from Netty HttpRequest#getContent() or HttpResponset#getContent() is cached or not (Camel will read the stream into a in light-weight memory based Stream caching) cache.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.disableStreamCache(String disableStreamCache) Determines whether or not the raw input stream from Netty HttpRequest#getContent() or HttpResponset#getContent() is cached or not (Camel will read the stream into a in light-weight memory based Stream caching) cache.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.disconnectOnNoReply(boolean disconnectOnNoReply) If sync is enabled then this option dictates NettyConsumer if it should disconnect where there is no reply to send back.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.disconnectOnNoReply(String disconnectOnNoReply) If sync is enabled then this option dictates NettyConsumer if it should disconnect where there is no reply to send back.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.exceptionHandler(String exceptionHandler) To let the consumer use a custom ExceptionHandler.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.exceptionHandler(org.apache.camel.spi.ExceptionHandler exceptionHandler) To let the consumer use a custom ExceptionHandler.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.exchangePattern(String exchangePattern) Sets the exchange pattern when the consumer creates an exchange.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.exchangePattern(org.apache.camel.ExchangePattern exchangePattern) Sets the exchange pattern when the consumer creates an exchange.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.headerFilterStrategy(String headerFilterStrategy) To use a custom org.apache.camel.spi.HeaderFilterStrategy to filter headers.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.headerFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy) To use a custom org.apache.camel.spi.HeaderFilterStrategy to filter headers.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.httpMethodRestrict(String httpMethodRestrict) To disable HTTP methods on the Netty HTTP consumer.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.logWarnOnBadRequest(boolean logWarnOnBadRequest) Whether Netty HTTP server should log a WARN if decoding the HTTP request failed and a HTTP Status 400 (bad request) is returned.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.logWarnOnBadRequest(String logWarnOnBadRequest) Whether Netty HTTP server should log a WARN if decoding the HTTP request failed and a HTTP Status 400 (bad request) is returned.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.mapHeaders(boolean mapHeaders) If this option is enabled, then during binding from Netty to Camel Message then the headers will be mapped as well (eg added as header to the Camel Message as well).NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.mapHeaders(String mapHeaders) If this option is enabled, then during binding from Netty to Camel Message then the headers will be mapped as well (eg added as header to the Camel Message as well).NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.maxChunkSize(int maxChunkSize) The maximum length of the content or each chunk.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.maxChunkSize(String maxChunkSize) The maximum length of the content or each chunk.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.maxHeaderSize(int maxHeaderSize) The maximum length of all headers.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.maxHeaderSize(String maxHeaderSize) The maximum length of all headers.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.maxInitialLineLength(int maxInitialLineLength) The maximum length of the initial line (e.g.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.maxInitialLineLength(String maxInitialLineLength) The maximum length of the initial line (e.g.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.nativeTransport(boolean nativeTransport) Whether to use native transport instead of NIO.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.nativeTransport(String nativeTransport) Whether to use native transport instead of NIO.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.nettyHttpBinding(String nettyHttpBinding) To use a custom org.apache.camel.component.netty.http.NettyHttpBinding for binding to/from Netty and Camel Message API.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.nettyHttpBinding(org.apache.camel.component.netty.http.NettyHttpBinding nettyHttpBinding) To use a custom org.apache.camel.component.netty.http.NettyHttpBinding for binding to/from Netty and Camel Message API.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.nettyServerBootstrapFactory(String nettyServerBootstrapFactory) To use a custom NettyServerBootstrapFactory.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.nettyServerBootstrapFactory(org.apache.camel.component.netty.NettyServerBootstrapFactory nettyServerBootstrapFactory) To use a custom NettyServerBootstrapFactory.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.nettySharedHttpServer(String nettySharedHttpServer) To use a shared Netty HTTP server.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.nettySharedHttpServer(org.apache.camel.component.netty.http.NettySharedHttpServer nettySharedHttpServer) To use a shared Netty HTTP server.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.noReplyLogLevel(String noReplyLogLevel) If sync is enabled this option dictates NettyConsumer which logging level to use when logging a there is no reply to send back.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.noReplyLogLevel(org.apache.camel.LoggingLevel noReplyLogLevel) If sync is enabled this option dictates NettyConsumer which logging level to use when logging a there is no reply to send back.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.options(String key, Object value) Allows to configure additional netty options using option.Allows to configure additional netty options using option.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.receiveBufferSize(int receiveBufferSize) The TCP/UDP buffer sizes to be used during inbound communication.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.receiveBufferSize(String receiveBufferSize) The TCP/UDP buffer sizes to be used during inbound communication.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.receiveBufferSizePredictor(int receiveBufferSizePredictor) Configures the buffer size predictor.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.receiveBufferSizePredictor(String receiveBufferSizePredictor) Configures the buffer size predictor.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.sendBufferSize(int sendBufferSize) The TCP/UDP buffer sizes to be used during outbound communication.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.sendBufferSize(String sendBufferSize) The TCP/UDP buffer sizes to be used during outbound communication.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.serverClosedChannelExceptionCaughtLogLevel(String serverClosedChannelExceptionCaughtLogLevel) If the server (NettyConsumer) catches an java.nio.channels.ClosedChannelException then its logged using this logging level.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.serverClosedChannelExceptionCaughtLogLevel(org.apache.camel.LoggingLevel serverClosedChannelExceptionCaughtLogLevel) If the server (NettyConsumer) catches an java.nio.channels.ClosedChannelException then its logged using this logging level.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.serverExceptionCaughtLogLevel(String serverExceptionCaughtLogLevel) If the server (NettyConsumer) catches an exception then its logged using this logging level.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.serverExceptionCaughtLogLevel(org.apache.camel.LoggingLevel serverExceptionCaughtLogLevel) If the server (NettyConsumer) catches an exception then its logged using this logging level.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.serverInitializerFactory(String serverInitializerFactory) To use a custom ServerInitializerFactory.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.serverInitializerFactory(org.apache.camel.component.netty.ServerInitializerFactory serverInitializerFactory) To use a custom ServerInitializerFactory.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.synchronous(boolean synchronous) Sets whether synchronous processing should be strictly used.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.synchronous(String synchronous) Sets whether synchronous processing should be strictly used.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.traceEnabled(boolean traceEnabled) Specifies whether to enable HTTP TRACE for this Netty HTTP consumer.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.traceEnabled(String traceEnabled) Specifies whether to enable HTTP TRACE for this Netty HTTP consumer.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.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.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.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.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.transferExchange(boolean transferExchange) Only used for TCP.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.transferExchange(String transferExchange) Only used for TCP.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.unixDomainSocketPath(String unixDomainSocketPath) Path to unix domain socket to use instead of inet socket.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.urlDecodeHeaders(boolean urlDecodeHeaders) If this option is enabled, then during binding from Netty to Camel Message then the header values will be URL decoded (eg %20 will be a space character.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.urlDecodeHeaders(String urlDecodeHeaders) If this option is enabled, then during binding from Netty to Camel Message then the header values will be URL decoded (eg %20 will be a space character.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.usingExecutorService(boolean usingExecutorService) Whether to use ordered thread pool, to ensure events are processed orderly on the same channel.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.usingExecutorService(String usingExecutorService) Whether to use ordered thread pool, to ensure events are processed orderly on the same channel.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.workerCount(int workerCount) When netty works on nio mode, it uses default workerCount parameter from Netty (which is cpu_core_threads x 2).NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.workerCount(String workerCount) When netty works on nio mode, it uses default workerCount parameter from Netty (which is cpu_core_threads x 2).NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.workerGroup(io.netty.channel.EventLoopGroup workerGroup) To use a explicit EventLoopGroup as the boss thread pool.NettyHttpEndpointBuilderFactory.AdvancedNettyHttpEndpointConsumerBuilder.workerGroup(String workerGroup) To use a explicit EventLoopGroup as the boss thread pool.