CorsServiceBuilder(final String... origins){
  final Set<String> originsCopy=new LinkedHashSet<>();
  for (  String o : origins) {
    originsCopy.add(o.toLowerCase(Locale.ENGLISH));
  }
  this.origins=Collections.unmodifiableSet(originsCopy);
  anyOriginSupported=false;
}

CorsServiceBuilder ( final String ... origins ) { final Set < String > originsCopy = new LinkedHashSet < > ( ) ; for ( String o : origins ) { originsCopy . add ( o . toLowerCase ( Locale . ENGLISH ) ) ; } this . origins = Collections . unmodifiableSet ( originsCopy ) ; anyOriginSupported = false ; }
creates a new instance .
