public class ValidSessionTagFilter<T> extends Object implements TagFilter
| Constructor and Description |
|---|
ValidSessionTagFilter(SessionManager<T> sessionManager)
Creates a new filter which uses the given (optional) session
manager for session ID mappings.
|
| Modifier and Type | Method and Description |
|---|---|
void |
assertMatch(Tag tag)
Asserts that the given tag is acceptable to the receiver.
|
SessionManager<T> |
getSessionManager()
Returns the receiver's session manager.
|
public ValidSessionTagFilter(SessionManager<T> sessionManager)
sessionManager - The session manager. It may be null, in
which case the filter accepts all tags.public SessionManager<T> getSessionManager()
public void assertMatch(Tag tag) throws I18NException
TagFilterassertMatch in interface TagFilterI18NException - Thrown if the tag is not acceptable.Copyright © 2015. All Rights Reserved.