Uses of Class
org.springframework.test.http.HttpHeadersAssert
Package
Description
Test support for HTTP concepts.
AssertJ support for MockMvc.
-
Uses of HttpHeadersAssert in org.springframework.test.http
Modifier and TypeMethodDescriptionHttpHeadersAssert.containsHeader
(String name) Verify that the actual HTTP headers contain a header with the givenname
.HttpHeadersAssert.containsHeaders
(String... names) Verify that the actual HTTP headers contain the headers with the givennames
.HttpHeadersAssert.doesNotContainHeader
(String name) Verify that the actual HTTP headers do not contain a header with the givenname
.HttpHeadersAssert.doesNotContainsHeaders
(String... names) Verify that the actual HTTP headers do not contain any of the headers with the givennames
. -
Uses of HttpHeadersAssert in org.springframework.test.web.servlet.assertj
Modifier and TypeMethodDescriptionAbstractHttpServletResponseAssert.headers()
Return a new assertion object that usesHttpHeaders
as the object to test.