private Url newUrl() { return new Url() .withHostname("localhost") .withPathname("/foo") .withPort(8080) .withProtocol("http") .withSearch("foo=bar") .appendToFull("http://localhost:8080/foo?foo=bar"); } }
.withPort(8080) .withPathname("/p/a/t/h") .withSearch("?query=string"); request.getSocket() .withEncrypted(true)
.withPort(8080) .withPathname("/p/a/t/h") .withSearch("?query=string"); request.getSocket() .withEncrypted(true)