Eclipse Jetty® - Web Container & Clients - supports HTTP/2, HTTP/1.1, HTTP/1.0, websocket, servlets, and more
Switch branches/tags
npn-api-1.1.0.v20120525 npn-api-1.0.0.v20120402 jetty-project-8.0.0.M1 jetty-project-7.6.17.v20150415 jetty-project-7.4.2.vTEST jetty-project-7.0.2.v20100331 jetty-project-7.0.2.RC0 jetty-project-7.0.0.RC3 jetty-project-7.0.0.M1 jetty-9.4.12.v20180830 jetty-9.4.12.RC2 jetty-9.4.12.RC1 jetty-9.4.12.RC0 jetty-9.4.11.v20180605 jetty-9.4.10.v20180503 jetty-9.4.10.RC1 jetty-9.4.10.RC0 jetty-9.4.9.v20180320 jetty-9.4.8.v20180619 jetty-9.4.8.v20171121 jetty-9.4.7.v20180619 jetty-9.4.7.v20170914 jetty-9.4.7.RC0 jetty-9.4.6.v20180619 jetty-9.4.6.v20170531 jetty-9.4.5.v20180619 jetty-9.4.5.v20170502 jetty-9.4.4.v20180619 jetty-9.4.4.v20170414 jetty-9.4.4.v20170410 jetty-9.4.3.v20180619 jetty-9.4.3.v20170317 jetty-9.4.2.v20180619 jetty-9.4.2.v20170220 jetty-9.4.1.v20180619 jetty-9.4.1.v20170120 jetty-9.4.0.v20180619 jetty-9.4.0.v20161208 jetty-9.4.0.v20161207 jetty-9.4.0.RC3 jetty-9.4.0.RC2 jetty-9.4.0.RC1 jetty-9.4.0.RC0 jetty-9.4.0.M1 jetty-9.4.0.M0 jetty-9.3.25.v20180904 jetty-9.3.24.v20180605 jetty-9.3.23.v20180228 jetty-9.3.22.v20171030 jetty-9.3.21.v20170918 jetty-9.3.21.RC0 jetty-9.3.21.M0 jetty-9.3.20.v20170531 jetty-9.3.19.v20170502 jetty-9.3.18.v20170406 jetty-9.3.17.v20170317 jetty-9.3.17.RC0 jetty-9.3.16.v20170120 jetty-9.3.16.v20170119 jetty-9.3.15.v20161220 jetty-9.3.14.v20161028 jetty-9.3.13.v20161014 jetty-9.3.13.M0 jetty-9.3.12.v20160915 jetty-9.3.11.v20160721 jetty-9.3.11.M0 jetty-9.3.10.v20160621 jetty-9.3.10.M0 jetty-9.3.9.v20160517 jetty-9.3.9.M1 jetty-9.3.9.M0 jetty-9.3.8.v20160314 jetty-9.3.8.v20160311 jetty-9.3.8.RC0 jetty-9.3.7.v20160115 jetty-9.3.7.RC1 jetty-9.3.7.RC0 jetty-9.3.6.v20151106 jetty-9.3.5.v20151012 jetty-9.3.4.v20151007 jetty-9.3.4.v20151005 jetty-9.3.4.RC1 jetty-9.3.4.RC0 jetty-9.3.3.v20150827 jetty-9.3.3.v20150825 jetty-9.3.2.v20150730 jetty-9.3.1.v20150714 jetty-9.3.0.v20150612 jetty-9.3.0.v20150608 jetty-9.3.0.v20150601 jetty-9.3.0.RC1 jetty-9.3.0.RC0 jetty-9.3.0.M2 jetty-9.3.0.M1 jetty-9.3.0.M0 jetty-9.2.26.v20180806 jetty-9.2.25.v20180606 jetty-9.2.24.v20180105 jetty-9.2.23.v20171218 jetty-9.2.22.v20170606
Nothing to show
Clone or download
gregw Issue #2970 ensure onComplete is called (#2971)
* Issue #2970 ensure onComplete is called
* Cleanup after review - single try

