HttpRequest extends HttpMessage { public static Builder<?> builder() { return new ConcreteBuilder(); } protected  HttpRequest(String method, URI endpoint, Multimap<String, String> headers, @Nullable Payload payload,
         Iterable<HttpRequestFilter> filters); static Builder<?> builder(); Builder<?> toBuilder(); String getRequestLine(); String getMethod(); URI getEndpoint(); List<HttpRequestFilter> getFilters(); @Override int hashCode(); @Override boolean equals(Object obj); static final Set<String> NON_PAYLOAD_METHODS; }
@Test(expectedExceptions = IllegalArgumentException.class) public void testConstructorHostNull() throws Exception { URI uri = URI.create("http: assert uri.getHost() == null : "test requires something to produce a uri with a null hostname"; HttpRequest.builder().method("GET").endpoint(uri).build(); }