After looking at HttpClientTransportOverHTTP.java:46 I thought that maybe
the client was not set, and tried to change the code to
HttpClientTransportOverHTTP transport = new
HttpClientTransportOverHTTP()
HttpClient client = new HttpClient(transport, null);
transport.setHttpClient(client);
ContentResponse response = client.GET("
http://127.0.0.1:8080/index.html");
it now gets me
java.util.concurrent.RejectedExecutionException:
org.eclipse.jetty.client.HttpClient@517b46 is stopped
at
org.eclipse.jetty.client.HttpDestination.send(HttpDestination.java:191)
at org.eclipse.jetty.client.HttpClient.send(HttpClient.java:482)
at org.eclipse.jetty.client.HttpRequest.send(HttpRequest.java:606)
at org.eclipse.jetty.client.HttpRequest.send(HttpRequest.java:571)
...
so this shiny new client api just does not work, does it.
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users