Thanks pedro,
So, I hope it would be good to have http config api for providing cors
configuration and to keep config-file and sevlet filter as alternative
means to provide cors configuration i.e., having impl for all the three
ways.
This would enable a user to use cors as a part of PL HTTP API or just the
cors itself alone using config-file or servlet filter .