Package org.apache.struts2.action
Interface CookiesAware
public interface CookiesAware
Actions implementing the CookiesAware interface will receive
a Map of filtered cookies via the setCookiesMap method.
Please note that the
CookieInterceptor
needs to be
activated to receive a cookies map.- Since:
- 6.0.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
withCookies
(Map<String, String> cookies) Sets a map of filtered cookies.
-
Method Details
-
withCookies
Sets a map of filtered cookies.- Parameters:
cookies
- the cookies
-