Beispiel #1
0
 /**
  * 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;
 }
Beispiel #2
0
 public String getHeader(String name) {
   return headers.getHeader(name);
 }