Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.
public final class HeaderResultMatchers
- Object
- HeaderResultMatchers
Expectations of the response headers, from
MockMvcResultMatchers.header.Methods
Inherited methods
Method details
string
public ResultMatcher string(String name, String expected)The header’s first value is exactly this.
longValue
public ResultMatcher longValue(String name, long expected)The header’s first value is this number.
exists
public ResultMatcher exists(String name)doesNotExist
public ResultMatcher doesNotExist(String name)