Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] ContextHandlerCollection as a child handler of ContextHandler

On 12/09/2014 12:06, Neil Williams wrote:
The reason for this is that we have a few context handlers that provide some
read only internal information about the server, such as ThreadPool stats, a
jetty StatisticsHandler, we don't want these to be publicly viewable but want
them all to exist on a base context, something like /internal/httpstats,
/internal/dbstats.  That way we can stick an authentication check on the handler
after /internal/ ContextHandler but before it hits the ContextHandlerCollection.

Couldn't you use a filter to do this?
--
John English


Back to the top