public interface URLHandlerService
| Modifier and Type | Method and Description | 
|---|---|
| String | buildURLHandlerCacheKey(Site site,
                       String requestUri) | 
| List<URLHandler> | findAllRegexURLHandlers()This is assumed to be a relatively small list of regex URLHandlers (perhaps in the dozens or hundreds of
 records at a maximum). | 
| List<URLHandler> | findAllURLHandlers()Be cautious when calling this. | 
| URLHandler | findURLHandlerById(Long id)Finds a URLHandler by its ID. | 
| URLHandler | findURLHandlerByURI(String uri)Checks the passed in URL to determine if there is a matching URLHandler. | 
| Boolean | removeURLHandlerFromCache(String mapKey) | 
| URLHandler | saveURLHandler(URLHandler handler)Persists the URLHandler to the DB. | 
URLHandler findURLHandlerByURI(String uri)
uri - List<URLHandler> findAllURLHandlers()
URLHandler saveURLHandler(URLHandler handler)
handler - URLHandler findURLHandlerById(Long id)
id - List<URLHandler> findAllRegexURLHandlers()
Copyright © 2020. All rights reserved.