@Test public void getUnknownHeaderShouldReturnNull() throws Exception { HttpResponse httpResponse = new HttpResponse(HttpVersion.HTTP_1_1, HttpResponseStatus.OK, null, new DefaultHttpHeaders()); String value = httpResponse.getHeader("undefined"); assertNull(value); }
public String getHeader(CharSequence name) { return headers.get(name); }
HttpResponse { public String getHeader(CharSequence name) { return headers.get(name); } }
HttpResponse { public String getHeader(CharSequence name) { return headers.get(name); } HttpResponse(HttpVersion httpVersion, HttpResponseStatus status,
						ResponseBodyConsumer responseBodyConsumer, HttpHeaders httpHeaders); }
HttpResponse { public String getHeader(CharSequence name) { return headers.get(name); } HttpResponse(HttpVersion httpVersion, HttpResponseStatus status,
						ResponseBodyConsumer responseBodyConsumer, HttpHeaders httpHeaders); String getHttpVersion(); int getStatusCode(); String getStatusReason(); T getBody(); String getHeader(CharSequence name); List<String> getHeaders(CharSequence name); List<Map.Entry<String, String>> getAllHeaders(); Headers headers(); }
HttpResponse { public String getHeader(CharSequence name) { return headers.get(name); } HttpResponse(HttpVersion httpVersion, HttpResponseStatus status,
						ResponseBodyConsumer responseBodyConsumer, HttpHeaders httpHeaders); String getHttpVersion(); int getStatusCode(); String getStatusReason(); T getBody(); String getHeader(CharSequence name); List<String> getHeaders(CharSequence name); List<Map.Entry<String, String>> getAllHeaders(); Headers headers();  }