Complete responseDone exceptionally on decoding failure The cleanup callback in NettyConnector.execute() runs on responseDone: it removes the request handlers, closes the failed channel, and propagates the exception to responseAvailable. The early return on a decoding failure only completed responseAvailable, leaving that cleanup pending if the decoding failure is not followed by LastHttpContent. If the server keeps the connection open and the read timeout is disabled, the channel and request handler could remain allocated indefinitely after the caller received the exception. Co-authored-by: mkarg <mkarg@users.noreply.github.com>
Jersey is a REST framework that provides JAX-RS Reference Implementation and more. Jersey provides its own APIs that extend the JAX-RS toolkit with additional features and utilities to further simplify RESTful service and client development. Jersey also exposes numerous extension SPIs so that developers may extend Jersey to best suit their needs.
Goals of Jersey project can be summarized in the following points:
Jersey is licensed under a dual license - EPL 2.0 and GPL 2.0 with Class-path Exception. That means you can choose which one of the two suits your needs better and use it under those terms.
We use contribution policy, which means we can only accept contributions under the terms of ECA.
See the Jersey website to access Jersey documentation. If you run into any issues or have questions, ask at jersey-dev@eclipse.org (need to subscribe first), StackOverflow or file an issue on Jersey GitHub Project. You can follow us on Twitter, too.