Package | Description |
---|---|
org.springframework.beans |
This package contains interfaces and classes for manipulating Java beans.
|
org.springframework.beans.factory.config |
SPI interfaces and configuration-related convenience classes for bean factories.
|
org.springframework.beans.factory.support |
Classes supporting the
org.springframework.beans.factory package. |
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.core.convert.converter |
SPI to implement Converters for the type conversion system.
|
org.springframework.core.convert.support |
Default implementation of the type conversion system.
|
org.springframework.expression.spel.support |
SpEL's default implementations for various core abstractions.
|
org.springframework.format.support |
Support classes for the formatting package,
providing common implementations as well as adapters.
|
org.springframework.http.converter |
Provides an HttpMessageConverter abstraction to convert between Java objects and HTTP input/output messages.
|
org.springframework.jdbc.core |
Provides the core JDBC framework, based on JdbcTemplate
and its associated callback interfaces and helper objects.
|
org.springframework.messaging.converter |
Provides support for message conversion.
|
org.springframework.messaging.handler.annotation.reactive |
Support classes for working with annotated message-handling methods with
non-blocking, reactive contracts.
|
org.springframework.messaging.handler.annotation.support |
Support classes for working with annotated message-handling methods.
|
org.springframework.messaging.simp.annotation.support |
Support classes for handling messages from simple messaging protocols
(like STOMP).
|
org.springframework.validation |
Provides data binding and validation functionality,
for usage in business and/or UI layers.
|
org.springframework.web.bind.support |
Support classes for web data binding.
|
org.springframework.web.method.annotation |
Support classes for annotation-based handler method processing.
|
org.springframework.web.method.support |
Generic support classes for handler method processing.
|
org.springframework.web.servlet.handler |
Provides standard HandlerMapping implementations,
including abstract base classes for custom implementations.
|
org.springframework.web.servlet.mvc.method.annotation |
MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation package. |
org.springframework.web.socket.adapter.standard |
Adapter classes for the standard Java WebSocket API.
|
Modifier and Type | Method and Description |
---|---|
ConversionService |
PropertyEditorRegistrySupport.getConversionService()
Return the associated ConversionService, if any.
|
ConversionService |
ConfigurablePropertyAccessor.getConversionService()
Return the associated ConversionService, if any.
|
Modifier and Type | Method and Description |
---|---|
void |
PropertyEditorRegistrySupport.setConversionService(ConversionService conversionService)
Specify a Spring 3.0 ConversionService to use for converting
property values, as an alternative to JavaBeans PropertyEditors.
|
void |
ConfigurablePropertyAccessor.setConversionService(ConversionService conversionService)
Specify a Spring 3.0 ConversionService to use for converting
property values, as an alternative to JavaBeans PropertyEditors.
|
Modifier and Type | Method and Description |
---|---|
ConversionService |
ConfigurableBeanFactory.getConversionService()
Return the associated ConversionService, if any.
|
Modifier and Type | Method and Description |
---|---|
void |
ConfigurableBeanFactory.setConversionService(ConversionService conversionService)
Specify a Spring 3.0 ConversionService to use for converting
property values, as an alternative to JavaBeans PropertyEditors.
|
Modifier and Type | Method and Description |
---|---|
ConversionService |
AbstractBeanFactory.getConversionService() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractBeanFactory.setConversionService(ConversionService conversionService) |
Modifier and Type | Method and Description |
---|---|
ConversionService |
ConversionServiceFactoryBean.getObject() |
Modifier and Type | Method and Description |
---|---|
Class<? extends ConversionService> |
ConversionServiceFactoryBean.getObjectType() |
Constructor and Description |
---|
ConvertingComparator(Comparator<T> comparator,
ConversionService conversionService,
Class<? extends T> targetType)
Create a new
ConvertingComparator instance. |
Modifier and Type | Interface and Description |
---|---|
interface |
ConfigurableConversionService
Configuration interface to be implemented by most if not all
ConversionService
types. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultConversionService
A specialization of
GenericConversionService configured by default
with converters appropriate for most environments. |
class |
GenericConversionService
Base
ConversionService implementation suitable for use in most environments. |
Modifier and Type | Method and Description |
---|---|
static ConversionService |
DefaultConversionService.getSharedInstance()
Return a shared default
ConversionService instance,
lazily building it once needed. |
Constructor and Description |
---|
ConvertingPropertyEditorAdapter(ConversionService conversionService,
TypeDescriptor targetDescriptor)
Create a new ConvertingPropertyEditorAdapter for a given
ConversionService
and the given target type. |
Modifier and Type | Method and Description |
---|---|
SimpleEvaluationContext.Builder |
SimpleEvaluationContext.Builder.withConversionService(ConversionService conversionService)
Register a custom
ConversionService . |
Constructor and Description |
---|
StandardTypeConverter(ConversionService conversionService)
Create a StandardTypeConverter for the given ConversionService.
|
Constructor and Description |
---|
StandardTypeConverter(Supplier<ConversionService> conversionService)
Create a StandardTypeConverter for the given ConversionService.
|
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 . |
Constructor and Description |
---|
ObjectToStringHttpMessageConverter(ConversionService conversionService)
A constructor accepting a
ConversionService to use to convert the
(String) message body to/from the target class type. |
ObjectToStringHttpMessageConverter(ConversionService conversionService,
Charset defaultCharset)
A constructor accepting a
ConversionService as well as a default charset. |
Modifier and Type | Method and Description |
---|---|
ConversionService |
BeanPropertyRowMapper.getConversionService()
Return a
ConversionService for binding JDBC values to bean properties,
or null if none. |
Modifier and Type | Method and Description |
---|---|
static <T> BeanPropertyRowMapper<T> |
BeanPropertyRowMapper.newInstance(Class<T> mappedClass,
ConversionService conversionService)
Static factory method to create a new
BeanPropertyRowMapper . |
static <T> DataClassRowMapper<T> |
DataClassRowMapper.newInstance(Class<T> mappedClass,
ConversionService conversionService)
Static factory method to create a new
DataClassRowMapper . |
static <T> SingleColumnRowMapper<T> |
SingleColumnRowMapper.newInstance(Class<T> requiredType,
ConversionService conversionService)
Static factory method to create a new
SingleColumnRowMapper . |
void |
BeanPropertyRowMapper.setConversionService(ConversionService conversionService)
Set a
ConversionService for binding JDBC values to bean properties,
or null for none. |
void |
SingleColumnRowMapper.setConversionService(ConversionService conversionService)
Set a
ConversionService for converting a fetched value. |
Constructor and Description |
---|
GenericMessageConverter(ConversionService conversionService)
Create a new instance with the given
ConversionService . |
Modifier and Type | Method and Description |
---|---|
ConversionService |
MessageMappingMessageHandler.getConversionService()
Return the configured ConversionService.
|
Modifier and Type | Method and Description |
---|---|
void |
MessageMappingMessageHandler.setConversionService(ConversionService conversionService)
Configure a
ConversionService to use for type conversion of
String based values, e.g. |
Constructor and Description |
---|
AbstractNamedValueMethodArgumentResolver(ConversionService conversionService,
ConfigurableBeanFactory beanFactory)
Constructor with a
ConversionService and a BeanFactory . |
DestinationVariableMethodArgumentResolver(ConversionService conversionService) |
HeaderMethodArgumentResolver(ConversionService conversionService,
ConfigurableBeanFactory beanFactory) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultMessageHandlerMethodFactory.setConversionService(ConversionService conversionService)
Set the
ConversionService to use to convert the original
message payload or headers. |
Constructor and Description |
---|
AbstractNamedValueMethodArgumentResolver(ConversionService conversionService,
ConfigurableBeanFactory beanFactory)
Constructor with a
ConversionService and a BeanFactory . |
DestinationVariableMethodArgumentResolver(ConversionService conversionService) |
HeaderMethodArgumentResolver(ConversionService conversionService,
ConfigurableBeanFactory beanFactory) |
Modifier and Type | Method and Description |
---|---|
ConversionService |
SimpAnnotationMethodMessageHandler.getConversionService()
Return the configured
ConversionService . |
Modifier and Type | Method and Description |
---|---|
void |
SimpAnnotationMethodMessageHandler.setConversionService(ConversionService conversionService)
Configure a
ConversionService to use when resolving method arguments,
for example message header values. |
Modifier and Type | Method and Description |
---|---|
ConversionService |
DataBinder.getConversionService()
Return the associated ConversionService, if any.
|
Modifier and Type | Method and Description |
---|---|
void |
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.
|
Modifier and Type | Method and Description |
---|---|
ConversionService |
ConfigurableWebBindingInitializer.getConversionService()
Return the ConversionService which will apply to every DataBinder.
|
Modifier and Type | Method and Description |
---|---|
void |
ConfigurableWebBindingInitializer.setConversionService(ConversionService conversionService)
Specify a ConversionService which will apply to every DataBinder.
|
Modifier and Type | Method and Description |
---|---|
void |
RequestParamMethodArgumentResolver.contributeMethodArgument(MethodParameter parameter,
Object value,
UriComponentsBuilder builder,
Map<String,Object> uriVariables,
ConversionService conversionService) |
protected String |
RequestParamMethodArgumentResolver.formatUriValue(ConversionService cs,
TypeDescriptor sourceType,
Object value) |
Modifier and Type | Method and Description |
---|---|
void |
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 the
UriComponentsBuilder or add to the map with URI variables
to use to expand the URI after all arguments are processed. |
Constructor and Description |
---|
CompositeUriComponentsContributor(Collection<?> contributors,
ConversionService cs)
Create an instance from a collection of
UriComponentsContributors or
HandlerMethodArgumentResolvers . |
Constructor and Description |
---|
ConversionServiceExposingInterceptor(ConversionService conversionService)
Creates a new
ConversionServiceExposingInterceptor . |
Modifier and Type | Method and Description |
---|---|
void |
PathVariableMethodArgumentResolver.contributeMethodArgument(MethodParameter parameter,
Object value,
UriComponentsBuilder builder,
Map<String,Object> uriVariables,
ConversionService conversionService) |
protected String |
PathVariableMethodArgumentResolver.formatUriValue(ConversionService cs,
TypeDescriptor sourceType,
Object value) |
Modifier and Type | Method and Description |
---|---|
protected ConversionService |
ConvertingEncoderDecoderSupport.getConversionService()
Strategy method used to obtain the
ConversionService . |