Skip to content

Commit e221909

Browse files
authored
4.x: Docs: change WebServer.Builder to WebServerConfig.Builder. (#8261)
1 parent b78bc01 commit e221909

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

docs/src/main/asciidoc/se/guides/health.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
///////////////////////////////////////////////////////////////////////////////
22

3-
Copyright (c) 2019, 2023 Oracle and/or its affiliates.
3+
Copyright (c) 2019, 2024 Oracle and/or its affiliates.
44

55
Licensed under the Apache License, Version 2.0 (the "License");
66
you may not use this file except in compliance with the License.
@@ -176,7 +176,7 @@ You can add your own custom health checks. These typically assess the conditions
176176
The following trivial but illustrative example adds a custom start-up check that reports `DOWN` until the server has been running for eight seconds and reports `UP` thereafter. Note the two main steps in the example code:
177177
178178
1. Create an explicit instance of `ObserveFeature` which contains a custom `HealthObserver` with the custom check.
179-
2. Add that `ObserveFeature` instance to the `WebServer.Builder` as a feature.
179+
2. Add that `ObserveFeature` instance to the `WebServerConfig.Builder` as a feature.
180180
181181
182182
[source,java]

docs/src/main/asciidoc/se/testing.adoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
///////////////////////////////////////////////////////////////////////////////
22

3-
Copyright (c) 2023 Oracle and/or its affiliates.
3+
Copyright (c) 2023, 2024 Oracle and/or its affiliates.
44

55
Licensed under the Apache License, Version 2.0 (the "License");
66
you may not use this file except in compliance with the License.
@@ -24,6 +24,8 @@
2424
:feature-name: Helidon Testing Framework
2525
:rootdir: {docdir}/..
2626
27+
include::{rootdir}/includes/se.adoc[]
28+
2729
== Contents
2830
2931
- <<Overview, Overview>>
@@ -98,7 +100,7 @@ and may have any name. The `@SetUpRoute` annotation has `value` with socket name
98100
99101
|===
100102
101-
In addition, a static method annotated with `@SetUpServer` can be defined for `@ServerTest`, which has a single parameter of `WebServer.Builder`.
103+
In addition, a static method annotated with `@SetUpServer` can be defined for `@ServerTest`, which has a single parameter of link:{javadoc-base-url}/io.helidon.webserver/io/helidon/webserver/WebServerConfig.Builder.html[`WebServerConfig.Builder`].
102104
103105
The following table lists the injectable types (through constructor or method injection).
104106

0 commit comments

Comments
 (0)