Class ExchangeCookieHandler
java.lang.Object
org.apache.camel.http.base.cookie.BaseCookieHandler
org.apache.camel.http.base.cookie.ExchangeCookieHandler
- All Implemented Interfaces:
CookieHandler
This implementation of the
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CookieManagergetCookieManager(org.apache.camel.Exchange exchange) voidsetCookiePolicy(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
-
ExchangeCookieHandler
public ExchangeCookieHandler()
-
-
Method Details
-
getCookieManager
- Specified by:
getCookieManagerin classBaseCookieHandler
-
setCookiePolicy
Description copied from interface:CookieHandlerDefine a CookiePolicy for cookies stored by this CookieHandler- Parameters:
cookiePolicy- the CookiePolicy
-