public interface SessionMatcher
SessionMatcherFilter to match a
SessionMatcherContext against a request. Please be aware that session
matchers will be shared between different requests and sessions, so any state
information should be stored into the session matcher context, only. If
possible implementations of this interface should inherit from
AbstractSessionMatcher to ensure compatibility with future releases.| Modifier and Type | Method and Description |
|---|---|
SessionMatcherContext |
init(javax.servlet.http.HttpServletRequest request)
Initializes the session matcher from a request.
|
boolean |
matches(SessionMatcherContext context,
javax.servlet.http.HttpServletRequest request)
Determines if a request actually meets the criteria represented by the
specified session matcher context.
|
SessionMatcherContext init(javax.servlet.http.HttpServletRequest request)
request - the requestboolean matches(SessionMatcherContext context, javax.servlet.http.HttpServletRequest request)
init(HttpServletRequest) method.context - the session matcher contextrequest - the requestCopyright © 2013. All Rights Reserved.