Uses of Interface
org.springframework.web.reactive.accept.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, e.g.
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
Modifier 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.Modifier and TypeMethodDescriptionRequestedContentTypeResolverBuilder.build()
Build aRequestedContentTypeResolver
that delegates to the list of resolvers configured through this builder.Modifier and TypeMethodDescriptionvoid
RequestedContentTypeResolverBuilder.resolver
(RequestedContentTypeResolver resolver) Add a custom resolver. -
Uses of RequestedContentTypeResolver in org.springframework.web.reactive.config
Modifier and TypeMethodDescriptionWebFluxConfigurationSupport.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
Modifier and TypeMethodDescriptionHandlerResultHandlerSupport.getContentTypeResolver()
Return the configuredRequestedContentTypeResolver
.ModifierConstructorDescriptionprotected
HandlerResultHandlerSupport
(RequestedContentTypeResolver contentTypeResolver, ReactiveAdapterRegistry adapterRegistry) -
Uses of RequestedContentTypeResolver in org.springframework.web.reactive.result.condition
ModifierConstructorDescriptionProducesRequestCondition
(String[] produces, String[] headers, RequestedContentTypeResolver resolver) Same asProducesRequestCondition(String[], String[])
but also accepting aContentNegotiationManager
. -
Uses of RequestedContentTypeResolver in org.springframework.web.reactive.result.method
Modifier and TypeMethodDescriptionRequestMappingInfo.BuilderConfiguration.getContentTypeResolver()
Modifier 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
Modifier and TypeMethodDescriptionRequestMappingHandlerMapping.getContentTypeResolver()
Return the configuredRequestedContentTypeResolver
.Modifier and TypeMethodDescriptionvoid
RequestMappingHandlerMapping.setContentTypeResolver
(RequestedContentTypeResolver contentTypeResolver) Set theRequestedContentTypeResolver
to use to determine requested media types.ModifierConstructorDescriptionprotected
AbstractMessageWriterResultHandler
(List<HttpMessageWriter<?>> messageWriters, RequestedContentTypeResolver contentTypeResolver) Constructor withHttpMessageWriters
and aRequestedContentTypeResolver
.protected
AbstractMessageWriterResultHandler
(List<HttpMessageWriter<?>> messageWriters, RequestedContentTypeResolver contentTypeResolver, ReactiveAdapterRegistry adapterRegistry) Constructor with an additionalReactiveAdapterRegistry
.ResponseBodyResultHandler
(List<HttpMessageWriter<?>> writers, RequestedContentTypeResolver resolver) Basic constructor with a defaultReactiveAdapterRegistry
.ResponseBodyResultHandler
(List<HttpMessageWriter<?>> writers, RequestedContentTypeResolver resolver, ReactiveAdapterRegistry registry) Constructor with anReactiveAdapterRegistry
instance.ResponseEntityResultHandler
(List<HttpMessageWriter<?>> writers, RequestedContentTypeResolver resolver) Basic constructor with a defaultReactiveAdapterRegistry
.ResponseEntityResultHandler
(List<HttpMessageWriter<?>> writers, RequestedContentTypeResolver resolver, ReactiveAdapterRegistry registry) Constructor with anReactiveAdapterRegistry
instance. -
Uses of RequestedContentTypeResolver in org.springframework.web.reactive.result.view
ModifierConstructorDescriptionViewResolutionResultHandler
(List<ViewResolver> viewResolvers, RequestedContentTypeResolver contentTypeResolver) Basic constructor with a defaultReactiveAdapterRegistry
.ViewResolutionResultHandler
(List<ViewResolver> viewResolvers, RequestedContentTypeResolver contentTypeResolver, ReactiveAdapterRegistry registry) Constructor with anReactiveAdapterRegistry
instance.