Deprecated
(4.3) use UriHttpRequestHandlerMapper
**<uri><uri>*HttpRequestHandler matching a particular request URI. Usually the
resolved request handler will be used to process the request with the
specified request URI.
| Modifier and Type | Field and Description |
|---|---|
| private final UriPatternMatcher |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Map | |
| public HttpRequestHandler | lookup(final String
the request URI requestURI)Implements org. |
| public void | register(final String
the pattern to register the handler for. pattern, final HttpRequestHandler the handler. handler)Registers the given |
| public void | setHandlers(final Map<String, HttpRequestHandler>
the map containing handlers keyed by their URI patterns. map)Sets handlers from the given map. |
| public void | unregister(final String
the pattern to unregister the handler for. pattern)Removes registered handler, if exists, for the given pattern. |
| matcher | back to summary |
|---|---|
| private final UriPatternMatcher<HttpRequestHandler> matcher | |
| HttpRequestHandlerRegistry | back to summary |
|---|---|
| public HttpRequestHandlerRegistry() | |
| getHandlers | back to summary |
|---|---|
| public Map Get the handler map.
| |
| lookup | back to summary |
|---|---|
| public HttpRequestHandler lookup(final String requestURI) Implements org. Doc from org. Looks up a handler matching the given request URI.
| |
| register | back to summary |
|---|---|
| public void register(final String pattern, final HttpRequestHandler handler) Registers the given
| |
| setHandlers | back to summary |
|---|---|
| public void setHandlers(final Map<String, HttpRequestHandler> map) Sets handlers from the given map.
| |
| unregister | back to summary |
|---|---|
| public void unregister(final String pattern) Removes registered handler, if exists, for the given pattern.
| |