You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2023/12/05 05:54:38 UTC
(camel) branch main updated: CAMEL-19991: Jetty and SB upgrades
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 2cbcb40ff75 CAMEL-19991: Jetty and SB upgrades
2cbcb40ff75 is described below
commit 2cbcb40ff756da0bff85414b9bd96dfac21522c0
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Tue Dec 5 06:54:26 2023 +0100
CAMEL-19991: Jetty and SB upgrades
---
.../component/ComponentsBuilderFactory.java | 2 +-
.../dsl/JettyComponentBuilderFactory.java | 8 +-
.../builder/endpoint/EndpointBuilderFactory.java | 2 +-
.../camel/builder/endpoint/EndpointBuilders.java | 2 +-
.../builder/endpoint/StaticEndpointBuilders.java | 12 +-
...java => JettyHttp12EndpointBuilderFactory.java} | 196 ++++++++++-----------
6 files changed, 113 insertions(+), 109 deletions(-)
diff --git a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
index 7e32bd1facc..ee85d87905b 100644
--- a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
+++ b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
@@ -2244,7 +2244,7 @@ public interface ComponentsBuilderFactory {
}
/**
* Jetty (camel-jetty)
- * Expose HTTP endpoints using Jetty 11.
+ * Expose HTTP endpoints using Jetty 12.
*
* Category: http
* Since: 1.2
diff --git a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/JettyComponentBuilderFactory.java b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/JettyComponentBuilderFactory.java
index b2c0a54a323..b256d6c9e2f 100644
--- a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/JettyComponentBuilderFactory.java
+++ b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/JettyComponentBuilderFactory.java
@@ -23,7 +23,7 @@ import org.apache.camel.builder.component.ComponentBuilder;
import org.apache.camel.component.jetty12.JettyHttpComponent12;
/**
- * Expose HTTP endpoints using Jetty 11.
+ * Expose HTTP endpoints using Jetty 12.
*
* Generated by camel-package-maven-plugin - do not edit this file!
*/
@@ -32,7 +32,7 @@ public interface JettyComponentBuilderFactory {
/**
* Jetty (camel-jetty)
- * Expose HTTP endpoints using Jetty 11.
+ * Expose HTTP endpoints using Jetty 12.
*
* Category: http
* Since: 1.2
@@ -686,6 +686,10 @@ public interface JettyComponentBuilderFactory {
case "sendServerVersion": ((JettyHttpComponent12) component).setSendServerVersion((boolean) value); return true;
case "useContinuation": ((JettyHttpComponent12) component).setUseContinuation((boolean) value); return true;
case "useXForwardedForHeader": ((JettyHttpComponent12) component).setUseXForwardedForHeader((boolean) value); return true;
+ case "fileSizeThreshold": ((JettyHttpComponent12) component).setFileSizeThreshold((int) value); return true;
+ case "filesLocation": ((JettyHttpComponent12) component).setFilesLocation((java.lang.String) value); return true;
+ case "maxFileSize": ((JettyHttpComponent12) component).setMaxFileSize((long) value); return true;
+ case "maxRequestSize": ((JettyHttpComponent12) component).setMaxRequestSize((long) value); return true;
case "threadPool": ((JettyHttpComponent12) component).setThreadPool((org.eclipse.jetty.util.thread.ThreadPool) value); return true;
case "allowJavaSerializedObject": ((JettyHttpComponent12) component).setAllowJavaSerializedObject((boolean) value); return true;
case "autowiredEnabled": ((JettyHttpComponent12) component).setAutowiredEnabled((boolean) value); return true;
diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilderFactory.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilderFactory.java
index fdf72bc2e58..0b34c068cbe 100644
--- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilderFactory.java
+++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilderFactory.java
@@ -172,7 +172,7 @@ public interface EndpointBuilderFactory
org.apache.camel.builder.endpoint.dsl.JMXEndpointBuilderFactory.JMXBuilders,
org.apache.camel.builder.endpoint.dsl.JcrEndpointBuilderFactory.JcrBuilders,
org.apache.camel.builder.endpoint.dsl.JdbcEndpointBuilderFactory.JdbcBuilders,
- org.apache.camel.builder.endpoint.dsl.JettyHttp11EndpointBuilderFactory.JettyHttp11Builders,
+ org.apache.camel.builder.endpoint.dsl.JettyHttp12EndpointBuilderFactory.JettyHttp12Builders,
org.apache.camel.builder.endpoint.dsl.JiraEndpointBuilderFactory.JiraBuilders,
org.apache.camel.builder.endpoint.dsl.JmsEndpointBuilderFactory.JmsBuilders,
org.apache.camel.builder.endpoint.dsl.JoltEndpointBuilderFactory.JoltBuilders,
diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilders.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilders.java
index 2ef4df050a9..fe8b0517b5a 100644
--- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilders.java
+++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilders.java
@@ -169,7 +169,7 @@ public interface EndpointBuilders
org.apache.camel.builder.endpoint.dsl.JMXEndpointBuilderFactory,
org.apache.camel.builder.endpoint.dsl.JcrEndpointBuilderFactory,
org.apache.camel.builder.endpoint.dsl.JdbcEndpointBuilderFactory,
- org.apache.camel.builder.endpoint.dsl.JettyHttp11EndpointBuilderFactory,
+ org.apache.camel.builder.endpoint.dsl.JettyHttp12EndpointBuilderFactory,
org.apache.camel.builder.endpoint.dsl.JiraEndpointBuilderFactory,
org.apache.camel.builder.endpoint.dsl.JmsEndpointBuilderFactory,
org.apache.camel.builder.endpoint.dsl.JoltEndpointBuilderFactory,
diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
index f3b8f8b2b00..16e0a53cc5d 100644
--- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
+++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
@@ -7765,7 +7765,7 @@ public class StaticEndpointBuilders {
}
/**
* Jetty (camel-jetty)
- * Expose HTTP endpoints using Jetty 11.
+ * Expose HTTP endpoints using Jetty 12.
*
* Category: http
* Since: 1.2
@@ -7779,13 +7779,13 @@ public class StaticEndpointBuilders {
* @param path httpUri
* @return the dsl builder
*/
- public static org.apache.camel.builder.endpoint.dsl.JettyHttp11EndpointBuilderFactory.JettyHttp11EndpointBuilder jetty(
+ public static org.apache.camel.builder.endpoint.dsl.JettyHttp12EndpointBuilderFactory.JettyHttp12EndpointBuilder jetty(
String path) {
- return org.apache.camel.builder.endpoint.dsl.JettyHttp11EndpointBuilderFactory.endpointBuilder("jetty", path);
+ return org.apache.camel.builder.endpoint.dsl.JettyHttp12EndpointBuilderFactory.endpointBuilder("jetty", path);
}
/**
* Jetty (camel-jetty)
- * Expose HTTP endpoints using Jetty 11.
+ * Expose HTTP endpoints using Jetty 12.
*
* Category: http
* Since: 1.2
@@ -7801,10 +7801,10 @@ public class StaticEndpointBuilders {
* @param path httpUri
* @return the dsl builder
*/
- public static org.apache.camel.builder.endpoint.dsl.JettyHttp11EndpointBuilderFactory.JettyHttp11EndpointBuilder jetty(
+ public static org.apache.camel.builder.endpoint.dsl.JettyHttp12EndpointBuilderFactory.JettyHttp12EndpointBuilder jetty(
String componentName,
String path) {
- return org.apache.camel.builder.endpoint.dsl.JettyHttp11EndpointBuilderFactory.endpointBuilder(componentName, path);
+ return org.apache.camel.builder.endpoint.dsl.JettyHttp12EndpointBuilderFactory.endpointBuilder(componentName, path);
}
/**
* JGroups (camel-jgroups)
diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/JettyHttp11EndpointBuilderFactory.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/JettyHttp12EndpointBuilderFactory.java
similarity index 89%
rename from dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/JettyHttp11EndpointBuilderFactory.java
rename to dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/JettyHttp12EndpointBuilderFactory.java
index 22c9b97f548..aa4e3ca4a82 100644
--- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/JettyHttp11EndpointBuilderFactory.java
+++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/JettyHttp12EndpointBuilderFactory.java
@@ -27,22 +27,22 @@ import org.apache.camel.builder.EndpointProducerBuilder;
import org.apache.camel.builder.endpoint.AbstractEndpointBuilder;
/**
- * Expose HTTP endpoints using Jetty 11.
+ * Expose HTTP endpoints using Jetty 12.
*
* Generated by camel build tools - do NOT edit this file!
*/
@Generated("org.apache.camel.maven.packaging.EndpointDslMojo")
-public interface JettyHttp11EndpointBuilderFactory {
+public interface JettyHttp12EndpointBuilderFactory {
/**
* Builder for endpoint for the Jetty component.
*/
- public interface JettyHttp11EndpointBuilder
+ public interface JettyHttp12EndpointBuilder
extends
EndpointConsumerBuilder {
- default AdvancedJettyHttp11EndpointBuilder advanced() {
- return (AdvancedJettyHttp11EndpointBuilder) this;
+ default AdvancedJettyHttp12EndpointBuilder advanced() {
+ return (AdvancedJettyHttp12EndpointBuilder) this;
}
/**
* If this option is false the Servlet will disable the HTTP streaming
@@ -56,7 +56,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param chunked the value to set
* @return the dsl builder
*/
- default JettyHttp11EndpointBuilder chunked(boolean chunked) {
+ default JettyHttp12EndpointBuilder chunked(boolean chunked) {
doSetProperty("chunked", chunked);
return this;
}
@@ -73,7 +73,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param chunked the value to set
* @return the dsl builder
*/
- default JettyHttp11EndpointBuilder chunked(String chunked) {
+ default JettyHttp12EndpointBuilder chunked(String chunked) {
doSetProperty("chunked", chunked);
return this;
}
@@ -103,7 +103,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param disableStreamCache the value to set
* @return the dsl builder
*/
- default JettyHttp11EndpointBuilder disableStreamCache(
+ default JettyHttp12EndpointBuilder disableStreamCache(
boolean disableStreamCache) {
doSetProperty("disableStreamCache", disableStreamCache);
return this;
@@ -135,7 +135,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param disableStreamCache the value to set
* @return the dsl builder
*/
- default JettyHttp11EndpointBuilder disableStreamCache(
+ default JettyHttp12EndpointBuilder disableStreamCache(
String disableStreamCache) {
doSetProperty("disableStreamCache", disableStreamCache);
return this;
@@ -159,7 +159,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param transferException the value to set
* @return the dsl builder
*/
- default JettyHttp11EndpointBuilder transferException(
+ default JettyHttp12EndpointBuilder transferException(
boolean transferException) {
doSetProperty("transferException", transferException);
return this;
@@ -184,7 +184,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param transferException the value to set
* @return the dsl builder
*/
- default JettyHttp11EndpointBuilder transferException(
+ default JettyHttp12EndpointBuilder transferException(
String transferException) {
doSetProperty("transferException", transferException);
return this;
@@ -200,7 +200,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param async the value to set
* @return the dsl builder
*/
- default JettyHttp11EndpointBuilder async(boolean async) {
+ default JettyHttp12EndpointBuilder async(boolean async) {
doSetProperty("async", async);
return this;
}
@@ -216,7 +216,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param async the value to set
* @return the dsl builder
*/
- default JettyHttp11EndpointBuilder async(String async) {
+ default JettyHttp12EndpointBuilder async(String async) {
doSetProperty("async", async);
return this;
}
@@ -236,7 +236,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param continuationTimeout the value to set
* @return the dsl builder
*/
- default JettyHttp11EndpointBuilder continuationTimeout(
+ default JettyHttp12EndpointBuilder continuationTimeout(
Long continuationTimeout) {
doSetProperty("continuationTimeout", continuationTimeout);
return this;
@@ -258,7 +258,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param continuationTimeout the value to set
* @return the dsl builder
*/
- default JettyHttp11EndpointBuilder continuationTimeout(
+ default JettyHttp12EndpointBuilder continuationTimeout(
String continuationTimeout) {
doSetProperty("continuationTimeout", continuationTimeout);
return this;
@@ -275,7 +275,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param enableCORS the value to set
* @return the dsl builder
*/
- default JettyHttp11EndpointBuilder enableCORS(boolean enableCORS) {
+ default JettyHttp12EndpointBuilder enableCORS(boolean enableCORS) {
doSetProperty("enableCORS", enableCORS);
return this;
}
@@ -292,7 +292,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param enableCORS the value to set
* @return the dsl builder
*/
- default JettyHttp11EndpointBuilder enableCORS(String enableCORS) {
+ default JettyHttp12EndpointBuilder enableCORS(String enableCORS) {
doSetProperty("enableCORS", enableCORS);
return this;
}
@@ -308,7 +308,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param enableJmx the value to set
* @return the dsl builder
*/
- default JettyHttp11EndpointBuilder enableJmx(boolean enableJmx) {
+ default JettyHttp12EndpointBuilder enableJmx(boolean enableJmx) {
doSetProperty("enableJmx", enableJmx);
return this;
}
@@ -325,7 +325,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param enableJmx the value to set
* @return the dsl builder
*/
- default JettyHttp11EndpointBuilder enableJmx(String enableJmx) {
+ default JettyHttp12EndpointBuilder enableJmx(String enableJmx) {
doSetProperty("enableJmx", enableJmx);
return this;
}
@@ -342,7 +342,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param enableMultipartFilter the value to set
* @return the dsl builder
*/
- default JettyHttp11EndpointBuilder enableMultipartFilter(
+ default JettyHttp12EndpointBuilder enableMultipartFilter(
boolean enableMultipartFilter) {
doSetProperty("enableMultipartFilter", enableMultipartFilter);
return this;
@@ -361,7 +361,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param enableMultipartFilter the value to set
* @return the dsl builder
*/
- default JettyHttp11EndpointBuilder enableMultipartFilter(
+ default JettyHttp12EndpointBuilder enableMultipartFilter(
String enableMultipartFilter) {
doSetProperty("enableMultipartFilter", enableMultipartFilter);
return this;
@@ -378,7 +378,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param httpMethodRestrict the value to set
* @return the dsl builder
*/
- default JettyHttp11EndpointBuilder httpMethodRestrict(
+ default JettyHttp12EndpointBuilder httpMethodRestrict(
String httpMethodRestrict) {
doSetProperty("httpMethodRestrict", httpMethodRestrict);
return this;
@@ -396,7 +396,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param logException the value to set
* @return the dsl builder
*/
- default JettyHttp11EndpointBuilder logException(boolean logException) {
+ default JettyHttp12EndpointBuilder logException(boolean logException) {
doSetProperty("logException", logException);
return this;
}
@@ -414,7 +414,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param logException the value to set
* @return the dsl builder
*/
- default JettyHttp11EndpointBuilder logException(String logException) {
+ default JettyHttp12EndpointBuilder logException(String logException) {
doSetProperty("logException", logException);
return this;
}
@@ -430,7 +430,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param matchOnUriPrefix the value to set
* @return the dsl builder
*/
- default JettyHttp11EndpointBuilder matchOnUriPrefix(
+ default JettyHttp12EndpointBuilder matchOnUriPrefix(
boolean matchOnUriPrefix) {
doSetProperty("matchOnUriPrefix", matchOnUriPrefix);
return this;
@@ -448,7 +448,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param matchOnUriPrefix the value to set
* @return the dsl builder
*/
- default JettyHttp11EndpointBuilder matchOnUriPrefix(
+ default JettyHttp12EndpointBuilder matchOnUriPrefix(
String matchOnUriPrefix) {
doSetProperty("matchOnUriPrefix", matchOnUriPrefix);
return this;
@@ -465,7 +465,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param muteException the value to set
* @return the dsl builder
*/
- default JettyHttp11EndpointBuilder muteException(boolean muteException) {
+ default JettyHttp12EndpointBuilder muteException(boolean muteException) {
doSetProperty("muteException", muteException);
return this;
}
@@ -482,7 +482,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param muteException the value to set
* @return the dsl builder
*/
- default JettyHttp11EndpointBuilder muteException(String muteException) {
+ default JettyHttp12EndpointBuilder muteException(String muteException) {
doSetProperty("muteException", muteException);
return this;
}
@@ -496,7 +496,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param responseBufferSize the value to set
* @return the dsl builder
*/
- default JettyHttp11EndpointBuilder responseBufferSize(
+ default JettyHttp12EndpointBuilder responseBufferSize(
Integer responseBufferSize) {
doSetProperty("responseBufferSize", responseBufferSize);
return this;
@@ -512,7 +512,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param responseBufferSize the value to set
* @return the dsl builder
*/
- default JettyHttp11EndpointBuilder responseBufferSize(
+ default JettyHttp12EndpointBuilder responseBufferSize(
String responseBufferSize) {
doSetProperty("responseBufferSize", responseBufferSize);
return this;
@@ -531,7 +531,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param sendDateHeader the value to set
* @return the dsl builder
*/
- default JettyHttp11EndpointBuilder sendDateHeader(boolean sendDateHeader) {
+ default JettyHttp12EndpointBuilder sendDateHeader(boolean sendDateHeader) {
doSetProperty("sendDateHeader", sendDateHeader);
return this;
}
@@ -550,7 +550,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param sendDateHeader the value to set
* @return the dsl builder
*/
- default JettyHttp11EndpointBuilder sendDateHeader(String sendDateHeader) {
+ default JettyHttp12EndpointBuilder sendDateHeader(String sendDateHeader) {
doSetProperty("sendDateHeader", sendDateHeader);
return this;
}
@@ -568,7 +568,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param sendServerVersion the value to set
* @return the dsl builder
*/
- default JettyHttp11EndpointBuilder sendServerVersion(
+ default JettyHttp12EndpointBuilder sendServerVersion(
boolean sendServerVersion) {
doSetProperty("sendServerVersion", sendServerVersion);
return this;
@@ -588,7 +588,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param sendServerVersion the value to set
* @return the dsl builder
*/
- default JettyHttp11EndpointBuilder sendServerVersion(
+ default JettyHttp12EndpointBuilder sendServerVersion(
String sendServerVersion) {
doSetProperty("sendServerVersion", sendServerVersion);
return this;
@@ -605,7 +605,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param sessionSupport the value to set
* @return the dsl builder
*/
- default JettyHttp11EndpointBuilder sessionSupport(boolean sessionSupport) {
+ default JettyHttp12EndpointBuilder sessionSupport(boolean sessionSupport) {
doSetProperty("sessionSupport", sessionSupport);
return this;
}
@@ -622,7 +622,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param sessionSupport the value to set
* @return the dsl builder
*/
- default JettyHttp11EndpointBuilder sessionSupport(String sessionSupport) {
+ default JettyHttp12EndpointBuilder sessionSupport(String sessionSupport) {
doSetProperty("sessionSupport", sessionSupport);
return this;
}
@@ -636,7 +636,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param useContinuation the value to set
* @return the dsl builder
*/
- default JettyHttp11EndpointBuilder useContinuation(
+ default JettyHttp12EndpointBuilder useContinuation(
Boolean useContinuation) {
doSetProperty("useContinuation", useContinuation);
return this;
@@ -652,7 +652,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param useContinuation the value to set
* @return the dsl builder
*/
- default JettyHttp11EndpointBuilder useContinuation(
+ default JettyHttp12EndpointBuilder useContinuation(
String useContinuation) {
doSetProperty("useContinuation", useContinuation);
return this;
@@ -668,7 +668,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param sslContextParameters the value to set
* @return the dsl builder
*/
- default JettyHttp11EndpointBuilder sslContextParameters(
+ default JettyHttp12EndpointBuilder sslContextParameters(
org.apache.camel.support.jsse.SSLContextParameters sslContextParameters) {
doSetProperty("sslContextParameters", sslContextParameters);
return this;
@@ -684,7 +684,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param sslContextParameters the value to set
* @return the dsl builder
*/
- default JettyHttp11EndpointBuilder sslContextParameters(
+ default JettyHttp12EndpointBuilder sslContextParameters(
String sslContextParameters) {
doSetProperty("sslContextParameters", sslContextParameters);
return this;
@@ -694,11 +694,11 @@ public interface JettyHttp11EndpointBuilderFactory {
/**
* Advanced builder for endpoint for the Jetty component.
*/
- public interface AdvancedJettyHttp11EndpointBuilder
+ public interface AdvancedJettyHttp12EndpointBuilder
extends
EndpointConsumerBuilder {
- default JettyHttp11EndpointBuilder basic() {
- return (JettyHttp11EndpointBuilder) this;
+ default JettyHttp12EndpointBuilder basic() {
+ return (JettyHttp12EndpointBuilder) this;
}
/**
* To use a custom HeaderFilterStrategy to filter header to and from
@@ -713,7 +713,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param headerFilterStrategy the value to set
* @return the dsl builder
*/
- default AdvancedJettyHttp11EndpointBuilder headerFilterStrategy(
+ default AdvancedJettyHttp12EndpointBuilder headerFilterStrategy(
org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy) {
doSetProperty("headerFilterStrategy", headerFilterStrategy);
return this;
@@ -731,7 +731,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param headerFilterStrategy the value to set
* @return the dsl builder
*/
- default AdvancedJettyHttp11EndpointBuilder headerFilterStrategy(
+ default AdvancedJettyHttp12EndpointBuilder headerFilterStrategy(
String headerFilterStrategy) {
doSetProperty("headerFilterStrategy", headerFilterStrategy);
return this;
@@ -749,7 +749,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param httpBinding the value to set
* @return the dsl builder
*/
- default AdvancedJettyHttp11EndpointBuilder httpBinding(
+ default AdvancedJettyHttp12EndpointBuilder httpBinding(
org.apache.camel.http.common.HttpBinding httpBinding) {
doSetProperty("httpBinding", httpBinding);
return this;
@@ -767,7 +767,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param httpBinding the value to set
* @return the dsl builder
*/
- default AdvancedJettyHttp11EndpointBuilder httpBinding(
+ default AdvancedJettyHttp12EndpointBuilder httpBinding(
String httpBinding) {
doSetProperty("httpBinding", httpBinding);
return this;
@@ -794,7 +794,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param bridgeErrorHandler the value to set
* @return the dsl builder
*/
- default AdvancedJettyHttp11EndpointBuilder bridgeErrorHandler(
+ default AdvancedJettyHttp12EndpointBuilder bridgeErrorHandler(
boolean bridgeErrorHandler) {
doSetProperty("bridgeErrorHandler", bridgeErrorHandler);
return this;
@@ -822,7 +822,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param bridgeErrorHandler the value to set
* @return the dsl builder
*/
- default AdvancedJettyHttp11EndpointBuilder bridgeErrorHandler(
+ default AdvancedJettyHttp12EndpointBuilder bridgeErrorHandler(
String bridgeErrorHandler) {
doSetProperty("bridgeErrorHandler", bridgeErrorHandler);
return this;
@@ -840,7 +840,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param eagerCheckContentAvailable the value to set
* @return the dsl builder
*/
- default AdvancedJettyHttp11EndpointBuilder eagerCheckContentAvailable(
+ default AdvancedJettyHttp12EndpointBuilder eagerCheckContentAvailable(
boolean eagerCheckContentAvailable) {
doSetProperty("eagerCheckContentAvailable", eagerCheckContentAvailable);
return this;
@@ -859,7 +859,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param eagerCheckContentAvailable the value to set
* @return the dsl builder
*/
- default AdvancedJettyHttp11EndpointBuilder eagerCheckContentAvailable(
+ default AdvancedJettyHttp12EndpointBuilder eagerCheckContentAvailable(
String eagerCheckContentAvailable) {
doSetProperty("eagerCheckContentAvailable", eagerCheckContentAvailable);
return this;
@@ -878,7 +878,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param exceptionHandler the value to set
* @return the dsl builder
*/
- default AdvancedJettyHttp11EndpointBuilder exceptionHandler(
+ default AdvancedJettyHttp12EndpointBuilder exceptionHandler(
org.apache.camel.spi.ExceptionHandler exceptionHandler) {
doSetProperty("exceptionHandler", exceptionHandler);
return this;
@@ -897,7 +897,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param exceptionHandler the value to set
* @return the dsl builder
*/
- default AdvancedJettyHttp11EndpointBuilder exceptionHandler(
+ default AdvancedJettyHttp12EndpointBuilder exceptionHandler(
String exceptionHandler) {
doSetProperty("exceptionHandler", exceptionHandler);
return this;
@@ -913,7 +913,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param exchangePattern the value to set
* @return the dsl builder
*/
- default AdvancedJettyHttp11EndpointBuilder exchangePattern(
+ default AdvancedJettyHttp12EndpointBuilder exchangePattern(
org.apache.camel.ExchangePattern exchangePattern) {
doSetProperty("exchangePattern", exchangePattern);
return this;
@@ -929,7 +929,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param exchangePattern the value to set
* @return the dsl builder
*/
- default AdvancedJettyHttp11EndpointBuilder exchangePattern(
+ default AdvancedJettyHttp12EndpointBuilder exchangePattern(
String exchangePattern) {
doSetProperty("exchangePattern", exchangePattern);
return this;
@@ -946,7 +946,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param fileSizeThreshold the value to set
* @return the dsl builder
*/
- default AdvancedJettyHttp11EndpointBuilder fileSizeThreshold(
+ default AdvancedJettyHttp12EndpointBuilder fileSizeThreshold(
Integer fileSizeThreshold) {
doSetProperty("fileSizeThreshold", fileSizeThreshold);
return this;
@@ -964,7 +964,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param fileSizeThreshold the value to set
* @return the dsl builder
*/
- default AdvancedJettyHttp11EndpointBuilder fileSizeThreshold(
+ default AdvancedJettyHttp12EndpointBuilder fileSizeThreshold(
String fileSizeThreshold) {
doSetProperty("fileSizeThreshold", fileSizeThreshold);
return this;
@@ -981,7 +981,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param filesLocation the value to set
* @return the dsl builder
*/
- default AdvancedJettyHttp11EndpointBuilder filesLocation(
+ default AdvancedJettyHttp12EndpointBuilder filesLocation(
String filesLocation) {
doSetProperty("filesLocation", filesLocation);
return this;
@@ -1002,7 +1002,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param value the option value
* @return the dsl builder
*/
- default AdvancedJettyHttp11EndpointBuilder filterInitParameters(
+ default AdvancedJettyHttp12EndpointBuilder filterInitParameters(
String key,
Object value) {
doSetMultiValueProperty("filterInitParameters", "filter." + key, value);
@@ -1023,7 +1023,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param values the values
* @return the dsl builder
*/
- default AdvancedJettyHttp11EndpointBuilder filterInitParameters(
+ default AdvancedJettyHttp12EndpointBuilder filterInitParameters(
Map values) {
doSetMultiValueProperties("filterInitParameters", "filter.", values);
return this;
@@ -1040,7 +1040,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param filters the value to set
* @return the dsl builder
*/
- default AdvancedJettyHttp11EndpointBuilder filters(
+ default AdvancedJettyHttp12EndpointBuilder filters(
List<jakarta.servlet.Filter> filters) {
doSetProperty("filters", filters);
return this;
@@ -1057,7 +1057,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param filters the value to set
* @return the dsl builder
*/
- default AdvancedJettyHttp11EndpointBuilder filters(String filters) {
+ default AdvancedJettyHttp12EndpointBuilder filters(String filters) {
doSetProperty("filters", filters);
return this;
}
@@ -1077,7 +1077,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param handlers the value to set
* @return the dsl builder
*/
- default AdvancedJettyHttp11EndpointBuilder handlers(
+ default AdvancedJettyHttp12EndpointBuilder handlers(
List<org.eclipse.jetty.server.Handler> handlers) {
doSetProperty("handlers", handlers);
return this;
@@ -1098,7 +1098,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param handlers the value to set
* @return the dsl builder
*/
- default AdvancedJettyHttp11EndpointBuilder handlers(String handlers) {
+ default AdvancedJettyHttp12EndpointBuilder handlers(String handlers) {
doSetProperty("handlers", handlers);
return this;
}
@@ -1116,7 +1116,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param idleTimeout the value to set
* @return the dsl builder
*/
- default AdvancedJettyHttp11EndpointBuilder idleTimeout(long idleTimeout) {
+ default AdvancedJettyHttp12EndpointBuilder idleTimeout(long idleTimeout) {
doSetProperty("idleTimeout", idleTimeout);
return this;
}
@@ -1134,7 +1134,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param idleTimeout the value to set
* @return the dsl builder
*/
- default AdvancedJettyHttp11EndpointBuilder idleTimeout(
+ default AdvancedJettyHttp12EndpointBuilder idleTimeout(
String idleTimeout) {
doSetProperty("idleTimeout", idleTimeout);
return this;
@@ -1152,7 +1152,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param mapHttpMessageBody the value to set
* @return the dsl builder
*/
- default AdvancedJettyHttp11EndpointBuilder mapHttpMessageBody(
+ default AdvancedJettyHttp12EndpointBuilder mapHttpMessageBody(
boolean mapHttpMessageBody) {
doSetProperty("mapHttpMessageBody", mapHttpMessageBody);
return this;
@@ -1171,7 +1171,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param mapHttpMessageBody the value to set
* @return the dsl builder
*/
- default AdvancedJettyHttp11EndpointBuilder mapHttpMessageBody(
+ default AdvancedJettyHttp12EndpointBuilder mapHttpMessageBody(
String mapHttpMessageBody) {
doSetProperty("mapHttpMessageBody", mapHttpMessageBody);
return this;
@@ -1189,7 +1189,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param mapHttpMessageFormUrlEncodedBody the value to set
* @return the dsl builder
*/
- default AdvancedJettyHttp11EndpointBuilder mapHttpMessageFormUrlEncodedBody(
+ default AdvancedJettyHttp12EndpointBuilder mapHttpMessageFormUrlEncodedBody(
boolean mapHttpMessageFormUrlEncodedBody) {
doSetProperty("mapHttpMessageFormUrlEncodedBody", mapHttpMessageFormUrlEncodedBody);
return this;
@@ -1208,7 +1208,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param mapHttpMessageFormUrlEncodedBody the value to set
* @return the dsl builder
*/
- default AdvancedJettyHttp11EndpointBuilder mapHttpMessageFormUrlEncodedBody(
+ default AdvancedJettyHttp12EndpointBuilder mapHttpMessageFormUrlEncodedBody(
String mapHttpMessageFormUrlEncodedBody) {
doSetProperty("mapHttpMessageFormUrlEncodedBody", mapHttpMessageFormUrlEncodedBody);
return this;
@@ -1226,7 +1226,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param mapHttpMessageHeaders the value to set
* @return the dsl builder
*/
- default AdvancedJettyHttp11EndpointBuilder mapHttpMessageHeaders(
+ default AdvancedJettyHttp12EndpointBuilder mapHttpMessageHeaders(
boolean mapHttpMessageHeaders) {
doSetProperty("mapHttpMessageHeaders", mapHttpMessageHeaders);
return this;
@@ -1245,7 +1245,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param mapHttpMessageHeaders the value to set
* @return the dsl builder
*/
- default AdvancedJettyHttp11EndpointBuilder mapHttpMessageHeaders(
+ default AdvancedJettyHttp12EndpointBuilder mapHttpMessageHeaders(
String mapHttpMessageHeaders) {
doSetProperty("mapHttpMessageHeaders", mapHttpMessageHeaders);
return this;
@@ -1260,7 +1260,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param maxFileSize the value to set
* @return the dsl builder
*/
- default AdvancedJettyHttp11EndpointBuilder maxFileSize(Long maxFileSize) {
+ default AdvancedJettyHttp12EndpointBuilder maxFileSize(Long maxFileSize) {
doSetProperty("maxFileSize", maxFileSize);
return this;
}
@@ -1275,7 +1275,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param maxFileSize the value to set
* @return the dsl builder
*/
- default AdvancedJettyHttp11EndpointBuilder maxFileSize(
+ default AdvancedJettyHttp12EndpointBuilder maxFileSize(
String maxFileSize) {
doSetProperty("maxFileSize", maxFileSize);
return this;
@@ -1291,7 +1291,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param maxRequestSize the value to set
* @return the dsl builder
*/
- default AdvancedJettyHttp11EndpointBuilder maxRequestSize(
+ default AdvancedJettyHttp12EndpointBuilder maxRequestSize(
Long maxRequestSize) {
doSetProperty("maxRequestSize", maxRequestSize);
return this;
@@ -1308,7 +1308,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param maxRequestSize the value to set
* @return the dsl builder
*/
- default AdvancedJettyHttp11EndpointBuilder maxRequestSize(
+ default AdvancedJettyHttp12EndpointBuilder maxRequestSize(
String maxRequestSize) {
doSetProperty("maxRequestSize", maxRequestSize);
return this;
@@ -1325,7 +1325,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param multipartFilter the value to set
* @return the dsl builder
*/
- default AdvancedJettyHttp11EndpointBuilder multipartFilter(
+ default AdvancedJettyHttp12EndpointBuilder multipartFilter(
jakarta.servlet.Filter multipartFilter) {
doSetProperty("multipartFilter", multipartFilter);
return this;
@@ -1342,7 +1342,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param multipartFilter the value to set
* @return the dsl builder
*/
- default AdvancedJettyHttp11EndpointBuilder multipartFilter(
+ default AdvancedJettyHttp12EndpointBuilder multipartFilter(
String multipartFilter) {
doSetProperty("multipartFilter", multipartFilter);
return this;
@@ -1359,7 +1359,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param optionsEnabled the value to set
* @return the dsl builder
*/
- default AdvancedJettyHttp11EndpointBuilder optionsEnabled(
+ default AdvancedJettyHttp12EndpointBuilder optionsEnabled(
boolean optionsEnabled) {
doSetProperty("optionsEnabled", optionsEnabled);
return this;
@@ -1377,7 +1377,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param optionsEnabled the value to set
* @return the dsl builder
*/
- default AdvancedJettyHttp11EndpointBuilder optionsEnabled(
+ default AdvancedJettyHttp12EndpointBuilder optionsEnabled(
String optionsEnabled) {
doSetProperty("optionsEnabled", optionsEnabled);
return this;
@@ -1394,7 +1394,7 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param traceEnabled the value to set
* @return the dsl builder
*/
- default AdvancedJettyHttp11EndpointBuilder traceEnabled(
+ default AdvancedJettyHttp12EndpointBuilder traceEnabled(
boolean traceEnabled) {
doSetProperty("traceEnabled", traceEnabled);
return this;
@@ -1412,17 +1412,17 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param traceEnabled the value to set
* @return the dsl builder
*/
- default AdvancedJettyHttp11EndpointBuilder traceEnabled(
+ default AdvancedJettyHttp12EndpointBuilder traceEnabled(
String traceEnabled) {
doSetProperty("traceEnabled", traceEnabled);
return this;
}
}
- public interface JettyHttp11Builders {
+ public interface JettyHttp12Builders {
/**
* Jetty (camel-jetty)
- * Expose HTTP endpoints using Jetty 11.
+ * Expose HTTP endpoints using Jetty 12.
*
* Category: http
* Since: 1.2
@@ -1430,12 +1430,12 @@ public interface JettyHttp11EndpointBuilderFactory {
*
* @return the dsl builder for the headers' name.
*/
- default JettyHttp11HeaderNameBuilder jetty() {
- return JettyHttp11HeaderNameBuilder.INSTANCE;
+ default JettyHttp12HeaderNameBuilder jetty() {
+ return JettyHttp12HeaderNameBuilder.INSTANCE;
}
/**
* Jetty (camel-jetty)
- * Expose HTTP endpoints using Jetty 11.
+ * Expose HTTP endpoints using Jetty 12.
*
* Category: http
* Since: 1.2
@@ -1449,12 +1449,12 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param path httpUri
* @return the dsl builder
*/
- default JettyHttp11EndpointBuilder jetty(String path) {
- return JettyHttp11EndpointBuilderFactory.endpointBuilder("jetty", path);
+ default JettyHttp12EndpointBuilder jetty(String path) {
+ return JettyHttp12EndpointBuilderFactory.endpointBuilder("jetty", path);
}
/**
* Jetty (camel-jetty)
- * Expose HTTP endpoints using Jetty 11.
+ * Expose HTTP endpoints using Jetty 12.
*
* Category: http
* Since: 1.2
@@ -1470,22 +1470,22 @@ public interface JettyHttp11EndpointBuilderFactory {
* @param path httpUri
* @return the dsl builder
*/
- default JettyHttp11EndpointBuilder jetty(
+ default JettyHttp12EndpointBuilder jetty(
String componentName,
String path) {
- return JettyHttp11EndpointBuilderFactory.endpointBuilder(componentName, path);
+ return JettyHttp12EndpointBuilderFactory.endpointBuilder(componentName, path);
}
}
/**
* The builder of headers' name for the Jetty component.
*/
- public static class JettyHttp11HeaderNameBuilder {
+ public static class JettyHttp12HeaderNameBuilder {
/**
* The internal instance of the builder used to access to all the
* methods representing the name of headers.
*/
- private static final JettyHttp11HeaderNameBuilder INSTANCE = new JettyHttp11HeaderNameBuilder();
+ private static final JettyHttp12HeaderNameBuilder INSTANCE = new JettyHttp12HeaderNameBuilder();
/**
* The servlet context path used.
@@ -1514,14 +1514,14 @@ public interface JettyHttp11EndpointBuilderFactory {
return "CamelHttpPath";
}
}
- static JettyHttp11EndpointBuilder endpointBuilder(
+ static JettyHttp12EndpointBuilder endpointBuilder(
String componentName,
String path) {
- class JettyHttp11EndpointBuilderImpl extends AbstractEndpointBuilder implements JettyHttp11EndpointBuilder, AdvancedJettyHttp11EndpointBuilder {
- public JettyHttp11EndpointBuilderImpl(String path) {
+ class JettyHttp12EndpointBuilderImpl extends AbstractEndpointBuilder implements JettyHttp12EndpointBuilder, AdvancedJettyHttp12EndpointBuilder {
+ public JettyHttp12EndpointBuilderImpl(String path) {
super(componentName, path);
}
}
- return new JettyHttp11EndpointBuilderImpl(path);
+ return new JettyHttp12EndpointBuilderImpl(path);
}
}
\ No newline at end of file