@Test(expected = UnsupportedOperationException.class) public void testHeaderIteratorRemove() { new HttpResponse.Builder().withStatusCode(this.statusCode).withHeader("key", "value").build() .headers().remove("key"); }
@Override public Map<String, String> headers() { return this.responseHeaders; }
HttpResponse implements Response { @Override public Map<String, String> headers() { return this.responseHeaders; } }
HttpResponse implements Response { @Override public Map<String, String> headers() { return this.responseHeaders; } private  HttpResponse(final Builder builder); }
HttpResponse implements Response { @Override public Map<String, String> headers() { return this.responseHeaders; } private  HttpResponse(final Builder builder); @Override int getStatusCode(); @Override Map<String, String> headers(); @Override Body getBody(); @Override Map<String, String> getContext(); @Override RequestTimestamps getRequestTimestamps(); @Override String toString(); }
HttpResponse implements Response { @Override public Map<String, String> headers() { return this.responseHeaders; } private  HttpResponse(final Builder builder); @Override int getStatusCode(); @Override Map<String, String> headers(); @Override Body getBody(); @Override Map<String, String> getContext(); @Override RequestTimestamps getRequestTimestamps(); @Override String toString();  }