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 look up 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 contentTypeResolver) |
ResponseBodyResultHandler |
WebFluxConfigurationSupport.responseBodyResultHandler(ReactiveAdapterRegistry reactiveAdapterRegistry,
ServerCodecConfigurer serverCodecConfigurer,
RequestedContentTypeResolver contentTypeResolver) |
ResponseEntityResultHandler |
WebFluxConfigurationSupport.responseEntityResultHandler(ReactiveAdapterRegistry reactiveAdapterRegistry,
ServerCodecConfigurer serverCodecConfigurer,
RequestedContentTypeResolver contentTypeResolver) |
ViewResolutionResultHandler |
WebFluxConfigurationSupport.viewResolutionResultHandler(ReactiveAdapterRegistry reactiveAdapterRegistry,
RequestedContentTypeResolver contentTypeResolver) |
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(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. |