Are Jetty sources public?

I have the following stacktrace

[15/12/11 05:52:01:001 EET] WARN EXCEPTION @7361b0bc=POST//xxx.xxx.xxx.xxx:xxxx/service/receiveMessage?nodeType=server&messageType=generatePoster&callerId=null&messageId=21c1f0e4-8ffe-4c4e-ade0-2b475c029203#WAITING(31811ms)->EXCEPTED(1ms)sent=31813ms java.lang.NullPointerException at org.eclipse.jetty.http.HttpGenerator.prepareBuffers(HttpGenerator.java:1045) at org.eclipse.jetty.http.HttpGenerator.flushBuffer(HttpGenerator.java:921) at org.eclipse.jetty.client.AsyncHttpConnection.handle(AsyncHttpConnection.java:86) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:609) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:45) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533) at java.lang.Thread.run(Thread.java:636) 

(Unfortunately, this is the whole stacktrace, which does not apply to any of my classes).

This happens a few seconds after the call.

 client.send(exchange); 

Where

 client = new org.eclipse.jetty.client.HttpClient(...) exchange = new org.eclipse.jetty.client.ContentExchange(...) 

Jetty jars version is 8.1.0.RC0.

My question is: are Jetty sources open and where can I view the HttpGenerator.java sources?

+4
source share
3 answers

There are .jars sources available at http://repo1.maven.org/maven2/org/eclipse/jetty/ Yours should be somewhere, maybe a berth-http ...

+2
source

Yes, Jetty's source is publicly available (this is a free open source project). The code for the specific class you want, HttpGenerator , can be viewed in Jarvana and, presumably, on other sites if you do not want to download it; just select the version you want on this page .

+2
source

Source: https://habr.com/ru/post/1386560/


All Articles