public class ExchangeCookieHandler extends BaseCookieHandler
CookieHandler
interface keeps the
cookies with the Exchange
. As this implementation
does not keep any state you can share it between different endpoints without
limitation.Constructor and Description |
---|
ExchangeCookieHandler() |
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