Skip to content

Commit f1dd548

Browse files
committed
Create spring-boot-http-codec module
1 parent 9734328 commit f1dd548

File tree

31 files changed

+70
-170
lines changed

31 files changed

+70
-170
lines changed

settings.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ include "spring-boot-project:spring-boot-h2console"
7878
include "spring-boot-project:spring-boot-hateoas"
7979
include "spring-boot-project:spring-boot-hazelcast"
8080
include "spring-boot-project:spring-boot-http"
81+
include "spring-boot-project:spring-boot-http-codec"
8182
include "spring-boot-project:spring-boot-integration"
8283
include "spring-boot-project:spring-boot-jackson"
8384
include "spring-boot-project:spring-boot-jdbc"

spring-boot-project/spring-boot-actuator-autoconfigure/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ dependencies {
4242
optional(project(":spring-boot-project:spring-boot-flyway"))
4343
optional(project(":spring-boot-project:spring-boot-hazelcast"))
4444
optional(project(":spring-boot-project:spring-boot-http"))
45+
optional(project(":spring-boot-project:spring-boot-http-codec"))
4546
optional(project(":spring-boot-project:spring-boot-integration"))
4647
optional(project(":spring-boot-project:spring-boot-jackson"))
4748
optional(project(":spring-boot-project:spring-boot-jdbc"))

spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/integrationtest/WebFluxEndpointAccessIntegrationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
import org.springframework.boot.actuate.autoconfigure.endpoint.web.WebEndpointAutoConfiguration;
2525
import org.springframework.boot.actuate.autoconfigure.web.server.ManagementContextAutoConfiguration;
2626
import org.springframework.boot.autoconfigure.AutoConfigurations;
27-
import org.springframework.boot.autoconfigure.http.codec.CodecsAutoConfiguration;
2827
import org.springframework.boot.autoconfigure.web.reactive.HttpHandlerAutoConfiguration;
2928
import org.springframework.boot.autoconfigure.web.reactive.WebFluxAutoConfiguration;
29+
import org.springframework.boot.http.codec.autoconfigure.CodecsAutoConfiguration;
3030
import org.springframework.boot.jackson.autoconfigure.JacksonAutoConfiguration;
3131
import org.springframework.boot.reactor.netty.autoconfigure.NettyReactiveWebServerAutoConfiguration;
3232
import org.springframework.boot.test.context.assertj.AssertableReactiveWebApplicationContext;

spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/integrationtest/WebFluxEndpointCorsIntegrationTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2023 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -26,9 +26,9 @@
2626
import org.springframework.boot.actuate.autoconfigure.endpoint.web.reactive.WebFluxEndpointManagementContextConfiguration;
2727
import org.springframework.boot.actuate.autoconfigure.web.server.ManagementContextAutoConfiguration;
2828
import org.springframework.boot.autoconfigure.AutoConfigurations;
29-
import org.springframework.boot.autoconfigure.http.codec.CodecsAutoConfiguration;
3029
import org.springframework.boot.autoconfigure.web.reactive.HttpHandlerAutoConfiguration;
3130
import org.springframework.boot.autoconfigure.web.reactive.WebFluxAutoConfiguration;
31+
import org.springframework.boot.http.codec.autoconfigure.CodecsAutoConfiguration;
3232
import org.springframework.boot.jackson.autoconfigure.JacksonAutoConfiguration;
3333
import org.springframework.boot.test.context.runner.ContextConsumer;
3434
import org.springframework.boot.test.context.runner.ReactiveWebApplicationContextRunner;

spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/integrationtest/WebFluxEndpointIntegrationTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2024 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -25,9 +25,9 @@
2525
import org.springframework.boot.actuate.autoconfigure.endpoint.web.WebEndpointAutoConfiguration;
2626
import org.springframework.boot.actuate.autoconfigure.web.server.ManagementContextAutoConfiguration;
2727
import org.springframework.boot.autoconfigure.AutoConfigurations;
28-
import org.springframework.boot.autoconfigure.http.codec.CodecsAutoConfiguration;
2928
import org.springframework.boot.autoconfigure.web.reactive.HttpHandlerAutoConfiguration;
3029
import org.springframework.boot.autoconfigure.web.reactive.WebFluxAutoConfiguration;
30+
import org.springframework.boot.http.codec.autoconfigure.CodecsAutoConfiguration;
3131
import org.springframework.boot.jackson.autoconfigure.JacksonAutoConfiguration;
3232
import org.springframework.boot.test.context.runner.ReactiveWebApplicationContextRunner;
3333
import org.springframework.context.ApplicationContext;

spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/integrationtest/WebFluxHealthEndpointAdditionalPathIntegrationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
import org.springframework.boot.actuate.autoconfigure.web.server.ManagementContextAutoConfiguration;
2525
import org.springframework.boot.actuate.autoconfigure.web.server.netty.NettyReactiveManagementContextAutoConfiguration;
2626
import org.springframework.boot.autoconfigure.AutoConfigurations;
27-
import org.springframework.boot.autoconfigure.http.codec.CodecsAutoConfiguration;
2827
import org.springframework.boot.autoconfigure.web.reactive.HttpHandlerAutoConfiguration;
2928
import org.springframework.boot.autoconfigure.web.reactive.WebFluxAutoConfiguration;
29+
import org.springframework.boot.http.codec.autoconfigure.CodecsAutoConfiguration;
3030
import org.springframework.boot.jackson.autoconfigure.JacksonAutoConfiguration;
3131
import org.springframework.boot.reactor.netty.autoconfigure.NettyReactiveWebServerAutoConfiguration;
3232
import org.springframework.boot.test.context.assertj.AssertableReactiveWebApplicationContext;

spring-boot-project/spring-boot-actuator/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ dependencies {
114114
testImplementation("org.glassfish.jersey.media:jersey-media-json-jackson")
115115
testImplementation("com.squareup.okhttp3:mockwebserver")
116116

117+
testRuntimeOnly(project(":spring-boot-project:spring-boot-http-codec"))
117118
testRuntimeOnly("ch.qos.logback:logback-classic")
118119
testRuntimeOnly("io.projectreactor.netty:reactor-netty-http")
119120
testRuntimeOnly("jakarta.xml.bind:jakarta.xml.bind-api")

spring-boot-project/spring-boot-autoconfigure-all/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ dependencies {
4747
optional(project(":spring-boot-project:spring-boot-h2console"))
4848
optional(project(":spring-boot-project:spring-boot-hazelcast"))
4949
optional(project(":spring-boot-project:spring-boot-http"))
50+
optional(project(":spring-boot-project:spring-boot-http-codec"))
5051
optional(project(":spring-boot-project:spring-boot-jackson"))
5152
optional(project(":spring-boot-project:spring-boot-jdbc"))
5253
optional(project(":spring-boot-project:spring-boot-jsonb"))

spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/codec/CodecProperties.java

Lines changed: 0 additions & 66 deletions
This file was deleted.

spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/codec/package-info.java

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)