...
- REST application load configuration file
- Application parse the property
response.http.headers.config
in configuration file using RestConfig if application based on rest-utils or using WorkerConfig if application is Kafka Connect - Application create FilterHolder with HeadFilter class.
- Application ServletContextHandler add the HeadFilter
Pseudocode
protected void configureHttpResponsHeaderFilterprivate void configureHttpResponsHeaderFilter(ServletContextHandler context) |
...