public static LinkedBindingBuilder < Handler > bindLoggingHandler ( final Binder binder ) { final Multibinder < Handler > handlers = Multibinder . newSetBinder ( binder , Handler . class , LOGGING_NAMED ) ; return handlers . addBinding ( ) ; }
Bind a new handler into the jetty service . These handlers are bound after the servlet handler and will not see any requests before they have been handled . This is intended to bind logging statistics etc . which want to operate on the results of a request to the server .