Package | Description |
---|---|
org.springframework.format |
An API for defining Formatters to format field model values for display in a UI.
|
org.springframework.format.datetime |
Formatters for
java.util.Date properties. |
org.springframework.format.datetime.joda |
Integration with Joda-Time for formatting Joda date and time types as well as standard JDK Date types.
|
org.springframework.format.datetime.standard |
Integration with the JSR-310
java.time package in JDK 8. |
org.springframework.format.support |
Support classes for the formatting package,
providing common implementations as well as adapters.
|
org.springframework.test.web.reactive.server |
Support for testing Spring WebFlux server endpoints via
WebTestClient . |
org.springframework.web.reactive.config |
Spring WebFlux configuration infrastructure.
|
org.springframework.web.servlet.config.annotation |
Annotation-based setup for Spring MVC.
|
Modifier and Type | Method and Description |
---|---|
void |
FormatterRegistrar.registerFormatters(FormatterRegistry registry)
Register Formatters and Converters with a FormattingConversionService
through a FormatterRegistry SPI.
|
Modifier and Type | Method and Description |
---|---|
void |
DateFormatterRegistrar.registerFormatters(FormatterRegistry registry) |
Modifier and Type | Method and Description |
---|---|
void |
JodaTimeFormatterRegistrar.registerFormatters(FormatterRegistry registry)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
DateTimeFormatterRegistrar.registerFormatters(FormatterRegistry registry) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultFormattingConversionService
A specialization of
FormattingConversionService configured by default with
converters and formatters appropriate for most applications. |
class |
FormattingConversionService
A
ConversionService implementation
designed to be configured as a FormatterRegistry . |
Modifier and Type | Method and Description |
---|---|
static void |
DefaultFormattingConversionService.addDefaultFormatters(FormatterRegistry formatterRegistry)
Add formatters appropriate for most environments: including number formatters,
JSR-354 Money & Currency formatters, JSR-310 Date-Time and/or Joda-Time formatters,
depending on the presence of the corresponding API on the classpath.
|
Modifier and Type | Method and Description |
---|---|
WebTestClient.ControllerSpec |
WebTestClient.ControllerSpec.formatters(Consumer<FormatterRegistry> consumer)
Register formatters and converters to use for type conversion.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DelegatingWebFluxConfiguration.addFormatters(FormatterRegistry registry) |
void |
WebFluxConfigurerComposite.addFormatters(FormatterRegistry registry) |
protected void |
WebFluxConfigurationSupport.addFormatters(FormatterRegistry registry)
Override this method to add custom
Converter and/or Formatter
delegates to the common FormattingConversionService . |
default void |
WebFluxConfigurer.addFormatters(FormatterRegistry registry)
Add custom
Converters and Formatters for
performing type conversion and formatting of annotated controller method arguments. |
Modifier and Type | Method and Description |
---|---|
protected void |
DelegatingWebMvcConfiguration.addFormatters(FormatterRegistry registry) |
protected void |
WebMvcConfigurationSupport.addFormatters(FormatterRegistry registry)
Override this method to add custom
Converter and/or Formatter
delegates to the common FormattingConversionService . |
default void |
WebMvcConfigurer.addFormatters(FormatterRegistry registry)
Add
Converters and Formatters in addition to the ones
registered by default. |
void |
WebMvcConfigurerAdapter.addFormatters(FormatterRegistry registry)
Deprecated.
Add
Converters and Formatters in addition to the ones
registered by default. |