/** * Does the response contain the given header. <br> * Warning: This method always returns <code>false</code> for Content-Type and Content-Length. * * @param name The name of the header of interest * @return {@code true} if the response contains the header. */ public boolean containsHeader(String name) { return headers.getHeader(name) != null; }
public String getHeader(String name) { return headers.getHeader(name); }