Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.

public final class HeaderResultMatchers

  1. Object
  2. HeaderResultMatchers
Expectations of the response headers, from MockMvcResultMatchers.header.

Methods

public ResultMatcher string(String name, String expected)The header’s first value is exactly this.
public ResultMatcher longValue(String name, long expected)The header’s first value is this number.
public ResultMatcher exists(String name)
public ResultMatcher doesNotExist(String name)

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)