Class ExchangeCookieHandler
- java.lang.Object
-
- org.apache.camel.http.base.cookie.BaseCookieHandler
-
- org.apache.camel.http.base.cookie.ExchangeCookieHandler
-
- All Implemented Interfaces:
CookieHandler
public class ExchangeCookieHandler extends BaseCookieHandler
This implementation of theCookieHandlerinterface keeps the cookies with theExchange. As this implementation does not keep any state you can share it between different endpoints without limitation.
-
-
Constructor Summary
Constructors Constructor Description ExchangeCookieHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CookieManagergetCookieManager(org.apache.camel.Exchange exchange)voidsetCookiePolicy(CookiePolicy cookiePolicy)Define a CookiePolicy for cookies stored by this CookieHandler-
Methods inherited from class org.apache.camel.http.base.cookie.BaseCookieHandler
getCookieStore, loadCookies, storeCookies
-
-
-
-
Method Detail
-
getCookieManager
protected CookieManager getCookieManager(org.apache.camel.Exchange exchange)
- Specified by:
getCookieManagerin classBaseCookieHandler
-
setCookiePolicy
public void setCookiePolicy(CookiePolicy cookiePolicy)
Description copied from interface:CookieHandlerDefine a CookiePolicy for cookies stored by this CookieHandler- Parameters:
cookiePolicy- the CookiePolicy
-
-