Questions tagged [jetty-httpclient]

19 questions
0
votes
1 answer

Jetty HttpClient throws AsynchronousCloseException on SIGTERM

I have an HttpClient to access a REST service and now I'm implementing a soft shutdown which means that when the process is shutdown (using a simple kill command on linux) it should stop receiving new tasks and finish all the tasks it was…
douglaslps
  • 8,068
  • 2
  • 35
  • 54
0
votes
1 answer

How set the same CookieStore for SWT browser and Jetty HttpClient

Since a java.net.CookieStore manages cookies in org.eclipse.jetty.client.HttpClient, I want to share the cookies with the SWT Browser widget. HttpClient and Browser are both Eclipse technologies. Is there a way to have the same cookie store?
Bertrand
  • 53
  • 4
0
votes
1 answer

Using HTTP Pipelining with Jetty HTTPClient

I'm trying to figure out how to use HTTPClient (org.eclipse.jetty.client.HttpClient) so it will pipeline HTTP Requests. I've tried to create some ContentExchange instances and applying the send() method for each, in an asynchronous mode, but each…
user41767
  • 1,217
  • 1
  • 17
  • 26
0
votes
3 answers

Jetty HTTPClient includes

I am trying to use Jetty to connect to an HTTP server that uses websocket. The problem is that the compiler cannot resolve the class HTTPClient. I've searched here on stackoverflow, i've found a solution but the link with the useful resource is no…
mark
  • 939
  • 2
  • 13
  • 36
1
2