Package | Description |
---|---|
org.springframework.context |
This package builds on the beans package to add support for
message sources and for the Observer design pattern, and the
ability for application objects to obtain resources using a
consistent API.
|
org.springframework.context.support |
Classes supporting the org.springframework.context package,
such as abstract base classes for ApplicationContext
implementations and a MessageSource implementation.
|
org.springframework.web.reactive.result.view |
Support for result handling through view resolution.
|
org.springframework.web.servlet.support |
Support classes for Spring's web MVC framework.
|
org.springframework.web.servlet.tags |
This package contains Spring's JSP standard tag library for JSP 2.0+.
|
Modifier and Type | Method and Description |
---|---|
String |
MessageSource.getMessage(MessageSourceResolvable resolvable,
Locale locale)
Try to resolve the message using all the attributes contained within the
MessageSourceResolvable argument that was passed in. |
String |
MessageSource.getMessage(String code,
Object[] args,
Locale locale)
Try to resolve the message.
|
Modifier and Type | Method and Description |
---|---|
String |
MessageSourceAccessor.getMessage(MessageSourceResolvable resolvable)
Retrieve the given MessageSourceResolvable (e.g.
|
String |
AbstractApplicationContext.getMessage(MessageSourceResolvable resolvable,
Locale locale) |
String |
DelegatingMessageSource.getMessage(MessageSourceResolvable resolvable,
Locale locale) |
String |
MessageSourceAccessor.getMessage(MessageSourceResolvable resolvable,
Locale locale)
Retrieve the given MessageSourceResolvable (e.g.
|
String |
AbstractMessageSource.getMessage(MessageSourceResolvable resolvable,
Locale locale) |
String |
MessageSourceAccessor.getMessage(String code)
Retrieve the message for the given code and the default Locale.
|
String |
MessageSourceAccessor.getMessage(String code,
Locale locale)
Retrieve the message for the given code and the given Locale.
|
String |
MessageSourceAccessor.getMessage(String code,
Object[] args)
Retrieve the message for the given code and the default Locale.
|
String |
AbstractApplicationContext.getMessage(String code,
Object[] args,
Locale locale) |
String |
DelegatingMessageSource.getMessage(String code,
Object[] args,
Locale locale) |
String |
MessageSourceAccessor.getMessage(String code,
Object[] args,
Locale locale)
Retrieve the message for the given code and the given Locale.
|
String |
AbstractMessageSource.getMessage(String code,
Object[] args,
Locale locale) |
Modifier and Type | Method and Description |
---|---|
String |
RequestContext.getMessage(MessageSourceResolvable resolvable)
Retrieve the given MessageSourceResolvable (e.g.
|
String |
RequestContext.getMessage(MessageSourceResolvable resolvable,
boolean htmlEscape)
Retrieve the given MessageSourceResolvable (e.g.
|
String |
RequestContext.getMessage(String code)
Retrieve the message for the given code, using the "defaultHtmlEscape" setting.
|
String |
RequestContext.getMessage(String code,
List<?> args)
Retrieve the message for the given code, using the "defaultHtmlEscape" setting.
|
String |
RequestContext.getMessage(String code,
Object[] args)
Retrieve the message for the given code, using the "defaultHtmlEscape" setting.
|
String |
RequestContext.getMessage(String code,
Object[] args,
boolean htmlEscape)
Retrieve the message for the given code.
|
Modifier and Type | Method and Description |
---|---|
String |
RequestContext.getMessage(MessageSourceResolvable resolvable)
Retrieve the given MessageSourceResolvable (e.g.
|
String |
RequestContext.getMessage(MessageSourceResolvable resolvable,
boolean htmlEscape)
Retrieve the given MessageSourceResolvable (e.g.
|
String |
RequestContext.getMessage(String code)
Retrieve the message for the given code, using the "defaultHtmlEscape" setting.
|
String |
RequestContext.getMessage(String code,
List<?> args)
Retrieve the message for the given code, using the "defaultHtmlEscape" setting.
|
String |
RequestContext.getMessage(String code,
Object[] args)
Retrieve the message for the given code, using the "defaultHtmlEscape" setting.
|
String |
RequestContext.getMessage(String code,
Object[] args,
boolean htmlEscape)
Retrieve the message for the given code.
|
String |
RequestContext.getThemeMessage(MessageSourceResolvable resolvable)
Retrieve the given MessageSourceResolvable in the current theme.
|
String |
RequestContext.getThemeMessage(String code)
Retrieve the theme message for the given code.
|
String |
RequestContext.getThemeMessage(String code,
List<?> args)
Retrieve the theme message for the given code.
|
String |
RequestContext.getThemeMessage(String code,
Object[] args)
Retrieve the theme message for the given code.
|
Modifier and Type | Method and Description |
---|---|
protected String |
ThemeTag.getNoSuchMessageExceptionDescription(NoSuchMessageException ex)
Return exception message that indicates the current theme.
|
protected String |
MessageTag.getNoSuchMessageExceptionDescription(NoSuchMessageException ex)
Return default exception message.
|
Modifier and Type | Method and Description |
---|---|
protected String |
MessageTag.resolveMessage()
Resolve the specified message into a concrete message String.
|