Ajax requests are from type RequestFacade. "Normal" requests are from type JBossActionRequest (~2.7.1. make use of another wrapper class of JBossActionRequest).
What you should do, make a check what kind of request you will get (instanceof), because otherwise you will see another ClassCastException after JBP upgrade :)
Thanks Daniel, will try this out.