@Test public void statusCode() { final HttpResponse response = new HttpResponse.Builder().withStatusCode(404).build(); assertThat(response.getStatusCode(), is(404)); }
@Override public int getStatusCode() { return this.statusCode; }
HttpResponse implements Response { @Override public int getStatusCode() { return this.statusCode; } }
HttpResponse implements Response { @Override public int getStatusCode() { return this.statusCode; } private  HttpResponse(final Builder builder); }
HttpResponse implements Response { @Override public int getStatusCode() { return this.statusCode; } 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 int getStatusCode() { return this.statusCode; } 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();  }