Class CorsResponse

java.lang.Object
com.soklet.CorsResponse

@ThreadSafe public final class CorsResponse extends Object
Response headers to send over the wire for non-preflight CORS requests.

Instances can be acquired via the withAccessControlAllowOrigin(String) builder factory method.

See https://www.soklet.com/docs/cors#writing-cors-responses for detailed documentation.

Author:
Mark Allen