Uses of Interface
org.springframework.format.FormatterRegistry
Package
Description
An API for defining Formatters to format field model values for display in a UI.
Formatters for
java.util.Date
properties.Integration with the JSR-310
java.time
package in JDK 8.Support classes for the formatting package,
providing common implementations as well as adapters.
Support for testing Spring WebFlux server endpoints via
WebTestClient
.Spring WebFlux configuration infrastructure.
Annotation-based setup for Spring MVC.
-
Uses of FormatterRegistry in org.springframework.format
Modifier and TypeMethodDescriptionvoid
FormatterRegistrar.registerFormatters
(FormatterRegistry registry) Register Formatters and Converters with a FormattingConversionService through a FormatterRegistry SPI. -
Uses of FormatterRegistry in org.springframework.format.datetime
Modifier and TypeMethodDescriptionvoid
DateFormatterRegistrar.registerFormatters
(FormatterRegistry registry) -
Uses of FormatterRegistry in org.springframework.format.datetime.standard
Modifier and TypeMethodDescriptionvoid
DateTimeFormatterRegistrar.registerFormatters
(FormatterRegistry registry) -
Uses of FormatterRegistry in org.springframework.format.support
Modifier and TypeClassDescriptionclass
A specialization ofFormattingConversionService
configured by default with converters and formatters appropriate for most applications.class
AConversionService
implementation designed to be configured as aFormatterRegistry
.Modifier and TypeMethodDescriptionstatic 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. -
Uses of FormatterRegistry in org.springframework.test.web.reactive.server
Modifier and TypeMethodDescriptionWebTestClient.ControllerSpec.formatters
(Consumer<FormatterRegistry> consumer) Register formatters and converters to use for type conversion. -
Uses of FormatterRegistry in org.springframework.web.reactive.config
Modifier and TypeMethodDescriptionprotected void
DelegatingWebFluxConfiguration.addFormatters
(FormatterRegistry registry) protected void
WebFluxConfigurationSupport.addFormatters
(FormatterRegistry registry) Override this method to add customConverter
and/orFormatter
delegates to the commonFormattingConversionService
.default void
WebFluxConfigurer.addFormatters
(FormatterRegistry registry) Add customConverters
andFormatters
for performing type conversion and formatting of annotated controller method arguments.void
WebFluxConfigurerComposite.addFormatters
(FormatterRegistry registry) -
Uses of FormatterRegistry in org.springframework.web.servlet.config.annotation
Modifier and TypeMethodDescriptionprotected void
DelegatingWebMvcConfiguration.addFormatters
(FormatterRegistry registry) protected void
WebMvcConfigurationSupport.addFormatters
(FormatterRegistry registry) Override this method to add customConverter
and/orFormatter
delegates to the commonFormattingConversionService
.default void
WebMvcConfigurer.addFormatters
(FormatterRegistry registry) AddConverters
andFormatters
in addition to the ones registered by default.