qbit/core/src/main/java/io/advantageous/qbit/http/server/CorsResponseDecorator.java
@Override
    public boolean decorateTextResponse(HttpTextResponseHolder responseHolder, String requestPath, String requestMethod, int code, String contentType, String payload, MultiMap<String, String> responseHeaders, MultiMap<String, String> requestHeaders, MultiMap<String, String> requestParams) {
        boolean passedCorsCheck = checkCorsAndContinue(
                new HttpRequestHolder(
                        contentType,
                        requestMethod,
                        payload.getBytes(),
                        requestPath,
                        requestHeaders,
                        requestParams),
                new HttpResponseHolder(responseHeaders)
        );

        return passedCorsCheck;
    }
@Override
    public boolean decorateTextResponse(HttpTextResponseHolder responseHolder, String requestPath, String requestMethod, int code, String contentType, String payload, MultiMap<String, String> responseHeaders, MultiMap<String, String> requestHeaders, MultiMap<String, String> requestParams) {
        boolean passedCorsCheck = checkCorsAndContinue(
                new HttpRequestHolder(
                        contentType,
                        requestMethod,
                        payload.getBytes(),
                        requestPath,
                        requestHeaders,
                        requestParams),
                new HttpResponseHolder(responseHeaders)
        );

        return passedCorsCheck;
    }
@ Override public boolean decorateTextResponse ( HttpTextResponseHolder responseHolder , String requestPath , String requestMethod , int code , String contentType , String payload , MultiMap < String , String > responseHeaders , MultiMap < String , String > requestHeaders , MultiMap < String , String > requestParams ) { boolean passedCorsCheck = checkCorsAndContinue ( new HttpRequestHolder ( contentType , requestMethod , payload . getBytes ( ) , requestPath , requestHeaders , requestParams ) , new HttpResponseHolder ( responseHeaders ) ) ; return passedCorsCheck ; }
-------------------------------------------------- CORS Response headers
-------------------------------------------------- CORS Response headers