I'm trying to implement the code under "Asynchronous Exchanges" from this link in the jetty documentation:
http://wiki.eclipse.org/Jetty/Tutorial/HttpClient#Asynchronous_Exchanges
HttpExchange exchange = new HttpExchange();
// Optionally set the HTTP method
exchange.setMethod("POST");
exchange.setAddress(new Address("ping.host.com", 80));
exchange.setURI("/ping");
// Or, equivalently, ...