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.
This package contains interfaces and classes for manipulating Java beans.
The core package implementing Spring's lightweight Inversion of Control (IoC) container.
SPI interfaces and configuration-related convenience classes for bean factories.
Classes used in generated code to ease bean registration.
Classes supporting the
org.springframework.beans.factory package.This package builds on the beans package to add support for
message sources and for the Observer design pattern, and the
ability for application objects to obtain resources using a
consistent API.
Support classes for application events, like standard context events.
Classes supporting the org.springframework.context package,
such as abstract base classes for ApplicationContext
implementations and a MessageSource implementation.
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.
JSON encoder and decoder support.
Multipart support.
Provides an encoder and a decoder for
Google Protocol Buffers.
XML encoder and decoder support.
Support classes for JNDI usage,
including a JNDI-based BeanFactory implementation.
Support for the RSocket protocol.
Top-level package for the
spring-webflux module that contains
DispatcherHandler, the main entry
point for WebFlux server endpoint processing including key contracts used to
map requests to handlers, invoke them, and process the result.Provides a foundation for both the reactive client and server subpackages.
Core interfaces and classes for Spring's generic, reactive web support.
-
Uses of ResolvableType in org.springframework.aot.generator
Methods in org.springframework.aot.generator that return ResolvableTypeMethods in org.springframework.aot.generator with parameters of type ResolvableTypeModifier and TypeMethodDescriptionvoidProtectedAccess.analyze(ResolvableType type) Analyze the specified type, including its full type signature.org.springframework.javapoet.CodeBlockResolvableTypeGenerator.generateTypeFor(ResolvableType target) Generate a type signature for the specifiedResolvableType. -
Uses of ResolvableType in org.springframework.beans
Methods in org.springframework.beans that return ResolvableTypeModifier and TypeMethodDescriptionabstract ResolvableTypeAbstractNestablePropertyAccessor.PropertyHandler.getResolvableType() -
Uses of ResolvableType in org.springframework.beans.factory
Methods in org.springframework.beans.factory that return ResolvableTypeModifier and TypeMethodDescriptionNoSuchBeanDefinitionException.getResolvableType()Return the requiredResolvableTypeof the missing bean, if it was a lookup by type that failed.Methods in org.springframework.beans.factory with parameters of type ResolvableTypeModifier and TypeMethodDescriptionstatic String[]BeanFactoryUtils.beanNamesForTypeIncludingAncestors(ListableBeanFactory lbf, ResolvableType type) Get all bean names for the given type, including those defined in ancestor factories.static String[]BeanFactoryUtils.beanNamesForTypeIncludingAncestors(ListableBeanFactory lbf, ResolvableType type, boolean includeNonSingletons, boolean allowEagerInit) Get all bean names for the given type, including those defined in ancestor factories.String[]ListableBeanFactory.getBeanNamesForType(ResolvableType type) Return the names of beans matching the given type (including subclasses), judging from either bean definitions or the value ofgetObjectTypein the case of FactoryBeans.String[]ListableBeanFactory.getBeanNamesForType(ResolvableType type, boolean includeNonSingletons, boolean allowEagerInit) Return the names of beans matching the given type (including subclasses), judging from either bean definitions or the value ofgetObjectTypein the case of FactoryBeans.<T> ObjectProvider<T>BeanFactory.getBeanProvider(ResolvableType requiredType) Return a provider for the specified bean, allowing for lazy on-demand retrieval of instances, including availability and uniqueness options.<T> ObjectProvider<T>ListableBeanFactory.getBeanProvider(ResolvableType requiredType, boolean allowEagerInit) Return a provider for the specified bean, allowing for lazy on-demand retrieval of instances, including availability and uniqueness options.booleanBeanFactory.isTypeMatch(String name, ResolvableType typeToMatch) Check whether the bean with the given name matches the specified type.Constructors in org.springframework.beans.factory with parameters of type ResolvableTypeModifierConstructorDescriptionCreate a newNoSuchBeanDefinitionException.NoSuchBeanDefinitionException(ResolvableType type, String message) Create a newNoSuchBeanDefinitionException.NoUniqueBeanDefinitionException(ResolvableType type, String... beanNamesFound) Create a newNoUniqueBeanDefinitionException.NoUniqueBeanDefinitionException(ResolvableType type, Collection<String> beanNamesFound) Create a newNoUniqueBeanDefinitionException. -
Uses of ResolvableType in org.springframework.beans.factory.config
Methods in org.springframework.beans.factory.config that return ResolvableTypeModifier and TypeMethodDescriptionBeanDefinition.getResolvableType()Return a resolvable type for this bean definition, based on the bean class or other specific metadata.DependencyDescriptor.getResolvableType()Build aResolvableTypeobject for the wrapped parameter/field.Methods in org.springframework.beans.factory.config with parameters of type ResolvableTypeModifier and TypeMethodDescriptionDependencyDescriptor.resolveNotUnique(ResolvableType type, Map<String, Object> matchingBeans) Resolve the specified not-unique scenario: by default, throwing aNoUniqueBeanDefinitionException. -
Uses of ResolvableType in org.springframework.beans.factory.generator
Method parameters in org.springframework.beans.factory.generator with type arguments of type ResolvableTypeModifier and TypeMethodDescriptionorg.springframework.javapoet.CodeBlockBeanParameterGenerator.writeParameterValue(Object value, Supplier<ResolvableType> parameterType) Write the specified parametervalue. -
Uses of ResolvableType in org.springframework.beans.factory.generator.config
Methods in org.springframework.beans.factory.generator.config with parameters of type ResolvableTypeModifier and TypeMethodDescriptionstatic BeanDefinitionRegistrarBeanDefinitionRegistrar.inner(ResolvableType beanType) Initialize the registration of an inner bean with the specified type.static BeanDefinitionRegistrarBeanDefinitionRegistrar.of(String beanName, ResolvableType beanType) Initialize the registration of a bean with the specified name and type. -
Uses of ResolvableType in org.springframework.beans.factory.support
Methods in org.springframework.beans.factory.support that return ResolvableTypeModifier and TypeMethodDescriptionAbstractBeanDefinition.getResolvableType()Return a resolvable type for this bean definition.RootBeanDefinition.getResolvableType()Return aResolvableTypefor this bean definition, either from runtime-cached type information or from configuration-timeRootBeanDefinition.setTargetType(ResolvableType)orAbstractBeanDefinition.setBeanClass(Class), also considering resolved factory method definitions.protected ResolvableTypeGenericTypeAwareAutowireCandidateResolver.getReturnTypeForFactoryMethod(RootBeanDefinition rbd, DependencyDescriptor descriptor) protected ResolvableTypeAbstractAutowireCapableBeanFactory.getTypeForFactoryBean(String beanName, RootBeanDefinition mbd, boolean allowInit) This implementation attempts to query the FactoryBean's generic parameter metadata if present to determine the object type.protected ResolvableTypeAbstractBeanFactory.getTypeForFactoryBean(String beanName, RootBeanDefinition mbd, boolean allowInit) Determine the bean type for the given FactoryBean definition, as far as possible.Methods in org.springframework.beans.factory.support with parameters of type ResolvableTypeModifier and TypeMethodDescriptionString[]DefaultListableBeanFactory.getBeanNamesForType(ResolvableType type) String[]DefaultListableBeanFactory.getBeanNamesForType(ResolvableType type, boolean includeNonSingletons, boolean allowEagerInit) String[]StaticListableBeanFactory.getBeanNamesForType(ResolvableType type) String[]StaticListableBeanFactory.getBeanNamesForType(ResolvableType type, boolean includeNonSingletons, boolean allowEagerInit) <T> ObjectProvider<T>DefaultListableBeanFactory.getBeanProvider(ResolvableType requiredType) <T> ObjectProvider<T>DefaultListableBeanFactory.getBeanProvider(ResolvableType requiredType, boolean allowEagerInit) <T> ObjectProvider<T>StaticListableBeanFactory.getBeanProvider(ResolvableType requiredType) <T> ObjectProvider<T>StaticListableBeanFactory.getBeanProvider(ResolvableType requiredType, boolean allowEagerInit) booleanAbstractBeanFactory.isTypeMatch(String name, ResolvableType typeToMatch) protected booleanAbstractBeanFactory.isTypeMatch(String name, ResolvableType typeToMatch, boolean allowFactoryBeanInit) Internal extended variant ofAbstractBeanFactory.isTypeMatch(String, ResolvableType)to check whether the bean with the given name matches the specified type.booleanStaticListableBeanFactory.isTypeMatch(String name, ResolvableType typeToMatch) static <T> BeanDefinitionBuilderBeanDefinitionBuilder.rootBeanDefinition(ResolvableType beanType, Supplier<T> instanceSupplier) Create a newBeanDefinitionBuilderused to construct aRootBeanDefinition.voidRootBeanDefinition.setTargetType(ResolvableType targetType) Specify a generics-containing target type of this bean definition, if known in advance. -
Uses of ResolvableType in org.springframework.context
Methods in org.springframework.context that return ResolvableTypeConstructors in org.springframework.context with parameters of type ResolvableTypeModifierConstructorDescriptionPayloadApplicationEvent(Object source, T payload, ResolvableType payloadType) Create a new PayloadApplicationEvent. -
Uses of ResolvableType in org.springframework.context.event
Methods in org.springframework.context.event with parameters of type ResolvableTypeModifier and TypeMethodDescriptionprotected Collection<ApplicationListener<?>>AbstractApplicationEventMulticaster.getApplicationListeners(ApplicationEvent event, ResolvableType eventType) Return a Collection of ApplicationListeners matching the given event type.voidApplicationEventMulticaster.multicastEvent(ApplicationEvent event, ResolvableType eventType) Multicast the given application event to appropriate listeners.voidSimpleApplicationEventMulticaster.multicastEvent(ApplicationEvent event, ResolvableType eventType) protected booleanAbstractApplicationEventMulticaster.supportsEvent(Class<?> listenerType, ResolvableType eventType) Filter a listener early through checking its generically declared event type before trying to instantiate it.protected booleanAbstractApplicationEventMulticaster.supportsEvent(ApplicationListener<?> listener, ResolvableType eventType, Class<?> sourceType) Determine whether the given listener supports the given event.booleanApplicationListenerMethodAdapter.supportsEventType(ResolvableType eventType) booleanGenericApplicationListener.supportsEventType(ResolvableType eventType) Determine whether this listener actually supports the given event type.booleanGenericApplicationListenerAdapter.supportsEventType(ResolvableType eventType) booleanSourceFilteringListener.supportsEventType(ResolvableType eventType) -
Uses of ResolvableType in org.springframework.context.support
Methods in org.springframework.context.support with parameters of type ResolvableTypeModifier and TypeMethodDescriptionString[]AbstractApplicationContext.getBeanNamesForType(ResolvableType type) String[]AbstractApplicationContext.getBeanNamesForType(ResolvableType type, boolean includeNonSingletons, boolean allowEagerInit) <T> ObjectProvider<T>AbstractApplicationContext.getBeanProvider(ResolvableType requiredType) <T> ObjectProvider<T>AbstractApplicationContext.getBeanProvider(ResolvableType requiredType, boolean allowEagerInit) booleanAbstractApplicationContext.isTypeMatch(String name, ResolvableType typeToMatch) protected voidAbstractApplicationContext.publishEvent(Object event, ResolvableType eventType) Publish the given event to all listeners. -
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 a 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, ResolvableType... 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, ResolvableType implementationType) Return aResolvableTypefor the specifiedFieldwith a given implementation.static ResolvableTypeResolvableType.forInstance(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, Type targetType) Return aResolvableTypefor the specifiedMethodParameter, overriding the target type to resolve with a specific given type.static ResolvableTypeResolvableType.forMethodParameter(MethodParameter methodParameter, 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(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(Type type, 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... indexes) Return aResolvableTyperepresenting the generic parameter for the given indexes.ResolvableType.getGenerics()Return an array ofResolvableTypesrepresenting 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 TypeMethodDescriptionstatic ResolvableTypeResolvableType.forArrayComponent(ResolvableType componentType) Return aResolvableTypeas a array of the specifiedcomponentType.static ResolvableTypeResolvableType.forClassWithGenerics(Class<?> clazz, ResolvableType... generics) Return aResolvableTypefor the specifiedClasswith pre-declared generics.static ResolvableTypeResolvableType.forField(Field field, ResolvableType implementationType) Return aResolvableTypefor the specifiedFieldwith a given implementation.static ResolvableTypeResolvableType.forMethodParameter(MethodParameter methodParameter, ResolvableType implementationType) Return aResolvableTypefor the specifiedMethodParameterwith a given implementation type.static ResolvableTypeResolvableType.forType(Type type, ResolvableType owner) Return aResolvableTypefor the specifiedTypebacked by the given owner type.booleanResolvableType.isAssignableFrom(ResolvableType other) Determine whether thisResolvableTypeis assignable from the specified other type. -
Uses of ResolvableType in org.springframework.core.codec
Methods in org.springframework.core.codec with parameters of type ResolvableTypeModifier and TypeMethodDescriptionbooleanAbstractDecoder.canDecode(ResolvableType elementType, MimeType mimeType) booleanByteArrayDecoder.canDecode(ResolvableType elementType, MimeType mimeType) booleanByteBufferDecoder.canDecode(ResolvableType elementType, MimeType mimeType) booleanDataBufferDecoder.canDecode(ResolvableType elementType, MimeType mimeType) booleanDecoder.canDecode(ResolvableType elementType, MimeType mimeType) Whether the decoder supports the given target element type and the MIME type of the source stream.booleanNettyByteBufDecoder.canDecode(ResolvableType elementType, MimeType mimeType) booleanResourceDecoder.canDecode(ResolvableType elementType, MimeType mimeType) booleanStringDecoder.canDecode(ResolvableType elementType, MimeType mimeType) booleanAbstractEncoder.canEncode(ResolvableType elementType, MimeType mimeType) booleanByteArrayEncoder.canEncode(ResolvableType elementType, MimeType mimeType) booleanByteBufferEncoder.canEncode(ResolvableType elementType, MimeType mimeType) booleanCharSequenceEncoder.canEncode(ResolvableType elementType, MimeType mimeType) booleanDataBufferEncoder.canEncode(ResolvableType elementType, MimeType mimeType) booleanEncoder.canEncode(ResolvableType elementType, MimeType mimeType) Whether the encoder supports the given source element type and the MIME type for the output stream.booleanNettyByteBufEncoder.canEncode(ResolvableType type, MimeType mimeType) booleanResourceEncoder.canEncode(ResolvableType elementType, MimeType mimeType) booleanResourceRegionEncoder.canEncode(ResolvableType elementType, MimeType mimeType) reactor.core.publisher.Flux<T>AbstractDataBufferDecoder.decode(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) byte[]ByteArrayDecoder.decode(DataBuffer dataBuffer, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) ByteBufferDecoder.decode(DataBuffer dataBuffer, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>DataBufferDecoder.decode(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) DataBufferDecoder.decode(DataBuffer buffer, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<T>Decoder.decode(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) Decode aDataBufferinput stream into a Flux ofT.default TDecoder.decode(DataBuffer buffer, ResolvableType targetType, MimeType mimeType, Map<String, Object> hints) Decode a data buffer to an Object of type T.io.netty.buffer.ByteBufNettyByteBufDecoder.decode(DataBuffer dataBuffer, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<Resource>ResourceDecoder.decode(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) ResourceDecoder.decode(DataBuffer dataBuffer, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<String>StringDecoder.decode(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) StringDecoder.decode(DataBuffer dataBuffer, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) protected TAbstractDataBufferDecoder.decodeDataBuffer(DataBuffer buffer, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) Deprecated.reactor.core.publisher.Mono<T>AbstractDataBufferDecoder.decodeToMono(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Mono<T>AbstractDecoder.decodeToMono(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Mono<T>Decoder.decodeToMono(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, 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, 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) EncodeTto an outputDataBufferstream.reactor.core.publisher.Flux<DataBuffer>ByteArrayEncoder.encode(Publisher<? extends byte[]> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>ByteBufferEncoder.encode(Publisher<? extends ByteBuffer> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>CharSequenceEncoder.encode(Publisher<? extends CharSequence> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>DataBufferEncoder.encode(Publisher<? extends DataBuffer> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>Encoder.encode(Publisher<? extends T> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, 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, 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) reactor.core.publisher.Flux<DataBuffer>ResourceRegionEncoder.encode(Publisher<? extends ResourceRegion> input, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) ByteArrayEncoder.encodeValue(byte[] bytes, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) ByteBufferEncoder.encodeValue(ByteBuffer byteBuffer, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) CharSequenceEncoder.encodeValue(CharSequence charSequence, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) DataBufferEncoder.encodeValue(DataBuffer buffer, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) default DataBufferEncoder.encodeValue(T value, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, 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, MimeType mimeType, 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, Class<?> type, Annotation[] annotations) Create a new type descriptor from aResolvableType. -
Uses of ResolvableType in org.springframework.http.codec
Methods in org.springframework.http.codec with parameters of type ResolvableTypeModifier and TypeMethodDescriptionbooleanDecoderHttpMessageReader.canRead(ResolvableType elementType, MediaType mediaType) booleanFormHttpMessageReader.canRead(ResolvableType elementType, MediaType mediaType) booleanHttpMessageReader.canRead(ResolvableType elementType, MediaType mediaType) Whether the given object type is supported by this reader.booleanServerSentEventHttpMessageReader.canRead(ResolvableType elementType, MediaType mediaType) booleanEncoderHttpMessageWriter.canWrite(ResolvableType elementType, MediaType mediaType) booleanFormHttpMessageWriter.canWrite(ResolvableType elementType, MediaType mediaType) booleanHttpMessageWriter.canWrite(ResolvableType elementType, MediaType mediaType) Whether the given object type is supported by this writer.booleanResourceHttpMessageWriter.canWrite(ResolvableType elementType, MediaType mediaType) booleanServerSentEventHttpMessageWriter.canWrite(ResolvableType elementType, MediaType mediaType) HttpMessageDecoder.getDecodeHints(ResolvableType actualType, ResolvableType elementType, ServerHttpRequest request, ServerHttpResponse response) Get decoding hints based on the server request or annotations on the target controller method parameter.HttpMessageEncoder.getEncodeHints(ResolvableType actualType, ResolvableType elementType, MediaType mediaType, ServerHttpRequest request, ServerHttpResponse response) Get decoding hints based on the server request or annotations on the target controller method parameter.DecoderHttpMessageReader.getReadableMediaTypes(ResolvableType elementType) HttpMessageReader.getReadableMediaTypes(ResolvableType elementType) Return the list of media types supported by this Reader for the given type of element.DecoderHttpMessageReader.getReadHints(ResolvableType actualType, ResolvableType elementType, ServerHttpRequest request, ServerHttpResponse response) Get additional hints for decoding for example based on the server request or annotations from controller method parameters.DecoderHttpMessageReader.getReadHints(ResolvableType elementType, ReactiveHttpInputMessage message) Get additional hints for decoding based on the input HTTP message.ResourceHttpMessageReader.getReadHints(ResolvableType actualType, ResolvableType elementType, ServerHttpRequest request, ServerHttpResponse response) ResourceHttpMessageReader.getReadHints(ResolvableType elementType, ReactiveHttpInputMessage message) EncoderHttpMessageWriter.getWritableMediaTypes(ResolvableType elementType) HttpMessageWriter.getWritableMediaTypes(ResolvableType elementType) Return the list of media types supported by this Writer for the given type of element.EncoderHttpMessageWriter.getWriteHints(ResolvableType streamType, ResolvableType elementType, MediaType mediaType, ServerHttpRequest request, ServerHttpResponse response) Get additional hints for encoding for example based on the server request or annotations from controller method parameters.reactor.core.publisher.Flux<T>DecoderHttpMessageReader.read(ResolvableType actualType, ResolvableType elementType, ServerHttpRequest request, ServerHttpResponse response, Map<String, Object> hints) reactor.core.publisher.Flux<T>DecoderHttpMessageReader.read(ResolvableType elementType, ReactiveHttpInputMessage message, Map<String, Object> hints) reactor.core.publisher.Flux<MultiValueMap<String,String>> FormHttpMessageReader.read(ResolvableType elementType, ReactiveHttpInputMessage message, Map<String, Object> hints) default reactor.core.publisher.Flux<T>HttpMessageReader.read(ResolvableType actualType, ResolvableType elementType, ServerHttpRequest request, ServerHttpResponse response, Map<String, Object> hints) Server-side only alternative toHttpMessageReader.read(ResolvableType, ReactiveHttpInputMessage, Map)with additional context available.reactor.core.publisher.Flux<T>HttpMessageReader.read(ResolvableType elementType, ReactiveHttpInputMessage message, Map<String, Object> hints) Read from the input message and decode to a stream of objects.reactor.core.publisher.Flux<Object>ServerSentEventHttpMessageReader.read(ResolvableType elementType, ReactiveHttpInputMessage message, Map<String, Object> hints) reactor.core.publisher.Mono<T>DecoderHttpMessageReader.readMono(ResolvableType actualType, ResolvableType elementType, ServerHttpRequest request, ServerHttpResponse response, Map<String, Object> hints) reactor.core.publisher.Mono<T>DecoderHttpMessageReader.readMono(ResolvableType elementType, ReactiveHttpInputMessage message, Map<String, Object> hints) reactor.core.publisher.Mono<MultiValueMap<String,String>> FormHttpMessageReader.readMono(ResolvableType elementType, ReactiveHttpInputMessage message, Map<String, Object> hints) default reactor.core.publisher.Mono<T>HttpMessageReader.readMono(ResolvableType actualType, ResolvableType elementType, ServerHttpRequest request, ServerHttpResponse response, Map<String, Object> hints) Server-side only alternative toHttpMessageReader.readMono(ResolvableType, ReactiveHttpInputMessage, Map)with additional, context available.reactor.core.publisher.Mono<T>HttpMessageReader.readMono(ResolvableType elementType, ReactiveHttpInputMessage message, Map<String, Object> hints) Read from the input message and decode to a single object.reactor.core.publisher.Mono<Object>ServerSentEventHttpMessageReader.readMono(ResolvableType elementType, ReactiveHttpInputMessage message, Map<String, Object> hints) reactor.core.publisher.Mono<Void>EncoderHttpMessageWriter.write(Publisher<? extends T> inputStream, ResolvableType actualType, ResolvableType elementType, MediaType mediaType, ServerHttpRequest request, ServerHttpResponse response, Map<String, Object> hints) reactor.core.publisher.Mono<Void>EncoderHttpMessageWriter.write(Publisher<? extends T> inputStream, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage message, Map<String, Object> hints) reactor.core.publisher.Mono<Void>FormHttpMessageWriter.write(Publisher<? extends MultiValueMap<String, String>> inputStream, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage message, Map<String, Object> hints) default reactor.core.publisher.Mono<Void>HttpMessageWriter.write(Publisher<? extends T> inputStream, ResolvableType actualType, ResolvableType elementType, MediaType mediaType, ServerHttpRequest request, ServerHttpResponse response, Map<String, Object> hints) Server-side only alternative toHttpMessageWriter.write(Publisher, ResolvableType, MediaType, ReactiveHttpOutputMessage, Map)with additional context available.reactor.core.publisher.Mono<Void>HttpMessageWriter.write(Publisher<? extends T> inputStream, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage message, Map<String, Object> hints) Write an given stream of object to the output message.reactor.core.publisher.Mono<Void>ResourceHttpMessageWriter.write(Publisher<? extends Resource> inputStream, ResolvableType actualType, ResolvableType elementType, MediaType mediaType, ServerHttpRequest request, ServerHttpResponse response, Map<String, Object> hints) reactor.core.publisher.Mono<Void>ResourceHttpMessageWriter.write(Publisher<? extends Resource> inputStream, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage message, Map<String, Object> hints) reactor.core.publisher.Mono<Void>ServerSentEventHttpMessageWriter.write(Publisher<?> input, ResolvableType actualType, ResolvableType elementType, MediaType mediaType, ServerHttpRequest request, ServerHttpResponse response, Map<String, Object> hints) reactor.core.publisher.Mono<Void>ServerSentEventHttpMessageWriter.write(Publisher<?> input, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage message, Map<String, Object> hints) -
Uses of ResolvableType in org.springframework.http.codec.cbor
Methods in org.springframework.http.codec.cbor with parameters of type ResolvableTypeModifier and TypeMethodDescriptionreactor.core.publisher.Flux<Object>Jackson2CborDecoder.decode(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>Jackson2CborEncoder.encode(Publisher<?> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) -
Uses of ResolvableType in org.springframework.http.codec.json
Methods in org.springframework.http.codec.json with parameters of type ResolvableTypeModifier and TypeMethodDescriptionbooleanAbstractJackson2Decoder.canDecode(ResolvableType elementType, MimeType mimeType) booleanKotlinSerializationJsonDecoder.canDecode(ResolvableType elementType, MimeType mimeType) booleanAbstractJackson2Encoder.canEncode(ResolvableType elementType, MimeType mimeType) booleanKotlinSerializationJsonEncoder.canEncode(ResolvableType elementType, MimeType mimeType) protected ObjectWriterAbstractJackson2Encoder.customizeWriter(ObjectWriter writer, MimeType mimeType, ResolvableType elementType, Map<String, Object> hints) protected ObjectWriterJackson2JsonEncoder.customizeWriter(ObjectWriter writer, MimeType mimeType, ResolvableType elementType, Map<String, Object> hints) reactor.core.publisher.Flux<Object>AbstractJackson2Decoder.decode(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) AbstractJackson2Decoder.decode(DataBuffer dataBuffer, ResolvableType targetType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<Object>KotlinSerializationJsonDecoder.decode(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Mono<Object>AbstractJackson2Decoder.decodeToMono(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Mono<Object>KotlinSerializationJsonDecoder.decodeToMono(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>AbstractJackson2Encoder.encode(Publisher<?> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>KotlinSerializationJsonEncoder.encode(Publisher<?> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) AbstractJackson2Encoder.encodeValue(Object value, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) KotlinSerializationJsonEncoder.encodeValue(Object value, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) AbstractJackson2Decoder.getDecodableMimeTypes(ResolvableType targetType) AbstractJackson2Decoder.getDecodeHints(ResolvableType actualType, ResolvableType elementType, ServerHttpRequest request, ServerHttpResponse response) AbstractJackson2Encoder.getEncodableMimeTypes(ResolvableType elementType) AbstractJackson2Encoder.getEncodeHints(ResolvableType actualType, ResolvableType elementType, MediaType mediaType, ServerHttpRequest request, ServerHttpResponse response) Jackson2CodecSupport.getHints(ResolvableType resolvableType) Jackson2CodecSupport.getMimeTypes(ResolvableType elementType) protected MethodParameterJackson2CodecSupport.getParameter(ResolvableType type) protected reactor.core.publisher.Flux<DataBuffer>AbstractJackson2Decoder.processInput(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) Process the input publisher into a flux.protected reactor.core.publisher.Flux<DataBuffer>Jackson2JsonDecoder.processInput(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) protected ObjectMapperJackson2CodecSupport.selectObjectMapper(ResolvableType targetType, MimeType targetMimeType) Select an ObjectMapper to use, either the main ObjectMapper or another if the handling for the given Class has been customized throughJackson2CodecSupport.registerObjectMappersForType(Class, Consumer). -
Uses of ResolvableType in org.springframework.http.codec.multipart
Methods in org.springframework.http.codec.multipart with parameters of type ResolvableTypeModifier and TypeMethodDescriptionbooleanDefaultPartHttpMessageReader.canRead(ResolvableType elementType, MediaType mediaType) booleanMultipartHttpMessageReader.canRead(ResolvableType elementType, MediaType mediaType) booleanMultipartWriterSupport.canWrite(ResolvableType elementType, MediaType mediaType) reactor.core.publisher.Flux<Part>DefaultPartHttpMessageReader.read(ResolvableType elementType, ReactiveHttpInputMessage message, Map<String, Object> hints) reactor.core.publisher.Flux<MultiValueMap<String,Part>> MultipartHttpMessageReader.read(ResolvableType elementType, ReactiveHttpInputMessage message, Map<String, Object> hints) reactor.core.publisher.Mono<Part>DefaultPartHttpMessageReader.readMono(ResolvableType elementType, ReactiveHttpInputMessage message, Map<String, Object> hints) reactor.core.publisher.Mono<MultiValueMap<String,Part>> MultipartHttpMessageReader.readMono(ResolvableType elementType, ReactiveHttpInputMessage inputMessage, Map<String, Object> hints) reactor.core.publisher.Mono<Void>MultipartHttpMessageWriter.write(Publisher<? extends MultiValueMap<String, ?>> inputStream, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage outputMessage, Map<String, Object> hints) reactor.core.publisher.Mono<Void>PartHttpMessageWriter.write(Publisher<? extends Part> parts, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage outputMessage, Map<String, Object> hints) -
Uses of ResolvableType in org.springframework.http.codec.protobuf
Methods in org.springframework.http.codec.protobuf with parameters of type ResolvableTypeModifier and TypeMethodDescriptionbooleanProtobufDecoder.canDecode(ResolvableType elementType, MimeType mimeType) booleanProtobufEncoder.canEncode(ResolvableType elementType, MimeType mimeType) reactor.core.publisher.Flux<com.google.protobuf.Message>ProtobufDecoder.decode(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) com.google.protobuf.MessageProtobufDecoder.decode(DataBuffer dataBuffer, ResolvableType targetType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Mono<com.google.protobuf.Message>ProtobufDecoder.decodeToMono(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>ProtobufEncoder.encode(Publisher<? extends com.google.protobuf.Message> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) ProtobufEncoder.encodeValue(com.google.protobuf.Message message, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Mono<Void>ProtobufHttpMessageWriter.write(Publisher<? extends com.google.protobuf.Message> inputStream, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage message, Map<String, Object> hints) -
Uses of ResolvableType in org.springframework.http.codec.xml
Methods in org.springframework.http.codec.xml with parameters of type ResolvableTypeModifier and TypeMethodDescriptionbooleanJaxb2XmlDecoder.canDecode(ResolvableType elementType, MimeType mimeType) booleanJaxb2XmlEncoder.canEncode(ResolvableType elementType, MimeType mimeType) reactor.core.publisher.Flux<Object>Jaxb2XmlDecoder.decode(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) Jaxb2XmlDecoder.decode(DataBuffer dataBuffer, ResolvableType targetType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<XMLEvent>XmlEventDecoder.decode(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Mono<Object>Jaxb2XmlDecoder.decodeToMono(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) protected reactor.core.publisher.Flux<DataBuffer>Jaxb2XmlEncoder.encode(Object value, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) Jaxb2XmlEncoder.encodeValue(Object value, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) -
Uses of ResolvableType in org.springframework.jndi.support
Methods in org.springframework.jndi.support with parameters of type ResolvableTypeModifier and TypeMethodDescription<T> ObjectProvider<T>SimpleJndiBeanFactory.getBeanProvider(ResolvableType requiredType) booleanSimpleJndiBeanFactory.isTypeMatch(String name, ResolvableType typeToMatch) -
Uses of ResolvableType in org.springframework.messaging.rsocket
Methods in org.springframework.messaging.rsocket with parameters of type ResolvableTypeModifier and TypeMethodDescriptiondefault <T> Decoder<T>RSocketStrategies.decoder(ResolvableType elementType, MimeType mimeType) Find a compatible Decoder for the given element type.default <T> Encoder<T>RSocketStrategies.encoder(ResolvableType elementType, MimeType mimeType) Find a compatible Encoder for the given element type. -
Uses of ResolvableType in org.springframework.web.reactive
Methods in org.springframework.web.reactive that return ResolvableTypeModifier and TypeMethodDescriptionHandlerResult.getReturnType()Return the type of the value returned from the handler -- e.g. -
Uses of ResolvableType in org.springframework.web.reactive.function
Methods in org.springframework.web.reactive.function that return ResolvableTypeModifier and TypeMethodDescriptionUnsupportedMediaTypeException.getBodyType()Return the body type in the context of which this exception was generated.Constructors in org.springframework.web.reactive.function with parameters of type ResolvableTypeModifierConstructorDescriptionUnsupportedMediaTypeException(MediaType contentType, List<MediaType> supportedTypes, ResolvableType bodyType) Constructor for when trying to encode from or decode to a specific Java type. -
Uses of ResolvableType in org.springframework.web.server
Methods in org.springframework.web.server that return ResolvableTypeModifier and TypeMethodDescriptionUnsupportedMediaTypeStatusException.getBodyType()Return the body type in the context of which this exception was generated.Constructors in org.springframework.web.server with parameters of type ResolvableTypeModifierConstructorDescriptionUnsupportedMediaTypeStatusException(MediaType contentType, List<MediaType> supportedTypes, ResolvableType bodyType) Constructor for when trying to encode from or decode to a specific Java type.UnsupportedMediaTypeStatusException(MediaType contentType, List<MediaType> supportedTypes, ResolvableType bodyType, HttpMethod method) Constructor for when trying to encode from or decode to a specific Java type.
Decoder.decode(DataBuffer, ResolvableType, MimeType, Map)instead