Interface LookupRegistry<T>
- Type Parameters:
T- The type of objects to register and lookup.
- All Known Implementing Classes:
UriPatternMatcher, UriPatternOrderedMatcher, UriRegexMatcher
public interface LookupRegistry<T>
A lookup registry.
-
Method Summary
Modifier and TypeMethodDescriptionLooks up an object matching the given request path.voidRegisters the given object for URIs matching the given pattern.voidunregister(String pattern) Removes registered object, if exists, for the given pattern.
-
Method Details
-
register
-
lookup
-
unregister
Removes registered object, if exists, for the given pattern.- Parameters:
pattern- the pattern to unregister.
-