The addHeader method of the Response class adds a header to the Response object.
public void addHeader(String name, String value);