The setExpiresAbsolute method of the Response class establishes the date when the response becomes invalid.
public void setExpiresAbsolute(wfc.app.Time dateExpire);