You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by si...@apache.org on 2016/10/21 08:20:52 UTC
camel git commit: CAMEL-10392: clarify a the documentation
Repository: camel
Updated Branches:
refs/heads/master cc1983c7f -> fe963d847
CAMEL-10392: clarify a the documentation
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/fe963d84
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/fe963d84
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/fe963d84
Branch: refs/heads/master
Commit: fe963d8476df56ce7dc6c7620b78253c016026ed
Parents: cc1983c
Author: Stephan Siano <st...@sap.com>
Authored: Fri Oct 21 10:20:26 2016 +0200
Committer: Stephan Siano <st...@sap.com>
Committed: Fri Oct 21 10:20:26 2016 +0200
----------------------------------------------------------------------
docs/user-manual/en/http-session.adoc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/fe963d84/docs/user-manual/en/http-session.adoc
----------------------------------------------------------------------
diff --git a/docs/user-manual/en/http-session.adoc b/docs/user-manual/en/http-session.adoc
index e61e65a..dd5b81d 100644
--- a/docs/user-manual/en/http-session.adoc
+++ b/docs/user-manual/en/http-session.adoc
@@ -132,7 +132,8 @@ perform a `cookieHandler.loadCookies(exchange, uri)` call. It will return a
The details how you need to send these headers to the server depend on the underlying HTTP
API you are using.
. After your code does receive the HTTP response if a cookie handler is set on the endpoint
-perform a `cookieHandler.storeCookies(exchange, uri, m)` call. `m` is a `Map<String, List<String>>`.
+perform a `cookieHandler.storeCookies(exchange, uri, m)` call. `m` is a
+`Map<String, List<String>>` containing the HTTP headers returned from the server.
Note: some APIs provide more direct support for cookie handling. In this case it might be easier
to get the underlying `java.net.CookieStore` with a `cookeManager.getCookieStore(exchange)` call