Skip to content

Commit 8f1ee73

Browse files
wilkinsonaphilwebb
authored andcommitted
Create spring-boot-undertow module
1 parent 11560cd commit 8f1ee73

File tree

71 files changed

+181
-122
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+181
-122
lines changed

settings.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ include "spring-boot-project:spring-boot-testcontainers"
7171
include "spring-boot-project:spring-boot-test-autoconfigure"
7272
include "spring-boot-project:spring-boot-test-integration-tests"
7373
include "spring-boot-project:spring-boot-tomcat"
74+
include "spring-boot-project:spring-boot-undertow"
7475
include "spring-boot-tests:spring-boot-integration-tests:spring-boot-configuration-processor-tests"
7576
include "spring-boot-tests:spring-boot-integration-tests:spring-boot-launch-script-tests"
7677
include "spring-boot-tests:spring-boot-integration-tests:spring-boot-loader-tests"

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ dependencies {
1818
implementation("com.fasterxml.jackson.datatype:jackson-datatype-jsr310")
1919

2020
optional(project(":spring-boot-project:spring-boot-tomcat"))
21+
optional(project(":spring-boot-project:spring-boot-undertow"))
2122
optional("ch.qos.logback:logback-classic")
2223
optional("org.apache.cassandra:java-driver-core") {
2324
exclude group: "org.slf4j", module: "jcl-over-slf4j"

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/web/server/undertow/UndertowAccessLogCustomizer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
import java.util.function.Function;
2020

2121
import org.springframework.boot.actuate.autoconfigure.web.server.AccessLogCustomizer;
22-
import org.springframework.boot.web.server.undertow.ConfigurableUndertowWebServerFactory;
22+
import org.springframework.boot.undertow.ConfigurableUndertowWebServerFactory;
2323

2424
/**
2525
* {@link AccessLogCustomizer} for Undertow.

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/web/server/undertow/UndertowReactiveManagementChildContextConfiguration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
2626
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication;
2727
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication.Type;
28-
import org.springframework.boot.autoconfigure.web.server.reactive.undertow.UndertowReactiveWebServerAutoConfiguration;
2928
import org.springframework.boot.context.properties.EnableConfigurationProperties;
29+
import org.springframework.boot.undertow.reactive.UndertowReactiveWebServerFactory;
30+
import org.springframework.boot.undertow.reactive.autoconfigure.UndertowReactiveWebServerAutoConfiguration;
3031
import org.springframework.boot.web.server.reactive.ReactiveWebServerFactory;
31-
import org.springframework.boot.web.server.reactive.undertow.UndertowReactiveWebServerFactory;
3232
import org.springframework.context.annotation.Bean;
3333

3434
/**

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/web/server/undertow/UndertowReactiveManagementContextAutoConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
2727
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication;
2828
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication.Type;
29-
import org.springframework.boot.autoconfigure.web.server.reactive.undertow.UndertowReactiveWebServerAutoConfiguration;
29+
import org.springframework.boot.undertow.reactive.autoconfigure.UndertowReactiveWebServerAutoConfiguration;
3030
import org.springframework.boot.web.server.reactive.ReactiveWebServerFactory;
3131
import org.springframework.context.annotation.Bean;
3232

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/web/server/undertow/UndertowServletManagementChildContextConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication;
2525
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication.Type;
2626
import org.springframework.boot.context.properties.EnableConfigurationProperties;
27-
import org.springframework.boot.web.server.servlet.undertow.UndertowServletWebServerFactory;
27+
import org.springframework.boot.undertow.servlet.UndertowServletWebServerFactory;
2828
import org.springframework.context.annotation.Bean;
2929

3030
/**

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/web/server/undertow/UndertowServletManagementContextAutoConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
2727
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication;
2828
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication.Type;
29-
import org.springframework.boot.autoconfigure.web.server.servlet.undertow.UndertowServletWebServerAutoConfiguration;
29+
import org.springframework.boot.undertow.servlet.autoconfigure.UndertowServletWebServerAutoConfiguration;
3030
import org.springframework.boot.web.server.servlet.ServletWebServerFactory;
3131
import org.springframework.context.annotation.Bean;
3232

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ dependencies {
2424
dockerTestImplementation("org.testcontainers:testcontainers")
2525

2626
optional(project(":spring-boot-project:spring-boot-tomcat"))
27+
optional(project(":spring-boot-project:spring-boot-undertow"))
2728
optional("org.apache.cassandra:java-driver-core") {
2829
exclude group: "org.slf4j", module: "jcl-over-slf4j"
2930
}

spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/web/mappings/servlet/DispatcherServletHandlerMappings.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
import org.apache.catalina.core.StandardWrapper;
2828

2929
import org.springframework.boot.tomcat.TomcatWebServer;
30+
import org.springframework.boot.undertow.servlet.UndertowServletWebServer;
3031
import org.springframework.boot.web.server.WebServer;
31-
import org.springframework.boot.web.server.servlet.undertow.UndertowServletWebServer;
3232
import org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext;
3333
import org.springframework.util.ClassUtils;
3434
import org.springframework.web.context.WebApplicationContext;
@@ -47,6 +47,10 @@ final class DispatcherServletHandlerMappings {
4747
private static final boolean TOMCAT_WEB_SERVER_PRESENT = ClassUtils.isPresent(
4848
"org.springframework.boot.tomcat.TomcatWebServer", DispatcherServletHandlerMappings.class.getClassLoader());
4949

50+
private static final boolean UNDERTOW_WEB_SERVER_PRESENT = ClassUtils.isPresent(
51+
"org.springframework.boot.undertow.UndertowWebServer",
52+
DispatcherServletHandlerMappings.class.getClassLoader());
53+
5054
private final String name;
5155

5256
private final DispatcherServlet dispatcherServlet;
@@ -74,7 +78,7 @@ private void initializeDispatcherServletIfPossible() {
7478
return;
7579
}
7680
WebServer webServer = webServerApplicationContext.getWebServer();
77-
if (webServer instanceof UndertowServletWebServer undertowServletWebServer) {
81+
if (UNDERTOW_WEB_SERVER_PRESENT && webServer instanceof UndertowServletWebServer undertowServletWebServer) {
7882
new UndertowServletInitializer(undertowServletWebServer).initializeServlet(this.name);
7983
}
8084
else if (TOMCAT_WEB_SERVER_PRESENT && webServer instanceof TomcatWebServer tomcatWebServer) {

spring-boot-project/spring-boot-all-integration-tests/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ dependencies {
88
testImplementation(project(":spring-boot-project:spring-boot-all"))
99
testImplementation(project(":spring-boot-project:spring-boot-tomcat"))
1010
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
11+
testImplementation(project(":spring-boot-project:spring-boot-undertow"))
1112
testImplementation("io.projectreactor.netty:reactor-netty-http")
1213
testImplementation("org.apache.httpcomponents.client5:httpclient5")
1314
testImplementation("org.eclipse.jetty:jetty-client")

spring-boot-project/spring-boot-all-integration-tests/src/test/java/org/springframework/boot/web/servlet/context/ServletWebServerMvcIntegrationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424
import org.springframework.boot.testsupport.classpath.resources.WithResource;
2525
import org.springframework.boot.testsupport.web.servlet.DirtiesUrlFactories;
2626
import org.springframework.boot.tomcat.servlet.TomcatServletWebServerFactory;
27+
import org.springframework.boot.undertow.servlet.UndertowServletWebServerFactory;
2728
import org.springframework.boot.web.server.WebServer;
2829
import org.springframework.boot.web.server.servlet.ServletWebServerFactory;
2930
import org.springframework.boot.web.server.servlet.jetty.JettyServletWebServerFactory;
30-
import org.springframework.boot.web.server.servlet.undertow.UndertowServletWebServerFactory;
3131
import org.springframework.boot.web.servlet.ServletRegistrationBean;
3232
import org.springframework.context.annotation.Bean;
3333
import org.springframework.context.annotation.Configuration;

spring-boot-project/spring-boot-all/src/main/resources/META-INF/spring/aot.factories

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
org.springframework.aot.hint.RuntimeHintsRegistrar=\
22
org.springframework.boot.http.client.ClientHttpRequestFactoryRuntimeHints,\
3-
org.springframework.boot.jdbc.DataSourceBuilderRuntimeHints,\
4-
org.springframework.boot.web.server.undertow.UndertowWebServer$UndertowWebServerRuntimeHints
3+
org.springframework.boot.jdbc.DataSourceBuilderRuntimeHints
54

65
org.springframework.beans.factory.aot.BeanFactoryInitializationAotProcessor=\
76
org.springframework.boot.jackson.JsonComponentModule$JsonComponentBeanFactoryInitializationAotProcessor

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@ dependencies {
238238

239239
testImplementation(project(":spring-boot-project:spring-boot-test"))
240240
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
241+
testImplementation(project(":spring-boot-project:spring-boot-undertow"))
241242
testImplementation(testFixtures(project(":spring-boot-project:spring-boot")))
242243
testImplementation(testFixtures(project(":spring-boot-project:spring-boot-autoconfigure")))
243244
testImplementation("ch.qos.logback:logback-classic")

spring-boot-project/spring-boot-autoconfigure-all/src/main/resources/META-INF/additional-spring-configuration-metadata.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,6 @@
6565
"level": "error"
6666
}
6767
},
68-
{
69-
"name": "server.undertow.buffers-per-region",
70-
"type": "java.lang.Integer",
71-
"description": "Number of buffer per region.",
72-
"deprecation": {
73-
"level": "error"
74-
}
75-
},
7668
{
7769
"name": "spring.activemq.pool.create-connection-on-startup",
7870
"type": "java.lang.Boolean",

spring-boot-project/spring-boot-autoconfigure-all/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,7 @@ org.springframework.boot.autoconfigure.web.reactive.function.client.ClientHttpCo
129129
org.springframework.boot.autoconfigure.web.reactive.function.client.WebClientAutoConfiguration
130130
org.springframework.boot.autoconfigure.web.server.reactive.jetty.JettyReactiveWebServerAutoConfiguration
131131
org.springframework.boot.autoconfigure.web.server.reactive.netty.NettyReactiveWebServerAutoConfiguration
132-
org.springframework.boot.autoconfigure.web.server.reactive.undertow.UndertowReactiveWebServerAutoConfiguration
133132
org.springframework.boot.autoconfigure.web.server.servlet.jetty.JettyServletWebServerAutoConfiguration
134-
org.springframework.boot.autoconfigure.web.server.servlet.undertow.UndertowServletWebServerAutoConfiguration
135133
org.springframework.boot.autoconfigure.web.servlet.DispatcherServletAutoConfiguration
136134
org.springframework.boot.autoconfigure.web.servlet.error.ErrorMvcAutoConfiguration
137135
org.springframework.boot.autoconfigure.web.servlet.HttpEncodingAutoConfiguration

spring-boot-project/spring-boot-autoconfigure-all/src/test/java/org/springframework/boot/autoconfigure/web/servlet/MultipartAutoConfigurationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
import org.springframework.boot.testsupport.web.servlet.DirtiesUrlFactories;
3434
import org.springframework.boot.tomcat.servlet.TomcatServletWebServerFactory;
3535
import org.springframework.boot.tomcat.servlet.autoconfigure.TomcatServletWebServerAutoConfiguration;
36+
import org.springframework.boot.undertow.servlet.UndertowServletWebServerFactory;
3637
import org.springframework.boot.web.server.servlet.jetty.JettyServletWebServerFactory;
37-
import org.springframework.boot.web.server.servlet.undertow.UndertowServletWebServerFactory;
3838
import org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext;
3939
import org.springframework.context.annotation.Bean;
4040
import org.springframework.context.annotation.Configuration;

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2094,7 +2094,8 @@ bom {
20942094
"spring-boot-starter-webflux",
20952095
"spring-boot-starter-websocket",
20962096
"spring-boot-starter-web-services",
2097-
"spring-boot-tomcat"
2097+
"spring-boot-tomcat",
2098+
"spring-boot-undertow"
20982099
]
20992100
plugins = [
21002101
"spring-boot-maven-plugin"

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

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ dependencies {
5656
autoConfiguration(project(path: ":spring-boot-project:spring-boot-devtools", configuration: "autoConfigurationMetadata"))
5757
autoConfiguration(project(path: ":spring-boot-project:spring-boot-testcontainers", configuration: "autoConfigurationMetadata"))
5858
autoConfiguration(project(path: ":spring-boot-project:spring-boot-tomcat", configuration: "autoConfigurationMetadata"))
59+
autoConfiguration(project(path: ":spring-boot-project:spring-boot-undertow", configuration: "autoConfigurationMetadata"))
5960

6061
configurationProperties(project(path: ":spring-boot-project:spring-boot", configuration: "configurationPropertiesMetadata"))
6162
configurationProperties(project(path: ":spring-boot-project:spring-boot-actuator", configuration: "configurationPropertiesMetadata"))
@@ -67,21 +68,23 @@ dependencies {
6768
configurationProperties(project(path: ":spring-boot-project:spring-boot-test-autoconfigure", configuration: "configurationPropertiesMetadata"))
6869
configurationProperties(project(path: ":spring-boot-project:spring-boot-testcontainers", configuration: "configurationPropertiesMetadata"))
6970
configurationProperties(project(path: ":spring-boot-project:spring-boot-tomcat", configuration: "configurationPropertiesMetadata"))
71+
configurationProperties(project(path: ":spring-boot-project:spring-boot-undertow", configuration: "configurationPropertiesMetadata"))
7072

7173
dokkatoo(project(path: ":spring-boot-project:spring-boot-all"))
7274
dokkatoo(project(path: ":spring-boot-project:spring-boot-test"))
7375

7476
implementation(project(path: ":spring-boot-project:spring-boot-actuator"))
7577
implementation(project(path: ":spring-boot-project:spring-boot-actuator-autoconfigure"))
7678
implementation(project(path: ":spring-boot-project:spring-boot-autoconfigure-all"))
79+
implementation(project(path: ":spring-boot-project:spring-boot-devtools"))
7780
implementation(project(path: ":spring-boot-project:spring-boot-docker-compose"))
78-
implementation(project(path: ":spring-boot-project:spring-boot-tomcat"))
79-
implementation(project(path: ":spring-boot-project:spring-boot-tools:spring-boot-cli"))
80-
implementation(project(path: ":spring-boot-project:spring-boot-tools:spring-boot-loader-tools"))
8181
implementation(project(path: ":spring-boot-project:spring-boot-test"))
8282
implementation(project(path: ":spring-boot-project:spring-boot-test-autoconfigure"))
8383
implementation(project(path: ":spring-boot-project:spring-boot-testcontainers"))
84-
implementation(project(path: ":spring-boot-project:spring-boot-devtools"))
84+
implementation(project(path: ":spring-boot-project:spring-boot-tomcat"))
85+
implementation(project(path: ":spring-boot-project:spring-boot-tools:spring-boot-cli"))
86+
implementation(project(path: ":spring-boot-project:spring-boot-tools:spring-boot-loader-tools"))
87+
implementation(project(path: ":spring-boot-project:spring-boot-undertow"))
8588
implementation("ch.qos.logback:logback-classic")
8689
implementation("com.redis:testcontainers-redis")
8790
implementation("com.zaxxer:HikariCP")

spring-boot-project/spring-boot-docs/src/main/java/org/springframework/boot/docs/howto/webserver/enablemultiplelistenersinundertow/MyUndertowConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818

1919
import io.undertow.Undertow.Builder;
2020

21+
import org.springframework.boot.undertow.servlet.UndertowServletWebServerFactory;
2122
import org.springframework.boot.web.server.WebServerFactoryCustomizer;
22-
import org.springframework.boot.web.server.servlet.undertow.UndertowServletWebServerFactory;
2323
import org.springframework.context.annotation.Bean;
2424
import org.springframework.context.annotation.Configuration;
2525

spring-boot-project/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/howto/webserver/enablemultiplelistenersinundertow/MyUndertowConfiguration.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ package org.springframework.boot.docs.howto.webserver.enablemultiplelistenersinu
1818

1919
import io.undertow.Undertow
2020
import org.springframework.boot.web.server.WebServerFactoryCustomizer
21-
import org.springframework.boot.web.server.undertow.UndertowBuilderCustomizer
22-
import org.springframework.boot.web.server.servlet.undertow.UndertowServletWebServerFactory
21+
import org.springframework.boot.undertow.UndertowBuilderCustomizer
22+
import org.springframework.boot.undertow.servlet.UndertowServletWebServerFactory
2323
import org.springframework.context.annotation.Bean
2424
import org.springframework.context.annotation.Configuration
2525

spring-boot-project/spring-boot-starters/spring-boot-starter-undertow/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ plugins {
55
description = "Starter for using Undertow as the embedded servlet container. An alternative to spring-boot-starter-tomcat"
66

77
dependencies {
8-
api("io.undertow:undertow-core")
8+
api(project(":spring-boot-project:spring-boot-undertow"))
99
api("io.undertow:undertow-servlet")
1010
api("io.undertow:undertow-websockets-jsr")
1111
api("org.apache.tomcat.embed:tomcat-embed-el")
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
plugins {
2+
id "java-library"
3+
id "org.springframework.boot.auto-configuration"
4+
id "org.springframework.boot.configuration-properties"
5+
id "org.springframework.boot.deployed"
6+
id "org.springframework.boot.optional-dependencies"
7+
}
8+
9+
description = "Spring Boot Undertow"
10+
11+
dependencies {
12+
api(project(":spring-boot-project:spring-boot"))
13+
api("io.undertow:undertow-servlet")
14+
15+
optional(project(":spring-boot-project:spring-boot-autoconfigure"))
16+
optional("io.undertow:undertow-websockets-jsr")
17+
optional("org.springframework:spring-webflux")
18+
19+
testImplementation(project(":spring-boot-project:spring-boot-test"))
20+
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
21+
testImplementation(testFixtures(project(":spring-boot-project:spring-boot")))
22+
testImplementation(testFixtures(project(":spring-boot-project:spring-boot-autoconfigure")))
23+
testImplementation("org.apache.httpcomponents.client5:httpclient5")
24+
testImplementation("org.apache.tomcat.embed:tomcat-embed-jasper")
25+
testImplementation("org.assertj:assertj-core")
26+
testImplementation("org.awaitility:awaitility")
27+
testImplementation("org.junit.jupiter:junit-jupiter")
28+
testImplementation("org.mockito:mockito-core")
29+
testImplementation("org.mockito:mockito-junit-jupiter")
30+
31+
testRuntimeOnly("ch.qos.logback:logback-classic")
32+
testRuntimeOnly("io.projectreactor:reactor-test")
33+
testRuntimeOnly("io.projectreactor.netty:reactor-netty-http")
34+
testRuntimeOnly("org.eclipse.jetty:jetty-client")
35+
testRuntimeOnly("org.eclipse.jetty.http2:jetty-http2-client")
36+
testRuntimeOnly("org.eclipse.jetty.http2:jetty-http2-client-transport")
37+
}
38+
39+
test {
40+
jvmArgs += "--add-opens=java.base/java.net=ALL-UNNAMED"
41+
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2022 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.
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.web.server.undertow;
17+
package org.springframework.boot.undertow;
1818

1919
import java.io.Closeable;
2020
import java.io.File;
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2020 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.
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.web.server.undertow;
17+
package org.springframework.boot.undertow;
1818

1919
import java.util.ArrayList;
2020
import java.util.List;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.web.server.undertow;
17+
package org.springframework.boot.undertow;
1818

1919
import java.io.File;
2020
import java.util.Collection;
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.web.server.undertow;
17+
package org.springframework.boot.undertow;
1818

1919
import java.io.Closeable;
2020

2121
import io.undertow.server.HttpHandler;
2222
import io.undertow.server.handlers.GracefulShutdownHandler;
2323

24-
import org.springframework.boot.web.server.servlet.undertow.UndertowServletWebServer;
24+
import org.springframework.boot.undertow.servlet.UndertowServletWebServer;
2525

2626
/**
2727
* Factory used by {@link UndertowServletWebServer} to add {@link HttpHandler
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.
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.web.server.undertow;
17+
package org.springframework.boot.undertow;
1818

1919
import java.net.InetAddress;
2020
import java.util.Map;
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.web.server.undertow;
17+
package org.springframework.boot.undertow;
1818

1919
import io.undertow.Undertow.Builder;
2020

21-
import org.springframework.boot.web.server.servlet.undertow.UndertowServletWebServerFactory;
21+
import org.springframework.boot.undertow.servlet.UndertowServletWebServerFactory;
2222

2323
/**
2424
* Callback interface that can be used to customize an Undertow {@link Builder}.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.web.server.undertow;
17+
package org.springframework.boot.undertow;
1818

1919
import java.io.Closeable;
2020
import java.io.IOException;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.web.server.undertow;
17+
package org.springframework.boot.undertow;
1818

1919
import java.io.File;
2020
import java.net.InetAddress;

0 commit comments

Comments
 (0)