Uses of Interface
org.springframework.core.convert.ConversionService
Packages that use 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
Methods in org.springframework.beans that return ConversionServiceModifier and TypeMethodDescriptionConfigurablePropertyAccessor.getConversionService()
Return the associated ConversionService, if any.PropertyEditorRegistrySupport.getConversionService()
Return the associated ConversionService, if any.Methods in org.springframework.beans with parameters of type ConversionServiceModifier and TypeMethodDescriptionvoid
ConfigurablePropertyAccessor.setConversionService
(ConversionService conversionService) Specify a Spring 3.0 ConversionService to use for converting property values, as an alternative to JavaBeans PropertyEditors.void
PropertyEditorRegistrySupport.setConversionService
(ConversionService conversionService) Specify a Spring 3.0 ConversionService to use for converting property values, as an alternative to JavaBeans PropertyEditors. -
Uses of ConversionService in org.springframework.beans.factory.config
Methods in org.springframework.beans.factory.config that return ConversionServiceModifier and TypeMethodDescriptionConfigurableBeanFactory.getConversionService()
Return the associated ConversionService, if any.Methods in org.springframework.beans.factory.config with parameters of type ConversionServiceModifier and TypeMethodDescriptionvoid
ConfigurableBeanFactory.setConversionService
(ConversionService conversionService) Specify a Spring 3.0 ConversionService to use for converting property values, as an alternative to JavaBeans PropertyEditors. -
Uses of ConversionService in org.springframework.beans.factory.support
Methods in org.springframework.beans.factory.support that return ConversionServiceMethods in org.springframework.beans.factory.support with parameters of type ConversionServiceModifier and TypeMethodDescriptionvoid
AbstractBeanFactory.setConversionService
(ConversionService conversionService) -
Uses of ConversionService in org.springframework.context.support
Methods in org.springframework.context.support that return ConversionServiceMethods in org.springframework.context.support that return types with arguments of type ConversionServiceModifier and TypeMethodDescriptionClass<? extends ConversionService>
ConversionServiceFactoryBean.getObjectType()
-
Uses of ConversionService in org.springframework.core.convert.converter
Constructors in org.springframework.core.convert.converter with parameters of type ConversionServiceModifierConstructorDescriptionConvertingComparator
(Comparator<T> comparator, ConversionService conversionService, Class<? extends T> targetType) Create a newConvertingComparator
instance. -
Uses of ConversionService in org.springframework.core.convert.support
Subinterfaces of ConversionService in org.springframework.core.convert.supportModifier and TypeInterfaceDescriptioninterface
Configuration interface to be implemented by most if not allConversionService
types.Classes in org.springframework.core.convert.support that implement ConversionServiceModifier and TypeClassDescriptionclass
A specialization ofGenericConversionService
configured by default with converters appropriate for most environments.class
BaseConversionService
implementation suitable for use in most environments.Methods in org.springframework.core.convert.support that return ConversionServiceModifier and TypeMethodDescriptionstatic ConversionService
DefaultConversionService.getSharedInstance()
Return a shared defaultConversionService
instance, lazily building it once needed.Constructors in org.springframework.core.convert.support with parameters of type ConversionServiceModifierConstructorDescriptionConvertingPropertyEditorAdapter
(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
Methods in org.springframework.expression.spel.support with parameters of type ConversionServiceModifier and TypeMethodDescriptionSimpleEvaluationContext.Builder.withConversionService
(ConversionService conversionService) Register a customConversionService
.Constructors in org.springframework.expression.spel.support with parameters of type ConversionServiceModifierConstructorDescriptionStandardTypeConverter
(ConversionService conversionService) Create a StandardTypeConverter for the given ConversionService.Constructor parameters in org.springframework.expression.spel.support with type arguments of type ConversionServiceModifierConstructorDescriptionStandardTypeConverter
(Supplier<ConversionService> conversionService) Create a StandardTypeConverter for the given ConversionService. -
Uses of ConversionService in org.springframework.format.support
Classes in org.springframework.format.support that implement ConversionServiceModifier 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
Constructors in org.springframework.http.converter with parameters of type ConversionServiceModifierConstructorDescriptionObjectToStringHttpMessageConverter
(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
Methods in org.springframework.jdbc.core that return ConversionServiceModifier and TypeMethodDescriptionBeanPropertyRowMapper.getConversionService()
Return aConversionService
for binding JDBC values to bean properties, ornull
if none.Methods in org.springframework.jdbc.core with parameters of type ConversionServiceModifier 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
Constructors in org.springframework.messaging.converter with parameters of type ConversionServiceModifierConstructorDescriptionGenericMessageConverter
(ConversionService conversionService) Create a new instance with the givenConversionService
. -
Uses of ConversionService in org.springframework.messaging.handler.annotation.reactive
Methods in org.springframework.messaging.handler.annotation.reactive that return ConversionServiceModifier and TypeMethodDescriptionMessageMappingMessageHandler.getConversionService()
Return the configured ConversionService.Methods in org.springframework.messaging.handler.annotation.reactive with parameters of type ConversionServiceModifier and TypeMethodDescriptionvoid
MessageMappingMessageHandler.setConversionService
(ConversionService conversionService) Configure aConversionService
to use for type conversion of String based values, e.g.Constructors in org.springframework.messaging.handler.annotation.reactive with parameters of type ConversionServiceModifierConstructorDescriptionprotected
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
Methods in org.springframework.messaging.handler.annotation.support with parameters of type ConversionServiceModifier and TypeMethodDescriptionvoid
DefaultMessageHandlerMethodFactory.setConversionService
(ConversionService conversionService) Set theConversionService
to use to convert the original message payload or headers.Constructors in org.springframework.messaging.handler.annotation.support with parameters of type ConversionServiceModifierConstructorDescriptionprotected
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
Methods in org.springframework.messaging.simp.annotation.support that return ConversionServiceModifier and TypeMethodDescriptionSimpAnnotationMethodMessageHandler.getConversionService()
Return the configuredConversionService
.Methods in org.springframework.messaging.simp.annotation.support with parameters of type ConversionServiceModifier 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
Methods in org.springframework.validation that return ConversionServiceModifier and TypeMethodDescriptionDataBinder.getConversionService()
Return the associated ConversionService, if any.Methods in org.springframework.validation with parameters of type ConversionServiceModifier and TypeMethodDescriptionvoid
AbstractPropertyBindingResult.initConversion
(ConversionService conversionService) void
DataBinder.setConversionService
(ConversionService conversionService) Specify a Spring 3.0 ConversionService to use for converting property values, as an alternative to JavaBeans PropertyEditors. -
Uses of ConversionService in org.springframework.web.bind.support
Methods in org.springframework.web.bind.support that return ConversionServiceModifier and TypeMethodDescriptionfinal ConversionService
ConfigurableWebBindingInitializer.getConversionService()
Return the ConversionService which will apply to every DataBinder.Methods in org.springframework.web.bind.support with parameters of type ConversionServiceModifier 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
Methods in org.springframework.web.method.annotation with parameters of type ConversionServiceModifier 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
Methods in org.springframework.web.method.support with parameters of type ConversionServiceModifier 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.Constructors in org.springframework.web.method.support with parameters of type ConversionServiceModifierConstructorDescriptionCompositeUriComponentsContributor
(Collection<?> contributors, ConversionService cs) Create an instance from a collection ofUriComponentsContributors
orHandlerMethodArgumentResolvers
. -
Uses of ConversionService in org.springframework.web.service.invoker
Methods in org.springframework.web.service.invoker with parameters of type ConversionServiceModifier and TypeMethodDescriptionHttpServiceProxyFactory.Builder.conversionService
(ConversionService conversionService) Set theConversionService
to use where input values need to be formatted as Strings.Constructors in org.springframework.web.service.invoker with parameters of type ConversionServiceModifierConstructorDescriptionprotected
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
Constructors in org.springframework.web.servlet.handler with parameters of type ConversionServiceModifierConstructorDescriptionConversionServiceExposingInterceptor
(ConversionService conversionService) Creates a newConversionServiceExposingInterceptor
. -
Uses of ConversionService in org.springframework.web.servlet.mvc.method.annotation
Methods in org.springframework.web.servlet.mvc.method.annotation with parameters of type ConversionServiceModifier 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
Methods in org.springframework.web.socket.adapter.standard that return ConversionServiceModifier and TypeMethodDescriptionprotected ConversionService
ConvertingEncoderDecoderSupport.getConversionService()
Strategy method used to obtain theConversionService
.