Http response headers are missing in chrome – java servlet


We need to pass on response headers in servlet. I am attaching response headers as follows :

          response.setHeader("x-content-type-options", "nosniff");
                    response.setHeader("x-frame-options", "deny");
                    response.setHeader("x-xss-protection", "mode=block");
                    response.setHeader("x-xhr-logon", "accept="iframe"");

I am able to receive all headers which I attach in postman, but once I deploy the app to cloud am not able to see these headers.

I have also tried to use apache filters:

<filter>
    <filter-name>CorsFilter</filter-name>
    <filter-class>org.apache.catalina.filters.CorsFilter</filter-class>
    <init-param>
        <param-name>cors.allowed.origins</param-name>
        <param-value>*</param-value>
    </init-param>
    <init-param>
        <param-name>cors.allowed.methods</param-name>
        <param-value>GET,POST,PUT,DELETE,HEAD,OPTIONS</param-value>
    </init-param>
    <init-param>
        <param-name>cors.allowed.headers</param-name>
        <param-value>*</param-value>
    </init-param>
    <init-param>
        <param-name>cors.exposed.headers</param-name>
        <param-value>*</param-value>
    </init-param>
</filter>
<filter-mapping>
    <filter-name>CorsFilter</filter-name>
    <url-pattern> /* </url-pattern>
</filter-mapping>

Nothing seems to working, Kindly help.

Regards,
Ammy