code: private void parseAndStore(
              final String allowedOrigins,
              final String allowedHttpMethods,
              final String allowedHttpHeaders,
              final String exposedHeaders,
              final String supportsCredentials,
              final String preflightMaxAge,
              final String decorateRequest)
              throws ServletException {
  
          setAllowedOrigins(allowedOrigins);
  
          setAllowedHttpMethods(allowedHttpMethods);
  
          setAllowedHttpHeaders(allowedHttpHeaders);
  
          setExposedHeaders(exposedHeaders);
  
          setSupportsCredentials(supportsCredentials);
  
          setPreflightMaxAge(preflightMaxAge);
  
          setDecorateRequest(decorateRequest);
      }
docs: Parses each param-value and populates configuration variables. If a param is provided, it
  overrides the default.
  
  @param allowedOrigins A {@link String} of comma separated origins.
  @param allowedHttpMethods A {@link String} of comma separated HTTP methods.
  @param allowedHttpHeaders A {@link String} of comma separated HTTP headers.
  @param exposedHeaders A {@link String} of comma separated headers that needs to be exposed.
  @param supportsCredentials "true" if support credentials needs to be enabled.
  @param preflightMaxAge The amount of seconds the user agent is allowed to cache the result of
  the pre-flight request.
  @param decorateRequest A {@link String} representing a boolean whether to decorate the
  request object. The string "true" is parsed as true; any other value is false.
  @throws ServletException