This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 13ce22083b8 Regen
13ce22083b8 is described below

commit 13ce22083b8a538794be2533a1588aaeb1908c08
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Sep 9 19:38:27 2022 +0200

    Regen
---
 .../camel/catalog/components/netty-http.json       |  2 +
 .../dsl/NettyHttpEndpointBuilderFactory.java       | 92 +++++++++++-----------
 2 files changed, 50 insertions(+), 44 deletions(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/netty-http.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/netty-http.json
index 4e3a9f75af9..7286bc99495 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/netty-http.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/netty-http.json
@@ -143,7 +143,9 @@
     "httpMethodRestrict": { "kind": "parameter", "displayName": "Http Method 
Restrict", "group": "consumer (advanced)", "label": "consumer,advanced", 
"required": false, "type": "string", "javaType": "java.lang.String", 
"deprecated": false, "autowired": false, "secret": false, "description": "To 
disable HTTP methods on the Netty HTTP consumer. You can specify multiple 
separated by comma." },
     "logWarnOnBadRequest": { "kind": "parameter", "displayName": "Log Warn On 
Bad Request", "group": "consumer (advanced)", "label": "consumer,advanced", 
"required": false, "type": "boolean", "javaType": "boolean", "deprecated": 
false, "autowired": false, "secret": false, "defaultValue": true, 
"configurationClass": 
"org.apache.camel.component.netty.http.NettyHttpConfiguration", 
"configurationField": "configuration", "description": "Whether Netty HTTP 
server should log a WARN if decoding  [...]
     "mapHeaders": { "kind": "parameter", "displayName": "Map Headers", 
"group": "consumer (advanced)", "label": "consumer,advanced", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": true, 
"configurationClass": 
"org.apache.camel.component.netty.http.NettyHttpConfiguration", 
"configurationField": "configuration", "description": "If this option is 
enabled, then during binding from Netty to Camel Message th [...]
+    "maxChunkSize": { "kind": "parameter", "displayName": "Max Chunk Size", 
"group": "consumer (advanced)", "label": "consumer,advanced", "required": 
false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": 8192, "configurationClass": 
"org.apache.camel.component.netty.http.NettyHttpConfiguration", 
"configurationField": "configuration", "description": "The maximum length of 
the content or each chunk. If the content length (or t [...]
     "maxHeaderSize": { "kind": "parameter", "displayName": "Max Header Size", 
"group": "consumer (advanced)", "label": "consumer,advanced", "required": 
false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": 8192, "configurationClass": 
"org.apache.camel.component.netty.http.NettyHttpConfiguration", 
"configurationField": "configuration", "description": "The maximum length of 
all headers. If the sum of the length of each header [...]
+    "maxInitialLineLength": { "kind": "parameter", "displayName": "Max Initial 
Line Length", "group": "consumer (advanced)", "label": "consumer,advanced", 
"required": false, "type": "integer", "javaType": "int", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": 4096, 
"configurationClass": 
"org.apache.camel.component.netty.http.NettyHttpConfiguration", 
"configurationField": "configuration", "description": "The maximum length of 
the initial line (e.g. {code GET \/ H [...]
     "nettyServerBootstrapFactory": { "kind": "parameter", "displayName": 
"Netty Server Bootstrap Factory", "group": "consumer (advanced)", "label": 
"consumer,advanced", "required": false, "type": "object", "javaType": 
"org.apache.camel.component.netty.NettyServerBootstrapFactory", "deprecated": 
false, "autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.netty.http.NettyHttpConfiguration", 
"configurationField": "configuration", "description": "To use a cu [...]
     "nettySharedHttpServer": { "kind": "parameter", "displayName": "Netty 
Shared Http Server", "group": "consumer (advanced)", "label": 
"consumer,advanced", "required": false, "type": "object", "javaType": 
"org.apache.camel.component.netty.http.NettySharedHttpServer", "deprecated": 
false, "autowired": false, "secret": false, "description": "To use a shared 
Netty HTTP server. See Netty HTTP Server Example for more details." },
     "noReplyLogLevel": { "kind": "parameter", "displayName": "No Reply Log 
Level", "group": "consumer (advanced)", "label": "consumer,advanced", 
"required": false, "type": "object", "javaType": 
"org.apache.camel.LoggingLevel", "enum": [ "TRACE", "DEBUG", "INFO", "WARN", 
"ERROR", "OFF" ], "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": "WARN", "configurationClass": 
"org.apache.camel.component.netty.http.NettyHttpConfiguration", 
"configurationField": "configuratio [...]
diff --git 
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NettyHttpEndpointBuilderFactory.java
 
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NettyHttpEndpointBuilderFactory.java
index 3393ab89232..e23daeb5ffc 100644
--- 
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NettyHttpEndpointBuilderFactory.java
+++ 
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NettyHttpEndpointBuilderFactory.java
@@ -1308,6 +1308,46 @@ public interface NettyHttpEndpointBuilderFactory {
             doSetProperty("mapHeaders", mapHeaders);
             return this;
         }
+        /**
+         * The maximum length of the content or each chunk. If the content
+         * length (or the length of each chunk) exceeds this value, the content
+         * or chunk will be split into multiple
+         * io.netty.handler.codec.http.HttpContents whose length is 
maxChunkSize
+         * at maximum. See io.netty.handler.codec.http.HttpObjectDecoder.
+         * 
+         * The option is a: &lt;code&gt;int&lt;/code&gt; type.
+         * 
+         * Default: 8192
+         * Group: consumer (advanced)
+         * 
+         * @param maxChunkSize the value to set
+         * @return the dsl builder
+         */
+        default AdvancedNettyHttpEndpointConsumerBuilder maxChunkSize(
+                int maxChunkSize) {
+            doSetProperty("maxChunkSize", maxChunkSize);
+            return this;
+        }
+        /**
+         * The maximum length of the content or each chunk. If the content
+         * length (or the length of each chunk) exceeds this value, the content
+         * or chunk will be split into multiple
+         * io.netty.handler.codec.http.HttpContents whose length is 
maxChunkSize
+         * at maximum. See io.netty.handler.codec.http.HttpObjectDecoder.
+         * 
+         * The option will be converted to a &lt;code&gt;int&lt;/code&gt; type.
+         * 
+         * Default: 8192
+         * Group: consumer (advanced)
+         * 
+         * @param maxChunkSize the value to set
+         * @return the dsl builder
+         */
+        default AdvancedNettyHttpEndpointConsumerBuilder maxChunkSize(
+                String maxChunkSize) {
+            doSetProperty("maxChunkSize", maxChunkSize);
+            return this;
+        }
         /**
          * The maximum length of all headers. If the sum of the length of each
          * header exceeds this value, a
@@ -1345,9 +1385,10 @@ public interface NettyHttpEndpointBuilderFactory {
             return this;
         }
         /**
-         * The maximum length of the initial line (e.g. {@code "GET / 
HTTP/1.0"} or
-         * {@code "HTTP/1.0 200 OK"}) If the length of the initial line 
exceeds this value, a
-         * {@link TooLongFrameException} will be raised.
+         * The maximum length of the initial line (e.g. {code GET / HTTP/1.0} 
or
+         * {code HTTP/1.0 200 OK}) If the length of the initial line exceeds
+         * this value, a TooLongFrameException will be raised. See
+         * io.netty.handler.codec.http.HttpObjectDecoder.
          * 
          * The option is a: &lt;code&gt;int&lt;/code&gt; type.
          * 
@@ -1363,9 +1404,10 @@ public interface NettyHttpEndpointBuilderFactory {
             return this;
         }
         /**
-         * The maximum length of the initial line (e.g. {@code "GET / 
HTTP/1.0"} or
-         * {@code "HTTP/1.0 200 OK"}) If the length of the initial line 
exceeds this value, a
-         * {@link TooLongFrameException} will be raised.
+         * The maximum length of the initial line (e.g. {code GET / HTTP/1.0} 
or
+         * {code HTTP/1.0 200 OK}) If the length of the initial line exceeds
+         * this value, a TooLongFrameException will be raised. See
+         * io.netty.handler.codec.http.HttpObjectDecoder.
          * 
          * The option will be converted to a &lt;code&gt;int&lt;/code&gt; type.
          * 
@@ -1380,44 +1422,6 @@ public interface NettyHttpEndpointBuilderFactory {
             doSetProperty("maxInitialLineLength", maxInitialLineLength);
             return this;
         }
-        /**
-         * The maximum length of the content or each chunk. If the content 
length
-         * (or the length of each chunk) exceeds this value, the content or 
chunk
-         * will be split into multiple {@link 
io.netty.handler.codec.http.HttpContent}s
-         * whose length is {@code maxChunkSize} at maximum.
-         * 
-         * The option is a: &lt;code&gt;int&lt;/code&gt; type.
-         * 
-         * Default: 8192
-         * Group: consumer (advanced)
-         * 
-         * @param maxChunkSize the value to set
-         * @return the dsl builder
-         */
-        default AdvancedNettyHttpEndpointConsumerBuilder maxChunkSize(
-                int maxChunkSize) {
-            doSetProperty("maxChunkSize", maxChunkSize);
-            return this;
-        }
-        /**
-         * The maximum length of the content or each chunk. If the content 
length
-         * (or the length of each chunk) exceeds this value, the content or 
chunk
-         * will be split into multiple {@link 
io.netty.handler.codec.http.HttpContent}s
-         * whose length is {@code maxChunkSize} at maximum.
-         * 
-         * The option will be converted to a &lt;code&gt;int&lt;/code&gt; type.
-         * 
-         * Default: 8192
-         * Group: consumer (advanced)
-         * 
-         * @param maxChunkSize the value to set
-         * @return the dsl builder
-         */
-        default AdvancedNettyHttpEndpointConsumerBuilder maxChunkSize(
-                String maxChunkSize) {
-            doSetProperty("maxChunkSize", maxChunkSize);
-            return this;
-        }
         /**
          * To use a custom NettyServerBootstrapFactory.
          * 

Reply via email to