Skip to content

Commit

Permalink
Docs: change WebServer.Builder to WebServerConfig.Builder.
Browse files Browse the repository at this point in the history
  • Loading branch information
barchetta committed Jan 18, 2024
1 parent 83b9eb9 commit 9932043
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/src/main/asciidoc/se/guides/health.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ You can add your own custom health checks. These typically assess the conditions
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:
1. Create an explicit instance of `ObserveFeature` which contains a custom `HealthObserver` with the custom check.
2. Add that `ObserveFeature` instance to the `WebServer.Builder` as a feature.
2. Add that `ObserveFeature` instance to the `WebServerConfig.Builder` as a feature.
[source,java]
Expand Down
4 changes: 3 additions & 1 deletion docs/src/main/asciidoc/se/testing.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
:feature-name: Helidon Testing Framework
:rootdir: {docdir}/..
include::{rootdir}/includes/se.adoc[]
== Contents
- <<Overview, Overview>>
Expand Down Expand Up @@ -98,7 +100,7 @@ and may have any name. The `@SetUpRoute` annotation has `value` with socket name
|===
In addition, a static method annotated with `@SetUpServer` can be defined for `@ServerTest`, which has a single parameter of `WebServer.Builder`.
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`].
The following table lists the injectable types (through constructor or method injection).
Expand Down

0 comments on commit 9932043

Please sign in to comment.