T - The type of objects to register and lookup.RequestRouter for
 request routing.@Deprecated public interface LookupRegistry<T>
| Modifier and Type | Method and Description | 
|---|---|
| T | lookup(String value)Deprecated.  Looks up an object matching the given request path. | 
| void | register(String pattern,
        T obj)Deprecated.  Registers the given object for URIs matching the given pattern. | 
| void | unregister(String pattern)Deprecated.  Removes registered object, if exists, for the given pattern. | 
void register(String pattern, T obj)
pattern - the pattern to register the handler for.obj - the object.T lookup(String value)
value - the request pathnull if no match is found.void unregister(String pattern)
pattern - the pattern to unregister.Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.