On pre/post request filters, pass as second argument the annotation arguments