Uses of Interface
org.springframework.web.reactive.accept.RequestedContentTypeResolver
Packages that use RequestedContentTypeResolver
Package
Description
RequestedContentTypeResolver
strategy and implementations to resolve the requested content type for a
given request.Spring WebFlux configuration infrastructure.
Support for various programming model styles including the invocation of
different types of handlers like an annotated controller or a simple
WebHandler
.RequestCondition
and implementations for matching requests based on different criteria.Infrastructure for handler method processing.
Infrastructure for annotation-based handler method processing.
Support for result handling through view resolution.
-
Uses of RequestedContentTypeResolver in org.springframework.web.reactive.accept
Classes in org.springframework.web.reactive.accept that implement RequestedContentTypeResolverModifier and TypeClassDescriptionclass
Resolver that always resolves to a fixed list of media types.class
Resolver that looks at the 'Accept' header of the request.class
Resolver that checks a query parameter and uses it to look up a matching MediaType.Methods in org.springframework.web.reactive.accept that return RequestedContentTypeResolverModifier and TypeMethodDescriptionRequestedContentTypeResolverBuilder.build()
Build aRequestedContentTypeResolver
that delegates to the list of resolvers configured through this builder.Methods in org.springframework.web.reactive.accept with parameters of type RequestedContentTypeResolverModifier and TypeMethodDescriptionvoid
RequestedContentTypeResolverBuilder.resolver
(RequestedContentTypeResolver resolver) Add a custom resolver. -
Uses of RequestedContentTypeResolver in org.springframework.web.reactive.config
Methods in org.springframework.web.reactive.config that return RequestedContentTypeResolverMethods in org.springframework.web.reactive.config with parameters of type RequestedContentTypeResolverModifier and TypeMethodDescriptionWebFluxConfigurationSupport.requestMappingHandlerAdapter
(ReactiveAdapterRegistry reactiveAdapterRegistry, ServerCodecConfigurer serverCodecConfigurer, FormattingConversionService conversionService, RequestedContentTypeResolver contentTypeResolver, Validator validator) WebFluxConfigurationSupport.requestMappingHandlerMapping
(RequestedContentTypeResolver contentTypeResolver) WebFluxConfigurationSupport.responseBodyResultHandler
(ReactiveAdapterRegistry reactiveAdapterRegistry, ServerCodecConfigurer serverCodecConfigurer, RequestedContentTypeResolver contentTypeResolver) WebFluxConfigurationSupport.responseEntityResultHandler
(ReactiveAdapterRegistry reactiveAdapterRegistry, ServerCodecConfigurer serverCodecConfigurer, RequestedContentTypeResolver contentTypeResolver) WebFluxConfigurationSupport.viewResolutionResultHandler
(ReactiveAdapterRegistry reactiveAdapterRegistry, RequestedContentTypeResolver contentTypeResolver) -
Uses of RequestedContentTypeResolver in org.springframework.web.reactive.result
Methods in org.springframework.web.reactive.result that return RequestedContentTypeResolverModifier and TypeMethodDescriptionHandlerResultHandlerSupport.getContentTypeResolver()
Return the configuredRequestedContentTypeResolver
.Constructors in org.springframework.web.reactive.result with parameters of type RequestedContentTypeResolverModifierConstructorDescriptionprotected
HandlerResultHandlerSupport
(RequestedContentTypeResolver contentTypeResolver, ReactiveAdapterRegistry adapterRegistry) -
Uses of RequestedContentTypeResolver in org.springframework.web.reactive.result.condition
Constructors in org.springframework.web.reactive.result.condition with parameters of type RequestedContentTypeResolverModifierConstructorDescriptionProducesRequestCondition
(String[] produces, String[] headers, RequestedContentTypeResolver resolver) Same asProducesRequestCondition(String[], String[])
but also accepting aContentNegotiationManager
. -
Uses of RequestedContentTypeResolver in org.springframework.web.reactive.result.method
Methods in org.springframework.web.reactive.result.method that return RequestedContentTypeResolverModifier and TypeMethodDescriptionRequestMappingInfo.BuilderConfiguration.getContentTypeResolver()
Methods in org.springframework.web.reactive.result.method with parameters of type RequestedContentTypeResolverModifier and TypeMethodDescriptionvoid
RequestMappingInfo.BuilderConfiguration.setContentTypeResolver
(RequestedContentTypeResolver resolver) Set the ContentNegotiationManager to use for the ProducesRequestCondition. -
Uses of RequestedContentTypeResolver in org.springframework.web.reactive.result.method.annotation
Methods in org.springframework.web.reactive.result.method.annotation that return RequestedContentTypeResolverModifier and TypeMethodDescriptionRequestMappingHandlerAdapter.getContentTypeResolver()
Return the configuredRequestedContentTypeResolver
.RequestMappingHandlerMapping.getContentTypeResolver()
Return the configuredRequestedContentTypeResolver
.Methods in org.springframework.web.reactive.result.method.annotation with parameters of type RequestedContentTypeResolverModifier and TypeMethodDescriptionvoid
RequestMappingHandlerAdapter.setContentTypeResolver
(RequestedContentTypeResolver contentTypeResolver) Set theRequestedContentTypeResolver
to use to determine requested media types.void
RequestMappingHandlerMapping.setContentTypeResolver
(RequestedContentTypeResolver contentTypeResolver) Set theRequestedContentTypeResolver
to use to determine requested media types.Constructors in org.springframework.web.reactive.result.method.annotation with parameters of type RequestedContentTypeResolverModifierConstructorDescriptionprotected
AbstractMessageWriterResultHandler
(List<HttpMessageWriter<?>> messageWriters, RequestedContentTypeResolver contentTypeResolver) Constructor withHttpMessageWriters
and aRequestedContentTypeResolver
.protected
AbstractMessageWriterResultHandler
(List<HttpMessageWriter<?>> messageWriters, RequestedContentTypeResolver contentTypeResolver, ReactiveAdapterRegistry adapterRegistry) Constructor with an additionalReactiveAdapterRegistry
.protected
AbstractMessageWriterResultHandler
(List<HttpMessageWriter<?>> messageWriters, RequestedContentTypeResolver contentTypeResolver, ReactiveAdapterRegistry adapterRegistry, List<ErrorResponse.Interceptor> interceptors) Variant ofAbstractMessageWriterResultHandler(List, RequestedContentTypeResolver, ReactiveAdapterRegistry)
with additional list ofErrorResponse.Interceptor
s for return value handling.ResponseBodyResultHandler
(List<HttpMessageWriter<?>> writers, RequestedContentTypeResolver resolver) Basic constructor with a defaultReactiveAdapterRegistry
.ResponseBodyResultHandler
(List<HttpMessageWriter<?>> writers, RequestedContentTypeResolver resolver, ReactiveAdapterRegistry registry) Constructor with anReactiveAdapterRegistry
instance.ResponseBodyResultHandler
(List<HttpMessageWriter<?>> writers, RequestedContentTypeResolver resolver, ReactiveAdapterRegistry registry, List<ErrorResponse.Interceptor> interceptors) Variant ofResponseBodyResultHandler(List, RequestedContentTypeResolver, ReactiveAdapterRegistry)
with additional list ofErrorResponse.Interceptor
s for return value handling.ResponseEntityResultHandler
(List<HttpMessageWriter<?>> writers, RequestedContentTypeResolver resolver) Basic constructor with a defaultReactiveAdapterRegistry
.ResponseEntityResultHandler
(List<HttpMessageWriter<?>> writers, RequestedContentTypeResolver resolver, ReactiveAdapterRegistry registry) Constructor with anReactiveAdapterRegistry
instance.ResponseEntityResultHandler
(List<HttpMessageWriter<?>> writers, RequestedContentTypeResolver resolver, ReactiveAdapterRegistry registry, List<ErrorResponse.Interceptor> interceptors) Constructor with anReactiveAdapterRegistry
instance. -
Uses of RequestedContentTypeResolver in org.springframework.web.reactive.result.view
Constructors in org.springframework.web.reactive.result.view with parameters of type RequestedContentTypeResolverModifierConstructorDescriptionViewResolutionResultHandler
(List<ViewResolver> viewResolvers, RequestedContentTypeResolver contentTypeResolver) Basic constructor with a defaultReactiveAdapterRegistry
.ViewResolutionResultHandler
(List<ViewResolver> viewResolvers, RequestedContentTypeResolver contentTypeResolver, ReactiveAdapterRegistry registry) Constructor with anReactiveAdapterRegistry
instance.