Uses of Interface
org.springframework.core.convert.ConversionService
Package
Description
This package contains interfaces and classes for manipulating Java beans.
SPI interfaces and configuration-related convenience classes for bean factories.
Classes supporting the
org.springframework.beans.factory
package.Classes supporting the org.springframework.context package,
such as abstract base classes for ApplicationContext
implementations and a MessageSource implementation.
SPI to implement Converters for the type conversion system.
Default implementation of the type conversion system.
SpEL's default implementations for various core abstractions.
Support classes for the formatting package,
providing common implementations as well as adapters.
Provides an HttpMessageConverter abstraction to convert between Java objects and HTTP input/output messages.
Provides the core JDBC framework, based on JdbcTemplate
and its associated callback interfaces and helper objects.
Provides support for message conversion.
Support classes for working with annotated message-handling methods with
non-blocking, reactive contracts.
Support classes for working with annotated message-handling methods.
Support classes for handling messages from simple messaging protocols
(like STOMP).
Provides data binding and validation functionality,
for usage in business and/or UI layers.
Support classes for web data binding.
Support classes for annotation-based handler method processing.
Generic support classes for handler method processing.
Support for creating a client proxy for an HTTP service annotated with
HttpExchange
methods.Provides standard HandlerMapping implementations,
including abstract base classes for custom implementations.
MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation
package.Adapter classes for the standard Jakarta WebSocket API.
-
Uses of ConversionService in org.springframework.beans
Modifier and TypeMethodDescriptionConfigurablePropertyAccessor.getConversionService()
Return the associated ConversionService, if any.PropertyEditorRegistrySupport.getConversionService()
Return the associated ConversionService, if any.Modifier and TypeMethodDescriptionvoid
ConfigurablePropertyAccessor.setConversionService
(ConversionService conversionService) Specify aConversionService
to use for converting property values, as an alternative to JavaBeans PropertyEditors.void
PropertyEditorRegistrySupport.setConversionService
(ConversionService conversionService) Specify aConversionService
to use for converting property values, as an alternative to JavaBeans PropertyEditors. -
Uses of ConversionService in org.springframework.beans.factory.config
Modifier and TypeMethodDescriptionConfigurableBeanFactory.getConversionService()
Return the associated ConversionService, if any.Modifier and TypeMethodDescriptionvoid
ConfigurableBeanFactory.setConversionService
(ConversionService conversionService) Specify aConversionService
to use for converting property values, as an alternative to JavaBeans PropertyEditors. -
Uses of ConversionService in org.springframework.beans.factory.support
Modifier and TypeMethodDescriptionvoid
AbstractBeanFactory.setConversionService
(ConversionService conversionService) -
Uses of ConversionService in org.springframework.context.support
Modifier and TypeMethodDescriptionClass<? extends ConversionService>
ConversionServiceFactoryBean.getObjectType()
-
Uses of ConversionService in org.springframework.core.convert.converter
ModifierConstructorDescriptionConvertingComparator
(Comparator<T> comparator, ConversionService conversionService, Class<? extends T> targetType) Create a newConvertingComparator
instance. -
Uses of ConversionService in org.springframework.core.convert.support
Modifier and TypeInterfaceDescriptioninterface
Configuration interface to be implemented by most if not allConversionService
types.Modifier and TypeClassDescriptionclass
A specialization ofGenericConversionService
configured by default with converters appropriate for most environments.class
BaseConversionService
implementation suitable for use in most environments.Modifier and TypeMethodDescriptionstatic ConversionService
DefaultConversionService.getSharedInstance()
Return a shared defaultConversionService
instance, lazily building it once needed.ModifierConstructorDescriptionConvertingPropertyEditorAdapter
(ConversionService conversionService, TypeDescriptor targetDescriptor) Create a new ConvertingPropertyEditorAdapter for a givenConversionService
and the given target type. -
Uses of ConversionService in org.springframework.expression.spel.support
Modifier and TypeMethodDescriptionSimpleEvaluationContext.Builder.withConversionService
(ConversionService conversionService) Register a customConversionService
.ModifierConstructorDescriptionStandardTypeConverter
(ConversionService conversionService) Create a StandardTypeConverter for the given ConversionService.ModifierConstructorDescriptionStandardTypeConverter
(Supplier<ConversionService> conversionService) Create a StandardTypeConverter for the given ConversionService. -
Uses of ConversionService 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
. -
Uses of ConversionService in org.springframework.http.converter
ModifierConstructorDescriptionObjectToStringHttpMessageConverter
(ConversionService conversionService) A constructor accepting aConversionService
to use to convert the (String) message body to/from the target class type.ObjectToStringHttpMessageConverter
(ConversionService conversionService, Charset defaultCharset) A constructor accepting aConversionService
as well as a default charset. -
Uses of ConversionService in org.springframework.jdbc.core
Modifier and TypeMethodDescriptionBeanPropertyRowMapper.getConversionService()
Return aConversionService
for binding JDBC values to bean properties, ornull
if none.Modifier and TypeMethodDescriptionstatic <T> BeanPropertyRowMapper<T>
BeanPropertyRowMapper.newInstance
(Class<T> mappedClass, ConversionService conversionService) Static factory method to create a newBeanPropertyRowMapper
.static <T> DataClassRowMapper<T>
DataClassRowMapper.newInstance
(Class<T> mappedClass, ConversionService conversionService) Static factory method to create a newDataClassRowMapper
.static <T> SingleColumnRowMapper<T>
SingleColumnRowMapper.newInstance
(Class<T> requiredType, ConversionService conversionService) Static factory method to create a newSingleColumnRowMapper
.void
BeanPropertyRowMapper.setConversionService
(ConversionService conversionService) Set aConversionService
for binding JDBC values to bean properties, ornull
for none.void
SingleColumnRowMapper.setConversionService
(ConversionService conversionService) Set aConversionService
for converting a fetched value. -
Uses of ConversionService in org.springframework.messaging.converter
ModifierConstructorDescriptionGenericMessageConverter
(ConversionService conversionService) Create a new instance with the givenConversionService
. -
Uses of ConversionService in org.springframework.messaging.handler.annotation.reactive
Modifier and TypeMethodDescriptionMessageMappingMessageHandler.getConversionService()
Return the configured ConversionService.Modifier and TypeMethodDescriptionvoid
MessageMappingMessageHandler.setConversionService
(ConversionService conversionService) Configure aConversionService
to use for type conversion of String based values, e.g.ModifierConstructorDescriptionprotected
AbstractNamedValueMethodArgumentResolver
(ConversionService conversionService, ConfigurableBeanFactory beanFactory) Constructor with aConversionService
and aBeanFactory
.DestinationVariableMethodArgumentResolver
(ConversionService conversionService) HeaderMethodArgumentResolver
(ConversionService conversionService, ConfigurableBeanFactory beanFactory) -
Uses of ConversionService in org.springframework.messaging.handler.annotation.support
Modifier and TypeMethodDescriptionvoid
DefaultMessageHandlerMethodFactory.setConversionService
(ConversionService conversionService) Set theConversionService
to use to convert the original message payload or headers.ModifierConstructorDescriptionprotected
AbstractNamedValueMethodArgumentResolver
(ConversionService conversionService, ConfigurableBeanFactory beanFactory) Constructor with aConversionService
and aBeanFactory
.DestinationVariableMethodArgumentResolver
(ConversionService conversionService) HeaderMethodArgumentResolver
(ConversionService conversionService, ConfigurableBeanFactory beanFactory) -
Uses of ConversionService in org.springframework.messaging.simp.annotation.support
Modifier and TypeMethodDescriptionSimpAnnotationMethodMessageHandler.getConversionService()
Return the configuredConversionService
.Modifier and TypeMethodDescriptionvoid
SimpAnnotationMethodMessageHandler.setConversionService
(ConversionService conversionService) Configure aConversionService
to use when resolving method arguments, for example message header values. -
Uses of ConversionService in org.springframework.validation
Modifier and TypeMethodDescriptionDataBinder.getConversionService()
Return the associated ConversionService, if any.Modifier and TypeMethodDescriptionvoid
AbstractPropertyBindingResult.initConversion
(ConversionService conversionService) void
DataBinder.setConversionService
(ConversionService conversionService) Specify aConversionService
to use for converting property values, as an alternative to JavaBeans PropertyEditors. -
Uses of ConversionService in org.springframework.web.bind.support
Modifier and TypeMethodDescriptionfinal ConversionService
ConfigurableWebBindingInitializer.getConversionService()
Return the ConversionService which will apply to every DataBinder.Modifier and TypeMethodDescriptionfinal void
ConfigurableWebBindingInitializer.setConversionService
(ConversionService conversionService) Specify a ConversionService which will apply to every DataBinder. -
Uses of ConversionService in org.springframework.web.method.annotation
Modifier and TypeMethodDescriptionvoid
RequestParamMethodArgumentResolver.contributeMethodArgument
(MethodParameter parameter, Object value, UriComponentsBuilder builder, Map<String, Object> uriVariables, ConversionService conversionService) protected String
RequestParamMethodArgumentResolver.formatUriValue
(ConversionService cs, TypeDescriptor sourceType, Object value) -
Uses of ConversionService in org.springframework.web.method.support
Modifier and TypeMethodDescriptionvoid
CompositeUriComponentsContributor.contributeMethodArgument
(MethodParameter parameter, Object value, UriComponentsBuilder builder, Map<String, Object> uriVariables, ConversionService conversionService) void
UriComponentsContributor.contributeMethodArgument
(MethodParameter parameter, Object value, UriComponentsBuilder builder, Map<String, Object> uriVariables, ConversionService conversionService) Process the given method argument and either update theUriComponentsBuilder
or add to the map with URI variables to use to expand the URI after all arguments are processed.ModifierConstructorDescriptionCompositeUriComponentsContributor
(Collection<?> contributors, ConversionService cs) Create an instance from a collection ofUriComponentsContributors
orHandlerMethodArgumentResolvers
. -
Uses of ConversionService in org.springframework.web.service.invoker
Modifier and TypeMethodDescriptionHttpServiceProxyFactory.Builder.conversionService
(ConversionService conversionService) Set theConversionService
to use where input values need to be formatted as Strings.ModifierConstructorDescriptionprotected
AbstractNamedValueArgumentResolver
(ConversionService conversionService) Constructor for a resolver to a String value.CookieValueArgumentResolver
(ConversionService conversionService) PathVariableArgumentResolver
(ConversionService conversionService) RequestHeaderArgumentResolver
(ConversionService conversionService) RequestParamArgumentResolver
(ConversionService conversionService) -
Uses of ConversionService in org.springframework.web.servlet.handler
ModifierConstructorDescriptionConversionServiceExposingInterceptor
(ConversionService conversionService) Creates a newConversionServiceExposingInterceptor
. -
Uses of ConversionService in org.springframework.web.servlet.mvc.method.annotation
Modifier and TypeMethodDescriptionvoid
PathVariableMethodArgumentResolver.contributeMethodArgument
(MethodParameter parameter, Object value, UriComponentsBuilder builder, Map<String, Object> uriVariables, ConversionService conversionService) protected String
PathVariableMethodArgumentResolver.formatUriValue
(ConversionService cs, TypeDescriptor sourceType, Object value) -
Uses of ConversionService in org.springframework.web.socket.adapter.standard
Modifier and TypeMethodDescriptionprotected ConversionService
ConvertingEncoderDecoderSupport.getConversionService()
Strategy method used to obtain theConversionService
.