public CorsServiceBuilder shortCircuit() {
        checkState(!anyOriginSupported,
                   "shortCircuit cannot be enabled with any origin supported CorsService.");
        shortCircuit = true;
        return this;
    }
Specifies that a CORS request should be rejected if it's invalid before being
further processing.

<p>CORS headers are set after a request is processed. This may not always be desired
and this setting will check that the Origin is valid and if it is not valid no
further processing will take place, and an error will be returned to the calling client.

@return {@link CorsServiceBuilder} to support method chaining.
@throws IllegalStateException if {@link #anyOriginSupported} is {@code true}.
core/src/main/java/com/linecorp/armeria/server/cors/CorsServiceBuilder.java