Skip to content

Commit c2be815

Browse files
committed
Polish "Add getUndertow method to UndertowWebServer"
See gh-39916
1 parent 7d30bc5 commit c2be815

File tree

1 file changed

+4
-3
lines changed
  • spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/undertow

1 file changed

+4
-3
lines changed

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/undertow/UndertowWebServer.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -299,9 +299,10 @@ public int getPort() {
299299
}
300300

301301
/**
302-
* Returns the undertow of the WebServer. Note, the return value will be null until
303-
* the server has been started.
304-
* @return undertow of the WebServer.
302+
* Returns the {@link Undertow Undertow server}. Returns {@code null} until the server
303+
* has been started.
304+
* @return the Undertow server or {@code null} if the server hasn't been started yet
305+
* @since 3.3.0
305306
*/
306307
public Undertow getUndertow() {
307308
return this.undertow;

0 commit comments

Comments
 (0)