Eclipse Jetty® - Web Container & Clients - supports HTTP/2, HTTP/1.1, HTTP/1.0, websocket, servlets, and more
Go to file
Greg Wilkins fb6a445639
Issue #4741 No Servlet Path (#4898)
* Issue #4741 HttpServletMapping

This completes the refactoring started in #4851, using
the HttpServletMapping field to avoid having the servletPath field
in the Request and instead have a pathInContext field.

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

* Issue #4741 HttpServletMapping

reverted ResourceService changes

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

* Issue #4741 HttpServletMapping

fixed gzip handler

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

* Issue #4741 HttpServletMapping

Fixed several TODOs left in the code
removed _contextPath field and used an attributes lookup for include
replaced setContextPaths with setContext

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

* Issue #4741 HttpServletMapping

Used the same pattern from the contextPath changes for servletPath and pathInfo.   Now the servletPathMapping is always set on the request and only if the dispatch is an include do the effected methods look deeper for the source values.

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

* Issue #4741 HttpServletMapping

Improved javadoc

Signed-off-by: Greg Wilkins <gregw@webtide.com>
2020-05-28 12:17:22 +02:00
.github Fixing typo in stalebot message 2019-11-20 09:58:44 -06:00
advisories Adding reference to patched versions of jetty-http jars 2015-02-25 16:10:06 -07:00
aggregates Fix broken OSGI tests due to websocket-util-server 2020-05-01 01:35:19 +10:00
apache-jsp Issue #4685 - Declare <scope> for jetty-slf4j-impl everywhere 2020-03-20 11:12:08 -05:00
apache-jstl Issue #4572 - Replace Jetty Logging with SLF4J 2020-03-16 11:21:54 -05:00
build-resources fix javadoc aggregate generation by using last maven javadoc plugin 3.2.0 (#4675) 2020-03-19 07:06:13 +10:00
examples Merge pull request #4839 from eclipse/jetty-10.0.x-4830-jetty-slf4j-impl-with-jmx-2 2020-05-19 09:38:49 +02:00
jetty-alpn Jetty 10.0.x immutable meta data (#4777) 2020-04-28 13:36:44 +02:00
jetty-annotations Issue #4741 - fix issues with HttpServletMapping (#4851) 2020-05-20 15:23:32 +02:00
jetty-ant Jetty 10.0.x use HandlerList instead of HandlerCollection (#4757) 2020-04-15 18:42:28 +02:00
jetty-bom Issue #2173 & #2174 - Split websocket-core into client/server/common modules 2020-05-12 15:10:44 +10:00
jetty-cdi Issue #4685 - Declare <scope> for jetty-slf4j-impl everywhere 2020-03-20 11:12:08 -05:00
jetty-client Merged branch 'jetty-9.4.x' into 'jetty-10.0.x'. 2020-05-21 18:36:36 +02:00
jetty-deploy Jetty 10.0.x use HandlerList instead of HandlerCollection (#4757) 2020-04-15 18:42:28 +02:00
jetty-distribution Fixes #2643 - Switch SslContextFactory.keystoreType from JKS to PKCS12. 2020-01-17 09:48:51 +01:00
jetty-documentation Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x 2020-05-27 13:51:37 +02:00
jetty-fcgi Fixes #4808 - Review HttpClient Request header APIs. 2020-05-04 23:16:59 +02:00
jetty-gcloud Fix broken OSGI tests due to websocket-util-server 2020-05-01 01:35:19 +10:00
jetty-hazelcast Fixes #4808 - Review HttpClient Request header APIs. 2020-05-04 23:16:59 +02:00
jetty-home Merge pull request #4839 from eclipse/jetty-10.0.x-4830-jetty-slf4j-impl-with-jmx-2 2020-05-19 09:38:49 +02:00
jetty-http Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x 2020-05-11 21:16:59 -05:00
jetty-http-spi Jetty 10.0.x use HandlerList instead of HandlerCollection (#4757) 2020-04-15 18:42:28 +02:00
jetty-http2 Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x 2020-05-20 23:06:27 +02:00
jetty-infinispan Merge branch 'jetty-9.4.x' into jetty-10.0.x 2020-05-27 20:27:49 +10:00
jetty-io Add setReuseAddress() to ClientConnector 2020-05-08 17:54:01 +02:00
jetty-jaas Issue #4685 - Declare <scope> for jetty-slf4j-impl everywhere 2020-03-20 11:12:08 -05:00
jetty-jaspi Issue #4685 - Declare <scope> for jetty-slf4j-impl everywhere 2020-03-20 11:12:08 -05:00
jetty-jmh/src/main/java/org/eclipse/jetty/util Updating to version 9.4.30-SNAPSHOT 2020-05-21 13:42:25 -05:00
jetty-jmx Merge pull request #4839 from eclipse/jetty-10.0.x-4830-jetty-slf4j-impl-with-jmx-2 2020-05-19 09:38:49 +02:00
jetty-jndi Issue #4685 - Declare <scope> for jetty-slf4j-impl everywhere 2020-03-20 11:12:08 -05:00
jetty-jspc-maven-plugin Updating to version 9.4.30-SNAPSHOT 2020-05-21 13:42:25 -05:00
jetty-maven-plugin Jetty 10.0.x use HandlerList instead of HandlerCollection (#4757) 2020-04-15 18:42:28 +02:00
jetty-memcached Fixes #4808 - Review HttpClient Request header APIs. 2020-05-04 23:16:59 +02:00
jetty-nosql Issue #4685 - Declare <scope> for jetty-slf4j-impl everywhere 2020-03-20 11:12:08 -05:00
jetty-openid Issue #4741 No Servlet Path (#4898) 2020-05-28 12:17:22 +02:00
jetty-osgi Issue #2173 & #2174 - Split websocket-core into client/server/common modules 2020-05-12 15:10:44 +10:00
jetty-plus Fix merge from 9.4 for #4737 2020-04-06 14:30:38 +02:00
jetty-proxy Fixes #4808 - Review HttpClient Request header APIs. 2020-05-05 14:48:36 +02:00
jetty-quickstart Issue #4741 - fix issues with HttpServletMapping (#4851) 2020-05-20 15:23:32 +02:00
jetty-rewrite Issue #4741 No Servlet Path (#4898) 2020-05-28 12:17:22 +02:00
jetty-runner Jetty 10.0.x use HandlerList instead of HandlerCollection (#4757) 2020-04-15 18:42:28 +02:00
jetty-security Issue #4741 No Servlet Path (#4898) 2020-05-28 12:17:22 +02:00
jetty-server Issue #4741 No Servlet Path (#4898) 2020-05-28 12:17:22 +02:00
jetty-servlet Issue #4741 No Servlet Path (#4898) 2020-05-28 12:17:22 +02:00
jetty-servlets Merge pull request #4779 from eclipse/jetty-10.0.x-4770-simplify-gzip-testing 2020-05-05 09:54:23 -05:00
jetty-slf4j-impl Issue #4830 - Add JMX to new Jetty 10 jetty-slf4j-impl. 2020-05-08 22:16:24 +02:00
jetty-spring Jetty 10.0.x use HandlerList instead of HandlerCollection (#4757) 2020-04-15 18:42:28 +02:00
jetty-start Merged branch 'jetty-9.4.x' into 'jetty-10.0.x'. 2020-03-31 14:50:48 +02:00
jetty-unixsocket Merged branch 'jetty-9.4.x' into 'jetty-10.0.x'. 2020-05-04 19:11:26 +02:00
jetty-util Issue #4741 No Servlet Path (#4898) 2020-05-28 12:17:22 +02:00
jetty-util-ajax Merged branch 'jetty-9.4.x' into 'jetty-10.0.x'. 2020-05-21 18:36:36 +02:00
jetty-webapp Issue #4741 - fix issues with HttpServletMapping (#4851) 2020-05-20 15:23:32 +02:00
jetty-websocket fix websocket-core-test pom.xml file 2020-05-14 16:02:21 +10:00
jetty-xml Issue #4830 - Add JMX to new Jetty 10 jetty-slf4j-impl. 2020-05-08 22:03:03 +02:00
logos Issue #4572 - Mechanical Change to use org.slf4j 2020-03-16 15:48:25 -05:00
scripts fix javadoc aggregate generation by using last maven javadoc plugin 3.2.0 (#4675) 2020-03-19 07:06:13 +10:00
tests Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x 2020-05-27 10:11:51 +02:00
.gitattributes Adding mod & adoc to gitattributes 2018-08-02 08:57:58 -05:00
.gitignore Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-9.4.x-3550-QueuedThreadPool-cleanup 2019-04-25 06:53:07 +02:00
CODE_COVERAGE.md http-spi test improvement (#62) 2016-05-04 10:56:56 +10:00
CONTRIBUTING.md Testing gpg signature setup 2019-09-25 12:42:32 -05:00
Jenkinsfile slack for 11 branch as well 2020-05-08 12:49:45 +10:00
Jmh_Jenkinsfile Merge branch 'jetty-9.4.x' into jetty-10.0.x 2019-07-09 12:57:26 +10:00
KEYS.txt Fixing typo in email address 2019-09-10 03:57:58 -05:00
LICENSE Issue #3578 - Adopt EPL-2.0 for Jetty-10. 2020-01-09 20:10:19 +01:00
NOTICE.txt Issue #3578 - Adopt EPL-2.0 for Jetty-10. 2020-01-09 20:10:19 +01:00
README.md Updating http to https 2019-11-05 16:23:49 -06:00
VERSION.txt Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x 2020-05-27 10:11:51 +02:00
header-template.txt Fixes #3578 - Adopt EPL-2.0 for Jetty-10. 2020-01-09 21:56:05 +01:00
pom.xml fix merge from 9.4.x 2020-05-27 20:41:15 +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 clean install -DskipTests.

Professional Services

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