public class InstanceCookieHandler extends BaseCookieHandler
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 and Description |
|---|
InstanceCookieHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected CookieManager |
getCookieManager(org.apache.camel.Exchange exchange) |
void |
setCookiePolicy(CookiePolicy cookiePolicy)
Define a CookiePolicy for cookies stored by this CookieHandler
|
getCookieStore, loadCookies, storeCookiesprotected CookieManager getCookieManager(org.apache.camel.Exchange exchange)
getCookieManager in class BaseCookieHandlerpublic void setCookiePolicy(CookiePolicy cookiePolicy)
CookieHandlercookiePolicy - the CookiePolicyApache Camel