{"comment":{"url":"https://api.github.com/repos/eclipse/jetty.project/comments/18984144","html_url":"https://github.com/eclipse/jetty.project/commit/90d6687300f24f17b4ecfdd0b59df3f0893ed519#commitcomment-18984144","id":18984144,"user":{"login":"sbordet","id":414681,"avatar_url":"https://avatars.githubusercontent.com/u/414681?v=3","gravatar_id":"","url":"https://api.github.com/users/sbordet","html_url":"https://github.com/sbordet","followers_url":"https://api.github.com/users/sbordet/followers","following_url":"https://api.github.com/users/sbordet/following{/other_user}","gists_url":"https://api.github.com/users/sbordet/gists{/gist_id}","starred_url":"https://api.github.com/users/sbordet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbordet/subscriptions","organizations_url":"https://api.github.com/users/sbordet/orgs","repos_url":"https://api.github.com/users/sbordet/repos","events_url":"https://api.github.com/users/sbordet/events{/privacy}","received_events_url":"https://api.github.com/users/sbordet/received_events","type":"User","site_admin":false},"position":18,"line":81,"path":"jetty-servlet/src/test/java/org/eclipse/jetty/servlet/StatisticsServletTest.java","commit_id":"90d6687300f24f17b4ecfdd0b59df3f0893ed519","created_at":"2016-09-12T12:46:35Z","updated_at":"2016-09-12T12:46:35Z","body":"If you pass `_server` to `ServletContextHandler` then you are impliticly make `_server` the parent handler of `ServletContextHandler`, or - equivalently - making so that `_server -> statsContext`.\r\n\r\nThe chain must be `_server -> statsHandler -> statsContext`.\r\n\r\n```java\r\nServer server = new Server();\r\nStatisticsHandler statsHandler = new StatisticsHandler();\r\nserver.setHandler(statsHandler);\r\nServletContextHandler statsContext = new ServletContextHandler(statsHandler, \"/\");\r\n```"}}
{"actor":{"display_login":"sbordet"}}