You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
getUndertow() to UndertowWebServer returns null until the server has
been started. Issue #3016 would enable getUndertow() to behave in a
similar way to getTomcat() on TomcatWebServer.
Signed-off-by: Jakob Wanger <[email protected]>
See gh-39916
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/undertow/UndertowWebServer.java
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -298,6 +298,15 @@ public int getPort() {
298
298
returnports.get(0).getNumber();
299
299
}
300
300
301
+
/**
302
+
* Returns the undertow of the WebServer. Note, the return value will be null until
0 commit comments