Uses of Class
org.springframework.test.http.HttpHeadersAssert
Packages that use HttpHeadersAssert
Package
Description
Test support for HTTP concepts.
AssertJ support for MockMvc.
-
Uses of HttpHeadersAssert in org.springframework.test.http
Methods in org.springframework.test.http that return HttpHeadersAssertModifier 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.doesNotContainHeaders(String... names) Verify that the actual HTTP headers do not contain any of the headers with the givennames.HttpHeadersAssert.doesNotContainsHeaders(String... names) Deprecated, for removal: This API element is subject to removal in a future version.Verify that the actual HTTP headers contain a header with the givennameandlongvalue. -
Uses of HttpHeadersAssert in org.springframework.test.web.servlet.assertj
Methods in org.springframework.test.web.servlet.assertj that return HttpHeadersAssertModifier and TypeMethodDescriptionAbstractHttpServletResponseAssert.headers()Return a new assertion object that usesHttpHeadersas the object to test.
doesNotContainHeaders(String...)