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 2024/03/01 11:54:44 UTC
(camel) branch main updated: Regen
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 bf71dc3611a Regen
bf71dc3611a is described below
commit bf71dc3611ae9bf20caa027a9fc4e26c75ed0b19
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Fri Mar 1 12:54:24 2024 +0100
Regen
---
.../java/org/apache/camel/spi/RestConfiguration.java | 12 ++++++------
.../camel/model/rest/RestConfigurationDefinition.java | 18 +++++++++---------
.../apache/camel/main/RestConfigurationProperties.java | 6 +++---
3 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/core/camel-api/src/main/java/org/apache/camel/spi/RestConfiguration.java b/core/camel-api/src/main/java/org/apache/camel/spi/RestConfiguration.java
index 3f6457e8f11..ac2c5fe4950 100644
--- a/core/camel-api/src/main/java/org/apache/camel/spi/RestConfiguration.java
+++ b/core/camel-api/src/main/java/org/apache/camel/spi/RestConfiguration.java
@@ -174,9 +174,9 @@ public class RestConfiguration {
/**
* Whether to use X-Forward headers to set host etc. for OpenApi.
*
- * This may be needed in special cases involving reverse-proxy and networking going from HTTP to HTTPS etc.
- * Then the proxy can send X-Forward headers (X-Forwarded-Proto) that influences the host names in the OpenAPI schema
- * that camel-openapi-java generates from Rest DSL routes.
+ * This may be needed in special cases involving reverse-proxy and networking going from HTTP to HTTPS etc. Then the
+ * proxy can send X-Forward headers (X-Forwarded-Proto) that influences the host names in the OpenAPI schema that
+ * camel-openapi-java generates from Rest DSL routes.
*/
public boolean isUseXForwardHeaders() {
return useXForwardHeaders;
@@ -185,9 +185,9 @@ public class RestConfiguration {
/**
* Whether to use X-Forward headers to set host etc. for OpenApi.
*
- * This may be needed in special cases involving reverse-proxy and networking going from HTTP to HTTPS etc.
- * Then the proxy can send X-Forward headers (X-Forwarded-Proto) that influences the host names in the OpenAPI schema
- * that camel-openapi-java generates from Rest DSL routes.
+ * This may be needed in special cases involving reverse-proxy and networking going from HTTP to HTTPS etc. Then the
+ * proxy can send X-Forward headers (X-Forwarded-Proto) that influences the host names in the OpenAPI schema that
+ * camel-openapi-java generates from Rest DSL routes.
*/
public void setUseXForwardHeaders(boolean useXForwardHeaders) {
this.useXForwardHeaders = useXForwardHeaders;
diff --git a/core/camel-core-model/src/main/java/org/apache/camel/model/rest/RestConfigurationDefinition.java b/core/camel-core-model/src/main/java/org/apache/camel/model/rest/RestConfigurationDefinition.java
index ee6cd0feb5d..245b339de23 100644
--- a/core/camel-core-model/src/main/java/org/apache/camel/model/rest/RestConfigurationDefinition.java
+++ b/core/camel-core-model/src/main/java/org/apache/camel/model/rest/RestConfigurationDefinition.java
@@ -493,9 +493,9 @@ public class RestConfigurationDefinition {
/**
* Whether to use X-Forward headers to set host etc. for OpenApi.
*
- * This may be needed in special cases involving reverse-proxy and networking going from HTTP to HTTPS etc.
- * Then the proxy can send X-Forward headers (X-Forwarded-Proto) that influences the host names in the OpenAPI schema
- * that camel-openapi-java generates from Rest DSL routes.
+ * This may be needed in special cases involving reverse-proxy and networking going from HTTP to HTTPS etc. Then the
+ * proxy can send X-Forward headers (X-Forwarded-Proto) that influences the host names in the OpenAPI schema that
+ * camel-openapi-java generates from Rest DSL routes.
*/
public void setUseXForwardHeaders(String useXForwardHeaders) {
this.useXForwardHeaders = useXForwardHeaders;
@@ -878,9 +878,9 @@ public class RestConfigurationDefinition {
/**
* Whether to use X-Forward headers to set host etc. for OpenApi.
*
- * This may be needed in special cases involving reverse-proxy and networking going from HTTP to HTTPS etc.
- * Then the proxy can send X-Forward headers (X-Forwarded-Proto) that influences the host names in the OpenAPI schema
- * that camel-openapi-java generates from Rest DSL routes.
+ * This may be needed in special cases involving reverse-proxy and networking going from HTTP to HTTPS etc. Then the
+ * proxy can send X-Forward headers (X-Forwarded-Proto) that influences the host names in the OpenAPI schema that
+ * camel-openapi-java generates from Rest DSL routes.
*/
public RestConfigurationDefinition useXForwardHeaders(boolean useXForwardHeaders) {
setUseXForwardHeaders(useXForwardHeaders ? "true" : "false");
@@ -890,9 +890,9 @@ public class RestConfigurationDefinition {
/**
* Whether to use X-Forward headers to set host etc. for OpenApi.
*
- * This may be needed in special cases involving reverse-proxy and networking going from HTTP to HTTPS etc.
- * Then the proxy can send X-Forward headers (X-Forwarded-Proto) that influences the host names in the OpenAPI schema
- * that camel-openapi-java generates from Rest DSL routes.
+ * This may be needed in special cases involving reverse-proxy and networking going from HTTP to HTTPS etc. Then the
+ * proxy can send X-Forward headers (X-Forwarded-Proto) that influences the host names in the OpenAPI schema that
+ * camel-openapi-java generates from Rest DSL routes.
*/
public RestConfigurationDefinition useXForwardHeaders(String useXForwardHeaders) {
setUseXForwardHeaders(useXForwardHeaders);
diff --git a/core/camel-main/src/main/java/org/apache/camel/main/RestConfigurationProperties.java b/core/camel-main/src/main/java/org/apache/camel/main/RestConfigurationProperties.java
index f5a68216d64..a39fb09e790 100644
--- a/core/camel-main/src/main/java/org/apache/camel/main/RestConfigurationProperties.java
+++ b/core/camel-main/src/main/java/org/apache/camel/main/RestConfigurationProperties.java
@@ -115,9 +115,9 @@ public class RestConfigurationProperties extends RestConfiguration implements Bo
/**
* Whether to use X-Forward headers to set host etc. for OpenApi.
*
- * This may be needed in special cases involving reverse-proxy and networking going from HTTP to HTTPS etc.
- * Then the proxy can send X-Forward headers (X-Forwarded-Proto) that influences the host names in the OpenAPI schema
- * that camel-openapi-java generates from Rest DSL routes.
+ * This may be needed in special cases involving reverse-proxy and networking going from HTTP to HTTPS etc. Then the
+ * proxy can send X-Forward headers (X-Forwarded-Proto) that influences the host names in the OpenAPI schema that
+ * camel-openapi-java generates from Rest DSL routes.
*/
public RestConfigurationProperties withUseXForwardHeaders(boolean useXForwardHeaders) {
setUseXForwardHeaders(useXForwardHeaders);