"The handler" of single Jetty server inside pax-web is
which is kind of "entry point" from Jetty to pax-web. You generally should
not change it. In pax-web, the server is
(extending directly from org.eclipse.jetty.server.Server).
So you can't easily change it.
If you mean Default and Error handlers of single web application, you can.
DefaultHandler is just servlet registered with "/" alias and "default" name
- it's registered even if you don't have such explicit servlet -
pax-web-jetty will register one for you (unless you provide your own). See
for example this sample
2018-02-04 15:03 GMT+01:00 Maurice Betzel <betzelb...@gmail.com>:
> Dear community,
> what is the best way to override the Jetty default
> org.eclipse.jetty.server.handler.DefaultHandler and ErrorHandler?
> By jetty.xml DI configuration or can this be done by pax web services, and
> if yes are there any examples?
> Other suggestions also welcome.
> OPS4J - http://www.ops4j.org - email@example.com
> You received this message because you are subscribed to the Google Groups
> "OPS4J" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ops4j+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
OPS4J - http://www.ops4j.org - firstname.lastname@example.org
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.