based on new generichttpfilter