netty5/example/src/main
Daniel Bevenius 4fc9afa102 Adding origins whitelist support for CORS
Motivation:
Currently the CORS support only handles a single origin, or a wildcard
origin. This task should enhance Netty's CORS support to allow multiple
origins to be specified. Just being allowed to specify one origin is
particulary limiting when a site support both http and https for
example.

Modifications:
- Updated CorsConfig and its Builder to accept multiple origins.

Result:
Users are now able to configure multiple origins for CORS.

[https://github.com/netty/netty/issues/2346]
2014-03-30 19:40:48 +02:00
..
java/io/netty/example Adding origins whitelist support for CORS 2014-03-30 19:40:48 +02:00
resources Adding a Cross Origin Resource Sharing (CORS) handler. 2014-01-16 08:18:16 +01:00