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, storeCookies
protected CookieManager getCookieManager(org.apache.camel.Exchange exchange)
getCookieManager
in class BaseCookieHandler
public void setCookiePolicy(CookiePolicy cookiePolicy)
CookieHandler
cookiePolicy
- the CookiePolicyApache Camel