attribute is present or not judged by function isPresent

Hello，
Please see this pr there may be a problem.
Now param presention is judged in function validateRequired, but when url is like: http://xxx.com?psn=aa&offset=
the param offset should be validated by function validateNumeric. now offset is not present.
I think it should use another function to judge.