Uses of Class
org.springframework.core.ResolvableType
Packages that use ResolvableType
Package
Description
Support classes for components that contribute generated code equivalent to a
runtime behavior.
Provides basic classes for exception handling and version detection,
and other core helpers that are not specific to any part of the framework.
Type conversion system API.
-
Uses of ResolvableType in org.springframework.aot.generate
Methods in org.springframework.aot.generate with parameters of type ResolvableTypeModifier and TypeMethodDescriptionstatic AccessControlAccessControl.forResolvableType(ResolvableType resolvableType) Create anAccessControlfor the givenResolvableType. -
Uses of ResolvableType in org.springframework.core
Fields in org.springframework.core declared as ResolvableTypeModifier and TypeFieldDescriptionstatic final ResolvableTypeResolvableType.NONEResolvableTypereturned when no value is available.Methods in org.springframework.core that return ResolvableTypeModifier and TypeMethodDescriptionReturn this type as aResolvableTypeof the specified class.ResolvableType.asCollection()Convenience method to return this type as a resolvableCollectiontype.ResolvableType.asMap()Convenience method to return this type as a resolvableMaptype.static ResolvableTypeResolvableType.forArrayComponent(ResolvableType componentType) Return aResolvableTypeas an array of the specifiedcomponentType.static ResolvableTypeReturn aResolvableTypefor the specifiedClass, using the full generic type information for assignability checks.static ResolvableTypeReturn aResolvableTypefor the specified base type (interface or base class) with a given implementation class.static ResolvableTypeResolvableType.forClassWithGenerics(Class<?> clazz, Class<?>... generics) Return aResolvableTypefor the specifiedClasswith pre-declared generics.static ResolvableTypeResolvableType.forClassWithGenerics(Class<?> clazz, @Nullable ResolvableType @Nullable ... generics) Return aResolvableTypefor the specifiedClasswith pre-declared generics.static ResolvableTypeResolvableType.forConstructorParameter(Constructor<?> constructor, int parameterIndex) Return aResolvableTypefor the specifiedConstructorparameter.static ResolvableTypeResolvableType.forConstructorParameter(Constructor<?> constructor, int parameterIndex, Class<?> implementationClass) Return aResolvableTypefor the specifiedConstructorparameter with a given implementation.static ResolvableTypeReturn aResolvableTypefor the specifiedField.static ResolvableTypeReturn aResolvableTypefor the specifiedFieldwith the given nesting level.static ResolvableTypeReturn aResolvableTypefor the specifiedFieldwith a given implementation and the given nesting level.static ResolvableTypeReturn aResolvableTypefor the specifiedFieldwith a given implementation.static ResolvableTypeResolvableType.forField(Field field, @Nullable ResolvableType implementationType) Return aResolvableTypefor the specifiedFieldwith a given implementation.static ResolvableTypeResolvableType.forInstance(@Nullable Object instance) Return aResolvableTypefor the specified instance.static ResolvableTypeResolvableType.forMethodParameter(Method method, int parameterIndex) Return aResolvableTypefor the specifiedMethodparameter.static ResolvableTypeResolvableType.forMethodParameter(Method method, int parameterIndex, Class<?> implementationClass) Return aResolvableTypefor the specifiedMethodparameter with a given implementation.static ResolvableTypeResolvableType.forMethodParameter(MethodParameter methodParameter) Return aResolvableTypefor the specifiedMethodParameter.static ResolvableTypeResolvableType.forMethodParameter(MethodParameter methodParameter, @Nullable Type targetType) Return aResolvableTypefor the specifiedMethodParameter, overriding the target type to resolve with a specific given type.static ResolvableTypeResolvableType.forMethodParameter(MethodParameter methodParameter, @Nullable ResolvableType implementationType) Return aResolvableTypefor the specifiedMethodParameterwith a given implementation type.static ResolvableTypeResolvableType.forMethodReturnType(Method method) Return aResolvableTypefor the specifiedMethodreturn type.static ResolvableTypeResolvableType.forMethodReturnType(Method method, Class<?> implementationClass) Return aResolvableTypefor the specifiedMethodreturn type.static ResolvableTypeResolvableType.forRawClass(@Nullable Class<?> clazz) Return aResolvableTypefor the specifiedClass, doing assignability checks against the raw class only (analogous toClass.isAssignableFrom(java.lang.Class<?>), which this serves as a wrapper for).static ResolvableTypeReturn aResolvableTypefor the specifiedType.static ResolvableTypeResolvableType.forType(@Nullable Type type, @Nullable ResolvableType owner) Return aResolvableTypefor the specifiedTypebacked by the given owner type.static ResolvableTypeResolvableType.forType(ParameterizedTypeReference<?> typeReference) Return aResolvableTypefor the specifiedParameterizedTypeReference.ResolvableType.getComponentType()Return the ResolvableType representing the component type of the array orNONEif this type does not represent an array.ResolvableType.getGeneric(int @Nullable ... indexes) Return aResolvableTyperepresenting the generic parameter for the given indexes.ResolvableType.getGenerics()Return an array ofResolvableType ResolvableTypesrepresenting the generic parameters of this type.ResolvableType.getInterfaces()Return aResolvableTypearray representing the direct interfaces implemented by this type.ResolvableType.getNested(int nestingLevel) Return aResolvableTypefor the specified nesting level.Return aResolvableTypefor the specified nesting level.ResolvableTypeProvider.getResolvableType()Return theResolvableTypedescribing this instance (ornullif some sort of default should be applied instead).ResolvableType.getSuperType()Return aResolvableTyperepresenting the direct supertype of this type.Methods in org.springframework.core with parameters of type ResolvableTypeModifier and TypeMethodDescriptionbooleanResolvableType.equalsType(ResolvableType otherType) Check for type-level equality with anotherResolvableType.static ResolvableTypeResolvableType.forArrayComponent(ResolvableType componentType) Return aResolvableTypeas an array of the specifiedcomponentType.static ResolvableTypeResolvableType.forClassWithGenerics(Class<?> clazz, @Nullable ResolvableType @Nullable ... generics) Return aResolvableTypefor the specifiedClasswith pre-declared generics.static ResolvableTypeResolvableType.forField(Field field, @Nullable ResolvableType implementationType) Return aResolvableTypefor the specifiedFieldwith a given implementation.static ResolvableTypeResolvableType.forMethodParameter(MethodParameter methodParameter, @Nullable ResolvableType implementationType) Return aResolvableTypefor the specifiedMethodParameterwith a given implementation type.static ResolvableTypeResolvableType.forType(@Nullable Type type, @Nullable ResolvableType owner) Return aResolvableTypefor the specifiedTypebacked by the given owner type.booleanResolvableType.isAssignableFrom(ResolvableType other) Determine whether thisResolvableTypeis assignable from the specified other type.booleanResolvableType.isAssignableFromResolvedPart(ResolvableType other) Determine whether thisResolvableTypeis assignable from the specified other type, as far as the other type is actually resolvable. -
Uses of ResolvableType in org.springframework.core.codec
Methods in org.springframework.core.codec with parameters of type ResolvableTypeModifier and TypeMethodDescriptionbooleanAbstractDecoder.canDecode(ResolvableType elementType, @Nullable MimeType mimeType) booleanByteArrayDecoder.canDecode(ResolvableType elementType, @Nullable MimeType mimeType) booleanByteBufferDecoder.canDecode(ResolvableType elementType, @Nullable MimeType mimeType) booleanCharBufferDecoder.canDecode(ResolvableType elementType, @Nullable MimeType mimeType) booleanDataBufferDecoder.canDecode(ResolvableType elementType, @Nullable MimeType mimeType) booleanDecoder.canDecode(ResolvableType elementType, @Nullable MimeType mimeType) Whether the decoder supports the given target element type and the MIME type of the source stream.booleanNettyByteBufDecoder.canDecode(ResolvableType elementType, @Nullable MimeType mimeType) booleanResourceDecoder.canDecode(ResolvableType elementType, @Nullable MimeType mimeType) booleanStringDecoder.canDecode(ResolvableType elementType, @Nullable MimeType mimeType) booleanAbstractEncoder.canEncode(ResolvableType elementType, @Nullable MimeType mimeType) booleanByteArrayEncoder.canEncode(ResolvableType elementType, @Nullable MimeType mimeType) booleanByteBufferEncoder.canEncode(ResolvableType elementType, @Nullable MimeType mimeType) booleanCharSequenceEncoder.canEncode(ResolvableType elementType, @Nullable MimeType mimeType) booleanDataBufferEncoder.canEncode(ResolvableType elementType, @Nullable MimeType mimeType) booleanEncoder.canEncode(ResolvableType elementType, @Nullable MimeType mimeType) Whether the encoder supports the given source element type and the MIME type for the output stream.booleanNettyByteBufEncoder.canEncode(ResolvableType type, @Nullable MimeType mimeType) booleanResourceEncoder.canEncode(ResolvableType elementType, @Nullable MimeType mimeType) booleanResourceRegionEncoder.canEncode(ResolvableType elementType, @Nullable MimeType mimeType) final reactor.core.publisher.Flux<T> AbstractCharSequenceDecoder.decode(Publisher<DataBuffer> input, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) final TAbstractCharSequenceDecoder.decode(DataBuffer dataBuffer, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) reactor.core.publisher.Flux<T> AbstractDataBufferDecoder.decode(Publisher<DataBuffer> input, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) byte[]ByteArrayDecoder.decode(DataBuffer dataBuffer, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) ByteBufferDecoder.decode(DataBuffer dataBuffer, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer> DataBufferDecoder.decode(Publisher<DataBuffer> input, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) DataBufferDecoder.decode(DataBuffer buffer, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) reactor.core.publisher.Flux<T> Decoder.decode(Publisher<DataBuffer> inputStream, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Decode aDataBufferinput stream into a Flux ofT.Decoder.decode(DataBuffer buffer, ResolvableType targetType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Decode a data buffer to an Object of type T.io.netty.buffer.ByteBufNettyByteBufDecoder.decode(DataBuffer dataBuffer, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) reactor.core.publisher.Flux<Resource> ResourceDecoder.decode(Publisher<DataBuffer> inputStream, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) ResourceDecoder.decode(DataBuffer dataBuffer, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) AbstractDataBufferDecoder.decodeDataBuffer(DataBuffer buffer, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Deprecated.reactor.core.publisher.Mono<T> AbstractDataBufferDecoder.decodeToMono(Publisher<DataBuffer> input, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) reactor.core.publisher.Mono<T> AbstractDecoder.decodeToMono(Publisher<DataBuffer> inputStream, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) reactor.core.publisher.Mono<T> Decoder.decodeToMono(Publisher<DataBuffer> inputStream, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Decode aDataBufferinput stream into a Mono ofT.final reactor.core.publisher.Flux<DataBuffer> AbstractSingleValueEncoder.encode(Publisher<? extends T> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) protected abstract reactor.core.publisher.Flux<DataBuffer> AbstractSingleValueEncoder.encode(T t, DataBufferFactory dataBufferFactory, ResolvableType type, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) EncodeTto an outputDataBufferstream.reactor.core.publisher.Flux<DataBuffer> ByteArrayEncoder.encode(Publisher<? extends byte[]> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer> ByteBufferEncoder.encode(Publisher<? extends ByteBuffer> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer> CharSequenceEncoder.encode(Publisher<? extends CharSequence> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer> DataBufferEncoder.encode(Publisher<? extends DataBuffer> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer> Encoder.encode(Publisher<? extends T> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Encode a stream of Objects of typeTinto aDataBufferoutput stream.reactor.core.publisher.Flux<DataBuffer> NettyByteBufEncoder.encode(Publisher<? extends io.netty.buffer.ByteBuf> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) protected reactor.core.publisher.Flux<DataBuffer> ResourceEncoder.encode(Resource resource, DataBufferFactory bufferFactory, ResolvableType type, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer> ResourceRegionEncoder.encode(Publisher<? extends ResourceRegion> input, DataBufferFactory bufferFactory, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) ByteArrayEncoder.encodeValue(byte[] bytes, DataBufferFactory bufferFactory, ResolvableType valueType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) ByteBufferEncoder.encodeValue(ByteBuffer byteBuffer, DataBufferFactory bufferFactory, ResolvableType valueType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) CharSequenceEncoder.encodeValue(CharSequence charSequence, DataBufferFactory bufferFactory, ResolvableType valueType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) DataBufferEncoder.encodeValue(DataBuffer buffer, DataBufferFactory bufferFactory, ResolvableType valueType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) default DataBufferEncoder.encodeValue(T value, DataBufferFactory bufferFactory, ResolvableType valueType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Encode an Object of type T to a data buffer.NettyByteBufEncoder.encodeValue(io.netty.buffer.ByteBuf byteBuf, DataBufferFactory bufferFactory, ResolvableType valueType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Decoder.getDecodableMimeTypes(ResolvableType targetType) Return the list of MIME types supported by this Decoder for the given type of element.Encoder.getEncodableMimeTypes(ResolvableType elementType) Return the list of MIME types supported by this Encoder for the given type of element. -
Uses of ResolvableType in org.springframework.core.convert
Methods in org.springframework.core.convert that return ResolvableTypeModifier and TypeMethodDescriptionTypeDescriptor.getResolvableType()Return the underlyingResolvableType.Constructors in org.springframework.core.convert with parameters of type ResolvableTypeModifierConstructorDescriptionTypeDescriptor(ResolvableType resolvableType, @Nullable Class<?> type, Annotation @Nullable [] annotations) Create a new type descriptor from aResolvableType.
Decoder.decode(DataBuffer, ResolvableType, MimeType, Map)instead