Class InstanceCookieHandler
java.lang.Object
org.apache.camel.http.base.cookie.BaseCookieHandler
org.apache.camel.http.base.cookie.InstanceCookieHandler
- All Implemented Interfaces:
CookieHandler
This implementation of the
CookieHandler
interface keeps the cookies with
the instance of this object. If it is shared between endpoints the sessions will be shared as long as they are sent
to the same domain.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected CookieManager
getCookieManager
(org.apache.camel.Exchange exchange) void
setCookiePolicy
(CookiePolicy cookiePolicy) Define a CookiePolicy for cookies stored by this CookieHandlerMethods inherited from class org.apache.camel.http.base.cookie.BaseCookieHandler
getCookieStore, loadCookies, storeCookies
-
Constructor Details
-
InstanceCookieHandler
public InstanceCookieHandler()
-
-
Method Details
-
getCookieManager
- Specified by:
getCookieManager
in classBaseCookieHandler
-
setCookiePolicy
Description copied from interface:CookieHandler
Define a CookiePolicy for cookies stored by this CookieHandler- Parameters:
cookiePolicy
- the CookiePolicy
-