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 385f1791243 [WIP] Improve the documentation for httpHeaders parameter. 
(#12018)
385f1791243 is described below

commit 385f17912430097b5940d88b08ee2cc4175133f2
Author: Deven Phillips <[email protected]>
AuthorDate: Fri Nov 17 03:24:51 2023 -0500

    [WIP] Improve the documentation for httpHeaders parameter. (#12018)
    
    * Improve the documentation for httpHeaders parameter.
    
    * Remove {@code} from comments
---
 .../main/java/org/apache/camel/component/stream/StreamEndpoint.java    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/components/camel-stream/src/main/java/org/apache/camel/component/stream/StreamEndpoint.java
 
b/components/camel-stream/src/main/java/org/apache/camel/component/stream/StreamEndpoint.java
index a2f11de373b..9376904dd28 100644
--- 
a/components/camel-stream/src/main/java/org/apache/camel/component/stream/StreamEndpoint.java
+++ 
b/components/camel-stream/src/main/java/org/apache/camel/component/stream/StreamEndpoint.java
@@ -145,7 +145,8 @@ public class StreamEndpoint extends DefaultEndpoint {
 
     /**
      * When using stream:http format, this option specifies optional http 
headers, such as Accept: application/json.
-     * Multiple headers can be separated by comma.
+     * Multiple headers can be separated by comma. The format of headers 
should be "HEADER=VALUE". An example
+     * might look like "Accept=application/json,Content-Type=text/plain"
      */
     public void setHttpHeaders(String httpHeaders) {
         this.httpHeaders = httpHeaders;

Reply via email to