| Package | Description | 
|---|---|
| org.springframework.core | Provides basic classes for exception handling and version detection,
 and other core helpers that are not specific to any part of the framework. | 
| org.springframework.core.codec | |
| org.springframework.core.convert | Type conversion system API. | 
| Modifier and Type | Field and Description | 
|---|---|
| static ResolvableType | ResolvableType. NONEResolvableTypereturned when no value is available. | 
| Modifier and Type | Method and Description | 
|---|---|
| ResolvableType | ResolvableType. as(Class<?> type)Return this type as a  ResolvableTypeof the specified class. | 
| ResolvableType | ResolvableType. asCollection()Convenience method to return this type as a resolvable  Collectiontype. | 
| ResolvableType | ResolvableType. asMap()Convenience method to return this type as a resolvable  Maptype. | 
| static ResolvableType | ResolvableType. forArrayComponent(ResolvableType componentType)Return a  ResolvableTypeas a array of the specifiedcomponentType. | 
| static ResolvableType | ResolvableType. forClass(Class<?> clazz)Return a  ResolvableTypefor the specifiedClass,
 using the full generic type information for assignability checks. | 
| static ResolvableType | ResolvableType. forClass(Class<?> baseType,
        Class<?> implementationClass)Return a  ResolvableTypefor the specified base type
 (interface or base class) with a given implementation class. | 
| static ResolvableType | ResolvableType. forClassWithGenerics(Class<?> clazz,
                    Class<?>... generics)Return a  ResolvableTypefor the specifiedClasswith pre-declared generics. | 
| static ResolvableType | ResolvableType. forClassWithGenerics(Class<?> clazz,
                    ResolvableType... generics)Return a  ResolvableTypefor the specifiedClasswith pre-declared generics. | 
| static ResolvableType | ResolvableType. forConstructorParameter(Constructor<?> constructor,
                       int parameterIndex)Return a  ResolvableTypefor the specifiedConstructorparameter. | 
| static ResolvableType | ResolvableType. forConstructorParameter(Constructor<?> constructor,
                       int parameterIndex,
                       Class<?> implementationClass)Return a  ResolvableTypefor the specifiedConstructorparameter
 with a given implementation. | 
| static ResolvableType | ResolvableType. forField(Field field)Return a  ResolvableTypefor the specifiedField. | 
| static ResolvableType | ResolvableType. forField(Field field,
        Class<?> implementationClass)Return a  ResolvableTypefor the specifiedFieldwith a given
 implementation. | 
| static ResolvableType | ResolvableType. forField(Field field,
        int nestingLevel)Return a  ResolvableTypefor the specifiedFieldwith the
 given nesting level. | 
| static ResolvableType | ResolvableType. forField(Field field,
        int nestingLevel,
        Class<?> implementationClass)Return a  ResolvableTypefor the specifiedFieldwith a given
 implementation and the given nesting level. | 
| static ResolvableType | ResolvableType. forField(Field field,
        ResolvableType implementationType)Return a  ResolvableTypefor the specifiedFieldwith a given
 implementation. | 
| static ResolvableType | ResolvableType. forInstance(Object instance)Return a  ResolvableTypefor the specified instance. | 
| static ResolvableType | ResolvableType. forMethodParameter(Method method,
                  int parameterIndex)Return a  ResolvableTypefor the specifiedMethodparameter. | 
| static ResolvableType | ResolvableType. forMethodParameter(Method method,
                  int parameterIndex,
                  Class<?> implementationClass)Return a  ResolvableTypefor the specifiedMethodparameter with a
 given implementation. | 
| static ResolvableType | ResolvableType. forMethodParameter(MethodParameter methodParameter)Return a  ResolvableTypefor the specifiedMethodParameter. | 
| static ResolvableType | ResolvableType. forMethodParameter(MethodParameter methodParameter,
                  ResolvableType implementationType)Return a  ResolvableTypefor the specifiedMethodParameterwith a
 given implementation type. | 
| static ResolvableType | ResolvableType. forMethodParameter(MethodParameter methodParameter,
                  Type targetType)Return a  ResolvableTypefor the specifiedMethodParameter,
 overriding the target type to resolve with a specific given type. | 
