166167168169170171172173174175176
} ) ); //END SNIPPET: client-create2 //START SNIPPET: client-create3 Reference ref = new Reference( "http://localhost:8888/" ); crc = contextResourceClientFactory.newClient( ref ); //END SNIPPET: client-create3 } @After public void stopWebServer()
100101102103104105106107108109110
System.out.println( ">> REFRESH on recoverable error: " + response.getStatus() ); return refresh(); } } ) ); crc = contextResourceClientFactory.newClient( ref ); crc.onResource( new ResultHandler<Document>() { Iterator<Node> itemNodes;
146147148149150151152153154155156