@Test public void defaultBody() { final Body body = new HttpRequest.Builder(this.method, this.uri, this.operation).build().getBody(); assertThat(body.getDataType(), is(DataType.NONE)); assertThat(body.getSize(), is(0L)); }
@Override public Body getBody() { return this.body; }
HttpRequest implements Request { @Override public Body getBody() { return this.body; } }
HttpRequest implements Request { @Override public Body getBody() { return this.body; } private  HttpRequest(final Builder builder); }
HttpRequest implements Request { @Override public Body getBody() { return this.body; } private  HttpRequest(final Builder builder); @Override Method getMethod(); @Override URI getUri(); @Override Map<String, List<String>> getQueryParameters(); @Override Map<String, String> headers(); @Override Body getBody(); @Override Map<String, String> getContext(); @Override Operation getOperation(); @Override String toString(); }
HttpRequest implements Request { @Override public Body getBody() { return this.body; } private  HttpRequest(final Builder builder); @Override Method getMethod(); @Override URI getUri(); @Override Map<String, List<String>> getQueryParameters(); @Override Map<String, String> headers(); @Override Body getBody(); @Override Map<String, String> getContext(); @Override Operation getOperation(); @Override String toString();  }