Author: buildbot Date: Tue Sep 20 22:03:00 2016 New Revision: 997868 Log: Staging update by buildbot for mina
Modified: websites/staging/mina/trunk/content/ (props changed) websites/staging/mina/trunk/content/mina-project/userguide/ch4-session/ch4-session.html Propchange: websites/staging/mina/trunk/content/ ------------------------------------------------------------------------------ --- cms:source-revision (original) +++ cms:source-revision Tue Sep 20 22:03:00 2016 @@ -1 +1 @@ -1761646 +1761647 Modified: websites/staging/mina/trunk/content/mina-project/userguide/ch4-session/ch4-session.html ============================================================================== --- websites/staging/mina/trunk/content/mina-project/userguide/ch4-session/ch4-session.html (original) +++ websites/staging/mina/trunk/content/mina-project/userguide/ch4-session/ch4-session.html Tue Sep 20 22:03:00 2016 @@ -324,7 +324,7 @@ Be aware that if the remote peer is not <li>boolean containsAttribute(Object key) : tells if a given attribute is present</li> <li>Object getAttribute(Object key) : gets the value for a given attribute</li> <li>Object getAttribute(Object key, Object defaultValue) : gets the value for a given attribute, or a default value if absent</li> -<li>Set<Object> getAttributeKeys() : gets the set of all the stored attributes</li> +<li>Set\<Object\> getAttributeKeys() : gets the set of all the stored attributes</li> <li>Object removeAttribute(Object key) : remove a given attribute</li> <li>boolean removeAttribute(Object key, Object value) : remove a given attribute/value pair</li> <li>boolean replaceAttribute(Object key, Object oldValue, Object newValue) : replace a give attribute/value pair</li> @@ -333,6 +333,7 @@ Be aware that if the remote peer is not <li>Object setAttributeIfAbsent(Object key) : adds a new attribute with no value, if it does not already exist</li> <li>Object setAttributeIfAbsent(Object key, Object value) : adds a new attribute/value pair, if it does not already exist</li> </ul> + <p>All those methods allows your application to store, remove, get or update the attributes stored into your session. Also note that some attributes are used internally by MINA : don't lightly modify those you didn't create !</p> <h2 id="filter-chain">Filter chain<a class="headerlink" href="#filter-chain" title="Permanent link">¶</a></h2> <p>Each session is associated with a chain of filters, which will be processed when an incoming request or an outgoing message is received or emitted. Those filters are specific for each session individually, even if most of the cases, we will use the very same chain of filters for all the existing sessions.</p>