Extending existing modules (ex: jetty-core) #3964
Answered
by
jimmarino
ricardas-buc
asked this question in
Q&A
-
For our use cases we require customized jetty https connector (we need use custom SSLContext), but I am not seeing a good way of extending JettyService class without duplicating a lot of code and doing it in a "hackish" way. What would be the go-to way to customize it? |
Beta Was this translation helpful? Give feedback.
Answered by
jimmarino
Mar 6, 2024
Replies: 1 comment 3 replies
-
Just replace the module with your implementation and exclude it from your distribution build. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Globally excluding the dependency is straightforward in build systems such a Gradle.
The Jetty service can be replaced, but it is not designed to be extensible. Introducing extensibility to this service will add complexity to core EDC for use cases that are not common. If you need this type of control over a low-level service, you will need to replace it.