public class MessageTool extends Object
| Constructor and Description |
|---|
MessageTool() |
| Modifier and Type | Method and Description |
|---|---|
String |
getImprint(javax.servlet.http.HttpServletRequest request)
Get imprint with fallback behavior if no imprint is configured.
|
String |
getImprint(Locale locale)
Get imprint with fallback behavior if no imprint is configured.
|
String |
getTermsOfUse(javax.servlet.http.HttpServletRequest request)
Get terms of use with fallback behavior if no terms of use are configured.
|
String |
getTermsOfUse(Locale locale)
Get terms of use with fallback behavior if no terms of use are configured.
|
public String getImprint(javax.servlet.http.HttpServletRequest request)
request - the current requestpublic String getImprint(Locale locale)
locale - the locale to use for localizationpublic String getTermsOfUse(javax.servlet.http.HttpServletRequest request)
request - the current requestCopyright © 2019 Communote team. All rights reserved.