Uses of Class
org.apache.juneau.rest.client.assertion.ResponseHeaderAssertion
Packages that use ResponseHeaderAssertion
Package
Description
Fluent assertion classes for HTTP response validation in the REST client.
-
Uses of ResponseHeaderAssertion in org.apache.juneau.rest.client.assertion
Methods in org.apache.juneau.rest.client.assertion that return ResponseHeaderAssertionModifier and TypeMethodDescriptionAsserts that this header's value contains the given substring.Asserts that this header's value equals the expected value (case-sensitive).Returns a fluent header assertion for the named response header.ResponseHeaderAssertion.integerEquals(int expected) Asserts that this header's integer value equals the expected value.ResponseHeaderAssertion.isAbsent()Asserts that this header is absent from the response.ResponseHeaderAssertion.isPresent()Asserts that this header is present in the response.ResponseHeaderAssertion.startsWith(String prefix) Asserts that this header's value starts with the given prefix.