Class CorsHandler


public class CorsHandler
extends java.lang.Object
This file is forked from the project. In particular it combines the following three files: io.netty.handler.codec.http.cors.CorsHandler, io.netty.handler.codec.http.cors.CorsConfig, and io.netty.handler.codec.http.cors.CorsConfigBuilder. It modifies the original netty code to operation on Elasticsearch http request/response abstractions. Additionally, it removes CORS features that are not used by Elasticsearch.