Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Embedded Jetty 9 - correct Handler chain

I’m somewhat confused on how to bolt all the Handlers together. For example my request log stays empty no matter what...
These are my required Handlers (only one each):
  • ServletContextHandler
  • SessionHandler
  • DefaultHandler
  • GzipHandler
  • RequestLogHandler
  • StatisticsHandler
Do I need to use ContextHandlerCollection, HandlerCollection, HandlerList and how?
What should the Handler hierarchy look like when I finally call server.getHandlers() ?

Back to the top