| static ResolvableType | ResolvableType. forMethodReturnType(Method method)Return a  ResolvableTypefor the specifiedMethodreturn type. | 
| static ResolvableType | ResolvableType. forMethodReturnType(Method method,
                   Class<?> implementationClass)Return a  ResolvableTypefor the specifiedMethodreturn type. | 
| static ResolvableType | ResolvableType. forRawClass(Class<?> clazz)Return a  ResolvableTypefor the specifiedClass,
 doing assignability checks against the raw class only (analogous toClass.isAssignableFrom(java.lang.Class<?>), which this serves as a wrapper for. | 
| static ResolvableType | ResolvableType. forType(ParameterizedTypeReference<?> typeReference)Return a  ResolvableTypefor the specifiedParameterizedTypeReference. | 
| static ResolvableType | ResolvableType. forType(Type type)Return a  ResolvableTypefor the specifiedType. | 
| static ResolvableType | ResolvableType. forType(Type type,
       ResolvableType owner)Return a  ResolvableTypefor the specifiedTypebacked by the given
 owner type. | 
| ResolvableType | ResolvableType. getComponentType()Return the ResolvableType representing the component type of the array or
  NONEif this type does not represent an array. | 
| ResolvableType | ResolvableType. getGeneric(int... indexes)Return a  ResolvableTyperepresenting the generic parameter for the
 given indexes. | 
| ResolvableType[] | ResolvableType. getGenerics()Return an array of  ResolvableTypesrepresenting the generic parameters of
 this type. | 
| ResolvableType[] | ResolvableType. getInterfaces()Return a  ResolvableTypearray representing the direct interfaces
 implemented by this type. | 
| ResolvableType | ResolvableType. getNested(int nestingLevel)Return a  ResolvableTypefor the specified nesting level. | 
| ResolvableType | ResolvableType. getNested(int nestingLevel,
         Map<Integer,Integer> typeIndexesPerLevel)Return a  ResolvableTypefor the specified nesting level. | 
| ResolvableType | ResolvableTypeProvider. getResolvableType()Return the  ResolvableTypedescribing this instance
 (ornullif some sort of default should be applied instead). | 
| ResolvableType | ResolvableType. getSuperType()Return a  ResolvableTyperepresenting the direct supertype of this type. | 
| Modifier and Type | Method and Description | 
|---|---|
| static ResolvableType | ResolvableType. forArrayComponent(ResolvableType componentType)Return a  ResolvableTypeas a array of the specifiedcomponentType. | 
| static ResolvableType | ResolvableType. forClassWithGenerics(Class<?> clazz,
                    ResolvableType... generics)Return a  ResolvableTypefor the specifiedClasswith pre-declared generics. | 
| static ResolvableType | ResolvableType. forField(Field field,
        ResolvableType implementationType)Return a  ResolvableTypefor the specifiedFieldwith a given
 implementation. | 
| static ResolvableType | ResolvableType. forMethodParameter(MethodParameter methodParameter,
                  ResolvableType implementationType)Return a  ResolvableTypefor the specifiedMethodParameterwith a
 given implementation type. | 
| static ResolvableType | ResolvableType. forType(Type type,
       ResolvableType owner)Return a  ResolvableTypefor the specifiedTypebacked by the given
 owner type. | 
| boolean | ResolvableType. isAssignableFrom(ResolvableType other)Determine whether this  ResolvableTypeis assignable from the
 specified other type. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | DataBufferDecoder. canDecode(ResolvableType elementType,
         MimeType mimeType) | 
| boolean | ByteBufferDecoder. canDecode(ResolvableType elementType,
         MimeType mimeType) | 
| boolean | StringDecoder. canDecode(ResolvableType elementType,
         MimeType mimeType) | 
| boolean | AbstractDecoder. canDecode(ResolvableType elementType,
         MimeType mimeType) | 
| boolean | ResourceDecoder. canDecode(ResolvableType elementType,
         MimeType mimeType) | 
| boolean | Decoder. canDecode(ResolvableType elementType,
         MimeType mimeType)Whether the decoder supports the given target element type and the MIME
 type of the source stream. | 
| boolean | ByteArrayDecoder. canDecode(ResolvableType elementType,
         MimeType mimeType) | 
| boolean | DataBufferEncoder. canEncode(ResolvableType elementType,
         MimeType mimeType) | 
| boolean | Encoder. canEncode(ResolvableType elementType,
         MimeType mimeType)Whether the encoder supports the given source element type and the MIME
 type for the output stream. | 
| boolean | CharSequenceEncoder. canEncode(ResolvableType elementType,
         MimeType mimeType) | 
| boolean | AbstractEncoder. canEncode(ResolvableType elementType,
         MimeType mimeType) | 
| boolean | ResourceEncoder. canEncode(ResolvableType elementType,
         MimeType mimeType) | 
| boolean | ByteArrayEncoder. canEncode(ResolvableType elementType,
         MimeType mimeType) | 
| boolean | ResourceRegionEncoder. canEncode(ResolvableType elementType,
         MimeType mimeType) | 
| boolean | ByteBufferEncoder. canEncode(ResolvableType elementType,
         MimeType mimeType) | 
| DataBuffer | DataBufferDecoder. decode(DataBuffer buffer,
      ResolvableType elementType,
      MimeType mimeType,
      Map<String,Object> hints) | 
| ByteBuffer | ByteBufferDecoder. decode(DataBuffer dataBuffer,
      ResolvableType elementType,
      MimeType mimeType,
      Map<String,Object> hints) | 
| String | StringDecoder. decode(DataBuffer dataBuffer,
      ResolvableType elementType,
      MimeType mimeType,
      Map<String,Object> hints) | 
| Resource | ResourceDecoder. decode(DataBuffer dataBuffer,
      ResolvableType elementType,
      MimeType mimeType,
      Map<String,Object> hints) | 
| default T | Decoder. decode(DataBuffer buffer,
      ResolvableType targetType,
      MimeType mimeType,
      Map<String,Object> hints)Decode a data buffer to an Object of type T. | 
| byte[] | ByteArrayDecoder. decode(DataBuffer dataBuffer,
      ResolvableType elementType,
      MimeType mimeType,
      Map<String,Object> hints) | 
| reactor.core.publisher.Flux<DataBuffer> | DataBufferDecoder. decode(org.reactivestreams.Publisher<DataBuffer> input,
      ResolvableType elementType,
      MimeType mimeType,
      Map<String,Object> hints) | 
| reactor.core.publisher.Flux<String> | StringDecoder. decode(org.reactivestreams.Publisher<DataBuffer> input,
      ResolvableType elementType,
      MimeType mimeType,
      Map<String,Object> hints) | 
| reactor.core.publisher.Flux<Resource> | ResourceDecoder. decode(org.reactivestreams.Publisher<DataBuffer> inputStream,
      ResolvableType elementType,
      MimeType mimeType,
      Map<String,Object> hints) | 
| reactor.core.publisher.Flux<T> | AbstractDataBufferDecoder. decode(org.reactivestreams.Publisher<DataBuffer> input,
      ResolvableType elementType,
      MimeType mimeType,
      Map<String,Object> hints) | 
| reactor.core.publisher.Flux<T> | Decoder. decode(org.reactivestreams.Publisher<DataBuffer> inputStream,
      ResolvableType elementType,
      MimeType mimeType,
      Map<String,Object> hints)Decode a  DataBufferinput stream into a Flux ofT. | 
| protected T | AbstractDataBufferDecoder. decodeDataBuffer(DataBuffer buffer,
                ResolvableType elementType,
                MimeType mimeType,
                Map<String,Object> hints)Deprecated. 
 as of 5.2, please implement
  Decoder.decode(DataBuffer, ResolvableType, MimeType, Map)instead | 
| reactor.core.publisher.Mono<T> | AbstractDecoder. decodeToMono(org.reactivestreams.Publisher<DataBuffer> inputStream,
            ResolvableType elementType,
            MimeType mimeType,
            Map<String,Object> hints) | 
| reactor.core.publisher.Mono<T> | AbstractDataBufferDecoder. decodeToMono(org.reactivestreams.Publisher<DataBuffer> input,
            ResolvableType elementType,
            MimeType mimeType,
            Map<String,Object> hints) | 
| reactor.core.publisher.Mono<T> | Decoder. decodeToMono(org.reactivestreams.Publisher<DataBuffer> inputStream,
            ResolvableType elementType,
            MimeType mimeType,
            Map<String,Object> hints)Decode a  DataBufferinput stream into a Mono ofT. | 
| reactor.core.publisher.Flux<DataBuffer> | ByteArrayEncoder. encode(org.reactivestreams.Publisher<? extends byte[]> inputStream,
      DataBufferFactory bufferFactory,
      ResolvableType elementType,
      MimeType mimeType,
      Map<String,Object> hints) | 
| reactor.core.publisher.Flux<DataBuffer> | ByteBufferEncoder. encode(org.reactivestreams.Publisher<? extends ByteBuffer> inputStream,
      DataBufferFactory bufferFactory,
      ResolvableType elementType,
      MimeType mimeType,
      Map<String,Object> hints) | 
| reactor.core.publisher.Flux<DataBuffer> | CharSequenceEncoder. encode(org.reactivestreams.Publisher<? extends CharSequence> inputStream,
      DataBufferFactory bufferFactory,
      ResolvableType elementType,
      MimeType mimeType,
      Map<String,Object> hints) | 
| reactor.core.publisher.Flux<DataBuffer> | DataBufferEncoder. encode(org.reactivestreams.Publisher<? extends DataBuffer> inputStream,
      DataBufferFactory bufferFactory,
      ResolvableType elementType,
      MimeType mimeType,
      Map<String,Object> hints) | 
| reactor.core.publisher.Flux<DataBuffer> | ResourceRegionEncoder. encode(org.reactivestreams.Publisher<? extends ResourceRegion> input,
      DataBufferFactory bufferFactory,
      ResolvableType elementType,
      MimeType mimeType,
      Map<String,Object> hints) | 
| reactor.core.publisher.Flux<DataBuffer> | Encoder. encode(org.reactivestreams.Publisher<? extends T> inputStream,
      DataBufferFactory bufferFactory,
      ResolvableType elementType,
      MimeType mimeType,
      Map<String,Object> hints)Encode a stream of Objects of type  Tinto aDataBufferoutput stream. | 
| reactor.core.publisher.Flux<DataBuffer> | AbstractSingleValueEncoder. encode(org.reactivestreams.Publisher<? extends T> inputStream,
      DataBufferFactory bufferFactory,
      ResolvableType elementType,
      MimeType mimeType,
      Map<String,Object> hints) | 
| protected reactor.core.publisher.Flux<DataBuffer> | ResourceEncoder. encode(Resource resource,
      DataBufferFactory bufferFactory,
      ResolvableType type,
      MimeType mimeType,
      Map<String,Object> hints) | 
| protected abstract reactor.core.publisher.Flux<DataBuffer> | AbstractSingleValueEncoder. encode(T t,
      DataBufferFactory dataBufferFactory,
      ResolvableType type,
      MimeType mimeType,
      Map<String,Object> hints)Encode  Tto an outputDataBufferstream. | 
| DataBuffer | ByteArrayEncoder. encodeValue(byte[] bytes,
           DataBufferFactory bufferFactory,
           ResolvableType valueType,
           MimeType mimeType,
           Map<String,Object> hints) | 
| DataBuffer | ByteBufferEncoder. encodeValue(ByteBuffer byteBuffer,
           DataBufferFactory bufferFactory,
           ResolvableType valueType,
           MimeType mimeType,
           Map<String,Object> hints) | 
| DataBuffer | CharSequenceEncoder. encodeValue(CharSequence charSequence,
           DataBufferFactory bufferFactory,
           ResolvableType valueType,
           MimeType mimeType,
           Map<String,Object> hints) | 
| DataBuffer | DataBufferEncoder. encodeValue(DataBuffer buffer,
           DataBufferFactory bufferFactory,
           ResolvableType valueType,
           MimeType mimeType,
           Map<String,Object> hints) | 
| default DataBuffer | Encoder. encodeValue(T value,
           DataBufferFactory bufferFactory,
           ResolvableType valueType,
           MimeType mimeType,
           Map<String,Object> hints)Encode an Object of type T to a data buffer. | 
| Modifier and Type | Method and Description | 
|---|---|
| ResolvableType | TypeDescriptor. getResolvableType()Return the underlying  ResolvableType. | 
| Constructor and Description | 
|---|
| TypeDescriptor(ResolvableType resolvableType,
              Class<?> type,
              Annotation[] annotations)Create a new type descriptor from a  ResolvableType. |