code: @Override
     public void initializeUI(UIBuilder builder) throws Exception
     {
        super.initializeUI(builder);
        getNamed().setDefaultValue("NewCrossOriginResourceSharingFilter");
        accessControlAllowHeaders.setValue(Arrays.asList("Content-Type", "User-Agent", "X-Requested-With",
                 "X-Requested-By", "Cache-Control"));
        accessControlAllowMethods.setValueChoices(Arrays.asList(HttpMethod.GET, HttpMethod.POST, HttpMethod.PUT,
                 HttpMethod.DELETE, HttpMethod.HEAD, HttpMethod.OPTIONS));
        accessControlAllowMethods.setValue(Arrays.asList(HttpMethod.GET, HttpMethod.POST, HttpMethod.PUT,
                 HttpMethod.DELETE));
        builder.add(accessControlAllowMethods).add(accessControlAllowHeaders)
                 .add(accessControlAllowOrigin).add(accessControlAllowCredentials);
     }
docs: private UIInputMany<String> accessControlRequestHeaders;