Class CorsAssertion

java.lang.Object
io.micronaut.http.server.tck.CorsAssertion

public final class CorsAssertion extends Object
CORS assertion.
Since:
3.9.0
Author:
Sergio del Amo
  • Method Details

    • validate

      public void validate(HttpResponse<?> response)
      Validate the CORS assertions.
      Parameters:
      response - HTTP Response to run CORS assertions against it.
    • builder

      public static CorsAssertion.Builder builder()
      Returns:
      a CORS Assertion Builder.