424344454647484950
private URI anotherUri; @BeforeClass public void beforeClass() throws MalformedURLException, URISyntaxException { cache = new CookieStoreAdapter(); uri = new URL("http://www.google.com/search?q=http4j").toURI(); anotherUri = new URL("http://www.baidu.com/s?wd=http4j").toURI(); }
464748495051525354
private ResponseParser parser; @BeforeClass public void beforeClass() { manager = new ConnectionPool(); cookieCache = new CookieStoreAdapter(); parser = new ResponseParser(); executor = new BasicRequestExecutor(manager, cookieCache, parser); }
394041424344454647