xiaodududu / google-guice

Automatically exported from code.google.com/p/google-guice
Apache License 2.0
0 stars 0 forks source link

provide a method to servlet bindings to return true if a given URI matches the binding's URI pattern #569

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Bindings, such as the InstanceFilterBinding, currently have a method which 
provides the URI pattern for the binding.  However, there is not a good way to 
see if the binding contained in a XXXBinding matches a given URI.  The 
UriPatternMatcher class provides code for doing this.  However this interface 
is package private.  Could you either make this interface public (along with 
its implementations in UriPatternType), or add a "match" method to the 
XXXBinding classes (mimicking the match method in XXXDefinitions).

Thanks

Original issue reported on code.google.com by br...@google.com on 9 Nov 2010 at 8:57

GoogleCodeExporter commented 9 years ago
fixed in r1370

Original comment by sberlin on 13 Nov 2010 at 2:30