@Test public void defaultBody() { final Body body = new HttpResponse.Builder().withStatusCode(this.statusCode).build().getBody(); assertThat(body.getDataType(), is(DataType.NONE)); assertThat(body.getSize(), is(0L)); }
@Override public Body getBody() { return this.body; }
HttpResponse implements Response { @Override public Body getBody() { return this.body; } }
HttpResponse implements Response { @Override public Body getBody() { return this.body; } private  HttpResponse(final Builder builder); }
HttpResponse implements Response { @Override public Body getBody() { return this.body; } 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 Body getBody() { return this.body; } 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();  }