Request { public HttpUrl url() { return url; } Request(Builder builder); HttpUrl url(); Map<String, String> headers(); String method(); RequestBody body(); static final String METHOD_GET; static final String METHOD_POST; static final String METHOD_PUT; static final String METHOD_DELETE; static final String METHOD_HEAD; static final String METHOD_OPTIONS; static final String METHOD_TRACE; }
@Test public void uninitializedURI() throws Exception { Request request = new Request.Builder().url("http: assertEquals(new URI("http: assertEquals(HttpUrl.parse("http: }