Eclipse Jetty® - Web Container & Clients - supports HTTP/2, HTTP/1.1, HTTP/1.0, websocket, servlets, and more
Go to file
Greg Wilkins e59d6fa2c0
Support root base or home for quickstart #2446 (#2447)
* Support root base or home for quickstart #2446

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* Issue #2446 - Root as base for quickstart

+ Adding more tests for differences we have to resolve
  with windows vs linux root path differences.
  and URI's that have an authority vs those without an authority.

  without authority examples:

  file:/code/
  file:/C:/code/

  with authority examples:

  file:///code/
  file:///C:/code/

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>

* Using the canonical URI passes all the tests on linux, but I still have some concerns with the whole approach

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* minor cleanups

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* Handle windows URIs

Because a windows like `file:///F:/` has a path of `/F:/`, then it is OK to strip the trailing `/`, so the
expected normalized value can be `file:///F:`.

Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-05-03 09:56:08 +10:00
LICENSE-CONTRIBUTOR add cla-tbecker.txt 2012-07-17 21:37:33 +02:00
advisories Adding reference to patched versions of jetty-http jars 2015-02-25 16:10:06 -07:00
aggregates Updating to version 9.4.10-SNAPSHOT 2018-03-20 08:25:59 -05:00
apache-jsp Issue #2164 Make osgi.serviceloader mostly optional (#2408) 2018-04-18 14:48:53 +10:00
apache-jstl Updating to version 9.4.10-SNAPSHOT 2018-03-20 08:25:59 -05:00
examples no need of sonar for examples 2018-05-01 18:16:32 +10:00
jetty-alpn Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2018-04-20 10:31:39 +02:00
jetty-annotations Issue #2164 Make osgi.serviceloader mostly optional (#2408) 2018-04-18 14:48:53 +10:00
jetty-ant class.newInstance is deprecated #2435 (#2437) 2018-04-17 19:07:20 +10:00
jetty-bom Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2018-03-26 11:38:04 -05:00
jetty-cdi Updating to version 9.4.10-SNAPSHOT 2018-03-20 08:25:59 -05:00
jetty-client Switched getHeaderInfo from recursion to iteration. 2018-04-25 16:09:55 +10:00
jetty-continuation Updating to version 9.4.10-SNAPSHOT 2018-03-20 08:25:59 -05:00
jetty-deploy Updating to version 9.4.10-SNAPSHOT 2018-03-20 08:25:59 -05:00
jetty-distribution Updating to version 9.4.10-SNAPSHOT 2018-03-20 08:25:59 -05:00
jetty-documentation Happy New Year (2018) 2018-05-02 14:27:28 -05:00
jetty-fcgi Updating to version 9.4.10-SNAPSHOT 2018-03-20 08:25:59 -05:00
jetty-gcloud Jetty 9.4.x 2231 refactor session tests (#2382) 2018-03-28 20:14:15 +10:00
jetty-hazelcast Jetty 9.4.x 2231 refactor session tests (#2382) 2018-03-28 20:14:15 +10:00
jetty-home #2152 add servlet api sources as well 2018-04-03 15:24:42 +10:00
jetty-http Fix NPE in PreEncodedHttpField constructor (#2488) 2018-04-26 08:35:24 +10:00
jetty-http-spi Issue #2164 Make osgi.serviceloader mostly optional (#2408) 2018-04-18 14:48:53 +10:00
jetty-http2 Moved method onFlushed() to ISession. 2018-04-25 15:11:24 +02:00
jetty-infinispan Jetty 9.4.x 2231 refactor session tests (#2382) 2018-03-28 20:14:15 +10:00
jetty-io Issue #2366 - Review HTTP/2 interleaving. (#2379) 2018-04-13 11:50:17 +02:00
jetty-jaas Issue #2445 Optionally expose request for jaas (#2463) 2018-05-01 10:06:22 +10:00
jetty-jaspi Updating to version 9.4.10-SNAPSHOT 2018-03-20 08:25:59 -05:00
jetty-jmx class.newInstance is deprecated #2435 (#2437) 2018-04-17 19:07:20 +10:00
jetty-jndi class.newInstance is deprecated #2435 (#2437) 2018-04-17 19:07:20 +10:00
jetty-jspc-maven-plugin Happy New Year (2018) 2018-05-02 14:27:28 -05:00
jetty-maven-plugin add it test for #2430 which works... (#2442) 2018-04-16 10:22:56 +10:00
jetty-memcached Issue #2482 Protect against NPE in MemcachedSessionDataMapFactory 2018-05-01 11:41:01 +10:00
jetty-nosql Jetty 9.4.x 2231 refactor session tests (#2382) 2018-03-28 20:14:15 +10:00
jetty-osgi update logging versions #2461 (#2465) 2018-04-19 15:45:11 +10:00
jetty-overlay-deployer Add edit warning for .mod files. Resolves #173 2018-03-15 13:23:42 -04:00
jetty-plus class.newInstance is deprecated #2435 (#2437) 2018-04-17 19:07:20 +10:00
jetty-proxy AsyncMiddleManServlet.Transparent class wrongly extends ProxyServlet 2018-04-24 18:12:00 -07:00
jetty-quickstart Support root base or home for quickstart #2446 (#2447) 2018-05-03 09:56:08 +10:00
jetty-rewrite Updating to version 9.4.10-SNAPSHOT 2018-03-20 08:25:59 -05:00
jetty-runner Updating to version 9.4.10-SNAPSHOT 2018-03-20 08:25:59 -05:00
jetty-security class.newInstance is deprecated #2435 (#2437) 2018-04-17 19:07:20 +10:00
jetty-server Issue #2427 Stop and start session idle timer (#2466) 2018-05-03 08:05:26 +10:00
jetty-servlet class.newInstance is deprecated #2435 (#2437) 2018-04-17 19:07:20 +10:00
jetty-servlets Updating to version 9.4.10-SNAPSHOT 2018-03-20 08:25:59 -05:00
jetty-spring Issue #2164 Make osgi.serviceloader mostly optional (#2408) 2018-04-18 14:48:53 +10:00
jetty-start Updated documentation in light of #2403. 2018-05-02 10:34:29 -04:00
jetty-unixsocket Updating to version 9.4.10-SNAPSHOT 2018-03-20 08:25:59 -05:00
jetty-util Issue #2498 - new QTP.removeThread(Thread) method (#2499) 2018-05-03 07:32:49 +10:00
jetty-util-ajax class.newInstance is deprecated #2435 (#2437) 2018-04-17 19:07:20 +10:00
jetty-webapp class.newInstance is deprecated #2435 (#2437) 2018-04-17 19:07:20 +10:00
jetty-websocket Merge branch 'jetty-9.4.x' of github.com:eclipse/jetty.project into jetty-9.4.x 2018-05-02 13:38:58 -05:00
jetty-xml Make the requirement on "osgi.serviceloader.processor" optional (#2377) 2018-04-03 12:25:50 +10:00
logos Adding logos 2016-07-08 08:45:26 -07:00
scripts Adding git log to csv example script for @jmcc0nn3ll 2018-02-08 08:47:11 -06:00
tests Support root base or home for quickstart #2446 (#2447) 2018-05-03 09:56:08 +10:00
.gitattributes Issue #1027 - multipart testing examples 2018-03-21 18:07:30 -05:00
.gitignore Adding <c:catch> JSTL test cases 2015-07-23 16:11:16 -07:00
CONTRIBUTING.md Resolves #2150 - Updated CONTRIBUTING.md with signoff/DCO/ECA info 2018-02-16 16:13:55 -05:00
Jenkinsfile test some Jenkinsfile changes (#2471) 2018-04-25 19:29:21 +10:00
KEYS.txt Updating gpg/pgp KEYS.txt 2016-11-16 07:58:39 -07:00
LICENSE-eplv10-aslv20.html 392237 renamed license file 2012-10-18 14:33:23 +11:00
NOTICE.txt Happy New Year (2018) 2018-05-02 14:27:28 -05:00
README.md Minor update to README 2017-08-09 14:41:25 -07:00
VERSION.txt Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2018-03-26 11:38:04 -05:00
header-template-doc.txt Issue #2185 - Adds check for documentation header and separates it fr… (#2186) 2018-02-07 16:06:52 -05:00
header-template-java.txt Merge resolution 2018-02-07 16:22:12 -05:00
pom.xml test some Jenkinsfile changes (#2471) 2018-04-25 19:29:21 +10:00

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.