@Service public class FaviconProviderManager extends Object
FaviconProvider
s. If there are more than one provider the one with
the highest order value will be used.Orderable
,
FaviconProvider
Constructor and Description |
---|
FaviconProviderManager() |
Modifier and Type | Method and Description |
---|---|
void |
addFaviconProvider(FaviconProvider provider)
Add a new favicon provider if it does not yet exist
|
String |
getFaviconUrl(javax.servlet.http.HttpServletRequest request)
Return the favicon icon URL.
|
void |
removeFaviconProvider(FaviconProvider provider)
Remove a previously added favicon provider
|
public void addFaviconProvider(FaviconProvider provider)
provider
- the provider to addpublic String getFaviconUrl(javax.servlet.http.HttpServletRequest request)
request
- the current requestpublic void removeFaviconProvider(FaviconProvider provider)
provider
- the provider to removeCopyright © 2019 Communote team. All rights reserved.