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 |
---|---|
java.lang.String |
MessageSource.getMessage(MessageSourceResolvable resolvable,
java.util.Locale locale)
Try to resolve the message using all the attributes contained within the
MessageSourceResolvable argument that was passed in. |
java.lang.String |
MessageSource.getMessage(java.lang.String code,
java.lang.Object[] args,
java.util.Locale locale)
Try to resolve the message.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
MessageSourceAccessor.getMessage(MessageSourceResolvable resolvable)
Retrieve the given MessageSourceResolvable (e.g.
|
java.lang.String |
AbstractMessageSource.getMessage(MessageSourceResolvable resolvable,
java.util.Locale locale) |
java.lang.String |
MessageSourceAccessor.getMessage(MessageSourceResolvable resolvable,
java.util.Locale locale)
Retrieve the given MessageSourceResolvable (e.g.
|
java.lang.String |
DelegatingMessageSource.getMessage(MessageSourceResolvable resolvable,
java.util.Locale locale) |
java.lang.String |
AbstractApplicationContext.getMessage(MessageSourceResolvable resolvable,
java.util.Locale locale) |
java.lang.String |
MessageSourceAccessor.getMessage(java.lang.String code)
Retrieve the message for the given code and the default Locale.
|
java.lang.String |
MessageSourceAccessor.getMessage(java.lang.String code,
java.util.Locale locale)
Retrieve the message for the given code and the given Locale.
|
java.lang.String |
MessageSourceAccessor.getMessage(java.lang.String code,
java.lang.Object[] args)
Retrieve the message for the given code and the default Locale.
|
java.lang.String |
AbstractMessageSource.getMessage(java.lang.String code,
java.lang.Object[] args,
java.util.Locale locale) |
java.lang.String |
MessageSourceAccessor.getMessage(java.lang.String code,
java.lang.Object[] args,
java.util.Locale locale)
Retrieve the message for the given code and the given Locale.
|
java.lang.String |
DelegatingMessageSource.getMessage(java.lang.String code,
java.lang.Object[] args,
java.util.Locale locale) |
java.lang.String |
AbstractApplicationContext.getMessage(java.lang.String code,
java.lang.Object[] args,
java.util.Locale locale) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
RequestContext.getMessage(MessageSourceResolvable resolvable)
Retrieve the given MessageSourceResolvable (e.g.
|
java.lang.String |
RequestContext.getMessage(MessageSourceResolvable resolvable,
boolean htmlEscape)
Retrieve the given MessageSourceResolvable (e.g.
|
java.lang.String |
RequestContext.getMessage(java.lang.String code)
Retrieve the message for the given code, using the "defaultHtmlEscape" setting.
|
java.lang.String |
RequestContext.getMessage(java.lang.String code,
java.util.List<?> args)
Retrieve the message for the given code, using the "defaultHtmlEscape" setting.
|
java.lang.String |
RequestContext.getMessage(java.lang.String code,
java.lang.Object[] args)
Retrieve the message for the given code, using the "defaultHtmlEscape" setting.
|
java.lang.String |
RequestContext.getMessage(java.lang.String code,
java.lang.Object[] args,
boolean htmlEscape)
Retrieve the message for the given code.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
RequestContext.getMessage(MessageSourceResolvable resolvable)
Retrieve the given MessageSourceResolvable (e.g.
|
java.lang.String |
RequestContext.getMessage(MessageSourceResolvable resolvable,
boolean htmlEscape)
Retrieve the given MessageSourceResolvable (e.g.
|
java.lang.String |
RequestContext.getMessage(java.lang.String code)
Retrieve the message for the given code, using the "defaultHtmlEscape" setting.
|
java.lang.String |
RequestContext.getMessage(java.lang.String code,
java.util.List<?> args)
Retrieve the message for the given code, using the "defaultHtmlEscape" setting.
|
java.lang.String |
RequestContext.getMessage(java.lang.String code,
java.lang.Object[] args)
Retrieve the message for the given code, using the "defaultHtmlEscape" setting.
|
java.lang.String |
RequestContext.getMessage(java.lang.String code,
java.lang.Object[] args,
boolean htmlEscape)
Retrieve the message for the given code.
|
java.lang.String |
RequestContext.getThemeMessage(MessageSourceResolvable resolvable)
Retrieve the given MessageSourceResolvable in the current theme.
|
java.lang.String |
RequestContext.getThemeMessage(java.lang.String code)
Retrieve the theme message for the given code.
|
java.lang.String |
RequestContext.getThemeMessage(java.lang.String code,
java.util.List<?> args)
Retrieve the theme message for the given code.
|
java.lang.String |
RequestContext.getThemeMessage(java.lang.String code,
java.lang.Object[] args)
Retrieve the theme message for the given code.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
MessageTag.getNoSuchMessageExceptionDescription(NoSuchMessageException ex)
Return default exception message.
|
protected java.lang.String |
ThemeTag.getNoSuchMessageExceptionDescription(NoSuchMessageException ex)
Return exception message that indicates the current theme.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
MessageTag.resolveMessage()
Resolve the specified message into a concrete message String.
|