Package io.micronaut.http.server.tck
Class CorsAssertion
java.lang.Object
io.micronaut.http.server.tck.CorsAssertion
CORS assertion.
- Since:
- 3.9.0
- Author:
- Sergio del Amo
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CorsAssertion.Builder
builder()
void
validate
(HttpResponse<?> response) Validate the CORS assertions.
-
Method Details
-
validate
Validate the CORS assertions.- Parameters:
response
- HTTP Response to run CORS assertions against it.
-
builder
- Returns:
- a CORS Assertion Builder.
-