Author: grobmeier
Date: Wed Apr 3 08:13:06 2013
New Revision: 1463871
URL: http://svn.apache.org/r1463871
Log:
javadocs for CookiesAware
Modified:
struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/CookiesAware.java
Modified:
struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/CookiesAware.java
URL:
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/CookiesAware.java?rev=1463871&r1=1463870&r2=1463871&view=diff
==============================================================================
---
struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/CookiesAware.java
(original)
+++
struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/CookiesAware.java
Wed Apr 3 08:13:06 2013
@@ -23,6 +23,17 @@ package org.apache.struts2.interceptor;
import java.util.Map;
+/**
+ * Actions implementing the CookiesAware interface will receive
+ * a Map of filtered cookies via the setCookiesMap method.
+ *
+ * Please note that the {@link CookieInterceptor} needs to be
+ * activated to receive a cookies map.
+ */
public interface CookiesAware {
+ /**
+ * Sets a map of filtered cookies.
+ * @param cookies the cookies
+ */
void setCookiesMap(Map<String, String> cookies);
}
\ No newline at end of file