Please find my answer in JIRA, didn't want to copy and noticed too lated you
answered here in addition.
From: Marek Potociar [mailto:marek.potociar_at_oracle.com]
Sent: Freitag, 2. November 2012 19:45
To: jsr339-experts_at_jax-rs-spec.java.net
Subject: [jsr339-experts] Re: [jax-rs-spec users] FW: Please discuss
http://java.net/jira/browse/JAX_RS_SPEC-293
Markus,
DynamicFeature is a deploy time concept and will remain to be deploy time
concept. Votes on the Jira issue will not change my opinion. Especially as
there is no way to cast -1 votes.
Filters an make their decision based on HTTP headers already. If we did what
you are suggesting it would have a significant negative impact on
performance because we would have to consult the features and assemble a new
filter chain with every incoming request.
Regards,
Marek
On Nov 2, 2012, at 5:56 PM, Markus KARG <markus_at_headcrashing.eu> wrote:
Experts,
in a private discussion Jan and me thought it could be a good idea that
DynamicFeature (as the word "dynamic" implies it) would include the
possibility to bind filters to http headers, so I'd like to invite you to
discuss this proposal <
http://java.net/jira/browse/JAX_RS_SPEC-293>
http://java.net/jira/browse/JAX_RS_SPEC-293 and to vote for it if you share
our opinion. :-)
Thanks
Markus