Package | Description |
---|---|
org.springframework.http.codec | |
org.springframework.http.codec.support |
Provides implementations of
ClientCodecConfigurer
and ServerCodecConfigurer based on the converter
implementations from org.springframework.http.codec.json and co. |
org.springframework.test.web.reactive.server |
Support for testing Spring WebFlux server endpoints via
WebTestClient . |
org.springframework.web.reactive.config |
Spring WebFlux configuration infrastructure.
|
org.springframework.web.reactive.function.server |
Provides the types that make up Spring's functional web framework for Reactive environments.
|
org.springframework.web.server.adapter |
Implementations to adapt to the underlying
org.springframework.http.client.reactive reactive HTTP adapter
and HttpHandler . |
Modifier and Type | Method and Description |
---|---|
ServerCodecConfigurer |
ServerCodecConfigurer.clone()
Create a copy of this
CodecConfigurer . |
static ServerCodecConfigurer |
ServerCodecConfigurer.create()
Static factory method for a
ServerCodecConfigurer . |
Modifier and Type | Class and Description |
---|---|
class |
DefaultServerCodecConfigurer
Default implementation of
ServerCodecConfigurer . |
Modifier and Type | Method and Description |
---|---|
WebTestClient.ControllerSpec |
WebTestClient.ControllerSpec.httpMessageCodecs(Consumer<ServerCodecConfigurer> configurer)
Configure custom HTTP message readers and writers or override built-in ones.
|
Modifier and Type | Method and Description |
---|---|
ServerCodecConfigurer |
WebFluxConfigurationSupport.serverCodecConfigurer()
Return the configurer for HTTP message readers and writers.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DelegatingWebFluxConfiguration.configureHttpMessageCodecs(ServerCodecConfigurer configurer) |
default void |
WebFluxConfigurer.configureHttpMessageCodecs(ServerCodecConfigurer configurer)
Configure the HTTP message readers and writers for reading from the
request body and for writing to the response body in annotated controllers
and functional endpoints.
|
protected void |
WebFluxConfigurationSupport.configureHttpMessageCodecs(ServerCodecConfigurer configurer)
Override to configure the HTTP message readers and writers to use.
|
void |
WebFluxConfigurerComposite.configureHttpMessageCodecs(ServerCodecConfigurer configurer) |
RequestMappingHandlerAdapter |
WebFluxConfigurationSupport.requestMappingHandlerAdapter(ReactiveAdapterRegistry reactiveAdapterRegistry,
ServerCodecConfigurer serverCodecConfigurer,
FormattingConversionService conversionService,
Validator validator) |
ResponseBodyResultHandler |
WebFluxConfigurationSupport.responseBodyResultHandler(ReactiveAdapterRegistry reactiveAdapterRegistry,
ServerCodecConfigurer serverCodecConfigurer,
RequestedContentTypeResolver contentTypeResolver) |
ResponseEntityResultHandler |
WebFluxConfigurationSupport.responseEntityResultHandler(ReactiveAdapterRegistry reactiveAdapterRegistry,
ServerCodecConfigurer serverCodecConfigurer,
RequestedContentTypeResolver contentTypeResolver) |
RouterFunctionMapping |
WebFluxConfigurationSupport.routerFunctionMapping(ServerCodecConfigurer serverCodecConfigurer) |
ServerResponseResultHandler |
WebFluxConfigurationSupport.serverResponseResultHandler(ServerCodecConfigurer serverCodecConfigurer) |
Modifier and Type | Method and Description |
---|---|
HandlerStrategies.Builder |
HandlerStrategies.Builder.codecs(Consumer<ServerCodecConfigurer> consumer)
Customize the list of server-side HTTP message readers and writers.
|
Modifier and Type | Method and Description |
---|---|
ServerCodecConfigurer |
HttpWebHandlerAdapter.getCodecConfigurer()
Return the configured
ServerCodecConfigurer . |
Modifier and Type | Method and Description |
---|---|
WebHttpHandlerBuilder |
WebHttpHandlerBuilder.codecConfigurer(ServerCodecConfigurer codecConfigurer)
Configure the
ServerCodecConfigurer to set on the WebServerExchange . |
void |
HttpWebHandlerAdapter.setCodecConfigurer(ServerCodecConfigurer codecConfigurer)
Configure a custom
ServerCodecConfigurer . |
Constructor and Description |
---|
DefaultServerWebExchange(ServerHttpRequest request,
ServerHttpResponse response,
WebSessionManager sessionManager,
ServerCodecConfigurer codecConfigurer,
LocaleContextResolver localeContextResolver) |