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 ofIObjectCheckerthat 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.ResultdoCheck(java.lang.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
-
-
-
-
Method Detail
-
doCheck
public IObjectChecker.Result doCheck(java.lang.Object obj)
Description copied from class:AbstractObjectCheckerThe implementations should make the specific check on the object.- Overrides:
doCheckin classAbstractObjectChecker- Parameters:
obj- the object to check- Returns:
- the
resultof the specific check
-
-