Hi, On Fri, Aug 9, 2013 at 4:50 PM, Makc <[email protected]> wrote: > Hi, > > Poor me have been unable to get a simple GET request working. > > Tried this http://hastebin.com/sifinomibe.avrasm the result said > > 2: HttpResponse[null 0 null] > 2013-08-09 > 16:41:49.638:WARN:oejut.QueuedThreadPool:HttpClient@1368884364-11: > HttpClient@1368884364{STOPPING,8<=1<=200,i=0,q=1} rejected > org.eclipse.jetty.client.HttpDestination$1$1@ef01e56 > > What am I missing? Thanks.
Ahh, welcome to the async world ! Request.send() is async and returns immediately, and after that you call HttpClient.stop(). Poor HttpClient, it could not finish what it started :) Have a read at http://www.eclipse.org/jetty/documentation/current/http-client-api.html -- Simone Bordet ---- http://cometd.org http://webtide.com http://intalio.com Developer advice, training, services and support from the Jetty & CometD experts. Intalio, the modern way to build business applications. _______________________________________________ jetty-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/jetty-users
