Repository: camel Updated Branches: refs/heads/camel-2.16.x aea0bef84 -> af14ebfce
Camel component docs Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/af14ebfc Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/af14ebfc Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/af14ebfc Branch: refs/heads/camel-2.16.x Commit: af14ebfce4ce034b87b27b56c64a5027364c18c7 Parents: aea0bef Author: Claus Ibsen <davscl...@apache.org> Authored: Tue Jan 5 17:21:43 2016 +0100 Committer: Claus Ibsen <davscl...@apache.org> Committed: Tue Jan 5 17:38:10 2016 +0100 ---------------------------------------------------------------------- .../java/org/apache/camel/http/common/HttpCommonEndpoint.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/af14ebfc/components/camel-http-common/src/main/java/org/apache/camel/http/common/HttpCommonEndpoint.java ---------------------------------------------------------------------- diff --git a/components/camel-http-common/src/main/java/org/apache/camel/http/common/HttpCommonEndpoint.java b/components/camel-http-common/src/main/java/org/apache/camel/http/common/HttpCommonEndpoint.java index 19cfcc1..22b9017 100644 --- a/components/camel-http-common/src/main/java/org/apache/camel/http/common/HttpCommonEndpoint.java +++ b/components/camel-http-common/src/main/java/org/apache/camel/http/common/HttpCommonEndpoint.java @@ -31,7 +31,6 @@ public abstract class HttpCommonEndpoint extends DefaultEndpoint implements Head // Note: all options must be documented with description in annotations so extended components can access the documentation HttpCommonComponent component; - UrlRewrite urlRewrite; @UriPath(label = "producer", description = "The url of the HTTP endpoint to call.") @Metadata(required = "true") URI httpUri; @@ -99,6 +98,10 @@ public abstract class HttpCommonEndpoint extends DefaultEndpoint implements Head @UriParam(label = "producer", defaultValue = "200-299", description = "The status codes which is considered a success response. The values are inclusive. The range must be defined as from-to with the dash included.") private String okStatusCodeRange = "200-299"; + @UriParam(label = "producer,advanced", + description = "Refers to a custom org.apache.camel.component.http.UrlRewrite which allows you to rewrite urls when you bridge/proxy endpoints." + + " See more details at http://camel.apache.org/urlrewrite.html") + private UrlRewrite urlRewrite; public HttpCommonEndpoint() { } @@ -408,4 +411,6 @@ public abstract class HttpCommonEndpoint extends DefaultEndpoint implements Head public void setOkStatusCodeRange(String okStatusCodeRange) { this.okStatusCodeRange = okStatusCodeRange; } + + }