I created and started jetty server with WebAppContext. I can also add servlet to the WebAppContext with addServlet method. But I want to dynamically remove this servlet. How can I do this ? Something like removeServlet() is not provided in the WebAppContext.
相关问题
- Problem with cometd and jetty 6 / 7
- Serving static html files using DefaultServlet on
- How to properly set the JVM options in a flexible
- add unique id to requests forwarded from nginx rev
- Jetty stopping without reason
相关文章
- How to use Jetty with Let's Encrypt certificat
- Integrating Jetty with RESTEasy
- difference between maven dependency and manually a
- embedding jetty server problems
- Embedded Jetty 8 hot deploy classes (using Maven)
- Comet Jetty/Tomcat, having some browser issues wit
- Getting Jersey 2.x POJO JSON support to work with
- Reverse Proxy Java
You need to do it manually (there probably should be a convenience method, but there isn't)
In Jetty 7 it would be something like (untested):