@Test public void method() { final Method method = new HttpRequest.Builder(Method.HEAD, this.uri, this.operation).build().getMethod(); assertThat(method, is(Method.HEAD)); }
@Override public Method getMethod() { return this.method; }
HttpRequest implements Request { @Override public Method getMethod() { return this.method; } }
HttpRequest implements Request { @Override public Method getMethod() { return this.method; } private  HttpRequest(final Builder builder); }
HttpRequest implements Request { @Override public Method getMethod() { return this.method; } 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 Method getMethod() { return this.method; } 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();  }