Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
I'm about to write some code in my server which tracks all of the handlers that are set. However, this code would essentially what mimics the code inside of NHttpRequestHandlerRegistry/HttpRequestHandlerRegistry or more accurately the underlying UriPatternMatcher. My request is to add a method which returns the map contained inside of the underlying UriPatternMatcher.
Is there a particular reason a getObjects() method doesn't exist in UriPatternMatcher or getHandlers() method in NHttpRequestHandlerRegistry/HttpRequestHandlerRegistry? If the reason is simply that no one has asked for this before, I'll go ahead and submit a patch to add these methods. If there are other reasons, I'm curious as to what it is.