Package | Description |
---|---|
org.springframework.web.reactive.accept |
RequestedContentTypeResolver
strategy and implementations to resolve the requested content type for a
given request. |
org.springframework.web.reactive.config |
Spring WebFlux configuration infrastructure.
|
org.springframework.web.reactive.result |
Support for various programming model styles including the invocation of
different types of handlers, e.g.
|
org.springframework.web.reactive.result.condition |
RequestCondition
and implementations for matching requests based on different criteria. |
org.springframework.web.reactive.result.method |
Infrastructure for handler method processing.
|
org.springframework.web.reactive.result.method.annotation |
Infrastructure for annotation-based handler method processing.
|
org.springframework.web.reactive.result.view |
Support for result handling through view resolution.
|
Modifier and Type | Class and Description |
---|---|
class |
FixedContentTypeResolver
Resolver that always resolves to a fixed list of media types.
|
class |
HeaderContentTypeResolver
Resolver that looks at the 'Accept' header of the request.
|
class |
ParameterContentTypeResolver
Resolver that checks a query parameter and uses it to lookup a matching
MediaType.
|
Modifier and Type | Method and Description |
---|---|
RequestedContentTypeResolver |
RequestedContentTypeResolverBuilder.build()
Build a
RequestedContentTypeResolver that delegates to the list
of resolvers configured through this builder. |
Modifier and Type | Method and Description |
---|---|
void |
RequestedContentTypeResolverBuilder.resolver(RequestedContentTypeResolver resolver)
Add a custom resolver.
|
Modifier and Type | Method and Description |
---|---|
RequestedContentTypeResolver |
WebFluxConfigurationSupport.webFluxContentTypeResolver() |
Modifier and Type | Method and Description |
---|---|
RequestMappingHandlerMapping |
WebFluxConfigurationSupport.requestMappingHandlerMapping(RequestedContentTypeResolver webFluxContentTypeResolver) |
ResponseBodyResultHandler |
WebFluxConfigurationSupport.responseBodyResultHandler(ReactiveAdapterRegistry webFluxAdapterRegistry,
ServerCodecConfigurer serverCodecConfigurer,
RequestedContentTypeResolver webFluxContentTypeResolver) |
ResponseEntityResultHandler |
WebFluxConfigurationSupport.responseEntityResultHandler(ReactiveAdapterRegistry webFluxAdapterRegistry,
ServerCodecConfigurer serverCodecConfigurer,
RequestedContentTypeResolver webFluxContentTypeResolver) |
ViewResolutionResultHandler |
WebFluxConfigurationSupport.viewResolutionResultHandler(ReactiveAdapterRegistry webFluxAdapterRegistry,
RequestedContentTypeResolver webFluxContentTypeResolver) |
Modifier and Type | Method and Description |
---|---|
RequestedContentTypeResolver |
HandlerResultHandlerSupport.getContentTypeResolver()
Return the configured
RequestedContentTypeResolver . |
Constructor and Description |
---|
HandlerResultHandlerSupport(RequestedContentTypeResolver contentTypeResolver,
ReactiveAdapterRegistry adapterRegistry) |
Constructor and Description |
---|
ProducesRequestCondition(String[] produces,
String[] headers,
RequestedContentTypeResolver resolver)
Same as
ProducesRequestCondition.ProducesRequestCondition(String[], String[]) but also
accepting a ContentNegotiationManager . |
Modifier and Type | Method and Description |
---|---|
RequestedContentTypeResolver |
RequestMappingInfo.BuilderConfiguration.getContentTypeResolver() |
Modifier and Type | Method and Description |
---|---|
void |
RequestMappingInfo.BuilderConfiguration.setContentTypeResolver(RequestedContentTypeResolver resolver)
Set the ContentNegotiationManager to use for the ProducesRequestCondition.
|
Modifier and Type | Method and Description |
---|---|
RequestedContentTypeResolver |
RequestMappingHandlerMapping.getContentTypeResolver()
Return the configured
RequestedContentTypeResolver . |
Modifier and Type | Method and Description |
---|---|
void |
RequestMappingHandlerMapping.setContentTypeResolver(RequestedContentTypeResolver contentTypeResolver)
Set the
RequestedContentTypeResolver to use to determine requested
media types. |
Constructor and Description |
---|
ViewResolutionResultHandler(List<ViewResolver> viewResolvers,
RequestedContentTypeResolver contentTypeResolver)
Basic constructor with a default
ReactiveAdapterRegistry . |
ViewResolutionResultHandler(List<ViewResolver> viewResolvers,
RequestedContentTypeResolver contentTypeResolver,
ReactiveAdapterRegistry registry)
Constructor with an
ReactiveAdapterRegistry instance. |