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 2016/01/07 12:59:24 UTC

[5/6] camel git commit: Component docs

Component docs


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/6fdf70c5
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/6fdf70c5
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/6fdf70c5

Branch: refs/heads/camel-2.16.x
Commit: 6fdf70c59b3066de6aaf59214a9d08104bf90809
Parents: 9bbc568
Author: Claus Ibsen <da...@apache.org>
Authored: Thu Jan 7 12:12:07 2016 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Thu Jan 7 12:45:04 2016 +0100

----------------------------------------------------------------------
 .../org/apache/camel/component/netty/http/NettyHttpEndpoint.java  | 3 +++
 .../org/apache/camel/component/netty4/http/NettyHttpEndpoint.java | 3 +++
 2 files changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/6fdf70c5/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/NettyHttpEndpoint.java
----------------------------------------------------------------------
diff --git a/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/NettyHttpEndpoint.java b/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/NettyHttpEndpoint.java
index 364123a..1ef9abe 100644
--- a/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/NettyHttpEndpoint.java
+++ b/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/NettyHttpEndpoint.java
@@ -48,6 +48,9 @@ public class NettyHttpEndpoint extends NettyEndpoint implements HeaderFilterStra
     private static final Logger LOG = LoggerFactory.getLogger(NettyHttpEndpoint.class);
     @UriParam
     private NettyHttpConfiguration configuration;
+    @UriParam(label = "advanced", name = "configuration", javaType = "org.apache.camel.component.netty.http.NettyHttpConfiguration",
+              description = "To use a custom configured NettyHttpConfiguration for configuring this endpoint.")
+    private Object httpConfiguration; // to include in component docs as NettyHttpConfiguration is a @UriParams class
     @UriParam(label = "advanced")
     private NettyHttpBinding nettyHttpBinding;
     @UriParam(label = "advanced")

http://git-wip-us.apache.org/repos/asf/camel/blob/6fdf70c5/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/NettyHttpEndpoint.java
----------------------------------------------------------------------
diff --git a/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/NettyHttpEndpoint.java b/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/NettyHttpEndpoint.java
index 8071fcb..40c9ce4 100644
--- a/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/NettyHttpEndpoint.java
+++ b/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/NettyHttpEndpoint.java
@@ -47,6 +47,9 @@ public class NettyHttpEndpoint extends NettyEndpoint implements HeaderFilterStra
     private static final Logger LOG = LoggerFactory.getLogger(NettyHttpEndpoint.class);
     @UriParam
     private NettyHttpConfiguration configuration;
+    @UriParam(label = "advanced", name = "configuration", javaType = "org.apache.camel.component.netty4.http.NettyHttpConfiguration",
+            description = "To use a custom configured NettyHttpConfiguration for configuring this endpoint.")
+    private Object httpConfiguration; // to include in component docs as NettyHttpConfiguration is a @UriParams class
     @UriParam(label = "advanced")
     private NettyHttpBinding nettyHttpBinding;
     @UriParam(label = "advanced")