only apply servlet annotations on handler