Signed-off-by: Greg Wilkins <gregw@webtide.com>
Latest commit efdf3c2 Oct 19, 2018
Permalink
Failed to load latest commit information.
LICENSE-CONTRIBUTOR add cla-tbecker.txt Jul 17, 2012
advisories Adding reference to patched versions of jetty-http jars Feb 25, 2015
aggregates Updating to version 9.4.13-SNAPSHOT Aug 30, 2018
apache-jsp Issue #2191 - JPMS Support. Oct 4, 2018
apache-jstl Issue #2431 - Upgrade to Junit 5 (#2436) Sep 5, 2018
examples Cleanup after #2903 (#2933) Oct 3, 2018
jetty-alpn Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. Oct 17, 2018
jetty-annotations Issue #2191 - JPMS Support. Oct 3, 2018
jetty-ant Merged branch 'jetty-9.4.x' into 'jetty-9.4.x-2191-jpms_automatic_mod… Sep 24, 2018
jetty-bom merge from 9.3.x Sep 5, 2018
jetty-cdi inherit plugin versions from main pom (#2897) Sep 11, 2018
jetty-client Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x Oct 5, 2018
jetty-continuation Updating to version 9.4.13-SNAPSHOT Aug 30, 2018
jetty-deploy Issue #2431 - Upgrade to Junit 5 (#2436) Sep 5, 2018
jetty-distribution get rid of maven warning due to duplicate plugin declaration (#2920) Sep 20, 2018
jetty-documentation Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. Oct 17, 2018
jetty-fcgi Issue #2431 - Upgrade to Junit 5 (#2436) Sep 5, 2018
jetty-gcloud Updating to version 9.4.13-SNAPSHOT Aug 30, 2018
jetty-hazelcast Issue #2431 - Upgrade to Junit 5 (#2436) Sep 5, 2018
jetty-home Issue #2191 - JPMS Support Sep 17, 2018
jetty-http-spi get rid of remaining legacy junit (#2900) Sep 12, 2018
jetty-http Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x Oct 5, 2018
jetty-http2 Cleanup to avoid duplication method (noticed while reviewing #2977) Oct 16, 2018
jetty-infinispan Updating to version 9.4.13-SNAPSHOT Aug 30, 2018
jetty-io Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x Oct 5, 2018
jetty-jaas Issue #2691 replace static dn by subtee based ldap lookup for an entr… Sep 11, 2018
jetty-jaspi Issue #2431 - Upgrade to Junit 5 (#2436) Sep 5, 2018
jetty-jmh Issue #2431 - Upgrade to Junit 5 (#2436) Sep 5, 2018
jetty-jmx Issue #2727 - Revisit JMX MBean lookup behavior. Sep 24, 2018
jetty-jndi Issue #2431 - Upgrade to Junit 5 (#2436) Sep 5, 2018
jetty-jspc-maven-plugin inherit plugin versions from main pom (#2897) Sep 11, 2018
jetty-maven-plugin upgrade jackson-databind in maven it to 2.9.7 (#2993) Oct 17, 2018
jetty-memcached Issue #2431 - Upgrade to Junit 5 (#2436) Sep 5, 2018
jetty-nosql Updating to version 9.4.13-SNAPSHOT Aug 30, 2018
jetty-osgi fix osgi tests not running as paxexam is not junit5 ready (#2945) Oct 2, 2018
jetty-overlay-deployer Issue #2431 - Upgrade to Junit 5 (#2436) Sep 5, 2018
jetty-plus Issue #2191 - JPMS Support. Oct 4, 2018
jetty-proxy Restored proper test timeout. Oct 2, 2018
jetty-quickstart Merged branch 'jetty-9.4.x' into 'jetty-9.4.x-2191-jpms_automatic_mod… Sep 26, 2018
jetty-rewrite Issue #2918 restore a TestTracker with junit5 (#2927) Sep 21, 2018
jetty-runner Issue #2431 - Upgrade to Junit 5 (#2436) Sep 5, 2018
jetty-security Issue #2868 - Adding SPNEGO authentication support for Jetty Client. Oct 2, 2018
jetty-server Issue #2970 ensure onComplete is called (#2971) Oct 19, 2018
jetty-servlet Cleanup after #2903 (#2933) Oct 3, 2018
jetty-servlets Issue #2431 - Upgrade to Junit 5 (#2436) Sep 5, 2018
jetty-spring Issue #2431 - Upgrade to Junit 5 (#2436) Sep 5, 2018
jetty-start Merge branch 'jetty-9.4.x' into jetty-9.4.x Oct 18, 2018
jetty-unixsocket Issue #2431 - Upgrade to Junit 5 (#2436) Sep 5, 2018
jetty-util-ajax Issue #2431 - Upgrade to Junit 5 (#2436) Sep 5, 2018
jetty-util Merge pull request #2899 from quaff/jetty-9.4.x Oct 19, 2018
jetty-webapp Merged branch 'jetty-9.4.x' into 'jetty-9.4.x-2191-jpms_automatic_mod… Oct 4, 2018
jetty-websocket Fixing #2875 - WebSocketClient upgrade with redirect support Sep 12, 2018
jetty-xml Issue #2431 - Upgrade to Junit 5 (#2436) Sep 5, 2018
logos Adding logos Jul 8, 2016
scripts Adding git log to csv example script for @jmcc0nn3ll Feb 8, 2018
tests Issue #2975 Quickstart tests broken Oct 11, 2018
.gitattributes Adding mod & adoc to gitattributes Aug 2, 2018
.gitignore upgrade javadoc and plugin tools maven plugins May 28, 2018
CONTRIBUTING.md Resolves #2150 - Updated CONTRIBUTING.md with signoff/DCO/ECA info Feb 16, 2018
Jenkinsfile Jetty 9.4.x simplify jenkinsfile (#2976) Oct 11, 2018
Jmh_Jenkinsfile sync jmh Jenkinsfile Aug 16, 2018
KEYS.txt Updating gpg/pgp KEYS.txt Nov 16, 2016
LICENSE-eplv10-aslv20.html 392237 renamed license file Oct 18, 2012
NOTICE.txt Happy New Year (2018) May 2, 2018
README.md Minor update to README Aug 9, 2017
VERSION.txt Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. Oct 17, 2018
header-template-doc.txt Issue #2185 - Adds check for documentation header and separates it fr… ( Feb 7, 2018
header-template-java.txt Merge resolution Feb 7, 2018
pom.xml Merge pull request #2899 from quaff/jetty-9.4.x Oct 19, 2018

README.md

Eclipse Jetty Canonical Repository

This is the canonical repository for the Jetty project, feel free to fork and contribute now!

Submitting a patch or pull request?

Make sure you have an Eclipse Contributor Agreement (ECA) on file.

Project description

Jetty is a lightweight highly scalable java based web server and servlet engine. Our goal is to support web protocols like HTTP, HTTP/2 and WebSocket in a high volume low latency way that provides maximum performance while retaining the ease of use and compatibility with years of servlet development. Jetty is a modern fully async web server that has a long history as a component oriented technology easily embedded into applications while still offering a solid traditional distribution for webapp deployment.

Documentation

Project documentation is available on the Jetty Eclipse website.

Building

To build, use:

  mvn clean install

The Jetty distribution will be built in jetty-distribution/target/distribution.

The first build may take a longer than expected as Maven downloads all the dependencies.

The build tests do a lot of stress testing, and on some machines it is necessary to set the file descriptor limit to greater than 2048 for the tests to all pass successfully.

It is possible to bypass tests by building with mvn -Dmaven.test.skip=true install but note that this will not produce some of the test jars that are leveraged in other places in the build.

Professional Services

Expert advice and production support are available through Webtide.com.