public void setAllowHeaders ( String ... headers ) { allowHeadersSet . clear ( ) ; for ( String header : headers ) { allowHeadersSet . add ( header . toLowerCase ( ) ) ; } allowHeaders = Joiner . on ( "," ) . join ( headers ) ; }
Set the list of headers that may be sent by the browser for a CORS request .