|
|
|
|
@ -174,7 +174,7 @@ class GraphQlWebFluxAutoConfigurationTests {
@@ -174,7 +174,7 @@ class GraphQlWebFluxAutoConfigurationTests {
|
|
|
|
|
@Bean |
|
|
|
|
WebInterceptor customWebInterceptor() { |
|
|
|
|
return (webInput, interceptorChain) -> interceptorChain.next(webInput) |
|
|
|
|
.map((output) -> output.transform((builder) -> builder.responseHeader("X-Custom-Header", "42"))); |
|
|
|
|
.doOnNext((output) -> output.getResponseHeaders().add("X-Custom-Header", "42")); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|