private boolean isPreflightRequest(ApiRequest request) {
        return request.getType().equals("OPTIONS") && hasOriginHeader(request);
    }
Determines whether the request is a CORS preflight request.

@param request the ApiRequest
@return true if preflight, else false
@link io.apiman.common.servlet.ApimanCorsFilter#isPreflightRequest
gateway/platforms/vertx3/vertx3/src/main/java/io/apiman/gateway/platforms/vertx3/http/HttpPolicyAdapter.java