Spring for Android

Deprecated API


Contents
Deprecated Interfaces
org.springframework.core.ConcurrentMap
          since standard ConcurrentMap is available on Android 2.3 
 

Deprecated Classes
org.springframework.http.client.HttpComponentsAndroidClientHttpRequestFactory
          in favor of HttpClient 4.3 and HttpComponentsClientHttpRequestFactory 
org.springframework.http.converter.json.MappingJacksonHttpMessageConverter
          In favor of MappingJackson2HttpMessageConverter 
org.springframework.http.converter.xml.XmlAwareFormHttpMessageConverter
          in favor of AllEncompassingFormHttpMessageConverter 
 

Deprecated Methods
org.springframework.core.convert.support.ConversionServiceFactory.addDefaultConverters(GenericConversionService)
          in favor of DefaultConversionService.addDefaultConverters(ConverterRegistry) 
org.springframework.core.CollectionFactory.createConcurrentMap(int)
            
org.springframework.core.CollectionFactory.createConcurrentMapIfPossible(int)
            
org.springframework.core.CollectionFactory.createCopyOnWriteSet()
            
org.springframework.core.convert.support.ConversionServiceFactory.createDefaultConversionService()
          in favor of DefaultConversionService.DefaultConversionService() 
org.springframework.core.CollectionFactory.createIdentityMapIfPossible(int)
            
org.springframework.core.CollectionFactory.createLinkedCaseInsensitiveMapIfPossible(int)
            
org.springframework.core.CollectionFactory.createLinkedMapIfPossible(int)
            
org.springframework.core.CollectionFactory.createLinkedSetIfPossible(int)
            
org.springframework.util.Base64Utils.decode(String)
          in favor of Base64Utils.decodeFromString(String) 
org.springframework.web.util.UriUtils.encodeHttpUrl(String, String)
          in favor of UriComponentsBuilder; see note about query param encoding 
org.springframework.web.util.UriUtils.encodeUri(String, String)
          in favor of UriComponentsBuilder; see note about query param encoding 
org.springframework.web.util.UriUtils.encodeUriComponents(String, String, String, String, String, String, String, String, String)
          in favor of UriComponentsBuilder 
org.springframework.util.ClassUtils.forName(String)
          in favor of specifying a ClassLoader explicitly: see ClassUtils.forName(String, ClassLoader) 
org.springframework.core.convert.TypeDescriptor.getElementType()
          in favor of TypeDescriptor.getElementTypeDescriptor() 
org.springframework.http.HttpHeaders.getIfNotModifiedSince()
          use HttpHeaders.getIfModifiedSince() 
org.springframework.core.convert.TypeDescriptor.getMapKeyType()
          in favor of TypeDescriptor.getMapKeyTypeDescriptor() 
org.springframework.core.convert.TypeDescriptor.getMapValueType()
          in favor of TypeDescriptor.getMapValueTypeDescriptor() 
org.springframework.util.ClassUtils.isPresent(String)
          in favor of ClassUtils.isPresent(String, ClassLoader) 
org.springframework.core.GenericTypeResolver.resolveReturnTypeForGenericMethod(Method, Object[])
          in favor of resolveReturnTypeForFactoryMethod in the internal AutowireUtils class in the beans module; we do not expect other use of it! 
 

Deprecated Constructors
org.springframework.web.client.RestTemplate(boolean)
          in favor of RestTemplate.RestTemplate(List) 
org.springframework.web.client.RestTemplate(boolean, ClientHttpRequestFactory)
          in favor of RestTemplate.RestTemplate(List) and HttpAccessor.setRequestFactory(ClientHttpRequestFactory) 
 

Deprecated Enum Constants
org.springframework.http.HttpStatus.DESTINATION_LOCKED
          See WebDAV Draft Changes 
org.springframework.http.HttpStatus.INSUFFICIENT_SPACE_ON_RESOURCE
          See WebDAV Draft Changes 
org.springframework.http.HttpStatus.METHOD_FAILURE
          See WebDAV Draft Changes 
org.springframework.http.HttpStatus.MOVED_TEMPORARILY
          In favor of HttpStatus.FOUND which will be returned from HttpStatus.valueOf(302) 
org.springframework.http.HttpStatus.REQUEST_ENTITY_TOO_LARGE
          In favor of HttpStatus.PAYLOAD_TOO_LARGE which will be returned from HttpStatus.valueOf(413) 
org.springframework.http.HttpStatus.REQUEST_URI_TOO_LONG
          In favor of HttpStatus.URI_TOO_LONG which will be returned from HttpStatus.valueOf(414) 
org.springframework.http.HttpStatus.USE_PROXY
          due to security concerns regarding in-band configuration of a proxy 
 


Spring for Android