Good Morning.
I wonder if redirections can be added dynamically without restarting jetty.
I know with pax-web handlers can be added as services but have not found an
appropriate example.

The idea is that by modifying a configuration file (or similar mechanism)
can add or remove redirects on the server without having to reboot.

For example, a rule like this could be added or changed without restarting
the server.

<Call name="addRule">
<Arg>
<New class="org.eclipse.jetty.rewrite.handler.RedirectPatternRule">
<Set name="pattern">/gestorWeb</Set>
<Set name="location">http://localhost:8181/manager</ Set>
</New>
</Arg>
</Call>



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Jetty-dynamic-redirection-tp4045668.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to