@Service(value="blURLHandlerService") public class URLHandlerServiceImpl extends Object implements URLHandlerService
Modifier and Type | Field and Description |
---|---|
protected StatisticsService |
statisticsService |
protected URLHandlerDao |
urlHandlerDao |
protected Map<String,Pattern> |
urlPatternMap |
Constructor and Description |
---|
URLHandlerServiceImpl() |
Modifier and Type | Method and Description |
---|---|
protected URLHandler |
checkForMatches(String requestURI) |
List<URLHandler> |
findAllURLHandlers() |
URLHandler |
findURLHandlerById(Long id) |
URLHandler |
findURLHandlerByURI(String uri)
Checks the passed in URL to determine if there is a matching URLHandler.
|
URLHandler |
saveURLHandler(URLHandler handler) |
protected URLHandlerDao urlHandlerDao
protected StatisticsService statisticsService
public URLHandler findURLHandlerByURI(String uri)
findURLHandlerByURI
in interface URLHandlerService
uri
- public URLHandler findURLHandlerById(Long id)
findURLHandlerById
in interface URLHandlerService
public List<URLHandler> findAllURLHandlers()
findAllURLHandlers
in interface URLHandlerService
@Transactional(value="blTransactionManager") public URLHandler saveURLHandler(URLHandler handler)
saveURLHandler
in interface URLHandlerService
protected URLHandler checkForMatches(String requestURI)
Copyright © 2017. All rights reserved.