Class SessionChecker
- java.lang.Object
-
- org.apache.wicket.core.util.objects.checker.AbstractObjectChecker
-
- org.apache.wicket.core.util.objects.checker.SessionChecker
-
- All Implemented Interfaces:
IObjectChecker
public class SessionChecker extends AbstractObjectChecker
An implementation ofIObjectChecker
that returns a failure result when the checked object is aSession
. Keeping a reference to the session instance in the component tree is an error.- Since:
- 6.17.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.wicket.core.util.objects.checker.IObjectChecker
IObjectChecker.Result
-
-
Constructor Summary
Constructors Constructor Description SessionChecker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IObjectChecker.Result
doCheck(Object obj)
The implementations should make the specific check on the object.-
Methods inherited from class org.apache.wicket.core.util.objects.checker.AbstractObjectChecker
check, getExclusions
-
-
-
-
Constructor Detail
-
SessionChecker
public SessionChecker()
-
-
Method Detail
-
doCheck
public IObjectChecker.Result doCheck(Object obj)
Description copied from class:AbstractObjectChecker
The implementations should make the specific check on the object.- Overrides:
doCheck
in classAbstractObjectChecker
- Parameters:
obj
- the object to check- Returns:
- the
result
of the specific check
-
-