Eclipse Jetty® - Web Container & Clients - supports HTTP/2, HTTP/1.1, HTTP/1.0, websocket, servlets, and more
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Lachlan 475d0512a5
Merge pull request #8221 from eclipse/jetty-10.0.x-8216-openid-logout
2 days ago
.github Add codeql-analysis.yml GitHub Actions Workflow (#7961) 5 days ago
.mvn Enable errorprone and spotbugs for java 17 (#7604) 5 months ago
apache-jsp Merge Release 10.0.11 back into `jetty-10.0.x` branch (#8194) 2 weeks ago
apache-jstl Merge Release 10.0.11 back into `jetty-10.0.x` branch (#8194) 2 weeks ago
build-resources Merge Release 10.0.11 back into `jetty-10.0.x` branch (#8194) 2 weeks ago
demos Merge Release 10.0.11 back into `jetty-10.0.x` branch (#8194) 2 weeks ago
documentation Merge Release 10.0.11 back into `jetty-10.0.x` branch (#8194) 2 weeks ago
javadoc Merge Release 10.0.11 back into `jetty-10.0.x` branch (#8194) 2 weeks ago
jetty-alpn Merge Release 10.0.11 back into `jetty-10.0.x` branch (#8194) 2 weeks ago
jetty-annotations Merge Release 10.0.11 back into `jetty-10.0.x` branch (#8194) 2 weeks ago
jetty-ant Merge Release 10.0.11 back into `jetty-10.0.x` branch (#8194) 2 weeks ago
jetty-bom Merge Release 10.0.11 back into `jetty-10.0.x` branch (#8194) 2 weeks ago
jetty-cdi Merge Release 10.0.11 back into `jetty-10.0.x` branch (#8194) 2 weeks ago
jetty-client Combined ByteBufferPool (#8171) 2 days ago
jetty-deploy Merge Release 10.0.11 back into `jetty-10.0.x` branch (#8194) 2 weeks ago
jetty-fcgi Combined ByteBufferPool (#8171) 2 days ago
jetty-gcloud Bump google-cloud-datastore from 2.7.0 to 2.9.1 5 days ago
jetty-hazelcast Merge Release 10.0.11 back into `jetty-10.0.x` branch (#8194) 2 weeks ago
jetty-home Fixes #8152: restore reading JAVA_OPTIONS in script.sh (#8153) 2 weeks ago
jetty-http Merge Release 10.0.11 back into `jetty-10.0.x` branch (#8194) 2 weeks ago
jetty-http-spi Merge Release 10.0.11 back into `jetty-10.0.x` branch (#8194) 2 weeks ago
jetty-http2 Combined ByteBufferPool (#8171) 2 days ago
jetty-http3 Combined ByteBufferPool (#8171) 2 days ago
jetty-infinispan Merge Release 10.0.11 back into `jetty-10.0.x` branch (#8194) 2 weeks ago
jetty-io Combined ByteBufferPool (#8171) 2 days ago
jetty-jaas Merge Release 10.0.11 back into `jetty-10.0.x` branch (#8194) 2 weeks ago
jetty-jaspi Merge Release 10.0.11 back into `jetty-10.0.x` branch (#8194) 2 weeks ago
jetty-jmx Merge Release 10.0.11 back into `jetty-10.0.x` branch (#8194) 2 weeks ago
jetty-jndi Merge Release 10.0.11 back into `jetty-10.0.x` branch (#8194) 2 weeks ago
jetty-jspc-maven-plugin Merge Release 10.0.11 back into `jetty-10.0.x` branch (#8194) 2 weeks ago
jetty-keystore Merge Release 10.0.11 back into `jetty-10.0.x` branch (#8194) 2 weeks ago
jetty-maven-plugin Drop MAT (#8182) 1 week ago
jetty-memcached Merge Release 10.0.11 back into `jetty-10.0.x` branch (#8194) 2 weeks ago
jetty-nosql Merge Release 10.0.11 back into `jetty-10.0.x` branch (#8194) 2 weeks ago
jetty-openid Issue #8216 - changes from review 2 days ago
jetty-osgi Bump org.eclipse.osgi from 3.17.200 to 3.18.0 5 days ago
jetty-p2 add jetty-osgi dependency to jetty-p2 to be sure it is included (#8034) 6 days ago
jetty-plus Issue #8196 removed unused jetty-plus.xml (#8197) 1 week ago
jetty-proxy Merge Release 10.0.11 back into `jetty-10.0.x` branch (#8194) 2 weeks ago
jetty-quic Merge Release 10.0.11 back into `jetty-10.0.x` branch (#8194) 2 weeks ago
jetty-quickstart Merge Release 10.0.11 back into `jetty-10.0.x` branch (#8194) 2 weeks ago
jetty-rewrite Merge Release 10.0.11 back into `jetty-10.0.x` branch (#8194) 2 weeks ago
jetty-runner Merge Release 10.0.11 back into `jetty-10.0.x` branch (#8194) 2 weeks ago
jetty-security cleanup in DeferredAuthentication 7 days ago
jetty-server Combined ByteBufferPool (#8171) 2 days ago
jetty-servlet Merge Release 10.0.11 back into `jetty-10.0.x` branch (#8194) 2 weeks ago
jetty-servlets Merge Release 10.0.11 back into `jetty-10.0.x` branch (#8194) 2 weeks ago
jetty-slf4j-impl Merge Release 10.0.11 back into `jetty-10.0.x` branch (#8194) 2 weeks ago
jetty-start Issue #8222 - Addressing NPE with JvmArgs and non-existent modules. (#8223) 4 days ago
jetty-unixdomain-server Merge Release 10.0.11 back into `jetty-10.0.x` branch (#8194) 2 weeks ago
jetty-unixsocket Merge Release 10.0.11 back into `jetty-10.0.x` branch (#8194) 2 weeks ago
jetty-util Combined ByteBufferPool (#8171) 2 days ago
jetty-util-ajax Merge Release 10.0.11 back into `jetty-10.0.x` branch (#8194) 2 weeks ago
jetty-webapp Issue #7833 - Chunked Transfer-Encoding and HEAD response test (#8219) (#8226) 6 days ago
jetty-websocket Combined ByteBufferPool (#8171) 2 days ago
jetty-xml Merge Release 10.0.11 back into `jetty-10.0.x` branch (#8194) 2 weeks ago
logos Issue #4572 - Mechanical Change to use org.slf4j 2 years ago
scripts Fixing release script 9 months ago
tests Merge Release 10.0.11 back into `jetty-10.0.x` branch (#8194) 2 weeks ago
.gitattributes Updating attributes 2 years ago
.gitignore Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-9.4.x-3550-QueuedThreadPool-cleanup 3 years ago
.lgtm.yml Create .lgtm.yml 1 year ago
CODE_COVERAGE.md http-spi test improvement (#62) 6 years ago
CONTRIBUTING.md Testing gpg signature setup 3 years ago
Jenkinsfile skip default checkout option to avoid a useless git fetch (#8225) 5 days ago
Jenkinsfile-autobahn Run WebSocket Autobahn test for all Jetty, Javax and Core APIs (#7430) 5 months ago
Jmh_Jenkinsfile Merge branch 'jetty-9.4.x' into jetty-10.0.x 3 years ago
KEYS.txt add GPG key and developer tag 2 years ago
LICENSE Issue #5784 - Fixing LICENSE file 2 years ago
NOTICE.txt Issue #3578 - Adopt EPL-2.0 for Jetty-10. 3 years ago
README.md Simple Example in README (#6727) 10 months ago
SECURITY.md Update security handling bugzilla to gitlab (#8104) 1 month ago
VERSION.txt Merge Release 10.0.11 back into `jetty-10.0.x` branch (#8194) 2 weeks ago
header-template.txt Issue #5784 - Cleaning up source header template 2 years ago
pom.xml Merge pull request #8250 from eclipse/dependabot/maven/jetty-10.0.x/com.puppycrawl.tools-checkstyle-10.3.1 4 days ago

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.

Webapp Example

$ mkdir base && cd base
$ java -jar $JETTY_HOME/start.jar --add-modules=http,deploy
$ cp ~/src/myproj/target/mywebapp.war webapps
$ java -jar $JETTY_HOME/start.jar 

Embedded Example

Server server = new Server(port);
ServletContextHandler context = new ServletContextHandler(server, "/");
context.addServlet(MyServlet.class, "/*");
server.start();

Documentation

Project documentation is available on the Jetty Eclipse website.

Building

To build, use:

  mvn clean install

Eclipse Jetty will be built in jetty-home/target/jetty-home.

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 clean install -DskipTests.

Professional Services

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